[Spice-devel] [spice-xpi 6/6] Make spice.xpi build optional

Marc-André Lureau marcandre.lureau at gmail.com
Mon Mar 11 05:56:04 PDT 2013


On Mon, Mar 11, 2013 at 10:16 AM, Christophe Fergeau
<cfergeau at redhat.com> wrote:

> +AC_ARG_ENABLE([xpi],
> +  [AS_HELP_STRING([--enable-xpi],
> +                  [Enable compilation of an xpi package])],
> +  [], [enable_xpi=no])
> +if test x"$enable_xpi" != xno; then
>  PKG_CHECK_MODULES(XUL, libxul-embedding >= 10)
>  AC_SUBST(XUL_CFLAGS)
>  AC_SUBST(XUL_LIBS)
> @@ -36,6 +41,8 @@ XUL_INCLUDEDIR=`pkg-config --variable=includedir libxul`
>  XUL_IDLDIR=`pkg-config --variable=idldir libxul`
>  AC_SUBST(XUL_INCLUDEDIR)
>  AC_SUBST(XUL_IDLDIR)
> +fi
> +AM_CONDITIONAL([BUILD_XPI], [test x"$enable_xpi" != xno])

Please add it to the configure summary.

Do we want it to be disabled by default? If yes, ack, if no then we
may want to invert it.

-- 
Marc-André Lureau


More information about the Spice-devel mailing list