Re: Server Adjustments

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

 



   But right now, I've a little problem because my server has a
   configuration file. I thought that the best place to place it would
   be the /etc folder... It seems that it's precisely the default
   value of $(sysconfigdir), but I don't know if it's possible to my
   server (my programm) knows this value from the header config.h.

   Furthermore, the configuration file should be placed in
   $(sysconfigdir) at the install process.

Please don't, that would overwrite any local changes.

   So, Makefile should receive the value of $(sysconfigdir) from the
   configuration process.

You can pass something like `-DCONFFILE=$(sysconfdir)/foo.conf' in
Makefile.am when compiling via foo_CPPFLAGS so that the program can
find the configuration file in the right spot.

    What do you suggest ?

Not installing it, period; that is what we do for inetutils with for
example inetd which requires $(sysconfdir)/inetd.conf to work. Put a
note in the documentation, with an example configuration file.  Anyone
installing a program should have read the README, INSTALL and the
manual.


_______________________________________________
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