]> git.pld-linux.org Git - packages/screen.git/commitdiff
- prefer libtinfo (fixes build with --as-needed)
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 26 Oct 2006 19:54:15 +0000 (19:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    screen-nolibtermcap.patch -> 1.2

screen-nolibtermcap.patch

index 601b4275d51d2751a73c1732ed2f98d3b594a144..23419f58c41b34ff5b431ad2036bb9cff32b7cb5 100644 (file)
@@ -1,9 +1,12 @@
 --- screen-3.9.9/configure.in.orig     Mon Jun 11 20:11:26 2001
 +++ screen-3.9.9/configure.in  Mon Jun 11 20:25:12 2001
-@@ -619,14 +619,14 @@
+@@ -619,14 +619,17 @@
  tgetent((char *)0, (char *)0);
  #endif
  ],,
++LIBS="-ltinfo $olibs"
++AC_CHECKING(libtinfo)
++AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
 +LIBS="-lncurses $olibs"
 +AC_CHECKING(libncurses)
 +AC_TRY_LINK(,tgetent((char *)0, (char *)0);,,
@@ -16,5 +19,6 @@
 -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_MSG_ERROR(!!! no tgetent - no screen)))))))
  
This page took 0.034196 seconds and 4 git commands to generate.