100-configure.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --- a/src/configure
  2. +++ b/src/configure
  3. @@ -3661,7 +3661,7 @@ done
  4. for ac_header in linux/if.h
  5. do :
  6. - ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#include<sys/socket.h>
  7. + ac_fn_c_check_header_compile "$LINENO" "linux/if.h" "ac_cv_header_linux_if_h" "#include <sys/socket.h>
  8. "
  9. if test "x$ac_cv_header_linux_if_h" = x""yes; then :
  10. cat >>confdefs.h <<_ACEOF
  11. @@ -3675,10 +3675,11 @@ done
  12. for ac_header in linux/if_pppox.h
  13. do :
  14. ac_fn_c_check_header_compile "$LINENO" "linux/if_pppox.h" "ac_cv_header_linux_if_pppox_h" "
  15. -#include<sys/socket.h>
  16. -#include<net/ethernet.h>
  17. -#include<linux/if.h>
  18. -#include<linux/in.h>
  19. +#include <sys/socket.h>
  20. +#include <net/ethernet.h>
  21. +#include <linux/if.h>
  22. +#include <linux/in.h>
  23. +#include <linux/in6.h>
  24. "
  25. if test "x$ac_cv_header_linux_if_pppox_h" = x""yes; then :
  26. @@ -4611,7 +4612,7 @@ esac
  27. $as_echo_n "checking packing order of bit fields... " >&6; }
  28. if test "${rpppoe_cv_pack_bitfields+set}" != set ; then
  29. if test "$cross_compiling" = yes; then :
  30. - $ECHO "no defaults for cross-compiling"; exit 0
  31. + rpppoe_cv_pack_bitfields="$ac_cv_pack_bitfields"
  32. else
  33. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  34. /* end confdefs.h. */