URL: <https://savannah.gnu.org/support/?110215>
Summary: AC_EGREP_HEADER appears to be broken in master Project: Autoconf Submitted by: rossburton Submitted on: Mon 23 Mar 2020 09:58:06 PM UTC Category: None Priority: 5 - Normal Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Details: apt 1.2.31 builds fine with autoconf 2.69. With git master: | checking for h_errno... configure: error: "not found." That code is: dnl HP-UX needs -d_XOPEN_SOURCE_EXTENDED for h_errno AC_MSG_CHECKING(for h_errno) AC_EGREP_HEADER(h_errno, netdb.h, [AC_MSG_RESULT(normal)], [CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED" AC_EGREP_HEADER(h_errno, netdb.h, [AC_MSG_RESULT(needs _XOPEN_SOURCE_EXTENDED)], [AC_MSG_ERROR("not found.")]) ]) Obviously this is horrible, but it's out there. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?110215> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/