diff --git a/configure b/configure index 3d8f0d863f5..17534ee6c3d 100755 --- a/configure +++ b/configure @@ -636,7 +636,7 @@ then # check that gcc, cc and g++ all point to the same compiler. # note that for xcode 5, g++ points to clang, not clang++ if !((chk_cc gcc clang && chk_cc g++ clang) || - (chk_cc gcc gcc &&( chk_cc g++ g++ || chk g++ gcc))) then + (chk_cc gcc gcc &&( chk_cc g++ g++ || chk g++ gcc))); then err "the gcc and g++ in your path point to different compilers. Check which versions are in your path with gcc --version and g++ --version. To resolve this problem, either fix your PATH or run configure with --enable-clang"