Commit 2b556032 authored by David Lawrence's avatar David Lawrence
Browse files

(un)define ISC_PLATFORM_HAVENETINET6IN6H

parent 6edd0196
This diff is collapsed.
......@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE.
AC_REVISION($Revision: 1.87 $)
AC_REVISION($Revision: 1.88 $)
AC_PREREQ(2.13)
......@@ -150,6 +150,19 @@ AC_PROG_YACC
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/sockio.h netinet6/in6.h)
dnl
dnl HAVE_NETINET6_IN6_H needs to go in platform.h.
dnl
case "$ac_cv_header_netinet6_in6_h" in
yes)
ISC_PLATFORM_HAVENETINET6IN6H="#define ISC_PLATFORM_HAVENETINET6IN6H 1"
;;
no)
ISC_PLATFORM_HAVENETINET6IN6H="#undef ISC_PLATFORM_HAVENETINET6IN6H"
;;
esac
AC_SUBST(ISC_PLATFORM_HAVENETINET6IN6H)
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
......
......@@ -26,6 +26,11 @@
*** Network.
***/
/*
* Define if this system has the <netinet6/in6.h> header file.
*/
@ISC_PLATFORM_HAVENETINET6IN6H@
/*
* If sockaddrs on this system have an sa_len field, ISC_PLATFORM_HAVESALEN
* will be defined.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment