From: Dagobert Michelsen Date: Mon, 15 Jun 2015 16:49:46 +0000 (+0200) Subject: Fix 64 bit check issue, running the preprocessor does not honour CFLAGS which holds... X-Git-Tag: collectd-5.5.1~115 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=65ca69925947aad1307e6ab2bff8501d7c49b249 Fix 64 bit check issue, running the preprocessor does not honour CFLAGS which holds the relevant -m64 --- diff --git a/configure.ac b/configure.ac index 8daa32b6..553aa0ab 100644 --- a/configure.ac +++ b/configure.ac @@ -115,7 +115,7 @@ then AC_DEFINE(_REENTRANT, 1, [Define to enable reentrancy interfaces.]) AC_MSG_CHECKING([whether compiler builds 64bit binaries]) - AC_PREPROC_IFELSE([AC_LANG_PROGRAM([ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ #ifndef _LP64 # error "Compiler not in 64bit mode." #endif