From 7d9380fd913355b70f846a4adc263363d12813ba Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 29 Mar 2009 21:44:55 +0200 Subject: configure.ac: fix error on disabled features In the MPD_AUTO_DISABLED() function, I forgot to check for "explicitly disabled". --- m4/mpd_auto.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4') 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 ]) -- cgit v1.2.3