summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-ad
blob: 652b9565f0c2458eadcb2eef4d5cfd55909a5a68 (plain) (blame)
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
41
42
43
44
45
46
47
48
49
50
--- configure.old	Wed Jun 14 18:04:30 2000
+++ configure	Tue Sep  5 19:26:25 2000
@@ -2070,29 +2070,6 @@
   cat conftest.$ac_ext >&5
   rm -rf conftest*
   olibs="$LIBS"
-LIBS="-lcurses $olibs"
-echo "checking libcurses" 1>&6
-echo "configure:2076: checking libcurses" >&5
-cat > conftest.$ac_ext <<EOF
-#line 2078 "configure"
-#include "confdefs.h"
-
-int main() {
-
-#ifdef __hpux
-__sorry_hpux_libcurses_is_totally_broken_in_10_10();
-#else
-tgetent((char *)0, (char *)0);
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:2091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
-  :
-else
-  echo "configure: failed program was:" >&5
-  cat conftest.$ac_ext >&5
-  rm -rf conftest*
   LIBS="-ltermcap $olibs"
 echo "checking libtermcap" 1>&6
 echo "configure:2099: checking libtermcap" >&5
@@ -2153,8 +2130,6 @@
 rm -f conftest*
 fi
 rm -f conftest*
-fi
-rm -f conftest*
 
 if test "$cross_compiling" = yes; then
     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
@@ -2165,7 +2140,7 @@
 
 main()
 {
- exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
+ exit(strcmp(tgoto("%d%d", 0, 1), "1") ? 0 : 1);
 }
 EOF
 if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null