Code

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 8daa32b62969dd882d5cc485305799186ebe4253..553aa0ab25ee332c6759fc4246e6857a70fa00f7 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