[collectd] [PATCH] configure.in: htonll check depends on linker

Max Henkel henkel at gmx.at
Tue May 4 23:39:18 CEST 2010


Fixing a cross-compile issue by depending only on a linker check.

---
 configure.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.in b/configure.in
index 88ff302..7a22b8b 100644
--- a/configure.in
+++ b/configure.in
@@ -967,7 +967,7 @@ fi
 AC_MSG_CHECKING([if have htonll defined])
 
     have_htonll="no"
-    AC_RUN_IFELSE([
+    AC_LINK_IFELSE([
        AC_LANG_PROGRAM([
 #include <sys/types.h>
 #include <netinet/in.h>
-- 
1.7.0




More information about the collectd mailing list