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]

fixinclude make check patch



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)


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