]> git.pld-linux.org Git - packages/screen.git/blobdiff - screen-nolibtermcap.patch
- prefer libtinfo (fixes build with --as-needed)
[packages/screen.git] / 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.081845 seconds and 4 git commands to generate.