summaryrefslogtreecommitdiff
path: root/misc/sci/patches/patch-aa
blob: 631795a073245b51e6b346d3f9fc673f0be4558c (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
$NetBSD: patch-aa,v 1.4 2005/10/23 20:14:07 rillig Exp $

Avoid picking up ncurses if installed

--- configure.orig	Fri Dec 15 15:14:00 2000
+++ configure	Fri Dec 15 15:14:11 2000
@@ -1022,7 +1022,7 @@
 EOF
 if { (eval echo configure:1024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
-  eval "ac_cv_lib_$ac_lib_var=yes"
+  eval "ac_cv_lib_$ac_lib_var=no"
 else
   echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5
@@ -1284,7 +1284,7 @@
 
 fi
 
-for ac_hdr in fcntl.h unistd.h ncurses.h curses.h
+for ac_hdr in fcntl.h unistd.h curses.h
 do
 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6