diff options
author | Ian Lance Taylor <iant@google.com> | 2010-12-07 21:04:33 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2010-12-07 21:04:33 +0000 |
commit | c658f0ceef83bd7858aceb21cd72a12079bec1aa (patch) | |
tree | 89b9523a0edf23a3a05b8b3299d17c579701c470 /gcc/configure | |
parent | 9a14c44d46d12a49b3e1cde59dd235a7a44b02b6 (diff) | |
download | gcc-c658f0ceef83bd7858aceb21cd72a12079bec1aa.zip gcc-c658f0ceef83bd7858aceb21cd72a12079bec1aa.tar.gz gcc-c658f0ceef83bd7858aceb21cd72a12079bec1aa.tar.bz2 |
re PR bootstrap/46810 (sparc64-linux bootstrap fails with "C++ preprocessor "/lib/cpp" fails sanity check")
PR bootstrap/46810
* configure.ac: Disable AC_MSG_ERROR while looking for the C++
preprocessor.
* configure: Rebuild.
Co-Authored-By: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
From-SVN: r167572
Diffstat (limited to 'gcc/configure')
-rwxr-xr-x | gcc/configure | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/gcc/configure b/gcc/configure index 5fb9950..84c327c 100755 --- a/gcc/configure +++ b/gcc/configure @@ -8433,14 +8433,6 @@ ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - - -ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } if test -z "$CXXCPP"; then @@ -8559,10 +8551,19 @@ if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check -See \`config.log' for more details." "$LINENO" 5; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&5 +$as_echo "$as_me: WARNING: C++ preprocessor \"$CXXCPP\" fails sanity check +See \`config.log' for more details." >&2;}; } fi +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -8570,6 +8571,8 @@ ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ex ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + for ac_header in unordered_map do : ac_fn_cxx_check_header_preproc "$LINENO" "unordered_map" "ac_cv_header_unordered_map" @@ -17506,7 +17509,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 17509 "configure" +#line 17512 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -17612,7 +17615,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 17615 "configure" +#line 17618 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |