1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
# DP: Link rlfe with libtinfo.
--- a/examples/rlfe/configure.ac
+++ b/examples/rlfe/configure.ac
@@ -273,8 +273,8 @@ __sorry_hpux_libcurses_is_totally_broken
tgetent();
#endif
],,
-LIBS="-ltermcap $olibs"
-AC_MSG_CHECKING(libtermcap)
+LIBS="-ltinfo $olibs"
+AC_MSG_CHECKING(libtinfo)
AC_TRY_LINK([extern char tgetent(void);],tgetent();,,
LIBS="-ltermlib $olibs"
AC_MSG_CHECKING(libtermlib)
--- a/examples/rlfe/configure
+++ b/examples/rlfe/configure
@@ -4448,9 +4448,9 @@ if ac_fn_c_try_link "$LINENO"
then :
else case e in #(
- e) LIBS="-ltermcap $olibs"
-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking libtermcap" >&5
-printf %s "checking libtermcap... " >&6; }
+ e) LIBS="-ltinfo $olibs"
+{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking libtinfo" >&5
+printf %s "checking libtinfo... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
extern char tgetent(void);
|