From bbb767c0845324764da9f6da0bbcfefad049c9de Mon Sep 17 00:00:00 2001 From: Henning Geinitz Date: Wed, 5 Sep 2001 19:59:25 +0000 Subject: [PATCH] make libcheck now also prints the name(s) of the `illegal' functions. Henning Meier-Geinitz --- Makefile.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index d07c614e2..7fece5faf 100644 --- a/Makefile.in +++ b/Makefile.in @@ -71,11 +71,12 @@ sort-cvsignore: # the libraries # libcheck: - echo "Libraries exporting 'illegal' symbols:" + @echo "Libraries exporting 'illegal' symbols:" @for lib in backend/.libs/*.a; do \ - if nm -g $$lib|grep ' T '|egrep -v ' sane_| sanei_' > /dev/null; \ + lines=`nm -g $$lib|grep ' T '|egrep -v ' sane_| sanei_'` ; \ + if test -n "$$lines" ; \ then \ - echo " $$lib"; \ + echo -e "*** $$lib:\n$$lines"; \ fi \ done