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" ; \
AC_LANG([C])
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
then
case "${host}" in
x86_64-*)
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-*)
AC_LANG([C])
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
then
case "${host}" in
x86_64-*)
AC_LANG([C])
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
then
case "${host}" in
x86_64-*)
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
AC_LANG([C])
-if test "${build}" == "${host}"
+if test "${build}" = "${host}"
then
case "${host}" in
x86_64-*)
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
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
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