summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:06:55 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:06:55 +0000
commit1819d0109b0d3c3cf8c619849f8e67a9ffef57ab (patch)
tree04cb73625127e46e9531c69dec0eb40487608e91
parent819147178db00008a215670992d0f532dd57f9e5 (diff)
Enable IPv6 support by default
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11573 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure12
-rw-r--r--make/configure.pm5
2 files changed, 7 insertions, 10 deletions
diff --git a/configure b/configure
index d9ed2e48d..9795ec100 100755
--- a/configure
+++ b/configure
@@ -44,7 +44,7 @@ use make::opensslcert;
our ($opt_use_gnutls, $opt_rebuild, $opt_use_openssl, $opt_nointeractive, $opt_ports,
$opt_epoll, $opt_kqueue, $opt_noports, $opt_noepoll, $opt_nokqueue,
- $opt_ipv6, $opt_maxbuf, $opt_disable_debug, $opt_freebsd_port);
+ $opt_noipv6, $opt_maxbuf, $opt_disable_debug, $opt_freebsd_port);
our ($opt_cc, $opt_base_dir, $opt_config_dir, $opt_module_dir, $opt_binary_dir,
$opt_library_dir);
@@ -69,7 +69,7 @@ GetOptions (
'disable-ports' => \$opt_noports,
'disable-epoll' => \$opt_noepoll,
'disable-kqueue' => \$opt_nokqueue,
- 'enable-ipv6' => \$opt_ipv6,
+ 'disable-ipv6' => \$opt_noipv6,
'with-cc=s' => \$opt_cc,
'with-maxbuf=i' => \$opt_maxbuf,
'enable-freebsd-ports-openssl' => \$opt_freebsd_port,
@@ -109,7 +109,7 @@ our $non_interactive = (
(defined $opt_binary_dir) ||
(defined $opt_nointeractive) ||
(defined $opt_cc) ||
- (defined $opt_ipv6) ||
+ (defined $opt_noipv6) ||
(defined $opt_kqueue) ||
(defined $opt_epoll) ||
(defined $opt_ports) ||
@@ -234,10 +234,10 @@ if (defined $opt_noports)
{
$config{USE_PORTS} = "n";
}
-$config{IPV6} = "n"; # IPv6 support (experimental)
-if (defined $opt_ipv6)
+$config{IPV6} = "y"; # IPv6 support
+if (defined $opt_noipv6)
{
- $config{IPV6} = "y";
+ $config{IPV6} = "n";
}
chomp($config{GCCVER} = `g++ -dumpversion | cut -c 1`); # Major GCC Version
chomp($config{GCCMINOR} = `g++ -dumpversion | cut -c 3`);
diff --git a/make/configure.pm b/make/configure.pm
index 487df137f..b81a1053e 100644
--- a/make/configure.pm
+++ b/make/configure.pm
@@ -277,10 +277,7 @@ InspIRCd 1.0.x, are also allowed.
to select() [not set]
--disable-kqueue Do not enable kqueue(), fall back
to select() [not set]
- --enable-ipv6 Build ipv6 native InspIRCd [no]
- --enable-remote-ipv6 Build with ipv6 support for remote
- servers on the network [yes]
- --disable-remote-ipv6 Do not allow remote ipv6 servers [not set]
+ --disable-ipv6 Do not build ipv6 native InspIRCd [not set]
--with-cc=[filename] Use an alternative g++ binary to
build InspIRCd [g++]
--with-maxbuf=[n] Change the per message buffer size [512]