]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5250: --resolve fix mac build
authorMichael Jerris <mike@jerris.com>
Wed, 10 Apr 2013 16:44:19 +0000 (12:44 -0400)
committerTravis Cross <tc@traviscross.com>
Fri, 7 Jun 2013 07:26:16 +0000 (07:26 +0000)
libs/srtp/configure.in

index 2495a55f9553ab064782830342923bef614530c1..38a0ced8d27150c24a81ee6061a414c8265dccff 100644 (file)
@@ -225,8 +225,12 @@ case $host_cpu in
      i*86 )
        AC_DEFINE(CPU_CISC, 1,
           [Define if building for a CISC machine (e.g. Intel).])
-        AC_DEFINE(HAVE_X86, 1,
-          [Define to use X86 inlined assembly code]);; 
+       # Do not enable use of asm for MACOSX
+        if test "x$new_AM_CFLAGS" != "x-DMACOSX"; then 
+         AC_DEFINE(HAVE_X86, 1,
+          [Define to use X86 inlined assembly code]) 
+       fi
+       ;;
        * )
        # CPU_RISC is only supported for big endian machines.
        if test "$ac_cv_c_bigendian" = "yes"; then