mirror of https://gitee.com/openkylin/libvirt.git
virsh is more sexy now
This commit is contained in:
parent
5a3d05007e
commit
0d8043574d
|
@ -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
|
||||
|
|
11
configure.in
11
configure.in
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
1447
src/virsh.c
1447
src/virsh.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue