From 6342df69b05f2f62d060fd4affdf536e51504084 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 5 Nov 2003 02:49:04 +0000 Subject: [PATCH] 1532. [port] netbsd: the configure test for requires . --- CHANGES | 3 +++ configure.in | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 1a1613112f..a8857ba092 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1532. [port] netbsd: the configure test for + requires . + 1531. [port] AIX more libtool fixes. 1530. [bug] It was possible to trigger a INSIST() failure if a diff --git a/configure.in b/configure.in index 37ccb76f25..c86ecf7631 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.347 $) +AC_REVISION($Revision: 1.348 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.13) @@ -216,7 +216,12 @@ esac AC_HEADER_STDC -AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/sockio.h sys/select.h sys/sysctl.h net/if6.h) +AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/sockio.h sys/select.h sys/param.h sys/sysctl.h net/if6.h,, +[$ac_includes_default +#ifdef HAVE_SYS_PARAM_H +# include +#endif +]) AC_C_CONST AC_C_INLINE