[farsight2/master] Add test for ip_mreqn structure
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:12 PST 2008
---
configure.ac | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
index b6c2e09..18cc9e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -207,6 +207,15 @@ dnl *** checks for types/defines ***
dnl *** checks for structures ***
+AC_CHECK_MEMBER([struct ip_mreqn.imr_ifindex],
+ [AC_DEFINE([HAVE_IP_MREQN], [1], [Have the struct ip_mreqn])],
+ [],
+ [
+#include <sys/socket.h>
+#include <netinet/in.h>
+])
+
+
dnl *** checks for compiler characteristics ***
dnl *** checks for library functions ***
--
1.5.6.5
More information about the farsight-commits
mailing list