From a6ed888f9fbe67f83c198d608e45869ff70e6571 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 15 Apr 2009 21:57:12 +0200 Subject: 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. --- m4/mpd_auto.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ]) -- cgit v1.2.3