--- configure.ac (Asterisk 15.2) +++ configure.ac (working copy) @@ -606,2 +606,7 @@ +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 @@ -610,3 +615,3 @@ 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 \