1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-04-26 15:14:42 +00:00

* 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> Tue Apr 25 17:10:10 CEST 2006 Daniel Veillard <veillard@redhat.com>
* configure.in libvirt.spec.in docs/examples/Makefile.am * configure.in libvirt.spec.in docs/examples/Makefile.am

View File

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