Richard W.M. Jones
2017-Jun-25 21:30 UTC
Re: [Libguestfs] [PATCH 2/2] build: add ./configure --enable-appliance-fmt-auto option
On Fri, Jun 23, 2017 at 04:12:36PM +0300, Pavel Butsykin wrote:> Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com> > --- > m4/guestfs_appliance.m4 | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/m4/guestfs_appliance.m4 b/m4/guestfs_appliance.m4 > index 81c43879f..7e8d28271 100644 > --- a/m4/guestfs_appliance.m4 > +++ b/m4/guestfs_appliance.m4 > @@ -139,3 +139,14 @@ AC_SUBST([GUESTFS_DEFAULT_PATH]) > > AC_DEFINE_UNQUOTED([GUESTFS_DEFAULT_PATH], ["$GUESTFS_DEFAULT_PATH"], > [Define guestfs default path.]) > + > +AC_ARG_ENABLE([appliance-fmt-auto], > + [AS_HELP_STRING([--enable-appliance-fmt-auto], > + [enable autodetection of appliance image format @<:@default=no@:>@])], > + [ENABLE_APPLIANCE_FMT_AUTO="$enableval"], > + [ENABLE_APPLIANCE_FMT_AUTO=no]) > + > +if test "x$ENABLE_APPLIANCE_FMT_AUTO" = "xyes"; then > + AC_DEFINE([APPLIANCE_FMT_AUTO], [1], > + [Define to 1 if enabled autodetection of appliance image format.]) > +fiMight as well combine this with the previous patch. No need for two patches as the first one depends on the second. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW
Apparently Analagous Threads
- Re: [PATCH v2] launch: add support for autodetection of appliance image format
- Re: [PATCH v1 2/2] build: add ./configure --with-guestfs-path option
- Re: [PATCH 1/2] launch: add support for autodetection of appliance image format
- Re: [PATCH v4 1/2] v2v: bootloaders: search grub config for all distributions
- Re: [PATCH v4 1/2] v2v: bootloaders: search grub config for all distributions