提交 0d804357 编写于 作者: K Karel Zak

virsh is more sexy now

上级 5a3d0500
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
......
......@@ -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)
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册