From 6374309c6d4d17ab1e4109133ab8aad55f77d51c Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Mon, 14 Oct 2002 21:54:04 +0000 Subject: Convert the source code to use ANSI C style function definitions and enable the automake ansi2knr capability. Right now this doesn't quite build using a K&R compiler because of a problem with the loadavg test program, but the rest of the code works. I'm asking the automake list about this problem. --- maintMakefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'maintMakefile') diff --git a/maintMakefile b/maintMakefile index 2bc1949..1bf49f0 100644 --- a/maintMakefile +++ b/maintMakefile @@ -79,7 +79,7 @@ build.sh.in: build.template Makefile maintFILES = configure aclocal.m4 config.h.in Makefile.in stamp-h.in CVS-CLEAN-FILES += $(maintFILES) $(TEMPLATES) $(MTEMPLATES) NMakefile \ - missing build.sh.in .dep_segment + missing build.sh.in .dep_segment po-check-? # This rule tries to clean the tree right down to how it looks when you do a # virgin CVS checkout. @@ -218,10 +218,11 @@ changelog-check: fi # Verify that all source files using _() are listed in po/POTFILES.in. +# Ignore make.h; it defines _(). po-check: if test -f po/POTFILES.in; then \ grep -E -v '^(#|$$)' po/POTFILES.in | sort > $@-1; \ - grep -E -l '\b_\(' *.c | sort > $@-2; \ + grep -E -l '\b_\(' *.c *.h | grep -v make.h | sort > $@-2; \ diff -u $@-1 $@-2 || exit 1; \ rm -f $@-1 $@-2; \ fi -- cgit v1.2.3