summaryrefslogtreecommitdiff
path: root/editors/hexedit/patches/patch-aa
blob: 582c43f8bd00e4094f410e55b8b076b1513ce32e (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
$NetBSD: patch-aa,v 1.3 1998/09/28 10:35:56 frueauf Exp $

--- configure.orig	Thu Sep 10 17:32:03 1998
+++ configure	Tue Sep 15 14:06:07 1998
@@ -782,14 +782,14 @@
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 
-echo $ac_n "checking for initscr in -lcurses""... $ac_c" 1>&6
-echo "configure:787: checking for initscr in -lcurses" >&5
+echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6
+echo "configure:787: checking for initscr in -lncurses" >&5
 ac_lib_var=`echo curses'_'initscr | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lcurses  $LIBS"
+LIBS="-L${libdir} -lncurses  $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 795 "configure"
 #include "confdefs.h"
@@ -817,7 +817,7 @@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  LIBS="$LIBS -lcurses"
+  LIBS="$LIBS -lncurses"
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for initscr in -lncurses""... $ac_c" 1>&6