From: Francesco Chemolli Date: Tue, 27 Apr 2010 11:23:10 +0000 (+0200) Subject: Revert AC_INCLUDES_DEFAULT change. X-Git-Tag: SQUID_3_2_0_1~264 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=06fbee01a5cbd7367028ef1308d44d3984de8c4f;p=thirdparty%2Fsquid.git Revert AC_INCLUDES_DEFAULT change. --- diff --git a/configure.in b/configure.in index 8d9a2c45e4..10c45b35f4 100644 --- a/configure.in +++ b/configure.in @@ -2850,7 +2850,12 @@ DBLIB= dnl check that dbopen is actually defined in the header dnl FIXME: in case of failure undef db-related includes etc. AC_CHECK_DECL(dbopen,,,[ -AC_INCLUDES_DEFAULT +#if HAVE_SYS_TYPES_H +#include +#endif +#if HAVE_LIMITS_H +#include +#endif #if HAVE_DB_185_H #include #elif HAVE_DB_H @@ -2861,7 +2866,12 @@ dnl 1.85 AC_CACHE_CHECK(if dbopen needs -ldb,ac_cv_dbopen_libdb, [ SAVED_LIBS="$LIBS"; LIBS="$LIBS -ldb" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -AC_INCLUDES_DEFAULT +#if HAVE_SYS_TYPES_H +#include +#endif +#if HAVE_LIMITS_H +#include +#endif #if HAVE_DB_185_H #include #elif HAVE_DB_H