mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-15 00:41:02 +00:00
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@53850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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.])
|
||||
|
Reference in New Issue
Block a user