X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=configure.ac;h=401a9ae1f28cf999a5d74ebd1646da377220aa5d;hb=bce1f237f898509a4ea59fa29b290738be9b32a8;hp=21d24b57ec17eec19843e1b5f4741f5bd749ad67;hpb=45fd76be0ef793b130720bb64b0356aa4e4566ec;p=catta diff --git a/configure.ac b/configure.ac index 21d24b5..401a9ae 100644 --- a/configure.ac +++ b/configure.ac @@ -58,6 +58,13 @@ fi # Windows stuff AC_CHECK_DECL(_WIN32) AM_CONDITIONAL([WINDOWS], [ test "x$ac_cv_have_decl__WIN32" = "xyes" ]) +if test "x$ac_cv_have_decl__WIN32" = "xyes" ; then + CPPFLAGS="$CPPFLAGS -I`pwd`/src/compat/windows/include" +fi +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], @@ -339,14 +346,11 @@ AC_OUTPUT echo " ---{ $PACKAGE_NAME $VERSION }--- - prefix: ${prefix} - sysconfdir: ${sysconfdir} - localstatedir: ${localstatedir} - C Compiler: ${CC} - CFLAGS: ${CFLAGS} - Enable stack-smashing protection: ${enable_ssp} -" - -echo "\ + prefix: ${prefix} + sysconfdir: ${sysconfdir} + localstatedir: ${localstatedir} + C Compiler: ${CC} + CFLAGS: ${CFLAGS} + Enable stack-smashing protection: ${enable_ssp} Building tests: ${ENABLE_TESTS} "