configure.ac: fix error on disabled features

In the MPD_AUTO_DISABLED() function, I forgot to check for "explicitly
disabled".
This commit is contained in:
Max Kellermann 2009-03-29 21:44:55 +02:00
parent bfc25cfd3b
commit 7d9380fd91

View File

@ -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
])