From 7803a752c995b868c85b5e90f683f318aa89c399 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 10 Dec 2009 19:58:16 +0000 Subject: [PATCH] add --enable-64 support for os x 10.4 and 10.5 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15874 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 2091472bd6..cbea8e32cc 100644 --- a/configure.in +++ b/configure.in @@ -184,13 +184,15 @@ elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then APR_ADDTO(SWITCH_AM_CXXFLAGS, -fPIC) APR_ADDTO(SWITCH_AM_CFLAGS, -Werror) if test "${enable_64}" = "yes"; then - LIBS="$LIBS -m64" case "$host" in - *darwin10.*) + *darwin10.*|*darwin9.*|*darwin8.*) APR_ADDTO(CFLAGS, -arch x86_64) APR_ADDTO(LDFLAGS, -arch x86_64) APR_ADDTO(CXXFLAGS, -arch x86_64) ;; + *) + LIBS="$LIBS -m64" + ;; esac fi fi