diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-10-02 09:39:21 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-10-02 09:43:00 +0300 |
commit | c22c4b5be228e7b17cc1d84db4a945f93a175312 (patch) | |
tree | 8bb9f7f21c24d998a2758e38a8a70370c2989fdd /configure.ac | |
parent | 26cb920cf04f152e767377223d80c57ee6f3fefb (diff) |
No need for a case statement here
Change-Id: I9656cf20d034d8b33bee117c809713923179f26b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/configure.ac b/configure.ac index f4f6ceb6786c..569a73fe7291 100644 --- a/configure.ac +++ b/configure.ac @@ -2787,22 +2787,18 @@ if test $_os = Darwin; then INSTALL_NAME_TOOL=install_name_tool if test -z "$save_CC"; then AC_MSG_CHECKING([what compiler to use]) - case $with_macosx_sdk in - 10.8|10.9|10.10) - stdlib=-stdlib=libc++ - if test "$ENABLE_LTO" = TRUE; then - lto=-flto - fi - CC="`xcrun -find clang` -m64 $lto -mmacosx-version-min=$with_macosx_version_min_required -isysroot $MACOSX_SDK_PATH" - CXX="`xcrun -find clang++` -m64 $lto $stdlib -mmacosx-version-min=$with_macosx_version_min_required -isysroot $MACOSX_SDK_PATH" - INSTALL_NAME_TOOL=`xcrun -find install_name_tool` - AR=`xcrun -find ar` - NM=`xcrun -find nm` - STRIP=`xcrun -find strip` - LIBTOOL=`xcrun -find libtool` - RANLIB=`xcrun -find ranlib` - ;; - esac + stdlib=-stdlib=libc++ + if test "$ENABLE_LTO" = TRUE; then + lto=-flto + fi + CC="`xcrun -find clang` -m64 $lto -mmacosx-version-min=$with_macosx_version_min_required -isysroot $MACOSX_SDK_PATH" + CXX="`xcrun -find clang++` -m64 $lto $stdlib -mmacosx-version-min=$with_macosx_version_min_required -isysroot $MACOSX_SDK_PATH" + INSTALL_NAME_TOOL=`xcrun -find install_name_tool` + AR=`xcrun -find ar` + NM=`xcrun -find nm` + STRIP=`xcrun -find strip` + LIBTOOL=`xcrun -find libtool` + RANLIB=`xcrun -find ranlib` AC_MSG_RESULT([$CC and $CXX]) fi |