mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
* configure.in: Check for curses, terminfo and termlib libraries
in addition to ncurses and termcap. Check for `readline' in libreadline, not for `main'. Thanks to Albert Chin!
This commit is contained in:
parent
45605b53fb
commit
49dd8ff330
1 changed files with 3 additions and 4 deletions
|
@ -7,14 +7,13 @@ AC_PROG_CC
|
|||
AM_PROG_CC_STDC
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
dnl Should we check for curses, terminfo, and termlib, too?
|
||||
for termlib in ncurses termcap ; do
|
||||
for termlib in ncurses curses termcap terminfo termlib ; do
|
||||
AC_CHECK_LIB(${termlib}, tgoto,
|
||||
[LIBS="-l${termlib} $LIBS"; break])
|
||||
done
|
||||
|
||||
AC_CHECK_LIB(readline, main)
|
||||
if test $ac_cv_lib_readline_main = no; then
|
||||
AC_CHECK_LIB(readline, readline)
|
||||
if test $ac_cv_lib_readline_readline = no; then
|
||||
AC_MSG_WARN([libreadline was not found on your system.])
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue