autoconf
[Top][All Lists]
Advanced

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

Re: Server Adjustments


From: Glus Xof
Subject: Re: Server Adjustments
Date: Tue, 15 Dec 2009 20:03:03 +0100

2009/12/15 Alfred M. Szmidt <address@hidden>:
>   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

Thanks, Alfred,

I think that this is all I need. I'll test it.

Thanks to all, (and excuse me).

Glus




reply via email to

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