[omniORB] IPv6 configuration option

Anthony Mallet anthony.mallet at laas.fr
Sun Oct 22 23:37:05 BST 2006

Hello list,

I found useful to have an option to *disable* ipv6 support, even if it's
available in the system, for two reasons:

First, ipv6 might me available in the headers but disabled in the os
Second, omniORB may have to interopere with ORBs that are not IPv6 aware,
even on ipv6-aware system.

I attach two patches that implement a --with-ipv6 configure
option. Option defaults to 'yes'. Patches have been done against
4.1.0beta2 public release. They have been commited to pkgsrc-wip
(http://pkgsrc-wip.sf.net) but it would be great if they could be
integrated in official realeases.

-- Anthony Mallet

-------------- next part --------------
--- acinclude.m4~	2006-10-22 19:15:40.000000000 +0200
+++ acinclude.m4	2006-10-22 19:16:06.000000000 +0200
@@ -336,6 +336,19 @@
 AC_SUBST(ENABLE_STATIC, $omni_cv_enable_static)
+[AC_CACHE_CHECK(omniORB IPV6 support,
+             AC_HELP_STRING([--with-ipv6],
+               [compile IPV6 support if supported by the machine (default: yes)]),
+             omni_cv_omni_ipv6=$withval,
+             omni_cv_omni_ipv6="yes")
+if test "$omni_cv_omni_ipv6" = "no"; then
+	AC_DEFINE([OMNI_DISABLE_IPV6], [], [omniORB IPV6 support])
 dnl This defaults to enabled, and is appropriate for development
 dnl For the release, the obvious chunk below should be replaced with:
-------------- next part --------------
--- configure.ac~	2006-03-25 19:54:04.000000000 +0100
+++ configure.ac	2006-10-22 19:18:02.000000000 +0200
@@ -113,6 +113,7 @@

More information about the omniORB-list mailing list