aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-27 21:47:22 +0000
committerYang Tse <yangsita@gmail.com>2008-07-27 21:47:22 +0000
commit9b0110f50cb0b48ab9883205807c1e5b5c7f4126 (patch)
tree4ed0a86b7a1e9e51f47d6cb81473534f204e9f27 /acinclude.m4
parent5876381f862afd0781b65acdae8a3de8d2b23056 (diff)
Assert that SED and GREP are set
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 40bf841b2..cf359d675 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -79,6 +79,12 @@ dnl silently when invoked with three arguments.
AC_DEFUN([CURL_CHECK_DEF], [
AS_VAR_PUSHDEF([ac_HaveDef], [curl_cv_have_def_$1])dnl
AS_VAR_PUSHDEF([ac_Def], [curl_cv_def_$1])dnl
+ if test -z "$SED"; then
+ AC_MSG_ERROR([SED not set. Cannot continue without SED being set.])
+ fi
+ if test -z "$GREP"; then
+ AC_MSG_ERROR([GREP not set. Cannot continue without GREP being set.])
+ fi
ifelse($3,,[AC_MSG_CHECKING([for preprocessor definition of $1])])
tmp_exp=""
AC_PREPROC_IFELSE([