diff options
-rw-r--r-- | Makefile.in | 2 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 5663c832..b74a9291 100644 --- a/Makefile.in +++ b/Makefile.in @@ -53,7 +53,7 @@ export mandir := @mandir@ export datarootdir := @datarootdir@ export install := @INSTALL@ export bash := @_BASH@ -export grep := @EGREP@ +export grep := @GREP@ export make := @MAKE@ export sed := @SED@ export libtool := @LIBTOOL@ diff --git a/configure.ac b/configure.ac index 51ce5279..7f49c0dd 100644 --- a/configure.ac +++ b/configure.ac @@ -91,7 +91,11 @@ AC_ARG_PROGRAM # just what I seem to experience...) #--------------------------------------------------------------------- AC_PROG_INSTALL +AC_PROG_GREP AC_PROG_EGREP +AS_IF( + [test ! "$EGREP" = "$GREP -E"], + [AC_MSG_ERROR([egrep is not $GREP -E])]) AC_CACHE_VAL([ac_cv_path_SED], [AC_ARG_WITH([sed], AS_HELP_STRING([--with-sed=PATH], |