* configure.in: patch for ncurses fallback from Jim Fehlig

Daniel
This commit is contained in:
Daniel Veillard 2006-04-25 16:54:26 +00:00
parent f7a48c19f1
commit 0ea21e5cbd
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
Tue Apr 25 17:56:32 CEST 2006 Daniel Veillard <veillard@redhat.com>
* configure.in: patch for ncurses fallback from Jim Fehlig
Tue Apr 25 17:10:10 CEST 2006 Daniel Veillard <veillard@redhat.com>
* configure.in libvirt.spec.in docs/examples/Makefile.am

View File

@ -148,8 +148,11 @@ AC_SUBST(LIBXML_MIN_VERSION)
dnl virsh libraries
AC_CHECK_LIB(curses, initscr,
[VIRSH_LIBS="$VIRSH_LIBS -lcurses"],
[AC_MSG_ERROR([curses library not found])],
[VIRSH_LIBS="$VIRSH_LIBS -lcurses"],
[AC_CHECK_LIB(ncurses, initscr,
[VIRSH_LIBS="$VIRSH_LIBS -lncurses"],
[AC_MSG_ERROR([curses/ncurses library not found])],
[$VIRSH_LIBS])],
[$VIRSH_LIBS])
AC_CHECK_LIB(readline, main,
[VIRSH_LIBS="$VIRSH_LIBS -lreadline"],