]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_CONFIG_HEADER): Do not assume that egrep and fgrep exist.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 29 May 2002 22:26:43 +0000 (22:26 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 29 May 2002 22:26:43 +0000 (22:26 +0000)
lib/autoconf/status.m4

index dd59671ac76dcedebbb43d18af265175f06790ac..3749885b09a19a6041f5a0fad82e80e4d0de1d30 100644 (file)
@@ -577,7 +577,7 @@ _ACEOF
 # Break up conftest.defines because some shells have a limit on the size
 # of here documents, and old seds have small limits too (100 cmds).
 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
-echo '  if egrep ["^[  ]*#[    ]*define"] $tmp/in >/dev/null; then' >>$CONFIG_STATUS
+echo '  if grep ["^[   ]*#[    ]*define"] $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 echo '  :' >>$CONFIG_STATUS
 rm -f conftest.tail
@@ -601,7 +601,7 @@ do
   mv conftest.tail conftest.defines
 done
 rm -f conftest.defines
-echo '  fi # egrep' >>$CONFIG_STATUS
+echo '  fi # grep' >>$CONFIG_STATUS
 echo >>$CONFIG_STATUS
 
 # Break up conftest.undefs because some shells have a limit on the size