blob: c02c8c48852bb8aab329e45a7de6b85383faefbe (
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
|
$NetBSD: patch-at,v 1.5 2015/12/26 11:58:19 joerg Exp $
Support shared libraries.
Don't capture value of HOME.
--- configure.orig 2014-09-08 04:56:03.000000000 +0000
+++ configure
@@ -1514,7 +1514,7 @@ Installation directories:
By default, \`make install' will install all the files in
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
+for instance \`--prefix=\\\$HOME'.
For better control, use the options below.
@@ -11481,7 +11481,7 @@ $as_echo "yes" >&6; }
EXT_FOR_SHARED_LIB=so
EXT_FOR_LINK_WITH_PIC_OBJECTS=o
;;
- i*86-*-freebsd*)
+ i*86-*-freebsd*|*-netbsd*)
# From Cornelis van der Laan <nils@ims.uni-stuttgart.de>
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
@@ -13143,7 +13143,7 @@ if test $mercury_cv_have_readline = no;
else
TERMCAP_LIBRARY="$mercury_cv_termcap_lib"
- READLINE_LIBRARIES="-lreadline $TERMCAP_LIBRARY"
+ READLINE_LIBRARIES="-L${READLINE_PREFIX}/lib ${LINKER_RPATH_FLAG}${READLINE_PREFIX}/lib -lreadline $TERMCAP_LIBRARY"
fi
|