From c9267250eccd5d395327f3d3689c78d9215a1a61 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Tue, 11 Aug 2009 15:14:59 +1200 Subject: [PATCH] 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. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) 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, -- 2.47.2