From 8aa73a8f74cfcdc2fffdc16c8094bd257c8ade0d Mon Sep 17 00:00:00 2001 From: Kalman Szalai - KAMI Date: Tue, 29 Nov 2011 17:12:02 +0100 Subject: Add enable-oxygenoffice configure switch Now only handling brand downloading --- configure.in | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 3e3671fd5fca..005a68e7422f 100644 --- a/configure.in +++ b/configure.in @@ -784,6 +784,11 @@ AC_ARG_ENABLE(extra-font, [Add extra font content.]), ,) +AC_ARG_ENABLE(oxygenoffice, + AS_HELP_STRING([--enable-oxygenoffice], + [Download OxygenOffice branding and set custom settings.]), +,) + AC_ARG_ENABLE(lomenubar, AS_HELP_STRING([--enable-lomenubar], [Enable global menu support.]), @@ -8436,6 +8441,22 @@ fi AC_SUBST(WITH_EXTRA_FONT) AC_SUBST(OOOP_FONTS_PACK) +dnl =================================================================== +dnl Test whether to download OxygenOffice branding and set custom settings +dnl =================================================================== +AC_MSG_CHECKING([whether to download OxygenOffice branding and set custom settings]) +if test "z$enable_oxygenoffice" = "z" -o "z$enable_oxygenoffice" = "zno" ; then + AC_MSG_RESULT([no]) + ENABLE_OXYGENOFFICE=NO +else + AC_MSG_RESULT([yes]) + ENABLE_OXYGENOFFICE=YES + OXYGENOFFICE_PACK="18bf204479ff641d99a88cd71f6f25f7-oxygenoffice-001.zip" + BUILD_TYPE="$BUILD_TYPE OXYGENOFFICE" +fi +AC_SUBST(ENABLE_OXYGENOFFICE) +AC_SUBST(OXYGENOFFICE_PACK) + dnl =================================================================== dnl Test whether to build global menu support dnl =================================================================== -- cgit