summaryrefslogtreecommitdiff
path: root/math/tela/patches/patch-aa
blob: 4b136a6c9dd39d0618a148d7f6c4b3d293df23f5 (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
40
41
42
43
44
45
46
47
$NetBSD: patch-aa,v 1.1.1.1 2001/02/28 22:34:08 jtb Exp $

--- configure.orig	Tue Dec  5 14:17:43 2000
+++ configure
@@ -591,15 +591,15 @@
 else
 	echo "$ac_t""System type is ${system}." 1>&6
 fi
-echo 'Installation prefix (/usr/local/lib/tela) ?'
-read ans
-if test ".$ans" = "."; then ans=/usr/local/lib/tela; fi
-INSTALLATION_PREFIX=$ans
-
-echo "Architecture-dependent installation prefix ($INSTALLATION_PREFIX) ?"
-read ans
-if test ".$ans" = "."; then ans=$INSTALLATION_PREFIX; fi
-ARCHDEP_INSTALLATION_PREFIX=$ans
+#echo 'Installation prefix (/usr/local/lib/tela) ?'
+#read ans
+#if test ".$ans" = "."; then ans=/usr/local/lib/tela; fi
+#INSTALLATION_PREFIX=$ans
+
+#echo "Architecture-dependent installation prefix ($INSTALLATION_PREFIX) ?"
+#read ans
+#if test ".$ans" = "."; then ans=$INSTALLATION_PREFIX; fi
+#ARCHDEP_INSTALLATION_PREFIX=$ans
 
 if test ".$system" = ".AIX"; then
 	CC=xlC
@@ -2091,7 +2091,7 @@
 
   # It would also be nice to do this for all -L options, not just this one.
   if test -n "$x_libraries"; then
-    X_LIBS="$X_LIBS -L$x_libraries"
+    X_LIBS="$X_LIBS -R$x_libraries -L$x_libraries"
     # For Solaris; some versions of Sun CC require a space after -R and
     # others require no space.  Words are not sufficient . . . .
     case "`(uname -sr) 2>/dev/null`" in
@@ -2656,7 +2656,7 @@
 
   # Check for libraries that X11R6 Xt/Xaw programs need.
   ac_save_LDFLAGS="$LDFLAGS"
-  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
+  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -R$x_libraries -L$x_libraries"
   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
   # check for ICE first), but we must link in the order -lSM -lICE or
   # we get undefined symbols.  So assume we have SM if we have ICE.