Commit 7d9380fd authored by Max Kellermann's avatar Max Kellermann

configure.ac: fix error on disabled features

In the MPD_AUTO_DISABLED() function, I forgot to check for "explicitly disabled".
parent bfc25cfd
...@@ -16,7 +16,7 @@ AC_DEFUN([MPD_AUTO_DISABLED], [ ...@@ -16,7 +16,7 @@ AC_DEFUN([MPD_AUTO_DISABLED], [
if eval "test x`echo '$'$var` = xauto"; then if eval "test x`echo '$'$var` = xauto"; then
AC_MSG_WARN([$msg -- disabling $feature]) AC_MSG_WARN([$msg -- disabling $feature])
eval "$var=no" eval "$var=no"
else elif eval "test x`echo '$'$var` = xyes"; then
AC_MSG_ERROR([$msg]) AC_MSG_ERROR([$msg])
fi fi
]) ])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment