mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Relocate regex.h test to near top and die if it fails.
This commit is contained in:
parent
ccad4c8225
commit
accecfe53d
2 changed files with 490 additions and 443 deletions
|
|
@ -442,6 +442,11 @@ fi
|
||||||
dnl HP-UX requires -lV3
|
dnl HP-UX requires -lV3
|
||||||
AC_CHECK_LIB(V3, sigset)
|
AC_CHECK_LIB(V3, sigset)
|
||||||
|
|
||||||
|
AC_CHECK_HEADERS( regex.h )
|
||||||
|
if test "$ac_cv_header_regex_h" != yes ; then
|
||||||
|
AC_MSG_ERROR([POSIX REGEX required.])
|
||||||
|
fi
|
||||||
|
|
||||||
AC_CHECK_FUNC(select, :, AC_MSG_ERROR([select() required.]))
|
AC_CHECK_FUNC(select, :, AC_MSG_ERROR([select() required.]))
|
||||||
|
|
||||||
dnl Select arg types
|
dnl Select arg types
|
||||||
|
|
@ -1497,7 +1502,6 @@ AC_CHECK_HEADERS( \
|
||||||
locale.h \
|
locale.h \
|
||||||
malloc.h \
|
malloc.h \
|
||||||
memory.h \
|
memory.h \
|
||||||
regex.h \
|
|
||||||
psap.h \
|
psap.h \
|
||||||
pwd.h \
|
pwd.h \
|
||||||
resolv.h \
|
resolv.h \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue