aMule: update to 2.3.1
[openwrt/svn-archive/archive.git] / net / rp-pppoe / patches / 100-configure.patch
index f45d4f17cd714e4af1fec19da9074216dfb64cf6..d45593aae7871a66212513fd167c053b56b730ed 100644 (file)
@@ -1,12 +1,36 @@
-diff -ur pppoe.old/src/configure pppoe.dev/src/configure
---- pppoe.old/src/configure    2006-04-02 16:29:42.000000000 +0200
-+++ pppoe.dev/src/configure    2006-12-08 22:27:13.753685216 +0100
-@@ -5744,7 +5744,7 @@
- echo "$as_me:$LINENO: checking packing order of bit fields" >&5
- echo $ECHO_N "checking packing order of bit fields... $ECHO_C" >&6
- if test "$cross_compiling" = yes; then
+--- a/src/configure
++++ b/src/configure
+@@ -3661,7 +3661,7 @@ done
+ for ac_header in linux/if.h
+ do :
+-  ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#include<sys/socket.h>
++  ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#include <sys/socket.h>
+ "
+ if test "x$ac_cv_header_linux_if_h" = x""yes; then :
+   cat >>confdefs.h <<_ACEOF
+@@ -3675,10 +3675,11 @@ done
+ for ac_header in linux/if_pppox.h
+ do :
+   ac_fn_c_check_header_compile "$LINENO" "linux/if_pppox.h" "ac_cv_header_linux_if_pppox_h" "
+-#include<sys/socket.h>
+-#include<net/ethernet.h>
+-#include<linux/if.h>
+-#include<linux/in.h>
++#include <sys/socket.h>
++#include <net/ethernet.h>
++#include <linux/if.h>
++#include <linux/in.h>
++#include <linux/in6.h>
+ "
+ if test "x$ac_cv_header_linux_if_pppox_h" = x""yes; then :
+@@ -4611,7 +4612,7 @@ esac
+ $as_echo_n "checking packing order of bit fields... " >&6; }
+ if test "${rpppoe_cv_pack_bitfields+set}" != set ; then
+ if test "$cross_compiling" = yes; then :
 -  $ECHO "no defaults for cross-compiling"; exit 0
 +  rpppoe_cv_pack_bitfields="$ac_cv_pack_bitfields"
  else
-   cat >conftest.$ac_ext <<_ACEOF
- /* confdefs.h.  */
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */