From c5466de712cb03f92809c7ad828f795e41e0ca62 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 5 Jun 2009 19:44:20 +0000 Subject: IPV6 fixes, and new version --- configure.ac | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2290a28..c464bf4 100644 --- a/configure.ac +++ b/configure.ac @@ -31,8 +31,8 @@ dnl THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH dnl DAMAGE. # Process this file with autoconf to produce a configure script. -AC_INIT(jailutils, 1.4, stef@memberwebs.com) -AM_INIT_AUTOMAKE(jailutils, 1.4) +AC_INIT(jailutils, 1.5, stef@memberwebs.com) +AM_INIT_AUTOMAKE(jailutils, 1.5) AC_CONFIG_SRCDIR([src/killjail.c]) AM_CONFIG_HEADER([config.h]) @@ -61,6 +61,16 @@ if test "$enable_static" = "yes"; then echo "enabling static compile mode" fi +# IPV6 enabled +AC_ARG_ENABLE(ipv6, + AC_HELP_STRING([--disable-ipv6], + [Disable IPV6 support])) + +if test "$enable_ipv6" != "no"; then + AC_DEFINE_UNQUOTED(HAVE_INET6, 1, [Have IPV6 Support]) + echo "enabling ipv6 support" +fi + # Checks for libraries. AC_CHECK_LIB([kvm], [kvm_open], , [ echo "ERROR: Must have FreeBSD 4.x or higher"; exit 1]) -- cgit v1.2.3