]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
* configure.in: add a --with-rhel5-api configure option
authorDaniel Veillard <veillard@redhat.com>
Mon, 19 Jan 2009 17:41:39 +0000 (17:41 +0000)
committerDaniel Veillard <veillard@redhat.com>
Mon, 19 Jan 2009 17:41:39 +0000 (17:41 +0000)
  for the Xen specific version of RHEL-5, patch by Markus Armbruster
daniel

ChangeLog
configure.in

index 65d43f852f7ef663aa13747e33176b1876ca0b44..77f6cfdeb973a63ab507e2e1183f9e753b5e7d5c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jan 19 18:31:56 CET 2009 Daniel Veillard <veillard@redhat.com>
+
+       * configure.in: add a --with-rhel5-api configure option
+         for the Xen specific version of RHEL-5, patch by Markus Armbruster
+
 Mon Jan 19 16:18:46 CET 2009 Daniel Veillard <veillard@redhat.com>
 
        * src/xm_internal.c: two bug fixes coming from RHEL package
index 8e24fd5071c270663d97bb37f9c639a6c2d3aa76..734b2c99e9ab3a2b316e4ac4202a582a03a3f693 100644 (file)
@@ -231,6 +231,14 @@ fi
 AM_CONDITIONAL([LIBVIRT_INIT_SCRIPTS_RED_HAT], test x$with_init_scripts = xredhat)
 AC_MSG_RESULT($with_init_scripts)
 
+dnl RHEL-5 has a peculiar version of Xen, which requires some special casing
+AC_ARG_WITH([rhel5-api],
+       [AC_HELP_STRING([--with-rhel5-api=[ARG]],
+               [build for the RHEL-5 API [default=no]])])
+if test x"$with_rhel5_api" = x"yes"; then
+   AC_DEFINE([WITH_RHEL5_API], [1], [whether building for the RHEL-5 API])
+fi
+
 dnl
 dnl ensure that Fedora's system-config-firewall knows
 dnl about libvirt's iptables rules