+2002-02-11 DJ Delorie <dj@redhat.com>
+
+ * acinclude.m4: Check for native targets that can't link at
+ this point in the build.
+ * aclocal.m4: Regenerate.
+ * configure: Regenerate.
+
2003-02-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* hppa/atomicity.h (__Atomicity_lock<__inst>::_S_atomicity_lock):
baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
AC_SUBST(baseline_file)
+ case "$target" in
+ *-*-cygwin* ) enable_abi_check=no ;;
+ * ) enable_abi_check=yes ;;
+ esac
+
# Don't do ABI checking unless native.
AM_CONDITIONAL(GLIBCPP_BUILD_ABI_CHECK,
- test x"$build" = x"$host" && test -z "$with_cross_host")
+ test x"$build" = x"$host" && test -z "$with_cross_host" \
+ && test "$enable_abi_check" = yes )
])
baseline_file="${glibcpp_srcdir}/config/abi/${abi_baseline_triplet}/baseline_symbols.txt"
AC_SUBST(baseline_file)
+ case "$target" in
+ *-*-cygwin* ) enable_abi_check=no ;;
+ * ) enable_abi_check=yes ;;
+ esac
+
# Don't do ABI checking unless native.
AM_CONDITIONAL(GLIBCPP_BUILD_ABI_CHECK,
- test x"$build" = x"$host" && test -z "$with_cross_host")
+ test x"$build" = x"$host" && test -z "$with_cross_host" \
+ && test "$enable_abi_check" = yes )
])
# Don't do ABI checking unless native.
-if test x"$build" = x"$host" && test -z "$with_cross_host"; then
+ case "$target" in
+ *-*-cygwin* ) enable_abi_check=no ;;
+ * ) enable_abi_check=yes ;;
+ esac
+
+if test x"$build" = x"$host" && test -z "$with_cross_host" \
+ && test "$enable_abi_check" = yes ; then
GLIBCPP_BUILD_ABI_CHECK_TRUE=
GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
else