[collectd] [PATCH] configure.in: have_htonll should depend on linker check
Max Henkel
henkel at gmx.at
Tue May 4 10:17:53 CEST 2010
Hello all!
During cross-compiling I've observed, that commit 35602ac1 introduced
an unresolvable (regarding cross-compiling) configure error. According
to the AIX documentation htonll is located in the "ISODE Library"
and thus the linking should fail, if it is not available. Hence it
might not be necessary to run a test program. Otherwise an option
like fp-layout would be desirable. Could someone check this on AIX?
Best regards,
Max
---
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