I agree with you with the correct default behaviour of using /etc, but I really have no idea on how to achieve that without --sysconfdir
Maybe your idea is the best one even if it sounds hackish, at least for the moment. or a warning in the configure script if it finds that sysconfdir equates to something different than /etc ? configure: creating Makefile WARNING: sysconfdir is not set to the standard value /etc. Maybe you forgot to use --sysconfdir? etc Sebastien On Sat, Jul 31, 2010 at 10:23 PM, Ludovic Rousseau < [email protected]> wrote: > 2010/7/4 Kalev Lember <[email protected]>: > >> URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=5060 > >> Log: set --sysconfdir=/etc/reader.conf.d so that we parse any file in > this > >> directory > >> > >> [...] > >> - --sysconfdir=/etc \ > >> + --sysconfdir=/etc/reader.conf.d \ > > > > It's more common to set sysconfdir to /etc and have configure script > > figure out the subdirectory. The configure script should always default > > to sane values when no arguments are specified. The default value for > > sysconfdir is /usr/local/etc; so the configure script should just append > > /reader.conf.d to that. Right now if the user doesn't override > sysconfdir, > > pcsc will try to go through every .conf file in /usr/local/etc, and I > > don't think anything good will come out of that. > > I would like to have a default value of sysconfdir to be /etc instead > of /usr/etc if prefix=/usr > > The motivation is that I would like to have everything configured > "correctly" with just a "./configure --prefix=/usr" > > I could hardcode a test in configure and set sysconfdir to /etc if > prefix=/usr but that looks like a hack more than a correct solution. > > Any ideas or comments? > > Bye > > -- > Dr. Ludovic Rousseau > > _______________________________________________ > Muscle mailing list > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle >
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
