diff options
author | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-08-24 00:36:22 +0000 |
---|---|---|
committer | jtc <jtc@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-08-24 00:36:22 +0000 |
commit | e7b27c0f382033ba83639c320bba6c63f92100f6 (patch) | |
tree | 0e6b270911a21880c83c6ec65b8a3d9aec9a7b18 | |
parent | 9d13a00913f57d3f21c0dedb766c04a6e04228c0 (diff) | |
download | ATCD-e7b27c0f382033ba83639c320bba6c63f92100f6.tar.gz |
ChangeLogTag: Mon Aug 23 17:37:16 2004 J.T. Conklin <jtc@acorntoolworks.com>
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | m4/platform.m4 | 30 |
2 files changed, 36 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 3e05ababb8f..46d87fc63c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Mon Aug 23 17:37:16 2004 J.T. Conklin <jtc@acorntoolworks.com> + + * m4/platform.m4: + + Add check for ACE_LACKS_PERFECT_MULTICAST_FILTERING. + Mon Aug 23 16:33:59 2004 J.T. Conklin <jtc@acorntoolworks.com> * ace/config-netbsd.h: diff --git a/m4/platform.m4 b/m4/platform.m4 index d39dfeea0f1..5398dcf54a2 100644 --- a/m4/platform.m4 +++ b/m4/platform.m4 @@ -350,5 +350,35 @@ dnl AC_DEFINE(ACE_USE_SELECT_REACTOR_FOR_REACTOR_IMPL) ;; esac +ACE_CHECK_LACKS_PERFECT_MULTICAST_FILTERING + dnl End ACE_SET_PLATFORM_MACROS ]) + + +# ACE_CHECK_PERFECT_MULTICAST_FILTERING +# +# Checks whether platform lacks "perfect" multicast filtering. +# +# FIXME: Is it possible to write a portable feature test, or is checking +# the the target OS the best we can do? +# +#--------------------------------------------------------------------------- +AC_DEFUN([ACE_CHECK_LACKS_PERFECT_MULTICAST_FILTERING], +[AC_CACHE_CHECK([whether platform lacks perfect multicast filtering], + [ace_cv_lacks_perfect_multicast_filtering], + [case "$target_os" in + darwin* | freebsd* | netbsd* | openbsd* | qnx*) + ace_cv_lacks_perfect_multicast_filtering=yes ;; + *) + ace_cv_lacks_perfect_multicast_filtering=no ;; + esac]) + +if test $ace_cv_lacks_perfect_multicast_filtering = yes; then + AC_DEFINE([ACE_LACKS_PERFECT_MULTICAST_FILTERING], 1, +[Define to 1 if platform lacks IGMPv3 "perfect" filtering of multicast +datagrams at the socket level. If defined, ACE_SOCK_Dgram_Mcast will bind +the first joined multicast group to the socket, and all future joins on that +socket will fail with an error.]) +fi +]) |