virsh is more sexy now

This commit is contained in:
Karel Zak 2005-12-08 10:23:34 +00:00
parent 5a3d05007e
commit 0d8043574d
4 changed files with 1371 additions and 94 deletions

View File

@ -1,3 +1,7 @@
Thu Dec 8 11:19:48 CET 2005 Karel Zak <kzak@redhat.com>
* src/Makefile.am src/virsh.c configure.in: adding readline support,
and implement basic commands to virsh.
Thu Dec 8 11:12:36 CET 2005 Daniel Veillard <veillard@redhat.com>
* src/libvir.c src/xen_internal.c: fixed the new Xen hypervisor call

View File

@ -77,4 +77,15 @@ AC_SUBST(STATIC_BINARIES)
dnl search for the low level Xen library
AC_SEARCH_LIBS(xs_read, [xenstore], [], [AC_MSG_ERROR([Xen store library not found])])
dnl virsh libraries
AC_CHECK_LIB(curses, initscr,
[VIRSH_LIBS="$VIRSH_LIBS -lcurses"],
[AC_MSG_ERROR([curses library not found])],
[$VIRSH_LIBS])
AC_CHECK_LIB(readline, main,
[VIRSH_LIBS="$VIRSH_LIBS -lreadline"],
[AC_MSG_ERROR([readline library not found])],
[$VIRSH_LIBS])
AC_SUBST(VIRSH_LIBS)
AC_OUTPUT(Makefile src/Makefile include/Makefile docs/Makefile libvir.pc libvir.spec)

View File

@ -3,6 +3,7 @@
INCLUDES = -I$(top_builddir)/include -I@srcdir@/include
DEPS = libvir.la
LDADDS = @STATIC_BINARIES@ libvir.la
VIRSH_LIBS = @VIRSH_LIBS@
EXTRA_DIST = libvir_sym.version
@ -20,5 +21,5 @@ noinst_PROGRAMS=virsh
virsh_SOURCES=virsh.c
virsh_LDFLAGS =
virsh_DEPENDENCIES = $(DEPS)
virsh_LDADD= $(LDADDS)
virsh_LDADD= $(LDADDS) $(VIRSH_LIBS)

File diff suppressed because it is too large Load Diff