ac_cv_cpp_warning,
[
AC_COMPILE_IFELSE(
- AC_LANG_PROGRAM([], [#warning foo]),
+ AC_LANG_PROGRAM([[]], [[#warning foo]]),
[ac_cv_cpp_warning=yes],
[ac_cv_cpp_warning=no],
)
ac_cv_gcc_Wstrict_overflow,
[
AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM([], [])],
+ [AC_LANG_PROGRAM()],
[ac_cv_gcc_Wstrict_overflow=yes],
[ac_cv_gcc_Wstrict_overflow=no]
)
ac_cv_gcc_Winit_self,
[
AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM([], [])],
+ [AC_LANG_PROGRAM()],
[ac_cv_gcc_Winit_self=yes],
[ac_cv_gcc_Winit_self=no]
)
[ntp_cv_type_int32_with_dns],
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
- [
+ [[
#ifdef HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif
#include <resolv.h>
- ],
- [
+ ]],
+ [[
size_t cb = sizeof(int32);
- ]
+ ]]
),
[ntp_cv_type_int32_with_dns=yes],
[ntp_cv_type_int32_with_dns=no]
[ntp_cv_type_u_int32_with_dns],
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
- [
+ [[
#ifdef HAVE_ARPA_NAMESER_H
# include <arpa/nameser.h>
#endif
#include <resolv.h>
- ],
- [
+ ]],
+ [[
size_t cb = sizeof(u_int32);
- ]
+ ]]
),
[ntp_cv_type_u_int32_with_dns=yes],
[ntp_cv_type_u_int32_with_dns=no]
*)
AC_COMPILE_IFELSE(
AC_LANG_PROGRAM(
- [
+ [[
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
- ],
- [
+ ]],
+ [[
struct ip_mreq ipmr;
ipmr.imr_interface.s_addr = 0;
- ]
+ ]]
),
[ntp_cv_multicast=yes],
[]
AC_COMPILE_IFELSE(
[
AC_LANG_PROGRAM(
- [
+ [[
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
- ],
- [
+ ]],
+ [[
struct sockaddr_in6 sin6;
- ]
+ ]]
)
],
[ac_cv_isc_found_ipv6=yes],
AC_COMPILE_IFELSE(
[
AC_LANG_PROGRAM(
- [
+ [[
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
$isc_netinetin6_hack
$isc_netinet6in6_hack
- ],
- [
+ ]],
+ [[
struct in6_pktinfo xyzzy;
- ]
+ ]]
)
],
[ac_cv_have_in6_pktinfo=yes],
AC_COMPILE_IFELSE(
[
AC_LANG_PROGRAM(
- [
+ [[
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
$isc_netinetin6_hack
$isc_netinet6in6_hack
- ],
- [
+ ]],
+ [[
struct sockaddr_in6 xyzzy;
xyzzy.sin6_scope_id = 0;
- ]
+ ]]
)
],
[ac_cv_have_sin6_scope_id=yes],
AC_LINK_IFELSE(
[
AC_LANG_PROGRAM(
- [
+ [[
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
$isc_netinetin6_hack
$isc_netinet6in6_hack
- ],
- [
+ ]],
+ [[
struct in6_addr in6;
in6 = in6addr_any;
- ]
+ ]]
)
],
[isc_cv_have_in6addr_any=yes],
AC_COMPILE_IFELSE(
[
AC_LANG_PROGRAM(
- [
+ [[
#include <sys/types.h>
#include <net/if6.h>
- ],
- [
+ ]],
+ [[
struct if_laddrconf a;
- ]
+ ]]
)
],
[ac_cv_isc_struct_if_laddrconf=yes],
AC_COMPILE_IFELSE(
[
AC_LANG_PROGRAM(
- [
+ [[
#include <sys/types.h>
#include <net/if6.h>
- ],
- [
+ ]],
+ [[
struct if_laddrreq a;
- ]
+ ]]
)
],
[ac_cv_isc_struct_if_laddrreq=yes],