blob: 0ae436a588aef28531070136443ffab24b801161 (
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
|
$NetBSD: patch-aa,v 1.7 1999/12/08 13:44:52 rh Exp $
--- configure.orig Fri Oct 1 20:15:46 1999
+++ configure Wed Dec 8 14:34:38 1999
@@ -1838,7 +1838,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lncurses $LIBS"
+LIBS="-L${LOCALBASE}/lib -Wl,-R{LOCALBASE}/lib -lncurses $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1844 "configure"
#include "confdefs.h"
@@ -1866,7 +1866,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- LIBTERMCAP="-lncurses"
+ LIBTERMCAP="-L${LOCALBASE}/lib -Wl,-R{LOCALBASE}/lib -lncurses"
else
echo "$ac_t""no" 1>&6
fi
@@ -1881,7 +1881,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lncurses $LIBTERMCAP $LIBS"
+LIBS="-L${LOCALBASE}/lib -Wl,-R{LOCALBASE}/lib -lncurses $LIBTERMCAP $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1887 "configure"
#include "confdefs.h"
@@ -1905,7 +1905,7 @@
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- LIBCURSES="-lncurses"
+ LIBCURSES="-L${LOCALBASE}/lib -Wl,-R{LOCALBASE}/lib -lncurses"
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for main in -lcurses""... $ac_c" 1>&6
|