]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Use grep instead of fgrep, as per "Limitations of Builtins".
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Jun 2002 07:51:16 +0000 (07:51 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 27 Jun 2002 07:51:16 +0000 (07:51 +0000)
tests/mktests.sh

index 26b2797b0975820bd0bb3c351b093ee16f25cb20..c99221ef2f0a0e6a8e47699d8b692ba833db0ff3 100755 (executable)
@@ -233,14 +233,14 @@ MK_EOF
 
     echo "# Modern macros."
     for macro in `cat acdefuns`; do
-      if fgrep "$macro" requires >/dev/null 2>&1; then :; else
+      if grep "$macro" requires >/dev/null 2>&1; then :; else
        echo "AT_CHECK_MACRO([$macro])"
       fi
     done
     echo
     echo "# Obsolete macros."
     for macro in `cat audefuns`; do
-      if fgrep "$macro" requires >/dev/null 2>&1; then :; else
+      if grep "$macro" requires >/dev/null 2>&1; then :; else
        echo "AT_CHECK_AU_MACRO([$macro])"
       fi
     done
@@ -249,7 +249,7 @@ MK_EOF
   # In one atomic step so that if something above fails, the trap
   # preserves the old version of the file.  If there is nothing to
   # check, output /rien du tout/[1].
-  if fgrep AT_CHECK ac$base.tat >/dev/null 2>&1; then
+  if grep AT_CHECK ac$base.tat >/dev/null 2>&1; then
     mv ac$base.tat ac$base.at
   else
     rm -f ac$base.tat ac$base.at