$AUTOMAKE || exit 1
-fgrep quux.m4 Makefile.in
+$FGREP quux.m4 Makefile.in
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-count=`fgrep foo.in Makefile.in | wc -l`
+count=`$FGREP foo.in Makefile.in | wc -l`
test $count -eq 2 || exit 1
# This ought to work as well.
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
- fgrep "${target}-local ${target}-local" Makefile.in && exit 1
+ $FGREP "${target}-local ${target}-local" Makefile.in && exit 1
done
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep -v @SET_MAKE@ Makefile.in > Makefile.sed
+$FGREP -v @SET_MAKE@ Makefile.in > Makefile.sed
$MAKE -s -f Makefile.sed SHELL=/bin/sh magic | grep 'ansi2knr\.c'
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep 'ansi2knr.$(' Makefile.in || exit 1
+$FGREP 'ansi2knr.$(' Makefile.in || exit 1
# never just "zardoz" -- except the actual automake invocation can
# refer to it (don't ask).
echo Grep1
-grep zardoz zardoz.in | fgrep -v 'zardoz.in' | fgrep -v 'zardoz.am' \
- | fgrep -v AUTOMAKE > O
+grep zardoz zardoz.in | $FGREP -v 'zardoz.in' | $FGREP -v 'zardoz.am' \
+ | $FGREP -v AUTOMAKE > O
# We cat the output file so we see in when verbose.
cat O
test -z "`cat O`" || exit 1
$AUTOCONF
$AUTOMAKE -a
./configure
-$MAKE test | fgrep 'BAR: bar12 bar bar3 :BAR'
-$MAKE test | fgrep 'FOO: foo foo1 foo1b foo2 :FOO'
+$MAKE test | $FGREP 'BAR: bar12 bar bar3 :BAR'
+$MAKE test | $FGREP 'FOO: foo foo1 foo1b foo2 :FOO'
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep librsaref.a.c Makefile.in && exit 1
+$FGREP librsaref.a.c Makefile.in && exit 1
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-egrep '^DEFAULT_INCLUDES =.* -I(\.|\$\(top_builddir\))/include' Makefile.in
+$EGREP '^DEFAULT_INCLUDES =.* -I(\.|\$\(top_builddir\))/include' Makefile.in
# One line is allowed though:
#
# cd $(top_builddir) && $(SHELL) ./config.status subdir/config.h
-(fgrep 'subdir/config.h' subdir/Makefile.in |
- fgrep -v 'cd $(top_builddir)') && exit 1
+($FGREP 'subdir/config.h' subdir/Makefile.in |
+ $FGREP -v 'cd $(top_builddir)') && exit 1
$AUTOCONF || exit 1
./configure || exit 1
-fgrep 'Before.' subdir/config.h
+$FGREP 'Before.' subdir/config.h
sleep 2
echo 'After.' > subdir/config.hin
$MAKE || exit 1
-fgrep 'After.' subdir/config.h || exit 1
+$FGREP 'After.' subdir/config.h || exit 1
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep 'jane$U' Makefile.in && exit 1
-fgrep 'doe$U' Makefile.in || exit 1
+$FGREP 'jane$U' Makefile.in && exit 1
+$FGREP 'doe$U' Makefile.in || exit 1
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep 'doe.$(OBJEXT)' Makefile.in
+$FGREP 'doe.$(OBJEXT)' Makefile.in
$AUTOMAKE || exit 1
- egrep '^(@[^@]+@)*DEP_FILES = ' Makefile.in || exit 1
+ $EGREP '^(@[^@]+@)*DEP_FILES = ' Makefile.in || exit 1
done
exit 0
: > fsusage.c
$ACLOCAL || exit 1
-$AUTOMAKE 2>&1 | fgrep fsusage.c || exit 1
+$AUTOMAKE 2>&1 | $FGREP fsusage.c || exit 1
exit 0
$MAKE dist
gunzip nonesuch-0.23.tar.gz
-(tar tf nonesuch-0.23.tar | fgrep './nonesuch-0.23/a.c') && exit 1
+(tar tf nonesuch-0.23.tar | $FGREP './nonesuch-0.23/a.c') && exit 1
exit 0
# Strip all options from ACLOCAL, especially -I's.
ACLOCAL="`echo $ACLOCAL | sed -e 's/ -.*$//'` --acdir=$testsrcdir/../m4"
$ACLOCAL -I zoo || exit 1
-fgrep zardoz aclocal.m4
+$FGREP zardoz aclocal.m4
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep zoo. Makefile.in && exit 1
+$FGREP zoo. Makefile.in && exit 1
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep 'doe.$(OBJEXT)' Makefile.in
+$FGREP 'doe.$(OBJEXT)' Makefile.in
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-grep '^libapp_1_OBJECTS' Makefile.in | fgrep '.$(OBJEXT)'
+grep '^libapp_1_OBJECTS' Makefile.in | $FGREP '.$(OBJEXT)'
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep -v @SET_MAKE@ Makefile.in > Makefile.sed
+$FGREP -v @SET_MAKE@ Makefile.in > Makefile.sed
$MAKE -s -f Makefile.sed SHELL=/bin/sh magic | grep install-sh
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep 'z.$(OBJEXT)' Makefile.in
+$FGREP 'z.$(OBJEXT)' Makefile.in
# Test to make sure that lex source generates correct target.
-fgrep '$(LEX)' Makefile.in || exit 1
+$FGREP '$(LEX)' Makefile.in || exit 1
# Test to make sure that lex source generates correct clean rule.
# From Ralf Corsepius.
-fgrep joel Makefile.in && exit 1
+$FGREP joel Makefile.in && exit 1
exit 0
# foo.c must be shipped.
gunzip am_lex_bug-0.1.1.tar.gz
-tar tf am_lex_bug-0.1.1.tar | fgrep foo.c
+tar tf am_lex_bug-0.1.1.tar | $FGREP foo.c
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep joe.Po Makefile.in
+$FGREP joe.Po Makefile.in
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep foo.c Makefile.in
+$FGREP foo.c Makefile.in
n
s/^/DIST_COMMON/
b again
- }' < Makefile.in | fgrep dirname.c
+ }' < Makefile.in | $FGREP dirname.c
for flag in '' -w; do
MAKE="$save $flag" ./configure
- fgrep 'am__include = include' Makefile
+ $FGREP 'am__include = include' Makefile
touch configure.in
$MAKE $flag
- fgrep 'am__include = include' Makefile
+ $FGREP 'am__include = include' Makefile
rm -f config.cache
done
$AUTOMAKE || exit 1
# We are definitely not needing a compiler or preprocessor.
-egrep '^(CC|CPP|CXX|CXXCPP) =' Makefile.in && exit 1
+$EGREP '^(CC|CPP|CXX|CXXCPP) =' Makefile.in && exit 1
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep -e '-I.' Makefile.in && exit 1
+$FGREP -e '-I.' Makefile.in && exit 1
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep zar.cdoz Makefile.in && exit 1
+$FGREP zar.cdoz Makefile.in && exit 1
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep 'zar doz' Makefile.in
+$FGREP 'zar doz' Makefile.in
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep '@CC@ -Dwhatever' Makefile.in
+$FGREP '@CC@ -Dwhatever' Makefile.in
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep '@mandir@ foo' Makefile.in || exit 1
+$FGREP '@mandir@ foo' Makefile.in || exit 1
num=`grep '^mandir =' Makefile.in | wc -l`
test $num -eq 1
# Look for mkinstalldirs invocation for the templ directory.
# We use the `[^/]' to avoid matching `templ/README.foo.in'.
-egrep 'mkinstalldirs.*templ([^/]|$)' Makefile.in
+$EGREP 'mkinstalldirs.*templ([^/]|$)' Makefile.in
gunzip pr9-0.tar.gz || exit 1
-tar tf pr9-0.tar | fgrep support
+tar tf pr9-0.tar | $FGREP support
# output for this test, and we just want to make sure some of
# them are about CC and CXX being undefined.
$AUTOMAKE --Wno-error 2> err && exit 1
-fgrep CC err || exit 1
-fgrep CXX err || exit 1
+$FGREP CC err || exit 1
+$FGREP CXX err || exit 1
grep '[^-]foo\.o' Makefile.in && exit 1
# Regression test for missing space.
-fgrep ')-c' Makefile.in && exit 1
+$FGREP ')-c' Makefile.in && exit 1
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep -e '-o foo-foo' Makefile.in || exit 1
+$FGREP -e '-o foo-foo' Makefile.in || exit 1
-fgrep 'foo.o.o' Makefile.in && exit 1
-fgrep 'foo.$(OBJEXT).$(OBJEXT)' Makefile.in && exit 1
+$FGREP 'foo.o.o' Makefile.in && exit 1
+$FGREP 'foo.$(OBJEXT).$(OBJEXT)' Makefile.in && exit 1
-fgrep '$(foo_CFLAGS)' Makefile.in || exit 1
+$FGREP '$(foo_CFLAGS)' Makefile.in || exit 1
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-uncondval=`fgrep 'foo-foo.o: foo.c' Makefile.in`
+uncondval=`$FGREP 'foo-foo.o: foo.c' Makefile.in`
cat >> Makefile.am << 'END'
foo_SOURCES += $(BAR_SRCS)
$AUTOMAKE || exit 1
-condval=`fgrep 'foo-foo.o: foo.c' Makefile.in`
+condval=`$FGREP 'foo-foo.o: foo.c' Makefile.in`
test "x$uncondval" = "x$condval"
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep 'generic/a.$(OBJEXT)' Makefile.in || exit 1
+$FGREP 'generic/a.$(OBJEXT)' Makefile.in || exit 1
grep '[^/]a\.\$(OBJEXT)' Makefile.in && exit 1
# Opportunistically test for a different bug.
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep 'generic/a.$(OBJEXT)' Makefile.in || exit 1
+$FGREP 'generic/a.$(OBJEXT)' Makefile.in || exit 1
grep '[^/]a\.\$(OBJEXT)' Makefile.in && exit 1
-fgrep -e '-c -o' Makefile.in
+$FGREP -e '-c -o' Makefile.in
# The foo.cc intermediate step is implicit, it's a mistake if
# Automake requires this file somewhere.
-fgrep foo.cc Makefile.in && exit 1
+$FGREP foo.cc Makefile.in && exit 1
# However Automake must figure that foo.zoo is eventually
# transformed into foo.o, and use this latter file (to link foo).
-fgrep 'foo.$(OBJEXT)' Makefile.in || exit 1
+$FGREP 'foo.$(OBJEXT)' Makefile.in || exit 1
exit 0
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep -v @SET_MAKE@ Makefile.in > Makefile.sed
+$FGREP -v @SET_MAKE@ Makefile.in > Makefile.sed
$MAKE -s -f Makefile.sed SHELL=/bin/sh magic | grep 'texinfo\.tex'
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep '.txi.info' Makefile.in
+$FGREP '.txi.info' Makefile.in
$ACLOCAL || exit 1
$AUTOMAKE -a || exit 1
-fgrep -v @SET_MAKE@ sub/Makefile.in > sub/Makefile.sed
+$FGREP -v @SET_MAKE@ sub/Makefile.in > sub/Makefile.sed
test -f sub/texinfo.tex &&
$MAKE -s -f sub/Makefile.sed SHELL=/bin/sh magic | grep 'texinfo\.tex'
stat=$?
# When running the first version of configure.ac aware automake,
# @CONFIGURE_AC@ was not properly substitued.
-egrep '^\$\(srcdir\)/stamp-vti:.*textutils\.texi( .*)?$' Makefile.in
-egrep '^\$\(srcdir\)/stamp-vti:.*\$\(top_srcdir\)/configure\.in( .*)?$' Makefile.in
+$EGREP '^\$\(srcdir\)/stamp-vti:.*textutils\.texi( .*)?$' Makefile.in
+$EGREP '^\$\(srcdir\)/stamp-vti:.*\$\(top_srcdir\)/configure\.in( .*)?$' Makefile.in
# Check that the path to mdate-sh is correct. Over escaping of `$'
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
-fgrep -v @SET_MAKE@ Makefile.in > Makefile.sed
+$FGREP -v @SET_MAKE@ Makefile.in > Makefile.sed
# It should not be disted here
grep 'zardoz.h' Makefile.in && exit 1
$ACLOCAL || exit 1
$AUTOMAKE -a || exit 1
test -f ylwrap || exit 1
-fgrep '(srcdir)/ylwrap' sub/Makefile.in && exit 1
+$FGREP '(srcdir)/ylwrap' sub/Makefile.in && exit 1
exit 0