summaryrefslogtreecommitdiff
path: root/distrib/configure.ac.in
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/configure.ac.in')
-rw-r--r--distrib/configure.ac.in13
1 files changed, 1 insertions, 12 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in
index 72fb71258d..ce51c278f2 100644
--- a/distrib/configure.ac.in
+++ b/distrib/configure.ac.in
@@ -51,18 +51,7 @@ XCODE_VERSION()
dnl ** Which gcc to use?
dnl --------------------------------------------------------------
-if test "$TargetOS_CPP" = "darwin" &&
- test "$XCodeVersion1" -ge 4
-then
- # From Xcode 4, use 'gcc-4.2' to force the use of the gcc legacy backend (instead of the LLVM
- # backend)
- FP_ARG_WITH_PATH_GNU_PROG([CC], [gcc-4.2])
-else
- FP_ARG_WITH_PATH_GNU_PROG([CC], [gcc])
-fi
-export CC
-WhatGccIsCalled="$CC"
-AC_SUBST(WhatGccIsCalled)
+FIND_GCC()
FP_GCC_VERSION
AC_PROG_CPP