Code

configure.in: htonll check depends on linker
authorMax Henkel <henkel@gmx.at>
Tue, 4 May 2010 21:39:18 +0000 (23:39 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Wed, 19 May 2010 08:44:09 +0000 (10:44 +0200)
Fixing a cross-compile issue by depending only on a linker check.

Signed-off-by: Florian Forster <octo@huhu.verplant.org>
configure.in

index b663920b233863413eededdc095965f1dee6b204..45b87e9b117f16561f381b8c056102e865e086b1 100644 (file)
@@ -964,7 +964,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>