Re: Getting the 'sysconfdir'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 04, 2007 at 10:04:04PM +0200, Jason Curl wrote:
> From previous posts to automake, it appears the best way to manage my 
> configuration files is using $(sysconfdir)
> 
> So in my configure.ac I have the following that my program can use to 
> find out where the configuration directory was configured to pull in the 
> default when the user doesn't provide an alternative.
> 
>   AC_DEFINE_UNQUOTE(SYSCONFDIR, [$sysconfdir], [Configuration directory])
> 
> What doesn't work, $sysconfdir = ${prefix}/etc as default. This means I 
> need to recursively substitute until I have a complete path. How can I 
> do this?

See `info Autoconf FAQ defining' for some ways to handle this.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux