From 5537c89eb72edf6b3fa8250859ddaf0c7826a04e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 28 Mar 2005 21:58:07 +0000 Subject: [PATCH] . --- src/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Makefile.in b/src/Makefile.in index 572b68f0dc..0d7df92e42 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -949,7 +949,7 @@ uninstall-binPROGRAMS: done clean-binPROGRAMS: - -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) > /dev/null 2>&1 || /bin/rm -f $(bin_PROGRAMS) + -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) installcheck-binPROGRAMS: $(bin_PROGRAMS) bad=0; pid=$$$$; list="$(bin_PROGRAMS)"; for p in $$list; do \ @@ -1729,9 +1729,11 @@ sc_tight_scope: $(all_programs) | grep -Ev -f $$t && \ { echo 'the above functions should have static scope' 1>&2; \ exit 1; } || : ; \ - printf '^program_name$$\n' > $$t; \ + ( printf '^program_name$$\n'; \ + sed -n 's/^extern int \([^ ][^ ]*\);$$/^\1$$/p' \ + $(noinst_HEADERS) ) > $$t; \ nm -e *.$(OBJEXT) \ - | sed -n 's/.* B //p' \ + | sed -n 's/.* [BD] //p' \ | grep -Ev -f $$t && \ { echo 'the above variables should have static scope' 1>&2; \ exit 1; } || : -- 2.47.3