Really use llvm-gcc, when available.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@303235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2011-01-21 09:09:54 +00:00
parent 52dbebad8e
commit bad92a4785
2 changed files with 10 additions and 544 deletions

View File

@@ -37,6 +37,10 @@ AC_SUBST(CONFIG_LDFLAGS)
# 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
# System default paths
@@ -215,7 +219,6 @@ then
fi
# Checks for programs.
AC_PROG_CC([llvm-gcc gcc cc])
AC_PROG_CXX
AC_PROG_CPP
AC_PROG_CXXCPP