X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=configure.ac;h=13ec59baddd6788c17a6b8e3e0ae415fc4f2bb0e;hp=afb993af265065e7082adcf9ebbececa99f11b57;hb=1e6a73e98fecaba8226d5a4aa3cdc84e410f8029;hpb=ae657a3b13b4ff76187dad39fede40b98d7cb6d7 diff --git a/configure.ac b/configure.ac index afb993af..13ec59ba 100644 --- a/configure.ac +++ b/configure.ac @@ -267,6 +267,20 @@ fi CPPFLAGS="$OLD_CPPFLAGS" LDFLAGS="$OLD_LDFLAGS" LIBS="$OLD_LIBS" + +########################################################################### ip_mreqn +AC_MSG_CHECKING(for struct ip_mreqn (UDPv4 multicast)) +AC_TRY_LINK([ + #include + #include +],[ + struct ip_mreqn mn; + mn.imr_ifindex = 0; +],[have_ip_mreqn=yes],[have_ip_mreqn=no]) +AC_MSG_RESULT($have_ip_mreqn) +if test ${have_ip_mreqn} = yes; then + AC_DEFINE(HAVE_IP_MREQN, 1, define to 1 you have struct ip_mreqn) +fi ########################################################################### osx AC_MSG_CHECKING(for CoreAudio (MacOs))