diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-01 15:06:55 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-01 15:06:55 +0000 |
commit | 1819d0109b0d3c3cf8c619849f8e67a9ffef57ab (patch) | |
tree | 04cb73625127e46e9531c69dec0eb40487608e91 /configure | |
parent | 819147178db00008a215670992d0f532dd57f9e5 (diff) |
Enable IPv6 support by default
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11573 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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`); |