autoconf
[Top][All Lists]
Advanced

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

question about sysconfdir


From: Matthew R. MacIntyre
Subject: question about sysconfdir
Date: Thu, 31 May 2001 10:45:07 -0400 (EDT)

Hi,

I want to have a configuration file in the sysconfdir for my program,
but if I put AC_DEFINE(CONFFILE, "$sysconfdir/file.conf"), I end up
with the path being "${prefix}/etc/file.conf" which is pretty
meaningless to C.  I've seen people hack it by just saying
"$prefix/etc/file.conf" in the configure.in, but this doesn't seem to
be the right thing to do. Should I do that, or is there a way to use
the sysconfdir?

Thanks for any help,

-matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]