diff options
author | Max Kellermann <max@duempel.org> | 2009-07-28 16:17:18 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-28 16:17:18 +0200 |
commit | 9322f04529659a01ccf313f2883f79d1525de99c (patch) | |
tree | 173a66db5800d1187c5308d87f0302dbce92803c /src/cmdline.c | |
parent | 884201b9190946f157f2b4e2aadb5131051cbb5f (diff) | |
download | mpd-9322f04529659a01ccf313f2883f79d1525de99c.tar.gz mpd-9322f04529659a01ccf313f2883f79d1525de99c.tar.xz mpd-9322f04529659a01ccf313f2883f79d1525de99c.zip |
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.
Diffstat (limited to 'src/cmdline.c')
-rw-r--r-- | src/cmdline.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cmdline.c b/src/cmdline.c index 5216568fd..606f26674 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -35,7 +35,6 @@ #include <stdio.h> #include <stdlib.h> -#define SYSTEM_CONFIG_FILE_LOCATION "/etc/mpd.conf" #define USER_CONFIG_FILE_LOCATION1 ".mpdconf" #define USER_CONFIG_FILE_LOCATION2 ".mpd/mpd.conf" |