[Freeswitch-svn] [commit] r12108 - freeswitch/trunk/libs/ilbc

FreeSWITCH SVN mikej at freeswitch.org
Tue Feb 17 11:06:52 PST 2009


Author: mikej
Date: Tue Feb 17 13:06:51 2009
New Revision: 12108

Log:
remove generated file and fix suncc cflags

Removed:
   freeswitch/trunk/libs/ilbc/configure
Modified:
   freeswitch/trunk/libs/ilbc/configure.ac

Modified: freeswitch/trunk/libs/ilbc/configure.ac
==============================================================================
--- freeswitch/trunk/libs/ilbc/configure.ac	(original)
+++ freeswitch/trunk/libs/ilbc/configure.ac	Tue Feb 17 13:06:51 2009
@@ -210,6 +210,8 @@
     AC_CHECK_LIB([fftw], [fftw_create_plan], TESTLIBS="$TESTLIBS -lfftw")
 fi
 
+AC_ARG_ENABLE([enable_64], [AS_HELP_STRING([--enable-64], [Enable 64bit compilation])], [enable_64="$enableval"], [enable_64="no"])
+
 case "${ax_cv_c_compiler_vendor}" in
 gnu)
     COMP_VENDOR_CFLAGS="-std=gnu99 -ffast-math -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
@@ -220,6 +222,12 @@
         COMP_VENDOR_CFLAGS="-mmmx $COMP_VENDOR_CFLAGS"
     fi
     ;;
+sun)
+    COMP_VENDOR_CFLAGS="-xc99=all -mt -xCC -D__FUNCTION__=__func__ -xvpara"
+    if test "$enable_64" = "yes" ; then
+        COMP_VENDOR_CFLAGS="-m64 $COMP_VENDOR_CFLAGS"
+    fi
+    ;;
 *)
     COMP_VENDOR_CFLAGS="-std=c99 -Wall -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes"
     ;;



More information about the Freeswitch-svn mailing list