aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-10 06:06:08 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-10 06:06:08 +0000
commit14a1f19bb539f8eb4379d215c56f394c474b8bdd (patch)
tree524e7256f1e9b20c5ca4274aaacf148c988e9db6 /acinclude.m4
parent6524d722318f6dc0d3ed35a6941ac34f5d8c2c5c (diff)
don't display the --with-imap message unless --with-imap was specified without a path
use '-n' instead of '! -z' for tests git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53850 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 5c6d8126a..3df4b1492 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -71,7 +71,7 @@ if test "${USE_$1}" != "no"; then
fi
fi
if test "x${$1_HEADER_FOUND}" = "x0" ; then
- if test ! -z "${$1_MANDATORY}" ;
+ if test -n "${$1_MANDATORY}" ;
then
AC_MSG_NOTICE([***])
AC_MSG_NOTICE([*** It appears that you do not have the $2 development package installed.])
@@ -86,7 +86,7 @@ if test "${USE_$1}" != "no"; then
PBX_$1=1
AC_DEFINE_UNQUOTED([HAVE_$1], 1, [Define to indicate the ${$1_DESCRIP} library])
fi
- elif test ! -z "${$1_MANDATORY}";
+ elif test -n "${$1_MANDATORY}";
then
AC_MSG_NOTICE([***])
AC_MSG_NOTICE([*** The ${$1_DESCRIP} installation on this system appears to be broken.])