user625070
user625070

Reputation:

Locating a configuration file in distribution independent way?

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:

Upvotes: 1

Views: 44

Answers (1)

ldav1s
ldav1s

Reputation: 16315

I've used:

./configure --sysconfdir=<somewhere> ...

Which is what it's for according to the documentation

Upvotes: 1

Related Questions