[Libreoffice-commits] .: configure.in

Matus Kukan mkukan at kemper.freedesktop.org
Thu May 31 06:50:14 PDT 2012


 configure.in |   23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

New commits:
commit 6a491cbe8f86e7ce57e0281bf45d74c628ef7956
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Thu May 31 15:48:15 2012 +0200

    fix SCPDEFS for --disable-activex
    
    Change-Id: Id20f7294e2bf00cf1a980cb137b51a107ef698e7

diff --git a/configure.in b/configure.in
index c834829..9706033 100644
--- a/configure.in
+++ b/configure.in
@@ -601,11 +601,6 @@ AC_ARG_ENABLE(epm,
          useless for large scale package building.])
 )
 
-AC_ARG_ENABLE(activex_component,
-    AS_HELP_STRING([--disable-activex-component],
-        [Remove support for ActiveX embedding of LibreOffice.])
-)
-
 AC_ARG_ENABLE(odk,
     AS_HELP_STRING([--disable-odk],
         [LibreOffice includes an ODK, office development kit which some packagers may
@@ -2556,6 +2551,7 @@ if test "$_os" = "WINNT"; then
     AC_MSG_CHECKING([whether to use ActiveX])
     if test "$enable_activex" = "yes" -o "$enable_activex" = "TRUE" -o "$enable_activex" = ""; then
         DISABLE_ACTIVEX=""
+        SCPDEFS="$SCPDEFS -DWITH_ACTIVEX_COMPONENT"
         AC_MSG_RESULT([yes])
     else
         DISABLE_ACTIVEX="TRUE"
@@ -10476,22 +10472,7 @@ else
 fi
 AC_SUBST(ENABLE_SILENT_MSI)
 
-dnl ===================================================================
-dnl Test whether to enable ActiveX embedding
-dnl ===================================================================
-if test "$_os" = "WINNT" -a "$WITH_MINGW" != yes; then
-    AC_MSG_CHECKING([whether to enable ActiveX embedding of LibreOffice components])
-    if test "$enable_activex_component" = "yes" -o "$enable_activex_component" = "TRUE" -o "$enable_activex_component" = ""; then
-        ENABLE_ACTIVEX_COMPONENT="TRUE"
-        AC_MSG_RESULT([yes])
-        SCPDEFS="$SCPDEFS -DWITH_ACTIVEX_COMPONENT"
-    else
-        ENABLE_ACTIVEX_COMPONENT=""
-        AC_MSG_RESULT([no])
-    fi
-    AC_SUBST(ENABLE_ACTIVEX_COMPONENT)
-    AC_SUBST(SCPDEFS)
-fi
+AC_SUBST(SCPDEFS)
 
 AC_MSG_CHECKING([whether and how to use Xinerama])
 if test "$_os" = "Darwin"; then


More information about the Libreoffice-commits mailing list