From 89ca07bec6b30b31267e90c1ddf86d19e951c646 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 14 Jan 2010 16:47:28 +0000 Subject: [PATCH] Include AC_INCLUDES_DEFAULT (which includes ), in addition to , when doing the test for socklen_t. Apparently OpenBSD has it in and it causes a build failure later if we detect that the type is not present. --- libdnet-stripped/configure | 2 ++ libdnet-stripped/configure.in | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libdnet-stripped/configure b/libdnet-stripped/configure index 4420255dd..9ded8cd99 100755 --- a/libdnet-stripped/configure +++ b/libdnet-stripped/configure @@ -14033,6 +14033,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +$ac_includes_default #include int @@ -14068,6 +14069,7 @@ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +$ac_includes_default #include int diff --git a/libdnet-stripped/configure.in b/libdnet-stripped/configure.in index f1680258c..5d12f7f84 100644 --- a/libdnet-stripped/configure.in +++ b/libdnet-stripped/configure.in @@ -194,7 +194,8 @@ AC_PROG_GCC_TRADITIONAL if test "$GCC" = yes ; then CFLAGS="$CFLAGS -Wall" fi -AC_CHECK_TYPES([socklen_t], [], [], [#include ]) +AC_CHECK_TYPES([socklen_t], [], [], [AC_INCLUDES_DEFAULT +#include ]) dnl Checks for library functions. AC_FUNC_MEMCMP