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
