]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10875: #resolve Portability issues for non-bash interpreters.
authorAngel M. Adames <angelmadames@gmail.com>
Tue, 9 Jan 2018 17:31:32 +0000 (13:31 -0400)
committerAngel M. Adames <angelmadames@gmail.com>
Tue, 9 Jan 2018 17:31:32 +0000 (13:31 -0400)
configure.ac
libs/spandsp/configure.ac
libs/spandsp/unpack_gsm0610_data.sh
libs/unimrcp/configure.ac

index ff1efdc53343d01ffd0dfb5b3c6c552b0d5ebab6..f65b59997d8f1c0dd0026a76e995115a23565492 100644 (file)
@@ -1506,7 +1506,7 @@ if test "$with_ldap" = "yes"; then
    OPENLDAP_LIBS="${OPENLDAP_LIBS} -lldap"
 fi
 
-AM_CONDITIONAL([HAVE_LDAP],[test "x$with_ldap" == "xyes"])
+AM_CONDITIONAL([HAVE_LDAP],[test "x$with_ldap" = "xyes"])
 
 AC_SUBST(OPENLDAP_LIBS)
 
index 57998b871337430d5ce1d00562f465971595c676..baef75ef691f342d813d42c85286dd4665362244 100644 (file)
@@ -231,7 +231,7 @@ case "$host" in
     ;;
 esac
 
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
 then
     AC_CHECK_HEADERS([X11/X.h])
 fi
@@ -275,7 +275,7 @@ AC_CHECK_HEADERS([FL/Fl_Audio_Meter.H])
 
 AC_LANG([C])
 
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
 then
     case "${host}" in
     x86_64-*)
index cba7349dea23e9012b75eaf430cac78d78dd96a7..1141e6a3e1422e20d12c9abb9c295c7c7c7d453c 100755 (executable)
@@ -53,7 +53,7 @@ else
     cd gsm0610
 fi
 
-if [ $1x == --no-exe-runx ]
+if [ $1x = --no-exe-runx ]
 then
     # Run the .exe files, which should be here
     ./FR_A.EXE
@@ -77,7 +77,7 @@ rm -rf READ_FRA.TXT
 rm -rf ACTION
 rm -rf unpacked
 
-if [ $1x == --no-exex ]
+if [ $1x = --no-exex ]
 then
     # We need to prepare the .exe files to be run separately
     rm -rf *.INP
index ac1eacf3af26a7e3947441953c7c659beba6819a..b13c0fab4c0d5338d4ea7f51625a32ae52dd12c5 100644 (file)
@@ -92,7 +92,7 @@ AC_ARG_ENABLE(interlib-deps,
     [enable_interlib_deps="yes"])
 
 AC_MSG_NOTICE([enable inter-library dependencies: $enable_interlib_deps])
-if test "${enable_interlib_deps}" == "yes"; then
+if test "${enable_interlib_deps}" = "yes"; then
     link_all_deplibs=yes
     link_all_deplibs_CXX=yes
 else