From 118403c5bfe111614eca66afba0cfd1aa45c9d54 Mon Sep 17 00:00:00 2001 From: Konrad Hammel Date: Tue, 19 Oct 2010 10:18:27 -0400 Subject: [PATCH] freetdm: ss7 - added support for 64bit to configure.ac --- libs/freetdm/configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/libs/freetdm/configure.ac b/libs/freetdm/configure.ac index a8ed67f228..18f83d8f1d 100644 --- a/libs/freetdm/configure.ac +++ b/libs/freetdm/configure.ac @@ -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