summaryrefslogtreecommitdiff
path: root/news/trn4/files/patch-Configure
blob: a597942bfc61df04432a18f481a3ff5fefe0553a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- Configure.orig	2010-09-02 06:12:26 UTC
+++ Configure
@@ -4920,10 +4920,10 @@ x)
 esac
 case "$xxx" in
 x)
-	xxx=`./loc libcurses.$so'*' x $libpth`
+	xxx=`./loc libncurses.$so'*' x $libpth`
 	case "$xxx" in
-	/usr/lib*|/lib*)
-		termlib='-lcurses'
+	/usr/lib*|/lib*|$prefix/lib*)
+		termlib='-lncurses'
 		d_havetlib="$define"
 		echo "Terminfo library found." >&4
 		;;