[asterisk-commits] tilghman: trunk r303235 - in /trunk: configure configure.ac

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jan 21 03:09:58 CST 2011


Author: tilghman
Date: Fri Jan 21 03:09:54 2011
New Revision: 303235

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=303235
Log:
Really use llvm-gcc, when available.

Modified:
    trunk/configure
    trunk/configure.ac

Modified: trunk/configure.ac
URL: http://svnview.digium.com/svn/asterisk/trunk/configure.ac?view=diff&rev=303235&r1=303234&r2=303235
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Jan 21 03:09:54 2011
@@ -36,6 +36,10 @@
 
 # specify output header file
 AC_CONFIG_HEADER(include/asterisk/autoconfig.h)
+
+# Note: AC_PROG_CC *must* be specified before AC_USE_SYSTEM_EXTENSIONS or any
+# other macro that uses the C compiler, or the default order will be used.
+AC_PROG_CC([llvm-gcc gcc cc])
 
 AC_USE_SYSTEM_EXTENSIONS	dnl note- does not work on FreeBSD
 
@@ -215,7 +219,6 @@
 fi
 
 # Checks for programs.
-AC_PROG_CC([llvm-gcc gcc cc])
 AC_PROG_CXX
 AC_PROG_CPP
 AC_PROG_CXXCPP




More information about the asterisk-commits mailing list