Fix 64 bit check issue, running the preprocessor does not honour CFLAGS which holds...
authorDagobert Michelsen <dam@opencsw.org>
Mon, 15 Jun 2015 16:49:46 +0000 (18:49 +0200)
committerFlorian Forster <octo@collectd.org>
Tue, 16 Jun 2015 18:33:32 +0000 (20:33 +0200)
configure.ac

index 8daa32b..553aa0a 100644 (file)
@@ -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