<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/7964">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Corey Farrell: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">BuildSystem: Resolve resolv.h not via Generic but Particular Header-Check.<br><br>ASTERISK-27585<br><br>Change-Id: I27c67563788e6f67eeda5fb51a741823a50a95e2<br>---<br>M configure<br>M configure.ac<br>2 files changed, 37 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/configure b/configure<br>index 9ebf268..d47fb88 100755<br>--- a/configure<br>+++ b/configure<br>@@ -13528,11 +13528,41 @@<br>   as_fn_error $? "*** POSIX.1 compatible sys/wait.h is required." "$LINENO" 5<br> fi<br> <br>+for ac_header in sys/types.h netinet/in.h arpa/nameser.h netdb.h resolv.h<br>+do :<br>+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`<br>+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TYPES_H<br>+#  include <sys/types.h><br>+#endif<br>+#ifdef HAVE_NETINET_IN_H<br>+#  include <netinet/in.h>   /* inet_ functions / structs */<br>+#endif<br>+#ifdef HAVE_ARPA_NAMESER_H<br>+#  include <arpa/nameser.h> /* DNS HEADER struct */<br>+#endif<br>+#ifdef HAVE_NETDB_H<br>+#  include <netdb.h><br>+#endif<br>+"<br>+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :<br>+  cat >>confdefs.h <<_ACEOF<br>+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1<br>+_ACEOF<br>+<br>+fi<br>+<br>+done<br>+<br>+<br>+if test "$ac_cv_header_resolv_h" != "yes"; then<br>+  as_fn_error $? "*** resolv.h is required." "$LINENO" 5<br>+fi<br>+<br> # Check for headers that are unconditionally required on all platforms.  Do not use<br> # this to check for headers that are only needed by modules.<br> for ac_header in  \<br>   arpa/nameser.h assert.h ctype.h dlfcn.h errno.h fcntl.h float.h grp.h \<br>-  inttypes.h limits.h locale.h math.h pwd.h netinet/in.h regex.h resolv.h \<br>+  inttypes.h limits.h locale.h math.h pwd.h netinet/in.h regex.h \<br>   sched.h stdarg.h stdint.h stdio.h stdlib.h string.h syslog.h \<br>   sys/file.h sys/ioctl.h sys/param.h sys/resource.h sys/socket.h sys/stat.h \<br>   sys/time.h sys/types.h sys/un.h \<br>diff --git a/configure.ac b/configure.ac<br>index 01ba0e5..2f51f31 100644<br>--- a/configure.ac<br>+++ b/configure.ac<br>@@ -604,11 +604,16 @@<br>   AC_MSG_ERROR([*** POSIX.1 compatible sys/wait.h is required.])<br> fi<br> <br>+AC_HEADER_RESOLV<br>+if test "$ac_cv_header_resolv_h" != "yes"; then<br>+  AC_MSG_ERROR([*** resolv.h is required.])<br>+fi<br>+<br> # Check for headers that are unconditionally required on all platforms.  Do not use<br> # this to check for headers that are only needed by modules.<br> AC_CHECK_HEADERS([ \<br>   arpa/nameser.h assert.h ctype.h dlfcn.h errno.h fcntl.h float.h grp.h \<br>-  inttypes.h limits.h locale.h math.h pwd.h netinet/in.h regex.h resolv.h \<br>+  inttypes.h limits.h locale.h math.h pwd.h netinet/in.h regex.h \<br>   sched.h stdarg.h stdint.h stdio.h stdlib.h string.h syslog.h \<br>   sys/file.h sys/ioctl.h sys/param.h sys/resource.h sys/socket.h sys/stat.h \<br>   sys/time.h sys/types.h sys/un.h \<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/7964">change 7964</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7964"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: I27c67563788e6f67eeda5fb51a741823a50a95e2 </div>
<div style="display:none"> Gerrit-Change-Number: 7964 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>