$NetBSD: patch-bg,v 1.3 2000/09/26 21:42:35 eeh Exp $ --- configure.in.orig Tue Jun 6 00:42:49 2000 +++ configure.in Sun Jun 18 09:22:42 2000 @@ -66,6 +66,8 @@ esac with_x_toolkit=$val ]) +AC_ARG_WITH(ipv6, +[ --with-ipv6 support IPv6 stack]) #### Make srcdir absolute, if it isn't already. It's important to #### avoid running the path through pwd unnecessary, since pwd can @@ -158,9 +160,12 @@ machine=hp9000s300 ;; powerpc-apple-netbsd*) machine=macppc ;; mips-*-netbsd*) machine=pmax ;; + mipsel-*-netbsd*) machine=pmax ;; ns32k-*-netbsd*) machine=ns32000 ;; + powerpc-*-netbsd*) machine=macppc ;; - sparc-*-netbsd*) machine=sparc ;; + sparc*-*-netbsd*) machine=sparc ;; vax-*-netbsd*) machine=vax ;; + arm*-*-netbsd*) machine=arm ;; esac ;; @@ -1745,6 +1750,10 @@ if test -f /usr/lpp/X11/bin/smt.exp; then AC_DEFINE(HAVE_AIX_SMT_EXP) +fi + +if test "x$with_ipv6" = xyes; then + AC_CHECK_FUNCS(getaddrinfo) fi # Set up the CFLAGS for real compilation, so we can substitute it.