Simplify trivial VEC_COND_EXPR in expander.
[gcc.git] / configure.ac
index 1a53ed418e4d97606356b14a17b50186c79adcd3..44fa75f3a329ef68f6800c8e09d49a9373f731cf 100644 (file)
@@ -1038,6 +1038,7 @@ case "${target}" in
     ;;
   *-*-freebsd*)
     if test "x$with_gmp" = x && test "x$with_gmp_dir" = x \
+       && ! test -d ${srcdir}/gmp \
        && test -f /usr/local/include/gmp.h; then
       with_gmp=/usr/local
     fi
@@ -1470,6 +1471,10 @@ if test "$enable_bootstrap:$GXX" = "yes:yes"; then
   CXX="$CXX -std=c++11"
 elif test "$have_compiler" = yes; then
   AX_CXX_COMPILE_STDCXX(11)
+
+  if test "${build}" != "${host}"; then
+    AX_CXX_COMPILE_STDCXX(11, [], [], [_FOR_BUILD])
+  fi
 fi
 
 # Used for setting $lt_cv_objdir