From: Daniel Veillard Date: Mon, 19 Jan 2009 17:41:39 +0000 (+0000) Subject: * configure.in: add a --with-rhel5-api configure option X-Git-Tag: LIBVIRT_0_6_0~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fbbbbd336a17584b7d3672fe2c050701c611236;p=thirdparty%2Flibvirt.git * configure.in: add a --with-rhel5-api configure option for the Xen specific version of RHEL-5, patch by Markus Armbruster daniel --- diff --git a/ChangeLog b/ChangeLog index 65d43f852f..77f6cfdeb9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jan 19 18:31:56 CET 2009 Daniel Veillard + + * 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 * src/xm_internal.c: two bug fixes coming from RHEL package diff --git a/configure.in b/configure.in index 8e24fd5071..734b2c99e9 100644 --- a/configure.in +++ b/configure.in @@ -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