summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstanton <stanton>1999-03-05 23:24:52 (GMT)
committerstanton <stanton>1999-03-05 23:24:52 (GMT)
commitaaf123580e9af5cb8d41235523c062b1a3784b39 (patch)
treee982458d56831f3bc9ca3bc04238a4b27b73e50e
parent4848a73bb6c843cd8ba7e7d036ccf9c76a7ab6a4 (diff)
downloadtcl-aaf123580e9af5cb8d41235523c062b1a3784b39.zip
tcl-aaf123580e9af5cb8d41235523c062b1a3784b39.tar.gz
tcl-aaf123580e9af5cb8d41235523c062b1a3784b39.tar.bz2
minor fix to checkstubs target
-rw-r--r--unix/Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 8a8e997..cd348cc 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.17.4.3 1999/03/05 20:18:08 stanton Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.17.4.4 1999/03/05 23:24:52 stanton Exp $
# Current Tcl version; used in various names.
@@ -445,7 +445,7 @@ topDirName:
gendate:
yacc -l $(GENERIC_DIR)/tclGetDate.y
sed -e 's/yy/TclDate/g' -e '/^#include <values.h>/d' \
- -e 's/SCCSID/RCS: @(#) $Id: Makefile.in,v 1.17.4.3 1999/03/05 20:18:08 stanton Exp $'
+ -e 's/SCCSID/RCS: @(#) $Id: Makefile.in,v 1.17.4.4 1999/03/05 23:24:52 stanton Exp $'
-e '/#ifdef __STDC__/,/#endif/d' -e '/TclDateerrlab:/d' \
-e '/TclDatenewstate:/d' -e '/#pragma/d' \
<y.tab.c >$(GENERIC_DIR)/tclDate.c
@@ -921,10 +921,10 @@ genstubs:
checkstubs:
-@for i in `nm -p $(TCL_LIB_FILE) | awk '$$2 ~ /T/ { print $$3 }' \
| sort -n`; do \
- match=1; \
+ match=0; \
for j in $(TCL_DECLS); do \
- if [ `grep -c $$i $$j` -eq 0 ]; then \
- match=0; \
+ if [ `grep -c $$i $$j` -gt 0 ]; then \
+ match=1; \
fi; \
done; \
if [ $$match -eq 0 ]; then echo $$i; fi \