packages/net/rp-pppoe/patches/100-configure.patch
luka e5482f91dd [packages] rp-pppoe: upgrade to version 3.11
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 01:03:41 +00:00

36 lines
1.2 KiB
Diff

--- 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,10 @@ 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>
"
if test "x$ac_cv_header_linux_if_pppox_h" = x""yes; then :
@@ -4611,7 +4611,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 confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */