Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 682386 | Differences between
and this patch

Collapse All | Expand All

(-)cgdb-0.7.0.orig/config/readline_check_version.m4 (-1 / +5 lines)
Lines 8-16 Link Here
8
fi
8
fi
9
AC_CACHE_VAL(bash_cv_termcap_lib,
9
AC_CACHE_VAL(bash_cv_termcap_lib,
10
[AC_CHECK_LIB(]$curses_lib_name[, tgetent, bash_cv_termcap_lib=lib]$curses_lib_name[,
10
[AC_CHECK_LIB(]$curses_lib_name[, tgetent, bash_cv_termcap_lib=lib]$curses_lib_name[,
11
  [AC_CHECK_LIB(tinfow, tgetent, bash_cv_termcap_lib=libtinfow,
11
  [AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo,
12
  [AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo,
12
    [AC_CHECK_FUNC(tgetent, bash_cv_termcap_lib=libc,
13
    [AC_CHECK_FUNC(tgetent, bash_cv_termcap_lib=libc,
13
      bash_cv_termcap_lib=gnutermcap)])])])
14
      bash_cv_termcap_lib=gnutermcap)])])])])
14
if test "X$_bash_needmsg" = "Xyes"; then
15
if test "X$_bash_needmsg" = "Xyes"; then
15
AC_MSG_CHECKING(which library has the termcap functions)
16
AC_MSG_CHECKING(which library has the termcap functions)
16
fi
17
fi
Lines 19-24 Link Here
19
LDFLAGS="$LDFLAGS -L./lib/termcap"
20
LDFLAGS="$LDFLAGS -L./lib/termcap"
20
TERMCAP_LIB="./lib/termcap/libtermcap.a"
21
TERMCAP_LIB="./lib/termcap/libtermcap.a"
21
TERMCAP_DEP="./lib/termcap/libtermcap.a"
22
TERMCAP_DEP="./lib/termcap/libtermcap.a"
23
elif test $bash_cv_termcap_lib = libtinfow; then
24
TERMCAP_LIB=-ltinfow
25
TERMCAP_DEP=
22
elif test $bash_cv_termcap_lib = libtinfo; then
26
elif test $bash_cv_termcap_lib = libtinfo; then
23
TERMCAP_LIB=-ltinfo
27
TERMCAP_LIB=-ltinfo
24
TERMCAP_DEP=
28
TERMCAP_DEP=

Return to bug 682386