trivial diff: scripts/ml.in bug catcher

Fergus Henderson fjh at hydra.cs.mu.oz.au
Thu Oct 16 02:30:02 AEST 1997


scripts/ml.in:
	When building foo from foo.in, check to ensure there were no
	mispelt autoconf variable names.
 
Index: Mmakefile
===================================================================
RCS file: /home/staff/zs/imp/mercury/scripts/Mmakefile,v
retrieving revision 1.4
diff -u -u -r1.4 Mmakefile
--- Mmakefile	1997/10/14 09:35:05	1.4
+++ Mmakefile	1997/10/15 16:28:05
@@ -26,6 +26,8 @@
 
 .in:
 	CONFIG_FILES=$@ CONFIG_HEADERS= $(MERCURY_DIR)/config.status
+	# check to ensure there were no mispelt autoconf variable names
+	if grep -n '[^$$]@' $@; then false; else true; fi
 
 #-----------------------------------------------------------------------------#
 

-- 
Fergus Henderson <fjh at cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3         |     -- the last words of T. S. Garp.



More information about the developers mailing list