From: Michael Jerris Date: Wed, 10 Apr 2013 16:44:19 +0000 (-0400) Subject: FS-5250: --resolve fix mac build X-Git-Tag: v1.2.13~182 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fc4f7495e5716a2fe38da859a0e27eacaa2a133;p=thirdparty%2Ffreeswitch.git FS-5250: --resolve fix mac build --- diff --git a/libs/srtp/configure.in b/libs/srtp/configure.in index 2495a55f95..38a0ced8d2 100644 --- a/libs/srtp/configure.in +++ b/libs/srtp/configure.in @@ -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