From 6cc029b579b64e73908e56a29046f9581a7fe963 Mon Sep 17 00:00:00 2001 From: "Angel M. Adames" Date: Tue, 9 Jan 2018 13:31:32 -0400 Subject: [PATCH] FS-10875: #resolve Portability issues for non-bash interpreters. --- configure.ac | 2 +- libs/spandsp/configure.ac | 4 ++-- libs/spandsp/unpack_gsm0610_data.sh | 4 ++-- libs/unimrcp/configure.ac | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index ff1efdc533..f65b59997d 100644 --- a/configure.ac +++ b/configure.ac @@ -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) diff --git a/libs/spandsp/configure.ac b/libs/spandsp/configure.ac index 57998b8713..baef75ef69 100644 --- a/libs/spandsp/configure.ac +++ b/libs/spandsp/configure.ac @@ -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-*) diff --git a/libs/spandsp/unpack_gsm0610_data.sh b/libs/spandsp/unpack_gsm0610_data.sh index cba7349dea..1141e6a3e1 100755 --- a/libs/spandsp/unpack_gsm0610_data.sh +++ b/libs/spandsp/unpack_gsm0610_data.sh @@ -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 diff --git a/libs/unimrcp/configure.ac b/libs/unimrcp/configure.ac index ac1eacf3af..b13c0fab4c 100644 --- a/libs/unimrcp/configure.ac +++ b/libs/unimrcp/configure.ac @@ -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