From: Amos Jeffries Date: Tue, 11 Aug 2009 03:14:59 +0000 (+1200) Subject: Haxk: fix autoconf 2.64 builds X-Git-Tag: SQUID_3_2_0_1~800 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9267250eccd5d395327f3d3689c78d9215a1a61;p=thirdparty%2Fsquid.git Haxk: fix autoconf 2.64 builds 2.64 requires that the first use of AC_RUN_IFELSE is not wrapped inside any other macros. Otherwise it will define the setup macros at the wrong scope level and configure will break during the default type checks. --- diff --git a/configure.in b/configure.in index 0faa964917..78ef4e4498 100644 --- a/configure.in +++ b/configure.in @@ -344,6 +344,10 @@ AC_ARG_ENABLE(debug-cbdata, fi ]) +dnl Nasty hack to get autoconf 2.64 on Linux to run. +dnl all other uses of RUN_IFELSE are wrapped inside CACHE_CHECK which breaks on 2.64 +AC_RUN_IFELSE([AC_LANG_SOURCE([[ int main(int argc, char **argv) { return 0; } ]])],[],[],[]) + dnl This is a developer only option.. developers know how to set defines dnl dnl AC_ARG_ENABLE(xmalloc-debug,