aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-04-15 21:57:12 +0200
committerMax Kellermann <max@duempel.org>2009-04-15 21:57:12 +0200
commita6ed888f9fbe67f83c198d608e45869ff70e6571 (patch)
tree8ea56efbf16b3ea69e357038c73cb9190c0d2577
parente1f0c5347c2eb96adb997679d61e12f655d3fe28 (diff)
downloadmpd-a6ed888f9fbe67f83c198d608e45869ff70e6571.tar.gz
mpd-a6ed888f9fbe67f83c198d608e45869ff70e6571.tar.xz
mpd-a6ed888f9fbe67f83c198d608e45869ff70e6571.zip
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.
Diffstat (limited to '')
-rw-r--r--m4/mpd_auto.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/mpd_auto.m4 b/m4/mpd_auto.m4
index 7d9b5016d..a35c9cf1b 100644
--- a/m4/mpd_auto.m4
+++ b/m4/mpd_auto.m4
@@ -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
])