aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-29 21:44:55 +0200
committerMax Kellermann <max@duempel.org>2009-03-29 21:44:55 +0200
commit7d9380fd913355b70f846a4adc263363d12813ba (patch)
tree16d83a52b4ba6ba40b409be2e76aab418d5574e9 /m4
parentbfc25cfd3bd123c976bc55dc0746728549d19091 (diff)
downloadmpd-7d9380fd913355b70f846a4adc263363d12813ba.tar.gz
mpd-7d9380fd913355b70f846a4adc263363d12813ba.tar.xz
mpd-7d9380fd913355b70f846a4adc263363d12813ba.zip
configure.ac: fix error on disabled features
In the MPD_AUTO_DISABLED() function, I forgot to check for "explicitly disabled".
Diffstat (limited to 'm4')
-rw-r--r--m4/mpd_auto.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/mpd_auto.m4 b/m4/mpd_auto.m4
index 58ea63796..7d9b5016d 100644
--- a/m4/mpd_auto.m4
+++ b/m4/mpd_auto.m4
@@ -16,7 +16,7 @@ AC_DEFUN([MPD_AUTO_DISABLED], [
if eval "test x`echo '$'$var` = xauto"; then
AC_MSG_WARN([$msg -- disabling $feature])
eval "$var=no"
- else
+ elif eval "test x`echo '$'$var` = xyes"; then
AC_MSG_ERROR([$msg])
fi
])