aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/aclocal.m4
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@mvista.com>2003-09-11 03:11:31 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2003-09-11 03:11:31 +0000
commitdbc66058f0bc72234e3926846dc19211ac93a952 (patch)
tree3cc091d2df064c2b8ecfe63057cc22e612eda151 /libstdc++-v3/aclocal.m4
parent6b657b2e096a3acd27973f061643c4f48edd65ef (diff)
downloadgcc-dbc66058f0bc72234e3926846dc19211ac93a952.zip
gcc-dbc66058f0bc72234e3926846dc19211ac93a952.tar.gz
gcc-dbc66058f0bc72234e3926846dc19211ac93a952.tar.bz2
re PR libstdc++/12189 (abi_check fails to build)
PR libstdc++/12189 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build abi_check if cross compiling. * aclocal.m4: Regenerated. * configure: Regenerated. Co-Authored-By: Andreas Jaeger <aj@suse.de> From-SVN: r71291
Diffstat (limited to 'libstdc++-v3/aclocal.m4')
-rw-r--r--libstdc++-v3/aclocal.m427
1 files changed, 15 insertions, 12 deletions
diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4
index 4239908..f37b565 100644
--- a/libstdc++-v3/aclocal.m4
+++ b/libstdc++-v3/aclocal.m4
@@ -598,24 +598,27 @@ AC_DEFUN(GLIBCXX_CONFIGURE_TESTSUITE, [
# Look for setenv, so that extended locale tests can be performed.
GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_3(setenv)
+
+ if test $enable_symvers = no; then
+ enable_abi_check=no
+ else
+ case "$host" in
+ *-*-cygwin*)
+ enable_abi_check=no ;;
+ *)
+ enable_abi_check=yes ;;
+ esac
+ fi
+ else
+ # Only build this as native, since automake does not understand
+ # CXX_FOR_BUILD.
+ enable_abi_check=no
fi
# Export file names for ABI checking.
baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
AC_SUBST(baseline_dir)
- # Determine if checking the ABI is desirable.
- if test $enable_symvers = no || test $is_hosted = no; then
- enable_abi_check=no
- else
- case "$host" in
- *-*-cygwin*)
- enable_abi_check=no ;;
- *)
- enable_abi_check=yes ;;
- esac
- fi
-
GLIBCXX_CONDITIONAL(GLIBCXX_TEST_WCHAR_T, test $enable_wchar_t = yes)
GLIBCXX_CONDITIONAL(GLIBCXX_TEST_ABI, test $enable_abi_check = yes)
])