Deleted Added
full compact
ntp_libntp.m4 (289764) ntp_libntp.m4 (298695)
1dnl ######################################################################
2dnl Common m4sh code for libntp and clients
3dnl
4dnl Any configure tests which libntp or libisc code depends upon should
5dnl be here or in another m4 macro used by the top-level and sntp
6dnl configure.ac files, so that libntp can be moved into the sntp
7dnl subpackage while retaining access to such test results.
8dnl

--- 149 unchanged lines hidden (view full) ---

158
159case "$host" in
160 *-linux*)
161 AC_CHECK_HEADERS([linux/if_addr.h], [], [], [
162 #ifdef HAVE_SYS_SOCKET_H
163 # include <sys/socket.h>
164 #endif
165 ])
1dnl ######################################################################
2dnl Common m4sh code for libntp and clients
3dnl
4dnl Any configure tests which libntp or libisc code depends upon should
5dnl be here or in another m4 macro used by the top-level and sntp
6dnl configure.ac files, so that libntp can be moved into the sntp
7dnl subpackage while retaining access to such test results.
8dnl

--- 149 unchanged lines hidden (view full) ---

158
159case "$host" in
160 *-linux*)
161 AC_CHECK_HEADERS([linux/if_addr.h], [], [], [
162 #ifdef HAVE_SYS_SOCKET_H
163 # include <sys/socket.h>
164 #endif
165 ])
166 AC_DEFINE([NEED_EARLY_FORK], [1], [having to fork the DNS worker early when doing chroot?])
166esac
167
168AC_CHECK_HEADERS([arpa/nameser.h sys/param.h sys/time.h sys/timers.h])
169# sys/sysctl.h depends on sys/param.h on OpenBSD - Bug 1576
170AC_CHECK_HEADERS([sys/sysctl.h], [], [], [
171 #if defined HAVE_SYS_PARAM_H
172 # include <sys/param.h>
173 #endif

--- 968 unchanged lines hidden ---
167esac
168
169AC_CHECK_HEADERS([arpa/nameser.h sys/param.h sys/time.h sys/timers.h])
170# sys/sysctl.h depends on sys/param.h on OpenBSD - Bug 1576
171AC_CHECK_HEADERS([sys/sysctl.h], [], [], [
172 #if defined HAVE_SYS_PARAM_H
173 # include <sys/param.h>
174 #endif

--- 968 unchanged lines hidden ---