1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/sysutils/screen/files/patch-ad
Andrey A. Chernov 7570754b96 Upgrade to 3.9.8
2000-09-05 16:47:44 +00:00

51 lines
1.3 KiB
Plaintext

--- 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