This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fixinclude make check patch
- From: Bruce Korb <bkorb at pacbell dot net>
- To: GCC-Patches at gcc dot gnu dot org
- Cc: bkorb at gnu dot org
- Date: Sat, 23 Mar 2002 13:29:20 -0800
- Subject: fixinclude make check patch
- Organization: Home
This will always succeed if autogen is not installed....
2002-03-23 Bruce Korb <bkorb@gnu.org>
* gcc/Makefile.in(check-fixinc): run $(MAKE) check in the fixinc directory
iff `autogen --ver=v` is successful.
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.830.2.6
diff -u -r1.830.2.6 Makefile.in
--- Makefile.in 2002/03/22 00:57:15 1.830.2.6
+++ Makefile.in 2002/03/23 21:23:40
@@ -2876,11 +2876,16 @@
-e '1,/^## All variables above are.*##/ d' >> site.exp
-@rm -f ./tmp?
-CHECK_TARGETS = check-gcc @check_languages@
+CHECK_TARGETS = check-gcc check-fixinc @check_languages@
check-c++ : check-g++
check-f77 : check-g77
check-java :
+
+check-fixinc :
+ if autogen --ver=v > /dev/null 2>&1 ; \
+ then cd fixinc && $(MAKE) check ; \
+ else true ; fi
check: $(CHECK_TARGETS)