summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/xindy')
-rwxr-xr-xBuild/source/utils/xindy/configure7
-rw-r--r--Build/source/utils/xindy/configure.ac2
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/utils/xindy/configure b/Build/source/utils/xindy/configure
index fbd0e2184d2..86c66d5cfd4 100755
--- a/Build/source/utils/xindy/configure
+++ b/Build/source/utils/xindy/configure
@@ -4632,7 +4632,8 @@ done
-for ac_header in stdlib.h string.h
+
+for ac_header in stdlib.h string.h regex.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -4772,6 +4773,10 @@ if test `eval echo '${'$as_ac_Header'}'` = yes; then
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
+else
+ { { echo "$as_me:$LINENO: error: required C header file is missing" >&5
+echo "$as_me: error: required C header file is missing" >&2;}
+ { (exit 1); exit 1; }; }
fi
done
diff --git a/Build/source/utils/xindy/configure.ac b/Build/source/utils/xindy/configure.ac
index 530a6397448..d9b23d6a692 100644
--- a/Build/source/utils/xindy/configure.ac
+++ b/Build/source/utils/xindy/configure.ac
@@ -111,7 +111,7 @@ AC_SUBST(LISP_RUN)
# Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([stdlib.h string.h])
+AC_CHECK_HEADERS([stdlib.h string.h regex.h],[],[AC_MSG_ERROR([required C header file is missing])])
dnl check system type
AC_CANONICAL_HOST