X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=configure.ac;h=1be1466b2b0c896de79ee1a1f43ff4e17f57572d;hp=3c872a06d1bf51a2e6bdc5b91b5a84eb93baa475;hb=d870e4b95ce50b1635755025e2d8f50df093ab37;hpb=473963ea000bfe23a0d4754988223e4e6e2fb3f2 diff --git a/configure.ac b/configure.ac index 3c872a0..1be1466 100644 --- a/configure.ac +++ b/configure.ac @@ -58,6 +58,10 @@ fi # Windows stuff AC_CHECK_DECL(_WIN32) AM_CONDITIONAL([WINDOWS], [ test "x$ac_cv_have_decl__WIN32" = "xyes" ]) +AC_CHECK_MEMBER([struct in_pktinfo.ipi_spec_dst], + AC_DEFINE([HAVE_IPI_SPEC_DST], [], [struct in_pktinfo has ipi_spec_dst member]), + [], + [[#include ]]) # -fstack-protector AC_ARG_ENABLE([stack-protector],