Reputation:
Given a daemon that is built with autotools what is the best way to point the daemon into correct location for configuration files?
I mean depending on the distribution they can reside at least in:
/etc/sysconfig
/etc/default
.Upvotes: 1
Views: 44
Reputation: 16315
I've used:
./configure --sysconfdir=<somewhere> ...
Which is what it's for according to the documentation
Upvotes: 1