]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
freetdm: ss7 - added support for 64bit to configure.ac
authorKonrad Hammel <konrad@sangoma.com>
Tue, 19 Oct 2010 14:18:27 +0000 (10:18 -0400)
committerKonrad Hammel <konrad@sangoma.com>
Tue, 19 Oct 2010 14:18:27 +0000 (10:18 -0400)
libs/freetdm/configure.ac

index a8ed67f228a41955e38145435512af9b11f030eb..18f83d8f1d68f01933a34e64500b4c17014296f8 100644 (file)
@@ -205,6 +205,18 @@ if test "${have_sng_isdn}" = "yes"; then
        fi
 fi
 
+if test "${have_sng_ss7}" = "yes"; then
+       if test "${build}" == "${host}"
+       then
+               case "${host}" in
+               x86_64-*)
+               # X86_64 machines need additional flags when compiling against libsng_isdn
+               CFLAGS="$CFLAGS -DBIT_64 -DALIGN_64BIT"
+               ;;
+               esac
+       fi
+fi
+
 COMP_VENDOR_CFLAGS="$COMP_VENDOR_CFLAGS"
 AC_SUBST(COMP_VENDOR_CFLAGS)
 AC_CONFIG_FILES([Makefile