[Freeswitch-svn] [commit] r4569 - freeswitch/trunk

Freeswitch SVN anthm at freeswitch.org
Mon Mar 12 13:46:24 EDT 2007


Author: anthm
Date: Mon Mar 12 13:46:24 2007
New Revision: 4569

Modified:
   freeswitch/trunk/configure.in

Log:
better Mac detection

Modified: freeswitch/trunk/configure.in
==============================================================================
--- freeswitch/trunk/configure.in	(original)
+++ freeswitch/trunk/configure.in	Mon Mar 12 13:46:24 2007
@@ -62,7 +62,7 @@
     SOLINK="-Bdynamic -dy -G"
 elif test "x${ax_cv_c_compiler_vendor}" = "xgnu" ; then
     case "$host" in
-        *-darwin*)
+        *darwin*)
             SOLINK="-dynamic -bundle -force-flat-namespace"
         ;;
         *)
@@ -76,7 +76,7 @@
 # set DYNAMIC_LIB_EXTEN
 # we should really be using libtool so we don't need to do this
 case "$host" in
-    *-darwin*)
+    *darwin*)
         DYNAMIC_LIB_EXTEN="dylib"
     ;;
     *cygwin* | *mingw*)
@@ -101,7 +101,7 @@
 
 # tweak platform specific flags
 case "$host" in
-    *-darwin*)
+    *darwin*)
         APR_ADDTO(SWITCH_AM_CFLAGS, -DMACOSX)
         APR_REMOVEFROM(SWITCH_AM_CFLAGS, -fPIC)
     ;;



More information about the Freeswitch-svn mailing list