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:
parent
bfc25cfd3b
commit
7d9380fd91
@ -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
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user