mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
BuildSystem: Resolve resolv.h not via Generic but Particular Header-Check.
ASTERISK-27585 Change-Id: I27c67563788e6f67eeda5fb51a741823a50a95e2
This commit is contained in:
@@ -605,11 +605,16 @@ if test "$ac_cv_header_sys_wait_h" != "yes"; then
|
||||
AC_MSG_ERROR([*** POSIX.1 compatible sys/wait.h is required.])
|
||||
fi
|
||||
|
||||
AC_HEADER_RESOLV
|
||||
if test "$ac_cv_header_resolv_h" != "yes"; then
|
||||
AC_MSG_ERROR([*** resolv.h is required.])
|
||||
fi
|
||||
|
||||
# Check for headers that are unconditionally required on all platforms. Do not use
|
||||
# this to check for headers that are only needed by modules.
|
||||
AC_CHECK_HEADERS([ \
|
||||
arpa/nameser.h assert.h ctype.h dlfcn.h errno.h fcntl.h float.h grp.h \
|
||||
inttypes.h limits.h locale.h math.h pwd.h netinet/in.h regex.h resolv.h \
|
||||
inttypes.h limits.h locale.h math.h pwd.h netinet/in.h regex.h \
|
||||
sched.h stdarg.h stdint.h stdio.h stdlib.h string.h syslog.h \
|
||||
sys/file.h sys/ioctl.h sys/param.h sys/resource.h sys/socket.h sys/stat.h \
|
||||
sys/time.h sys/types.h sys/un.h \
|
||||
|
Reference in New Issue
Block a user