Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2. /* end confdefs.h. */
  3. #include <sys/socket.h>
  4. #include <net/ethernet.h>
  5. #include <linux/if.h>
  6. #include <netinet/in.h>
  7. #include <linux/if_pppox.h>
  8. int main()
  9. {
  10. if (socket(AF_PPPOX, SOCK_DGRAM, PX_PROTO_OE) >= 0) return 0; else return 1;
  11. }
  12.  
  13. _ACEOF
  14. if ac_fn_c_try_run "$LINENO"; then :
  15. ac_cv_linux_kernel_pppoe=yes
  16. else
  17. ac_cv_linux_kernel_pppoe=no
  18. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement