Index: libstdc++-v3/configure =================================================================== --- libstdc++-v3/configure (revision 114326) +++ libstdc++-v3/configure (working copy) @@ -4576,6 +4576,8 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +gcc_no_link=yes + if test x$gcc_no_link = xyes; then { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;} @@ -87646,6 +87648,8 @@ fi fi +gcc_no_link=no + # Check to see if 'gnu' can win. if test $enable_symvers = gnu; then # Check to see if libgcc_s exists, indicating that shared libgcc is possible. @@ -87700,6 +87704,7 @@ echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 +gcc_no_link=no glibcxx_shared_libgcc=no fi rm -f conftest.err conftest.$ac_objext \ @@ -88575,6 +88580,8 @@ echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6 if test x$glibcxx_cv_func_setenv_use = x"yes"; then +gcc_no_link=no + for ac_func in setenv do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`