configure.ac: print feature name in error message

When MPD_AUTO_DISABLED prints a fatal error message, include the
feature name.  This might be an important piece of information for the
user, just in case the preceding line doesn't tell him.
This commit is contained in:
Max Kellermann 2009-04-15 21:57:12 +02:00
parent e1f0c5347c
commit a6ed888f9f

View File

@ -17,7 +17,7 @@ AC_DEFUN([MPD_AUTO_DISABLED], [
AC_MSG_WARN([$msg -- disabling $feature])
eval "$var=no"
elif eval "test x`echo '$'$var` = xyes"; then
AC_MSG_ERROR([$msg])
AC_MSG_ERROR([$feature: $msg])
fi
])