diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 54e0fdffc..90c27fcf0 100644 --- a/configure.ac +++ b/configure.ac @@ -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 |