From 9322f04529659a01ccf313f2883f79d1525de99c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 28 Jul 2009 16:17:18 +0200 Subject: 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. --- src/cmdline.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/cmdline.c') diff --git a/src/cmdline.c b/src/cmdline.c index 5216568f..606f2667 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -35,7 +35,6 @@ #include #include -#define SYSTEM_CONFIG_FILE_LOCATION "/etc/mpd.conf" #define USER_CONFIG_FILE_LOCATION1 ".mpdconf" #define USER_CONFIG_FILE_LOCATION2 ".mpd/mpd.conf" -- cgit v1.2.3