Группа :: Система/Серверы
Пакет: openldap
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: openldap-2.0.25-ALT-configure-tinfo.patch
--- openldap-2.0.25.orig/configure.in 2002-01-24 20:04:28 +0300
+++ openldap-2.0.25/configure.in 2002-07-09 15:19:40 +0400
@@ -1800,15 +1800,16 @@
dnl ----------------------------------------------------------------
dnl ud needs termcap (should insert check here)
+dnl For ALT Linux Team ported to terminfo
ol_link_termcap=no
AC_CHECK_HEADERS(termcap.h ncurses.h)
if test $ol_link_termcap = no ; then
- AC_CHECK_LIB(termcap, tputs, [have_termcap=yes], [have_termcap=no])
+ AC_CHECK_LIB(tinfo, tputs, [have_termcap=yes], [have_termcap=no])
if test $have_termcap = yes ; then
- AC_DEFINE(HAVE_TERMCAP, 1, [define if you have -ltermcap])
+ AC_DEFINE(HAVE_TERMCAP, 1, [define if you have -ltinfo])
ol_link_termcap=yes
- TERMCAP_LIBS=-ltermcap
+ TERMCAP_LIBS=-ltinfo
fi
fi
@@ -1822,7 +1823,7 @@
fi
if test $ol_link_termcap = no ; then
- AC_DEFINE(NO_TERMCAP,1, [define if you have no termcap support])
+ AC_DEFINE(NO_TERMCAP,1, [define if you have no tinfo support])
TERMCAP_LIBS=
fi