]> git.pld-linux.org Git - packages/less.git/commitdiff
- fixed cheching term library (on all test look for tgetent() not like previouse
authorkloczek <kloczek@pld-linux.org>
Sat, 18 Jan 2003 16:13:29 +0000 (16:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  for some libraries for initscr() and for other thetent()) and on test try
  find tgetent() function,
- added test for more term libraries (for libtinfo) which ill cause linking
  on system with libtinfo with this library.

Changed files:
    less-libtinfo.patch -> 1.1

less-libtinfo.patch [new file with mode: 0644]

diff --git a/less-libtinfo.patch b/less-libtinfo.patch
new file mode 100644 (file)
index 0000000..13a273e
--- /dev/null
@@ -0,0 +1,16 @@
+--- less-378/configure.in~     Sat Jan 18 17:05:57 2003
++++ less-378/configure.in      Sat Jan 18 17:05:57 2003
+@@ -14,9 +14,10 @@
+ dnl AC_SYS_LARGEFILE
+ dnl Checks for libraries.
+-AC_CHECK_LIB(xcurses, initscr, [have_xcurses=yes], [have_xcurses=no])
+-AC_CHECK_LIB(ncurses, initscr, [have_ncurses=yes], [have_ncurses=no])
+-AC_CHECK_LIB(curses, initscr, [have_curses=yes], [have_curses=no])
++AC_CHECK_LIB(xcurses, tgetent, [have_xcurses=yes], [have_xcurses=no])
++AC_CHECK_LIB(tinfo, tgetent, [have_ncurses=yes],
++   [AC_CHECK_LIB(ncurses, tgetent, [have_ncurses=yes], [have_ncurses=no])])
++AC_CHECK_LIB(curses, tgetent, [have_curses=yes], [have_curses=no])
+ AC_CHECK_LIB(termcap, tgetent, [have_termcap=yes], [have_termcap=no])
+ AC_CHECK_LIB(termlib, tgetent, [have_termlib=yes], [have_termlib=no])
+ dnl Regular expressions (regcmp) are in -lgen on Solaris 2,
This page took 0.04686 seconds and 4 git commands to generate.