mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-07-08 18:40:23 +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_CC_STDC
|
||||||
AM_PROG_LIBTOOL
|
AM_PROG_LIBTOOL
|
||||||
|
|
||||||
dnl Should we check for curses, terminfo, and termlib, too?
|
for termlib in ncurses curses termcap terminfo termlib ; do
|
||||||
for termlib in ncurses termcap ; do
|
|
||||||
AC_CHECK_LIB(${termlib}, tgoto,
|
AC_CHECK_LIB(${termlib}, tgoto,
|
||||||
[LIBS="-l${termlib} $LIBS"; break])
|
[LIBS="-l${termlib} $LIBS"; break])
|
||||||
done
|
done
|
||||||
|
|
||||||
AC_CHECK_LIB(readline, main)
|
AC_CHECK_LIB(readline, readline)
|
||||||
if test $ac_cv_lib_readline_main = no; then
|
if test $ac_cv_lib_readline_readline = no; then
|
||||||
AC_MSG_WARN([libreadline was not found on your system.])
|
AC_MSG_WARN([libreadline was not found on your system.])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue