]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-287: fix bsd shell incompatibility
authorMichael Jerris <mike@jerris.com>
Sun, 3 Oct 2010 09:02:58 +0000 (05:02 -0400)
committerMichael Jerris <mike@jerris.com>
Sun, 3 Oct 2010 09:02:58 +0000 (05:02 -0400)
Makefile.am
libs/broadvoice/configure.ac
libs/ilbc/configure.ac
libs/libg722_1/configure.ac
libs/spandsp/configure.ac
libs/spandsp/unpack_gsm0610_data.sh
libs/sqlite/configure.ac

index ad04fde39261c13abe98c9584854cbc68b806a9c..b11e3ff988479f5de46a5ee9bf8baa82edb6b870 100644 (file)
@@ -367,14 +367,14 @@ src/include/switch_version.h: src/include/switch_version.h.in .version $(libfree
        else \
          if [ -d .git ] ; then \
            version=`git log --format="%h %ci" -1 HEAD | head -1 | sed -e 's|:|-|g' || echo hacked` ; \
-           if [ "x$$version" == "xhacked" ] ; then \
+           if [ "x$$version" = "xhacked" ] ; then \
              version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \
            else \
              version="git-$$version" ; \
            fi ;\
          else \
            version=`svnversion . -n || echo hacked` ; \
-           if [ "x$$version" == "xhacked" ] ; then \
+           if [ "x$$version" = "xhacked" ] ; then \
              version="hacked-`date -u +%Y%m%dT%H%M%SZ`" ; \
            else \
              version="svn-$$version" ; \
index d42ee823eb63e76ecc21d330445e458ab7cec77b..ceb92a57cb44ef06a932f770bb4e4d7eb60d5006 100644 (file)
@@ -207,7 +207,7 @@ AC_CHECK_HEADERS([sndfile.h])
 
 AC_LANG([C])
 
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
 then
     case "${host}" in
     x86_64-*)
index b3fda17c6620c6cbe9aa006950d7ea01330eebd9..3dbfb24abd6b7630c8a696ac64d0d574fbfac391 100644 (file)
@@ -175,14 +175,14 @@ AC_CHECK_HEADERS([sys/select.h])
 AC_CHECK_HEADERS([sys/ioctl.h])
 AC_CHECK_HEADERS([sys/fcntl.h])
 AC_CHECK_HEADERS([audiofile.h])
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
 then
   AC_CHECK_HEADERS([X11/X.h])
 fi
 
 AC_LANG([C++])
 
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
 then
     case "${host}" in
     x86_64-*)
@@ -193,7 +193,7 @@ fi
 
 AC_LANG([C])
 
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
 then
     case "${host}" in
     x86_64-*)
index a60a69bc93f0b28b688b0c59b22cc8c3720c4af2..64e276b280d29036ebc892cfedcd96ddbeaf1d61 100644 (file)
@@ -190,7 +190,7 @@ AC_CHECK_HEADERS([audiofile.h])
 
 AC_LANG([C])
 
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
 then
     case "${host}" in
     x86_64-*)
index 3aeb44ff52fed1b5fe0b81a63a3a02ec00aaf3b4..7914885d79f527f81fa38dce03c0747a3a6660bd 100644 (file)
@@ -207,7 +207,7 @@ AC_CHECK_HEADERS([fenv.h])
 AC_CHECK_HEADERS([fftw3.h], , [AC_CHECK_HEADERS([fftw.h])])
 AC_CHECK_HEADERS([pcap.h])
 AC_CHECK_HEADERS([pthread.h])
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
 then
   AC_CHECK_HEADERS([X11/X.h])
 fi
@@ -253,7 +253,7 @@ AC_CHECK_HEADERS([FL/Fl_Audio_Meter.H], [], [], [],[[#include <FL/Fl.H>
 
 AC_LANG([C])
 
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
 then
     case "${host}" in
     x86_64-*)
index d1f8b92a2347bf529882ecb2892952b9eb2f5582..482334c79e74498db8b609ade45e8f4dc2ec4954 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 fc21161fda449e63ed994bb8fde65c0d2813a4a8..75d6f512d11e26b7c425016d61509454cfb499ee 100644 (file)
@@ -447,7 +447,7 @@ if test "$TARGET_EXEEXT" = ".exe"; then
     OS_WIN=0
     OS_OS2=1
     TARGET_CFLAGS="$TARGET_CFLAGS -DOS_OS2=1"
-    if test "$ac_compiler_gnu" == "yes" ; then
+    if test "$ac_compiler_gnu" = "yes" ; then
       TARGET_CFLAGS="$TARGET_CFLAGS -Zomf -Zexe -Zmap"
       BUILD_CFLAGS="$BUILD_CFLAGS -Zomf -Zexe"
     fi