mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-01 14:15:49 +08:00
Relocate regex.h test to near top and die if it fails.
This commit is contained in:
parent
ccad4c8225
commit
accecfe53d
@ -442,6 +442,11 @@ fi
|
||||
dnl HP-UX requires -lV3
|
||||
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.]))
|
||||
|
||||
dnl Select arg types
|
||||
@ -1497,7 +1502,6 @@ AC_CHECK_HEADERS( \
|
||||
locale.h \
|
||||
malloc.h \
|
||||
memory.h \
|
||||
regex.h \
|
||||
psap.h \
|
||||
pwd.h \
|
||||
resolv.h \
|
||||
|
Loading…
Reference in New Issue
Block a user