Skip to content
Snippets Groups Projects
Commit b8db1dae authored by Alexander Traud's avatar Alexander Traud Committed by Friendly Automation
Browse files

BuildSystem: In POSIX sh, == in place of = is undefined.

ASTERISK-29724

Change-Id: I59aa0e52effdc16992f3a736ccf73430a6ef135b
parent a109b5ae
No related branches found
No related tags found
3 merge requests!138Merge branch asterisk-20.3.0 into devel properly,!123Merge asterisk '20.3.0' into devel,!118Draft: manager: AOC-S support for AOCMessage
...@@ -9126,7 +9126,7 @@ if test "${with_pjproject_bundled+set}" = set; then : ...@@ -9126,7 +9126,7 @@ if test "${with_pjproject_bundled+set}" = set; then :
fi fi
   
   
if test "${with_pjproject}" == "no" || test "${with_pjproject}" == "n" ; then if test "${with_pjproject}" = "no" || test "${with_pjproject}" = "n" ; then
PJPROJECT_BUNDLED=no PJPROJECT_BUNDLED=no
fi fi
   
...@@ -9215,7 +9215,7 @@ PBX_OPENSSL_BIO_METHOD=0 ...@@ -9215,7 +9215,7 @@ PBX_OPENSSL_BIO_METHOD=0
# If neither --without-ssl (PBX_OPENSSL=-1) nor --without-crypto (PBX_CRYPTO=-1) # If neither --without-ssl (PBX_OPENSSL=-1) nor --without-crypto (PBX_CRYPTO=-1)
# and there were no directories atdded to --with-ssl and --with-crypto, and # and there were no directories atdded to --with-ssl and --with-crypto, and
# pkg-config is installed (which is should be by install_prereq). # pkg-config is installed (which is should be by install_prereq).
if test "x$PKG_CONFIG" != "x" -a $PBX_OPENSSL -ge 0 -a $PBX_CRYPTO -ge 0 -a "x$OPENSSL_DIR" == "x" ; then if test "x$PKG_CONFIG" != "x" -a $PBX_OPENSSL -ge 0 -a $PBX_CRYPTO -ge 0 -a "x$OPENSSL_DIR" = "x" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking OPENSSL with pkg-config" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking OPENSSL with pkg-config" >&5
$as_echo "$as_me: checking OPENSSL with pkg-config" >&6;} $as_echo "$as_me: checking OPENSSL with pkg-config" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system openssl > 1.1.0" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system openssl > 1.1.0" >&5
...@@ -14914,7 +14914,7 @@ fi ...@@ -14914,7 +14914,7 @@ fi
   
   
   
if test "${PERMANENT_DLOPEN}" == "yes"; then if test "${PERMANENT_DLOPEN}" = "yes"; then
   
$as_echo "#define HAVE_PERMANENT_DLOPEN 1" >>confdefs.h $as_echo "#define HAVE_PERMANENT_DLOPEN 1" >>confdefs.h
   
......
...@@ -456,7 +456,7 @@ AC_ARG_WITH([pjproject-bundled], ...@@ -456,7 +456,7 @@ AC_ARG_WITH([pjproject-bundled],
*) PJPROJECT_BUNDLED=yes ;; *) PJPROJECT_BUNDLED=yes ;;
esac]) esac])
if test "${with_pjproject}" == "no" || test "${with_pjproject}" == "n" ; then if test "${with_pjproject}" = "no" || test "${with_pjproject}" = "n" ; then
PJPROJECT_BUNDLED=no PJPROJECT_BUNDLED=no
fi fi
...@@ -472,7 +472,7 @@ AST_EXT_LIB_SETUP_OPTIONAL([OPENSSL_BIO_METHOD], [OpenSSL BIO Method Support], [ ...@@ -472,7 +472,7 @@ AST_EXT_LIB_SETUP_OPTIONAL([OPENSSL_BIO_METHOD], [OpenSSL BIO Method Support], [
# If neither --without-ssl (PBX_OPENSSL=-1) nor --without-crypto (PBX_CRYPTO=-1) # If neither --without-ssl (PBX_OPENSSL=-1) nor --without-crypto (PBX_CRYPTO=-1)
# and there were no directories atdded to --with-ssl and --with-crypto, and # and there were no directories atdded to --with-ssl and --with-crypto, and
# pkg-config is installed (which is should be by install_prereq). # pkg-config is installed (which is should be by install_prereq).
if test "x$PKG_CONFIG" != "x" -a $PBX_OPENSSL -ge 0 -a $PBX_CRYPTO -ge 0 -a "x$OPENSSL_DIR" == "x" ; then if test "x$PKG_CONFIG" != "x" -a $PBX_OPENSSL -ge 0 -a $PBX_CRYPTO -ge 0 -a "x$OPENSSL_DIR" = "x" ; then
AC_MSG_NOTICE(checking OPENSSL with pkg-config) AC_MSG_NOTICE(checking OPENSSL with pkg-config)
AC_MSG_NOTICE(checking whether system openssl > 1.1.0) AC_MSG_NOTICE(checking whether system openssl > 1.1.0)
AST_PKG_CONFIG_CHECK([OPENSSL], [openssl >= 1.1.0]) AST_PKG_CONFIG_CHECK([OPENSSL], [openssl >= 1.1.0])
...@@ -775,7 +775,7 @@ AC_ARG_ENABLE([permanent-dlopen], ...@@ -775,7 +775,7 @@ AC_ARG_ENABLE([permanent-dlopen],
esac], [PERMANENT_DLOPEN=no]) esac], [PERMANENT_DLOPEN=no])
AC_SUBST([PERMANENT_DLOPEN]) AC_SUBST([PERMANENT_DLOPEN])
if test "${PERMANENT_DLOPEN}" == "yes"; then if test "${PERMANENT_DLOPEN}" = "yes"; then
AC_DEFINE([HAVE_PERMANENT_DLOPEN], 1, [Define to support libc with permanent dlopen.]) AC_DEFINE([HAVE_PERMANENT_DLOPEN], 1, [Define to support libc with permanent dlopen.])
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment