summaryrefslogtreecommitdiff
path: root/editors/emacs/patches/patch-bg
blob: ec22b1ff8e52738a0174ac9969a56b6e64501217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$NetBSD: patch-bg,v 1.4 2001/10/06 22:04:22 hubertf Exp $

--- configure.in.orig	Mon Jun  5 17:42:49 2000
+++ configure.in
@@ -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,13 @@
 			machine=hp9000s300 ;;
       powerpc-apple-netbsd*) machine=macppc ;;
       mips-*-netbsd*)	machine=pmax ;;
+      mipsel-*-netbsd*)	machine=pmax ;;
+      mipsev-*-netbsd*)	machine=mips ;;		# HF: what else?
       ns32k-*-netbsd*)	machine=ns32000 ;;
-      sparc-*-netbsd*)	machine=sparc ;;
+      powerpc-*-netbsd*) machine=macppc ;;
+      sparc*-*-netbsd*)	machine=sparc ;;
       vax-*-netbsd*)	machine=vax ;;
+      arm*-*-netbsd*)	machine=arm ;;
     esac
   ;;
 
@@ -1745,6 +1751,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.