summaryrefslogtreecommitdiff
path: root/data/libnet/endian.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/libnet/endian.diff')
-rw-r--r--data/libnet/endian.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/libnet/endian.diff b/data/libnet/endian.diff
new file mode 100644
index 000000000..e36f5e271
--- /dev/null
+++ b/data/libnet/endian.diff
@@ -0,0 +1,21 @@
+diff -ru libnet/aclocal.m4 libnet+iPhone/aclocal.m4
+--- libnet/aclocal.m4 2004-03-01 20:26:11.000000000 +0000
++++ libnet+iPhone/aclocal.m4 2009-01-20 21:44:39.000000000 +0000
+@@ -294,6 +294,8 @@
+ AC_DEFUN(AC_LIBNET_ENDIAN_CHECK,
+ [AC_MSG_CHECKING(machine endianess)
+
++ if test ! ${ac_cv_libnet_endianess+@}; then
++
+ cat > conftest.c << EOF
+ # include <stdio.h>
+ # include <stdlib.h>
+@@ -346,6 +348,8 @@
+ fi
+ rm -f conftest* core core.conftest
+
++ fi
++
+ AC_MSG_RESULT($ac_cv_libnet_endianess)
+
+ if test $ac_cv_libnet_endianess = big ; then