cmdline: obey $(sysconfdir) for default mpd.conf location

Instead of hard-coding the path "/etc/mpd.conf", use the configured
$(sysconfdir) path.  This can be set with:

 ./configure --sysconfdir=/etc

Note that this changes the default path to "/usr/local/etc/mpd.conf",
given the default prefix "/usr/local".  This is actually more correct
than the old default.
This commit is contained in:
Max Kellermann
2009-07-28 16:17:18 +02:00
parent 884201b919
commit 9322f04529
3 changed files with 3 additions and 1 deletions

1
NEWS
View File

@@ -21,6 +21,7 @@ ver 0.16 (20??/??/??)
* log unused/unknown block parameters
* save state when stopped
* renamed option "--stdout" to "--stderr"
* obey $(sysconfdir) for default mpd.conf location
ver 0.15.1 (2009/07/15)