aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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
])