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
This commit is contained in:
Daniel Jacobowitz 2003-09-11 03:11:31 +00:00 committed by Daniel Jacobowitz
parent 6b657b2e09
commit dbc66058f0
4 changed files with 54 additions and 36 deletions

View File

@ -1,3 +1,12 @@
2003-09-10 Daniel Jacobowitz <drow@mvista.com>
Andreas Jaeger <aj@suse.de>
PR libstdc++/12189
* acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
abi_check if cross compiling.
* aclocal.m4: Regenerated.
* configure: Regenerated.
2003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
* libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns

View File

@ -585,14 +585,8 @@ AC_DEFUN(GLIBCXX_CONFIGURE_TESTSUITE, [
# Look for setenv, so that extended locale tests can be performed.
GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_3(setenv)
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
if test $enable_symvers = no; then
enable_abi_check=no
else
case "$host" in
@ -602,6 +596,15 @@ AC_DEFUN(GLIBCXX_CONFIGURE_TESTSUITE, [
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)
GLIBCXX_CONDITIONAL(GLIBCXX_TEST_WCHAR_T, test $enable_wchar_t = yes)
GLIBCXX_CONDITIONAL(GLIBCXX_TEST_ABI, test $enable_abi_check = yes)

View File

@ -598,14 +598,8 @@ AC_DEFUN(GLIBCXX_CONFIGURE_TESTSUITE, [
# Look for setenv, so that extended locale tests can be performed.
GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_3(setenv)
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
if test $enable_symvers = no; then
enable_abi_check=no
else
case "$host" in
@ -615,6 +609,15 @@ AC_DEFUN(GLIBCXX_CONFIGURE_TESTSUITE, [
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)
GLIBCXX_CONDITIONAL(GLIBCXX_TEST_WCHAR_T, test $enable_wchar_t = yes)
GLIBCXX_CONDITIONAL(GLIBCXX_TEST_ABI, test $enable_abi_check = yes)

View File

@ -59011,14 +59011,8 @@ done
fi
fi
# Export file names for ABI checking.
baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
# Determine if checking the ABI is desirable.
if test $enable_symvers = no || test $is_hosted = no; then
if test $enable_symvers = no; then
enable_abi_check=no
else
case "$host" in
@ -59028,6 +59022,15 @@ done
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)"