This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Don't build testsuite during normal build on Cygwin


> 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 )
  ])
  


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]