]> xenbits.xensource.com Git - libvirt.git/commitdiff
Mon Nov 26 11:52:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 26 Nov 2007 11:52:38 +0000 (11:52 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 26 Nov 2007 11:52:38 +0000 (11:52 +0000)
* configure.in, proxy/Makefile.am: Disable building of the Xen proxy
  if configured --without-xen.

ChangeLog
configure.in
proxy/Makefile.am

index cf035b564558d380f851d602d3762d0ce3f0bf7c..8119745e85f9943c3b8fdc86511b1e0fa1a36daa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Nov 26 11:52:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
+
+       * configure.in, proxy/Makefile.am: Disable building of the Xen proxy
+         if configured --without-xen.
+
 Mon Nov 26 11:49:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com>
 
        * src/bridge.c, src/bridge.h, src/qemu_conf.c, src/qemu_conf.h,
index 61d6779e052459975ef13a8ff6cea60152b224d7..5c8582f7643060dcb8641d14fc80d5ed2e1098b4 100644 (file)
@@ -504,7 +504,10 @@ if test "${enableval}" = yes; then
   COMPILER_FLAGS=
 fi
 
+dnl Enable building the proxy?
+AM_CONDITIONAL(WITH_PROXY,[test "x$with_xen" = "xyes"])
 
+dnl Check for gettext
 AM_GNU_GETTEXT_VERSION([0.14.1])
 AM_GNU_GETTEXT([external])
 if test -d po
index 90fd6bcd538553f870aa7599f471d8a8acf812fd..a270191fb09e203bee43836b38c0116a3a5fbe2e 100644 (file)
@@ -1,5 +1,6 @@
 ## Process this file with automake to produce Makefile.in
 
+if WITH_PROXY
 INCLUDES = -I$(top_builddir)/include -I@top_srcdir@/include \
            -I@top_srcdir@/proxy -I@top_srcdir@/src @LIBXML_CFLAGS@ \
           -DPROXY  -DLOCALEBASEDIR=\""$(datadir)/locale"\" \
@@ -17,3 +18,4 @@ libvirt_proxy_LDADD =
 
 install-exec-hook:
        chmod u+s $(DESTDIR)$(libexecdir)/libvirt_proxy
+endif
\ No newline at end of file