summaryrefslogtreecommitdiff
path: root/libstdc++-v3/configure
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-02-11 00:50:01 -0500
committerDJ Delorie <dj@gcc.gnu.org>2003-02-11 00:50:01 -0500
commit294901f87958f9bddd48cf0a00e2b892abeba544 (patch)
treede575337161b5764ee4a9294ae5b91c00325f75b /libstdc++-v3/configure
parent91adf6cf63b347d91658011603385f83322906ce (diff)
downloadgcc-294901f87958f9bddd48cf0a00e2b892abeba544.tar.gz
acinclude.m4: Check for native targets that can't link at this point in the build.
* acinclude.m4: Check for native targets that can't link at this point in the build. * aclocal.m4: Regenerate. * configure: Regenerate. From-SVN: r62679
Diffstat (limited to 'libstdc++-v3/configure')
-rwxr-xr-xlibstdc++-v3/configure8
1 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 3e32041ad6e..eadc4be2b61 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -23525,7 +23525,13 @@ done
# 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