summaryrefslogtreecommitdiff
path: root/tests/wc
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-05-03 21:46:06 +0000
committerJim Meyering <jim@meyering.net>1998-05-03 21:46:06 +0000
commit27c8d53a3a93ad16b138981e9f8ca4451b1a14fb (patch)
tree6b258388b2c71c494c16730a284228b622d13abe /tests/wc
parent3e7e7d07927f43eff27dfc3b22e1f6164413a5bb (diff)
downloadcoreutils-27c8d53a3a93ad16b138981e9f8ca4451b1a14fb.tar.xz
.
Diffstat (limited to 'tests/wc')
-rw-r--r--tests/wc/Makefile.am4
-rw-r--r--tests/wc/Makefile.in5
2 files changed, 5 insertions, 4 deletions
diff --git a/tests/wc/Makefile.am b/tests/wc/Makefile.am
index 081559f37..d2de4532f 100644
--- a/tests/wc/Makefile.am
+++ b/tests/wc/Makefile.am
@@ -21,7 +21,7 @@ TESTS = $x-tests
mk_script = $(srcdir)/../mk-script
$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -33,6 +33,6 @@ Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
sed -n '1,/^##test-files-begin/p' $< > $@t
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
echo "x = $$tool" >> $@t
- $(PERL) -w -- $(mk_script) --list >> $@t
+ $(PERL) -I. -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@
diff --git a/tests/wc/Makefile.in b/tests/wc/Makefile.in
index 21b11e402..24bdc4707 100644
--- a/tests/wc/Makefile.in
+++ b/tests/wc/Makefile.in
@@ -67,6 +67,7 @@ GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GT_NO = @GT_NO@
GT_YES = @GT_YES@
+INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
INSTOBJEXT = @INSTOBJEXT@
INTLDEPS = @INTLDEPS@
INTLLIBS = @INTLLIBS@
@@ -226,7 +227,7 @@ distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean
$(srcdir)/$x-tests: $(mk_script) Test.pm
- $(PERL) -w -- $(mk_script) ../../src/$x > $@.n
+ $(PERL) -I. -w -- $(mk_script) ../../src/$x > $@.n
mv $@.n $@
chmod 755 $@
@@ -235,7 +236,7 @@ Makefile.am: ../Makefile.am.in Test.pm $(mk_script)
sed -n '1,/^##test-files-begin/p' $< > $@t
tool=`echo $(subdir)|sed 's/^tests.//;s/-test//'`; \
echo "x = $$tool" >> $@t
- $(PERL) -w -- $(mk_script) --list >> $@t
+ $(PERL) -I. -w -- $(mk_script) --list >> $@t
sed -n '/^##test-files-end/,$$p' $< >> $@t
mv $@t $@