Kaydet (Commit) c08cd218 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS npower7 (1.201.2); FILE MERGED

2007/07/05 11:47:47 npower 1.201.2.2: RESYNC: (1.201-1.209); FILE MERGED
2007/05/03 11:09:38 npower 1.201.2.1: #i76844#
üst 1a30b497
...@@ -3,7 +3,7 @@ dnl * vi:set sw=3 ts=3 et: ...@@ -3,7 +3,7 @@ dnl * vi:set sw=3 ts=3 et:
dnl * dnl *
dnl * Name: configure.in dnl * Name: configure.in
dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland dnl * Auth: Willem van Dorp, Ross Nicholson, Oisin Boydell - Sun Microsystems Ireland
dnl * Date: $Date: 2007-08-27 16:05:43 $ dnl * Date: $Date: 2007-08-30 10:02:41 $
dnl * dnl *
dnl * Desc: This file serves as input for the GNU autoconf package dnl * Desc: This file serves as input for the GNU autoconf package
dnl * in order to create a configure script. dnl * in order to create a configure script.
...@@ -12,7 +12,7 @@ dnl * necessary to build OpenOffice.org ...@@ -12,7 +12,7 @@ dnl * necessary to build OpenOffice.org
dnl * dnl *
dnl * dnl *
dnl ******************************************************************/ dnl ******************************************************************/
AC_REVISION( $Revision: 1.218 $ ) AC_REVISION( $Revision: 1.219 $ )
AC_PREREQ(2.50) AC_PREREQ(2.50)
AC_INIT() AC_INIT()
echo "$@" >config.parms echo "$@" >config.parms
...@@ -41,20 +41,21 @@ AC_ARG_ENABLE(lockdown, ...@@ -41,20 +41,21 @@ AC_ARG_ENABLE(lockdown,
[ --enable-lockdown Enables the gconf integration work in OOo [ --enable-lockdown Enables the gconf integration work in OOo
],,) ],,)
AC_ARG_ENABLE(vba, AC_ARG_ENABLE(vba,
[ --enable-vba Enables the vba compatibility feature [ --disable-vba disables the vba compatibility feature
],,) ],,)
AC_ARG_WITH(vba-package-format, AC_ARG_WITH(vba-package-format,
[ --with-vba-package-format specify package format for vba compatibility api. [ --with-vba-package-format specify package format for vba compatibility api.
Default "builtin" means the api component and Specifying "builtin" means the api component and
associated type library are part of the installation set. associated type library are part of the installation set.
Specifying "extsn" creates an uno extension that is Specifying "extn" creates an uno extension that is
part of the installation set ( located in the program part of the installation set ( located in the program
directory ) that MUST be optionly registered using directory ) that MUST be optionly registered using
either the unopkg executeable or the extension manager either the unopkg executeable or the extension manager
gui. gui.
Usage: --with-package-format="builtin" or Note: "extn" is the defualt.
--with-package-format="extsn" Usage: --with-vba-package-format="builtin" or
--with-vba-package-format="extn"
],,) ],,)
AC_ARG_ENABLE(pch, AC_ARG_ENABLE(pch,
[ --enable-pch EXPERIMENTAL: Enables precompiled header support for C++. [ --enable-pch EXPERIMENTAL: Enables precompiled header support for C++.
...@@ -1634,13 +1635,13 @@ fi ...@@ -1634,13 +1635,13 @@ fi
dnl =================================================================== dnl ===================================================================
dnl Check if we are to enable vba macro interoperability feature dnl Check if we are to enable vba macro interoperability feature
dnl =================================================================== dnl ===================================================================
AC_MSG_CHECKING([whether to enable vba feature]) AC_MSG_CHECKING([whether to disable vba feature])
if test -n "$enable_vba" && test "$enable_vba" = "yes"; then if test -n "$enable_vba" && test "$enable_vba" = "no"; then
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
ENABLE_VBA=YES
else
ENABLE_VBA=NO ENABLE_VBA=NO
else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
ENABLE_VBA=YES
fi fi
AC_SUBST(ENABLE_VBA) AC_SUBST(ENABLE_VBA)
...@@ -1659,11 +1660,14 @@ if test "$ENABLE_VBA" = "YES"; then ...@@ -1659,11 +1660,14 @@ if test "$ENABLE_VBA" = "YES"; then
fi fi
else else
VBA_EXTENSION=NO VBA_EXTENSION=YES
AC_MSG_RESULT([build into installset]) AC_MSG_RESULT([defaulting to build as uno extension])
fi fi
AC_SUBST(VBA_EXTENSION) else
VBA_EXTENSION=NO
fi fi
AC_SUBST(VBA_EXTENSION)
dnl =================================================================== dnl ===================================================================
dnl Check the whether vba need to be delivered as an uno package or part dnl Check the whether vba need to be delivered as an uno package or part
dnl of the install dnl of the install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment