]> git.pld-linux.org Git - packages/screen.git/commitdiff
- link with ncurses always even if libtermcap is available
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 20 Dec 1999 09:29:18 +0000 (09:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    screen-ncurses.patch -> 1.1

screen-ncurses.patch [new file with mode: 0644]

diff --git a/screen-ncurses.patch b/screen-ncurses.patch
new file mode 100644 (file)
index 0000000..2d86498
--- /dev/null
@@ -0,0 +1,26 @@
+diff -urN screen-3.9.4.orig/configure.in screen-3.9.4/configure.in
+--- screen-3.9.4.orig/configure.in     Sat Dec 18 23:03:51 1999
++++ screen-3.9.4/configure.in  Sat Dec 18 23:10:12 1999
+@@ -582,8 +582,8 @@
+ dnl
+ AC_CHECKING(for tgetent)
+ olibs="$LIBS"
+-LIBS="-lcurses $olibs"
+-AC_CHECKING(libcurses)
++LIBS="-Incurses -lncurses $olibs"
++AC_CHECKING(libncurses)
+ AC_TRY_LINK(,[
+ #ifdef __hpux
+ __sorry_hpux_libcurses_is_totally_broken_in_10_10();
+@@ -597,10 +597,7 @@
+ LIBS="-ltermlib $olibs"
+ AC_CHECKING(libtermlib)
+ AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+-LIBS="-lncurses $olibs"
+-AC_CHECKING(libncurses)
+-AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
+-AC_MSG_ERROR(!!! no tgetent - no screen)))))
++AC_MSG_ERROR(!!! no tgetent - no screen))))
+ AC_TRY_RUN([
+ main()
This page took 0.084538 seconds and 4 git commands to generate.