Fixup cross-compile patch
authorEric Andersen <andersen@codepoet.org>
Mon, 9 Jun 2003 20:58:44 +0000 (20:58 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 9 Jun 2003 20:58:44 +0000 (20:58 -0000)
sources/netsnmp.patch

index db3df3dee51dc6b76731b41c135f6ee886f4fd39..829800d60402d1242f791114d23585b437d74129 100644 (file)
@@ -1,7 +1,11 @@
---- net-snmp-5.0.8/configure.in.orig   2003-06-04 13:10:32.000000000 -0600
-+++ net-snmp-5.0.8/configure.in        2003-06-04 13:11:46.000000000 -0600
-@@ -1718,9 +1718,6 @@
-     AC_MSG_ERROR([You are cross-compiling, but you have not specified the target's endianness])
+--- net-snmp-5.0.7/configure.in.orig   2003-06-09 14:54:18.000000000 -0600
++++ net-snmp-5.0.7/configure.in        2003-06-09 14:54:42.000000000 -0600
+@@ -1710,13 +1710,8 @@
+ if test $cross_compiling = yes; then
+   if test $with_endianness = "big"; then
+     AC_DEFINE(WORDS_BIGENDIAN)
+-  elif test -z $with_endianness; then
+-    AC_MSG_ERROR([You are cross-compiling, but you have not specified the target's endianness])
    fi
  else
 -  if test $with_endianness; then