summaryrefslogtreecommitdiff
path: root/editors/xemacs20/patches/patch-aa
blob: 29b5aac1c6646ca7144092de4237250f710d65e5 (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
$NetBSD: patch-aa,v 1.4 1999/03/10 08:34:07 tron Exp $

--- configure.orig	Mon Feb  9 20:59:34 1998
+++ configure	Sat Mar  6 11:03:31 1999
@@ -835,6 +835,7 @@
 machine='' opsys=''
 
 case "$canonical" in
+  arm*-*-*	   ) machine=arm ;;
   sparc-*-*        ) machine=sparc ;;
   alpha-*-*        ) machine=alpha ;;
   vax-*-*          ) machine=vax ;;
@@ -902,9 +903,10 @@
     case "$canonical" in
       i[3-9]86-*-netbsd*) machine=intel386 ;;
       hp300-*-netbsd* | amiga-*-netbsd* | sun3-*-netbsd* | mac68k-*-netbsd* | da30-*-netbsd* | m68k-*-netbsd* )
-                                            machine=hp9000s300 ;;
+                                            machine=m68k ;;
       pc532-*-netbsd* | ns32k-*-netbsd* )  machine=ns32000 ;;
       pmax-*-netbsd*  | mips-*-netbsd*  )  machine=pmax ;;
+      alpha-*-netbsd* ) machine=alpha ;;
     esac
   ;;
 
@@ -2233,7 +2235,7 @@
       echo $ac_n "checking "for runtime libraries flag"""... $ac_c" 1>&6
 echo "configure:2235: checking "for runtime libraries flag"" >&5
   dash_r=""
-  for try_dash_r in "-R" "-R " "-rpath "; do
+  for try_dash_r in "-Wl,-R" "-R" "-R " "-rpath "; do
     xe_check_libs="${try_dash_r}/no/such/file-or-directory"
     cat > conftest.$ac_ext <<EOF
 #line 2240 "configure"