This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Don't build testsuite during normal build on Cygwin
- From: DJ Delorie <dj at redhat dot com>
- To: bkoz at redhat dot com
- Cc: vinschen at redhat dot com, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Tue, 11 Feb 2003 00:42:38 -0500
- Subject: Re: [PATCH]: Don't build testsuite during normal build on Cygwin
- References: <20030120193608.GI29236@cygbert.vinschen.de> <20030123170719.454b84b2.bkoz@redhat.com>
> Seems odd. If it can't be done in configure.target, then maybe in
> acinclude.m4 in, say:
>
> # Don't do ABI checking unless native or cygwin
> AM_CONDITIONAL(GLIBCPP_BUILD_ABI_CHECK,
> test x"$build" = x"$host" && test -z "$with_cross_host"
> && test x"$target" != cygwin)
How about this? Can't use test because it's a triplet.
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.
Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/acinclude.m4,v
retrieving revision 1.229
diff -p -2 -r1.229 acinclude.m4
*** acinclude.m4 27 Jan 2003 17:26:29 -0000 1.229
--- acinclude.m4 11 Feb 2003 05:41:05 -0000
*************** AC_DEFUN(GLIBCPP_CONFIGURE_TESTSUITE, [
*** 2129,2135 ****
AC_SUBST(baseline_file)
# Don't do ABI checking unless native.
AM_CONDITIONAL(GLIBCPP_BUILD_ABI_CHECK,
! test x"$build" = x"$host" && test -z "$with_cross_host")
])
--- 2129,2141 ----
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 "$enable_abi_check" = yes )
])