diff options
author | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-08-13 23:46:10 +0000 |
---|---|---|
committer | russell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-08-13 23:46:10 +0000 |
commit | b935e27f899b22e6db12106849af40f37dc0a1ff (patch) | |
tree | fc0e90047ef5f026adaae11f995fd115275518b5 /acinclude.m4 | |
parent | fc83fad0446f13b9ffba7356e9811ad2937e252e (diff) |
use AC_MSG_* instead of echo to support ./configure --silent (issue #7722)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1297 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 3fa9528..4bfae8c 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -43,10 +43,10 @@ if test "${USE_$4}" != "no"; then if test "x${$4_HEADER_FOUND}" = "x0" ; then if test ! -z "${$4_MANDATORY}" ; then - echo " ***" - echo " *** It appears that you do not have the $1 development package installed." - echo " *** Please install it to include $5 support, or re-run configure" - echo " *** without explicitly specifying --with-$1" + AC_MSG_NOTICE(***) + AC_MSG_NOTICE(*** It appears that you do not have the $1 development package installed.) + AC_MSG_NOTICE(*** Please install it to include $5 support, or re-run configure) + AC_MSG_NOTICE(*** without explicitly specifying --with-$1) exit 1 fi $4_LIB="" @@ -58,10 +58,10 @@ if test "${USE_$4}" != "no"; then fi elif test ! -z "${$4_MANDATORY}"; then - echo "***" - echo "*** The $5 installation on this system appears to be broken." - echo "*** Either correct the installation, or run configure" - echo "*** without explicity specifying --with-$1" + AC_MSG_NOTICE(***) + AC_MSG_NOTICE(*** The $5 installation on this system appears to be broken.) + AC_MSG_NOTICE(*** Either correct the installation, or run configure) + AC_MSG_NOTICE(*** without explicity specifying --with-$1) exit 1 fi fi @@ -83,8 +83,7 @@ AC_DEFUN( done ; ) ; if test "x$GNU_MAKE" = "xNot Found" ; then - echo " *** Please install GNU make. It is required to build Asterisk!" - exit 1 + AC_MSG_ERROR(*** Please install GNU make. It is required to build Asterisk!) fi AC_SUBST([GNU_MAKE]) ]) |