Re: localstatedir

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

 



Hello Ralf,

On Sat, Apr 22, 2006 at 05:28:29AM +0200, Ralf Corsepius wrote:
> > in my package, I configure --localstatedir=/var and store a file as
> > LOCALSTATEDIR "/lib/" PACKAGE "/file.dat".  Besides, I use LOCALSTATEDIR
> > "/run/" PACKAGE ".pid". Is this how it was intended to use,
> In short: Yes.
> 
> >  or should I
> > configure --localstatedir=/var/lib/package and use LOCALSTATEDIR
> > "/file.dat", and use something else for package.pid? file.dat is the
> > application state data read on the next startup.
> That's a different issue. localstatedir is the root directory, which
> directories and how to derive them from localstatdir is beyond
> autoconf's scope.

Great! Is the same true about /etc? I'm currently configuring
--sysconfdir=/etc and storing the config into SYSCONFDIR "/" PACKAGE
"/file.conf", whereas I've seen packages in Debian configuring
--sysconfdir=/etc/package and using SYSCONFDIR "/file.conf" in the code.

Thanks in advance,
Baurzhan.


_______________________________________________
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