Files
libreoffice/configure.in

9553 lines
330 KiB
Plaintext
Raw Normal View History

dnl -*- Mode: Autoconf; tab-width: 8; indent-tabs-mode: nil -*-
dnl configure.in serves as input for the GNU autoconf package
dnl in order to create a configure script.
2011-09-25 12:19:43 -04:00
AC_INIT([LibreOffice],[3.5],[],[],[http://documentfoundation.org/])
AC_PREREQ([2.61])
###############################################################################
# Extensions switches --enable/--disable
###############################################################################
# By default these should be enabled unless having extra dependencies.
# If there is extra dependency over configure options then the enable should
# be automagic based on wether the requiring feature is enabled or not.
# All this options change anything only with --enable-extension-integration.
AC_ARG_ENABLE(extension-integration,
AS_HELP_STRING([--disable-extension-integration],
[Disable integration of the builded extensions to the installer of the
product. Use this switch to disable the integration.])
)
AC_ARG_ENABLE(ext-barcode,
AS_HELP_STRING([--enable-ext-barcode],
[Enable the Barcode extension.])
)
AC_ARG_ENABLE(ext-diagram,
AS_HELP_STRING([--enable-ext-diagram],
[Enable the SmART Gallery (Diagram) extension.])
)
AC_ARG_ENABLE(ext-google-docs,
AS_HELP_STRING([--enable-ext-google-docs],
[Enable the Google Documents extension.])
)
AC_ARG_ENABLE(ext-hunart,
AS_HELP_STRING([--enable-ext-hunart],
[Enable the Hungarian Cross-reference Toolbar extension.])
)
AC_ARG_ENABLE(ext-languagetool,
AS_HELP_STRING([--enable-ext-languagetool],
[Enable the LanguageTool extension.])
)
AC_ARG_ENABLE(ext-lightproof,
AS_HELP_STRING([--enable-ext-lightproof],
[Enable the Lightproof extension. The enable switch can contain only
2011-10-02 17:48:03 -04:00
the desired languages: --enable-lightproof="en hu ru"]),
[enable_ext_lightproof="$enableval"],
[enable_ext_lightproof=no]
)
AC_ARG_ENABLE(ext-mysql-connector,
AS_HELP_STRING([--enable-ext-mysql-connector],
[Enable the build of the MySQL Connector extension.])
)
AC_ARG_ENABLE(ext-nlpsolver,
AS_HELP_STRING([--enable-ext-nlpsolver],
[Enable the NLPSolver extension.])
)
AC_ARG_ENABLE(ext-ct2n,
AS_HELP_STRING([--enable-ext-ct2n],
[Enable the ConvertTextToNumber extension.])
)
AC_ARG_ENABLE(ext-numbertext,
AS_HELP_STRING([--enable-ext-numbertext],
[Enable the Numbertext extension.])
)
AC_ARG_ENABLE(ext-oooblogger,
AS_HELP_STRING([--enable-ext-oooblogger],
[Enable the OOo Blogger extension.])
)
AC_ARG_ENABLE(ext-pdfimport,
AS_HELP_STRING([--disable-ext-pdfimport],
[Disable the PDF Import extension.])
)
AC_ARG_ENABLE(ext-presenter-console,
AS_HELP_STRING([--disable-ext-presenter-console],
[Disable the Presenter Console extension.])
)
AC_ARG_ENABLE(ext-presenter-minimizer,
AS_HELP_STRING([--disable-ext-presenter-minimizer],
[Disable the Presentation Minimizer extension.])
)
AC_ARG_ENABLE(ext-report-builder,
AS_HELP_STRING([--disable-ext-report-builder],
[Disable the Report Builder extension.])
)
AC_ARG_ENABLE(ext-scripting-beanshell,
AS_HELP_STRING([--enable-ext-scripting-beanshell],
[Enable support for scripts in BeanShell.])
)
AC_ARG_ENABLE(ext-scripting-javascript,
AS_HELP_STRING([--enable-ext-scripting-javascript],
[Enable support for scripts in JavaScript.])
)
AC_ARG_ENABLE(ext-typo,
AS_HELP_STRING([--enable-ext-typo],
[Enable the Typography Toolbar extension.])
)
AC_ARG_ENABLE(ext-validator,
AS_HELP_STRING([--enable-ext-validator],
[Enable the Validator extension.])
)
AC_ARG_ENABLE(ext-watch-window,
AS_HELP_STRING([--enable-ext-watch-window],
[Enable the Watch Window extension to Calc.])
)
AC_ARG_ENABLE(ext-wiki-publisher,
AS_HELP_STRING([--enable-ext-wiki-publisher],
[Enable the Wiki Publisher extension.])
)
###############################################################################
dnl ---------- *** ----------
AC_ARG_ENABLE(mergelibs,
AS_HELP_STRING([--enable-mergelibs],
[Enables linking of big merged library used for better performance.])
)
CWS-TOOLING: integrate CWS graphite01 2009-08-06 11:09:01 +0200 hdu r274708 : #i10000# fix build breaker for SYSTEM_GRAPHITE=NO 2009-07-21 12:01:52 +0200 hdu r274174 : #i93645# fix include files for EXT_USE_STLPORT 2009-07-21 11:51:07 +0200 hdu r274173 : #i93645# convert line-endings of files to be patched 2009-07-21 10:49:01 +0200 hdu r274170 : #i93645# adjust makefile.vc8 for HH-RelEng env (thanks ause) 2009-07-20 05:21:32 +0200 kstribley r274105 : attempt to fix Windows build error caused by NULL variable in nmake file 2009-07-16 10:22:36 +0200 hdu r274032 : #i69129# also use solar minor version to find graphite lib 2009-07-16 05:36:06 +0200 kstribley r274029 : allow windows build to have Graphite disabled with SAL_DISABLE_GRAPHITE 2009-07-15 13:59:22 +0200 hdu r274011 : #i69129# default to ENABLE_GRAPHITE=TRUE 2009-07-15 13:19:54 +0200 hdu r274008 : #i93645# ignore compile warnings for graphite 2009-07-15 13:18:25 +0200 hdu r274006 : #i93645# stlport needs libmath, use solar minor version to find matching libs 2009-07-15 09:21:13 +0200 hdu r273989 : #i100000# avoid compile warning 2009-07-14 12:19:08 +0200 hdu r273963 : CWS-TOOLING: rebase CWS graphite01 to trunk@273858 (milestone: DEV300:m52) 2009-07-13 06:54:56 +0200 kstribley r273912 : change to use standard file headers 2009-07-13 05:39:14 +0200 kstribley r273911 : Remove unnecessary change to configure.in as reported by Rene 2009-07-10 16:58:44 +0200 hdu r273902 : #i100000# fix compile for precompiled-header support 2009-07-02 13:48:26 +0200 kstribley r273647 : #69129# fix a graphite bug which could crash with fonts containing obscure GDL positioning rules 2009-07-02 01:44:02 +0200 rene r273616 : #i10000# we need to link with -licuuc 2009-07-01 04:02:20 +0200 kstribley r273540 : restore missing sdf files from base 2009-07-01 04:01:40 +0200 kstribley r273539 : restore missing sdf files from base 2009-07-01 04:01:12 +0200 kstribley r273538 : restore missing sdf files from base 2009-07-01 03:59:41 +0200 kstribley r273537 : restore missing sdf files from base 2009-06-29 10:16:51 +0200 kstribley r273456 : #i69129# fixes a bug which caused occasional incorrect linebreaking when graphite is asked to render a part of a cluster not containing a base 2009-06-27 10:43:58 +0200 kstribley r273445 : #i69129# added kashida support for justified RTL text 2009-06-01 12:57:06 +0200 kstribley r272476 : CWS-TOOLING: rebase CWS graphite01 to trunk@272291 (milestone: DEV300:m49) 2009-05-26 10:50:06 +0200 kstribley r272286 : #i69129# fixes a build error when NDEBUG is not defined 2009-05-25 13:14:06 +0200 kstribley r272237 : #i69129# enable debugging by fixing compile warnings 2009-05-25 13:07:47 +0200 kstribley r272234 : #i69129# added env variable to disable GRAPHITE at run time on linux and fixed a bug with a rare attachment sequence 2009-04-20 17:39:25 +0200 kstribley r271001 : CWS-TOOLING: rebase CWS graphite01 to trunk@270723 (milestone: DEV300:m46) 2009-04-18 07:11:33 +0200 kstribley r270957 : #i101178# attempt to fix buildbot builds by reordering configure.in 2009-04-14 17:37:07 +0200 kstribley r270801 : #i93645# tweak configure to enable graphite by default on windows and linux to assist testing with tinderbox build 2009-04-14 16:33:17 +0200 kstribley r270796 : #i96925# another fix for rtl fallback and add optional debug info in MultiSalLayout 2009-04-08 13:27:55 +0200 kstribley r270641 : #i69129# fix features after a bad merge 2009-04-08 13:26:34 +0200 kstribley r270640 : #i69129# add a patch for WinFont 2009-03-24 12:37:54 +0100 kstribley r269937 : #i69129# fix build error due to locale being included in method for features 2009-03-24 12:36:10 +0100 kstribley r269936 : #i93645# change patch variable and fix configure 2009-03-20 04:18:56 +0100 kstribley r269776 : CWS-TOOLING: rebase CWS graphite01 to trunk@269297 (milestone: DEV300:m43) 2009-03-01 13:10:59 +0100 kstribley r268622 : added a patch to improve handling of a font with bad graphite language feature tables #i93645# 2009-02-12 04:50:51 +0100 kstribley r267631 : #i93645# fix windows build for graphite 2.3.1 and remove unnecessary patch 2009-02-10 04:48:50 +0100 kstribley r267535 : #i93645# fix a build error with stlport on Ubuntu 8.10 x86 2009-02-10 03:51:10 +0100 kstribley r267534 : #i69129# remove legacy config_office 2009-02-07 19:12:54 +0100 kstribley r267482 : #i93645# upgrade to using silgraphite-2.3.1 2009-02-02 18:17:57 +0100 kstribley r267290 : #i69129# backout unwanted checkin 2009-02-02 17:44:03 +0100 kstribley r267281 : #i69129# backout erroneous update to aclocal.m4 2009-02-01 10:05:03 +0100 kstribley r267236 : #i69129# fix build error due to locale being added to set font attributes 2009-02-01 06:02:52 +0100 kstribley r267235 : #i69129# fix erroneous merge 2009-01-31 16:24:56 +0100 kstribley r267234 : #i69129# update configure.in solenv.in in their new locations with enable graphite 2009-01-31 10:53:18 +0100 kstribley r267232 : CWS-TOOLING: rebase CWS graphite01 to trunk@267171 (milestone: DEV300:m41) 2008-12-17 04:17:33 +0100 kstribley r265577 : #i93645# remove superfluous autoreconf check and autoconf patch 2008-12-16 10:07:20 +0100 rene r265529 : fix aclocal.m4 breakage 2008-12-16 05:13:29 +0100 kstribley r265520 : #i93645# change to autoconf && configure 2008-12-16 04:39:48 +0100 kstribley r265519 : #i93645# modified LD_FLAGS so that system graphite isn't pulled in by accident and fixed autoconf problem 2008-12-15 14:16:25 +0100 rene r265497 : check for working STL 2008-12-15 12:53:39 +0100 rene r265473 : revert broken check 2008-12-15 11:59:21 +0100 kstribley r265472 : #i93645# added check for system STL, since this is a requirement for system graphite to work correctly and moved the position of the check further down 2008-12-15 11:55:34 +0100 kstribley r265471 : #i93645# remove references to gr3ooo to allow system graphite to be used 2008-12-12 18:48:18 +0100 rene r265437 : fix link for system-graphite 2008-12-12 18:46:45 +0100 rene r265436 : the tarball is in graphite, remove obsolete check 2008-12-12 18:22:22 +0100 rene r265433 : typo; re-autoconf 2008-12-12 17:35:26 +0100 rene r265432 : actually implement SYSTEM_GRAPHIT checks (as already checked for in makefile.mks) but remove the checks in graphit itself and move to BUILD_TYPE 2008-12-12 08:08:33 +0100 kstribley r265387 : #i69129# 2 of the patched files need windows line endings so patch works on linux as well as windows 2008-12-12 08:04:41 +0100 kstribley r265386 : #i69129# rtl fallback fix which prevents caching of segments with fallback 2008-12-08 04:28:12 +0100 kstribley r264969 : results of running autoconf with graphite config changes #i69129# 2008-12-05 08:12:47 +0100 kstribley r264886 : backout unintential change at r264884 2008-12-05 06:26:33 +0100 kstribley r264884 : #i96925# fixes for uniscribe fallback 2008-12-05 06:11:37 +0100 kstribley r264883 : #i69129# improvements to windows graphite code, including caching of sila table lookup 2008-12-02 13:28:51 +0100 kstribley r264694 : #i93645# add graphite library and append to patch 2008-11-27 06:47:10 +0100 kstribley r264445 : #69129# fix rtl loop bug and rtl caching problem 2008-11-27 06:42:20 +0100 kstribley r264444 : add caching for GraphiteFontAdaptor 2008-11-14 15:57:03 +0100 kstribley r263681 : #69129# add graphite addtional files from cvs 2008-11-14 15:54:47 +0100 kstribley r263680 : #69129# fix for modified resolution api 2008-11-13 16:24:09 +0100 kstribley r263652 : #69129# add skeleton to build graphite module library 2008-11-13 16:22:19 +0100 kstribley r263651 : #69129# add skeleton to build graphite module library 2008-11-13 16:16:10 +0100 kstribley r263650 : #69129# migrate from cvs 2008-11-13 15:26:54 +0100 kstribley r263646 : #69129# add a module for the graphite library
2009-08-17 14:12:14 +00:00
AC_ARG_ENABLE(graphite,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-graphite],
[Enables the compilation of Graphite smart font rendering.])
)
AC_ARG_ENABLE(ldap,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-ldap],
[Disables the use of LDAP backend via Netscape/Mozilla or OpenLDAP LDAP SDK])
)
AC_ARG_ENABLE(fetch-external,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-fetch-external],
[Disables fetching external tarballs from web sources.])
)
AC_ARG_ENABLE(lockdown,
AS_HELP_STRING([--disable-lockdown],
2011-05-15 02:11:48 +03:00
[Disables the gconf integration work in LibreOffice.]),
)
AC_ARG_ENABLE(vba,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-vba],
[Disables the vba compatibility feature.])
)
AC_ARG_ENABLE(pch,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-pch],
[EXPERIMENTAL: Enables precompiled header support for C++.])
)
AC_ARG_ENABLE(mozilla,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-mozilla],
2011-05-15 02:11:48 +03:00
[LibreOffice usually includes a strangely hacked up Mozilla binary for your
platform, to build without this version, use this option.])
)
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_ARG_ENABLE(epm,
AS_HELP_STRING([--enable-epm],
2011-05-15 02:11:48 +03:00
[LibreOffice includes self-packaging code, that requires epm, however epm is
useless for large scale package building.])
)
AC_ARG_ENABLE(activex_component,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-activex-component],
[Remove support for ActiveX embedding of LibreOffice.])
)
AC_ARG_ENABLE(odk,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-odk],
2011-05-15 02:11:48 +03:00
[LibreOffice includes an ODK, office development kit which some packagers may
wish to build without.])
)
AC_ARG_ENABLE(mathmldtd,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-mathmldtd],
[Disable mathmldtd (useful for distributions that want to avoid
packaging it).])
)
AC_ARG_ENABLE(evolution2,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-evolution2],
[Allows the built-in evolution 2 addressbook connectivity build to be
enabled.])
)
AC_ARG_ENABLE(directx,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-directx],
[Remove DirectX implementation for the new XCanvas interface.
The DirectX support requires more stuff installed on Windows to
compile. (DirectX SDK, GDI+ libs)])
)
AC_ARG_ENABLE(activex,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-activex],
[Disable the use of ActiveX for a Windows build.
This switch is mandatory when using VC++ 2008 Express.])
)
AC_ARG_ENABLE(atl,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-atl],
2011-05-15 02:11:48 +03:00
[Disable the use of ATL for a Windows build.])
2010-11-03 14:14:16 +00:00
[
This switch is mandatory when using VC++ 2008 Express.
],
,)
AC_ARG_ENABLE(symbols,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-symbols],
[Include debugging symbols in output. WARNING - a complete build needs
8 Gb of space and takes much longer (enables -g compiler flag).])
[
Enabling symbols disables the stripping of the solver
(--disable-strip-solver).
2010-11-03 14:14:16 +00:00
],
,)
AC_ARG_ENABLE(strip-solver,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-strip-solver],
[Disable the stripping of the solver. By default the solver is stripped
unless a build with debugging symbols (--enable-symbols) is requested.])
[
This switch allows to override this setting.
2010-11-03 14:14:16 +00:00
],
,)
AC_ARG_ENABLE(werror,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-werror],
[Turn warnings to errors. (Has no effect in modules where the treating
2010-12-22 15:21:31 +00:00
of warnings as errors is disabled explicitly.)]),
2010-11-03 14:14:16 +00:00
,)
AC_ARG_ENABLE(debug,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-debug],
[Include debugging symbols from --enable-symbols plus extra debugging
code. Extra large build! (enables -g compiler flag and dmake debug=true)
If you need even more verbose output, build a module with
"build -- debug=true dbglevel=2".]))
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_ARG_ENABLE(dbgutil,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-dbgutil],
[Include additional debugging utilities, such as assertions, object
counting, etc. Larger build. Independent from --enable-debug]))
AC_ARG_ENABLE(lto,
AS_HELP_STRING([--enable-lto],
[Enable link-time optimization. Suitable for product builds.
Building takes longer but libraries are optimized for speed.
(possible only with gcc-4.5 or later,
better to use gcc-4.6 and 'gold' as linker)]))
AC_ARG_ENABLE(crashdump,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-crashdump],
[Enable the crashdump feature.]))
AC_ARG_ENABLE(python,
AS_HELP_STRING([--enable-python=<no/auto/system/internal>],
[Enables or disables Python support at run-time and build-time.
Also specifies what Python to use. 'auto' is the
default. Note that Python can be disabled with
--disable-python or --enable-python=no only if no
translations are required.]))
AC_ARG_ENABLE(gtk,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-gtk],
[Determines whether to use Gtk+ vclplug on platforms where Gtk+ is available.]),
,enable_gtk=yes)
AC_ARG_ENABLE(gtk3,
AS_HELP_STRING([--disable-gtk3],
[Determines whether to use Gtk+ 3.0 vclplug on platforms where Gtk+ 3.0 is available.]),
,enable_gtk3=no)
AC_ARG_ENABLE(systray,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-systray],
[Determines whether to build the systray quickstarter.]),
,enable_systray=yes)
AC_ARG_ENABLE(split-app-modules,
AS_HELP_STRING([--enable-split-app-modules],
[Split file lists for app modules, e.g. base, calc.
Has effect only with make distro-pack-install]),
,)
AC_ARG_ENABLE(split-opt-features,
AS_HELP_STRING([--enable-split-opt-features],
[Split file lists for some optional features, .e.g. pyuno, testtool.
Has effect only with make distro-pack-install]),
,)
AC_ARG_ENABLE(cairo-canvas,
[ --disable-cairo-canvas Determines whether to build the Cairo canvas on
platforms where Cairo is available.
],,enable_cairo_canvas=yes)
AC_ARG_ENABLE(librsvg,
AS_HELP_STRING([--enable-librsvg=<no/auto/system/internal>],
[Enables or disables use of librsvg to render SVG at run-time.
Also specificed what librsvg to use. 'auto' is the default.]))
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_ARG_ENABLE(opengl,
AS_HELP_STRING([--disable-opengl],
2010-11-03 14:14:16 +00:00
[Determines whether to build the OpenGL 3D slide transitions component.]),
,enable_opengl=yes)
AC_ARG_ENABLE(dbus,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-dbus],
[Determines whether to enable presentation mode screensaver control
under GNOME via DBUS.]),
,enable_dbus=no)
AC_ARG_ENABLE(gconf,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-gconf],
[Determines whether to use the GConf support.]),
,enable_gconf=yes)
AC_ARG_ENABLE(gnome-vfs,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-gnome-vfs],
[Determines whether to use the Gnome Virtual Filing System on platforms
where that VFS is available.]),
,enable_gnome_vfs=yes)
AC_ARG_ENABLE(gio,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-gio],
[Determines whether to use the GIO support.]),
,enable_gio=no)
AC_ARG_ENABLE(static-gtk,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-static-gtk],
2011-05-15 02:11:48 +03:00
[Modules that are linked against GTK+ libraries use the static libraries
instead of the dynamic ones. (Enables -Bstatic linker flag for GTK+ libraries.)]),
2010-11-03 14:14:16 +00:00
,)
AC_ARG_ENABLE(layout,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-layout],
[Enable the compilation and use of layout dialogs.]),
,)
INTEGRATION: CWS mozooo (1.55.6.4.8); FILE MERGED 2005/02/11 13:33:47 vq 1.55.6.4.8.21: RESYNC: (1.87-1.89); FILE MERGED 2005/01/27 19:44:47 rene 1.55.6.4.8.20: RESYNC: (1.82-1.87); FILE MERGED 2005/01/14 04:12:49 vq 1.55.6.4.8.19: #i11424# Change the version to be build by default to 1.7.5 and change the configure switch to enable the build to: --enable-build-mozilla 2005/01/11 20:00:21 rene 1.55.6.4.8.18: subsitute mozilla version also into error message since mozilla1.7.5 it's now source/ instead of src/ 2005/01/08 17:19:14 vq 1.55.6.4.8.17: RESYNC: (1.80-1.82); FILE MERGED 2005/01/08 12:55:11 rene 1.55.6.4.8.16: - add some more AC_MSG_CHECKINGs/_RESULTs to the mozilla checks - fix bash/test syntax errors 2005/01/06 21:05:05 vq 1.55.6.4.8.15: #i11424# Small cleanup. 2004/12/31 18:09:26 vq 1.55.6.4.8.14: #i11424# Fix inconsistency between $ENABLE_BUILD_MOZAB and $BUILD_MOZAB and regenerate configure. 2004/12/24 23:45:07 vq 1.55.6.4.8.13: RESYNC: (1.77-1.80); FILE MERGED 2004/12/02 02:27:12 windly 1.55.6.4.8.12: #i11424# fix name error for mozilla v1.7b source tarball 2004/11/30 17:23:16 vq 1.55.6.4.8.11: #i11424# Add more checks to configure. 2004/11/30 08:36:46 windly 1.55.6.4.8.10: #i11424# check libIDl 2004/11/30 07:50:40 windly 1.55.6.4.8.9: #i11424# choose mozilla version and default toolkit at configure time 2004/11/30 04:32:24 vq 1.55.6.4.8.8: RESYNC: (1.75-1.77); FILE MERGED 2004/11/27 00:22:28 vq 1.55.6.4.8.7: RESYNC: (1.72-1.75); FILE MERGED 2004/10/29 09:25:45 fs 1.55.6.4.8.6: RESYNC: (1.65-1.72); FILE MERGED 2004/07/07 10:13:53 fs 1.55.6.4.8.5: RESYNC: (1.63-1.65); FILE MERGED 2004/04/22 14:50:55 fs 1.55.6.4.8.4: RESYNC: (1.62-1.63); FILE MERGED 2004/03/15 14:52:40 fs 1.55.6.4.8.3: RESYNC: (1.55.6.5-1.62); FILE MERGED 2004/01/30 09:02:10 fs 1.55.6.4.8.2: RESYNC: (1.55.6.4-1.55.6.5); FILE MERGED 2004/01/07 09:02:45 fs 1.55.6.4.8.1: #i11424# allow for building Mozilla tarballs (needed for Mozilla Address Book integration) during an OOo build thanks to Wind Li (yl146652@openoffice.org)
2005-03-01 16:23:02 +00:00
AC_ARG_ENABLE(build-mozilla,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-build-mozilla],
2011-05-15 02:11:48 +03:00
[Use this option if you do not want to build the Mozilla components from
the Mozilla source code but take precompiled zips.]),
2010-11-03 14:14:16 +00:00
,)
2011-05-13 12:39:41 +03:00
AC_ARG_ENABLE(nss-module,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-nss-module],
[Whether to use provided NSS module.]),
,enable_nss_module=yes)
AC_ARG_ENABLE(kde,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-kde],
[Determines whether to use Qt3/KDE3 vclplug on platforms where Qt3 and
KDE3 are available.]),
,)
AC_ARG_ENABLE(kdeab,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-kdeab],
[Disable the KDE3 address book support.]),
,
if test "$enable_kde" = "yes"; then
enable_kdeab=yes;
fi
)
AC_ARG_ENABLE(kde4,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-kde4],
[Determines whether to use Qt4/KDE4 vclplug on platforms where Qt4 and
KDE4 are available. May be used with --enable-kde if you want to support
both KDE3 and KDE4.]),
,)
AC_ARG_ENABLE(unix-qstart-libpng,
AS_HELP_STRING([--disable-unix-qstart-libpng],
[On UNIX systems, we have a faster splash app, that can use libpng to
2011-07-04 02:20:26 -05:00
render its splash, if we can safely link to the system libpng then
enabling this is a good idea (ie. for Linux Distro packaging).]),
,enable_unix_libpng=yes)
AC_ARG_ENABLE(binfilter,
2010-12-02 12:12:30 +00:00
AS_HELP_STRING([--enable-binfilter],
[Enable legacy binary file formats filters build.]),
,enable_binfilter=no
2010-11-03 14:14:16 +00:00
)
2011-04-26 14:54:10 +01:00
AC_ARG_ENABLE(ugly,
AS_HELP_STRING([--enable-ugly],
[Enables ugly pieces of functionality.]),
,enable_ugly=no
)
AC_ARG_ENABLE(rpath,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-rpath],
[Disable the use of relative paths in shared libraries.]),
,)
AC_ARG_ENABLE(xrender-link,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-xrender-link],
[Link with libXrender instead of dynamically open it.]),
,)
AC_ARG_ENABLE(randr,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-randr],
[Disable RandR support in the vcl project.]),
,enable_randr=yes)
AC_ARG_ENABLE(randr-link,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-randr-link],
[Disable linking with libXrandr, instead dynamically open it at runtime.]),
,enable_randr_link=yes)
AC_ARG_ENABLE(gstreamer,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-gstreamer],
[Disable building the gstreamer avmedia backend.]),
,enable_gstreamer=yes)
AC_ARG_ENABLE(neon,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--disable-neon],
[Disable neon and the compilation of webdav binding.]),
,)
AC_ARG_ENABLE(build-unowinreg,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-build-unowinreg],
[Do not use the prebuilt unowinreg.dll. Build it instead. The MinGW C++
compiler is needed on Linux.])
[
Usage: --enable-build-unowinreg
],
,)
AC_ARG_ENABLE(verbose,
AS_HELP_STRING([--enable-verbose],
[Increase build verbosity.])[
--disable-verbose Decrease build verbosity.],
2010-11-03 14:14:16 +00:00
,)
AC_ARG_ENABLE(dependency-tracking,
AS_HELP_STRING([--enable-dependency-tracking],
[Do not reject slow dependency extractors.])[
--disable-dependency-tracking
Disables generation of dependency information.
Speed up one-time builds.],
2010-11-03 14:14:16 +00:00
,)
AC_ARG_ENABLE(icecream,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--enable-icecream],
[Use the 'icecream' distributed compiling tool to speedup the compilation.
It defaults to /opt/icecream for the location of the icecream gcc/g++
wrappers, you can override that using --with-gcc-home=/the/path switch.]),
,)
AC_ARG_ENABLE(zenity,
AS_HELP_STRING([--disable-zenity],
[Do not display a build icon in the notification area (on unix) during build.]),
,enable_zenity=yes)
AC_ARG_ENABLE(ccache,
AS_HELP_STRING([--disable-ccache],
[Do not try to use ccache automatically.
By default, we will try to detect if ccache is available; in that case if
CC/CXX are not yet set, and --enable-icecream is not given, we
attempt to use ccache. --disable-ccache disables ccache completely.
]),
,)
2010-11-05 02:23:12 +01:00
AC_ARG_ENABLE(cl-x64,
AS_HELP_STRING([--enable-cl-x64],
[Build a 64-bit LibreOffice using the Microsoft C/C++ x64 compiler.]),
2010-11-05 02:23:12 +01:00
,)
AC_ARG_ENABLE(extra-gallery,
AS_HELP_STRING([--enable-extra-gallery],
2011-07-04 02:20:26 -05:00
[Add extra gallery content.]),
,)
AC_ARG_ENABLE(extra-template,
AS_HELP_STRING([--enable-extra-template],
2011-07-04 02:20:26 -05:00
[Add extra template content.]),
,)
AC_ARG_ENABLE(extra-sample,
AS_HELP_STRING([--enable-extra-sample],
2011-07-04 02:20:26 -05:00
[Add extra sample content.]),
,)
AC_ARG_ENABLE(extra-font,
AS_HELP_STRING([--enable-extra-font],
2011-07-04 02:20:26 -05:00
[Add extra font content.]),
,)
AC_ARG_ENABLE(lomenubar,
AS_HELP_STRING([--enable-lomenubar],
2011-07-04 02:20:26 -05:00
[Enable global menu support.]),
,)
AC_ARG_ENABLE(online-update,
AS_HELP_STRING([--enable-online-update],
2011-07-04 02:20:26 -05:00
[Enable the online update service that will check for new versions of
LibreOffice. By default, it is on on Windows and Mac, and off on Linux.]),
,)
AC_ARG_ENABLE(release-build,
AS_HELP_STRING([--enable-release-build],
[Enable release build.
See http://wiki.documentfoundation.org/DevBuild]),
,)
dnl ===================================================================
dnl Optional Packages (--with/without-)
dnl ===================================================================
AC_ARG_WITH(gnu-patch,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-gnu-patch],
[Specify location of GNU patch on Solaris or FreeBSD.]),
,)
AC_ARG_WITH(gnu-cp,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-gnu-cp],
[Specify location of GNU cp on Solaris or FreeBSD.]),
,)
AC_ARG_WITH(system-graphite,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-graphite],
[Use graphite library already installed on system.]),
,)
AC_ARG_WITH(external-tar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-external-tar=<TARFILE PATH>],
[Specify path to tarfiles manually.]),
TARFILE_LOCATION=$withval ,
)
AC_ARG_WITH(linked-git,
AS_HELP_STRING([--with-linked-git=<OTHER_CLONE_DIR>],
[Specify another checkout's clonedir to re-use. This makes use of
2011-07-04 02:20:26 -05:00
git-new-workdir, and saves a lot of diskspace when having multiple
trees side-by-side.]),
GIT_LINK_SRC=$withval ,
)
AC_ARG_WITH(openldap,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-openldap],
[Enables the use of the OpenLDAP LDAP SDK instead of the Netscape/Mozilla one.]),
,)
AC_ARG_WITH(vba-package-format,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-vba-package-format],
[Specify package format for vba compatibility api. Specifying "builtin"
means the api component and associated type library are part of the
installation set. Specifying "extn" creates an uno extension that is
part of the installation set (located in the program directory) that
MUST be optionly registered using either the unopkg executeable or the
extension manager gui.])
[
Note: "builtin" is the default, "extn" can cause
problems.
2010-11-03 14:14:16 +00:00
Usage: --with-vba-package-format="builtin" or
--with-vba-package-format="extn"
],
,)
AC_ARG_WITH(theme,
AS_HELP_STRING([--with-theme="theme1 theme2..."],
2011-07-04 02:20:26 -05:00
[Choose which themes to include. By default those themes with an '*' are included.
Possible choices: *default, *crystal, *hicontrast, *oxygen, *tango, classic, industrial.]),
,)
AC_ARG_WITH(helppack-integration,
[
2010-12-17 23:09:16 +01:00
--without-helppack-integration It will not integrate the helppacks to the installer
of the product.
2010-12-17 23:09:16 +01:00
Please use this switch to use the online help or separate help packages.],
,)
AC_ARG_WITH(fonts,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--without-fonts],
2011-05-15 02:11:48 +03:00
[LibreOffice includes some third-party fonts to provide a reliable basis for
2010-11-03 14:14:16 +00:00
help content, templates, samples, etc. When these fonts are already
known to be available on the system then you should use this option.]),
,)
AC_ARG_WITH(ppds,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--without-ppds],
[Removes Postscript Printer definition files from LibreOffice
installation set, for people building for specific distributions where
PPDs are known to be already available (every recent distro with CUPS backend).]),
,)
AC_ARG_WITH(afms,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--without-afms],
[Removes bitmap font files from LibreOffice installation set, for people
building for specific distributions where AFM files or TrueType Fonts
are known to be available.]),
,)
AC_ARG_WITH(agfa-monotype-fonts,
AS_HELP_STRING([--with-agfa-monotype-fonts],
2011-06-20 11:34:25 +01:00
[This switch should only be enabled for those who have the right
to use or distribute the proprietary Agfa Monotype
fonts.])
,)
AC_ARG_WITH(epm,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-epm],
[Decides which epm to use. Default is to use the one from the system if
one is built. When either this is not there or you say =internal epm
will be built.]),
,)
AC_ARG_WITH(package-format,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-package-format],
2011-05-15 02:11:48 +03:00
[Specify package format(s) for LibreOffice installsets. Default is the
"normal" one of the OS/Distribution. Possible values: aix, bsd, deb,
inst, tardist, osx, pkg, rpm, setld, native, portable, archive, dmg,
installed, msi. Example: --with-package-format="deb dmg"]),
2010-11-03 14:14:16 +00:00
,)
AC_ARG_WITH(system-stdlibs,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-stdlibs],
[Use libstdc++/libgcc_s already on system.]),
,)
AC_ARG_WITH(system-cairo,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-cairo],
[Use Cairo libraries already on system.]),
,)
AC_ARG_WITH(mozilla-version,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-mozilla-version],
2011-05-15 02:11:48 +03:00
[Choose which version of Mozilla to use while building Mozilla.
2010-11-03 14:14:16 +00:00
(default=1.7.5) Note that not all versions are supported.]),
,)
AC_ARG_WITH(mozilla-toolkit,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-mozilla-toolkit],
2011-05-15 02:11:48 +03:00
[Choose which GUI toolkit to use while building Mozilla components. (default=gtk2)]),
2010-11-03 14:14:16 +00:00
,)
AC_ARG_WITH(myspell-dicts,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--without-myspell-dicts],
[Removes myspell dictionaries from LibreOffice installation set, for
people building for specific distributions where the myspell dictionaries
are installed from other sources.]),
,)
AC_ARG_WITH(system-dicts,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-dicts],
[Use dictionaries from system paths- Specify them via
--with-{dict,hyph,thes}-path=/path if you want to override the default ones.]),
,)
AC_ARG_WITH(external-dict-dir,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-external-dict-dir],
[Specify external dictionary dir.]),
,)
AC_ARG_WITH(external-hyph-dir,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-external-hyph-dir],
[Specify external hyphenation pattern dir.]),
,)
AC_ARG_WITH(external-thes-dir,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-external-thes-dir],
[Specify external thesaurus dir.]),
,)
AC_ARG_WITH(system-libs,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-libs],
[Use libraries already on system -- enables all --with-system-* flags except
mozilla, libvisio, libexttextcat and translate-toolkit.]),
2010-11-03 14:14:16 +00:00
,)
AC_ARG_WITH(system-headers,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-headers],
[Use headers already on system -- enables all --with-system-* flags for
external packages whose headers are the only entities used i.e.
boost/vigra/odbc/sane/xrender-header(s).]),
,)
AC_ARG_WITH(system-jars,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--without-system-jars],
[When building with --with-system-libs, also the needed jars are expected
on the system. Use this to disable that (except for the db case where
--with-system-db *has to* imply using the db.jar from there, too).]),
2010-11-03 14:14:16 +00:00
,)
AC_ARG_WITH(system-zlib,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-zlib],
[Use zlib already on system.]),
,)
AC_ARG_WITH(system-openssl,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-openssl],
[Use OpenSSL already on system.]),
,)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_ARG_WITH(system-jpeg,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-jpeg],
[Use jpeg already on system.]),
,)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_ARG_WITH(system-expat,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-expat],
[Use expat already on system.]),
,)
2011-10-03 12:16:21 +02:00
AC_ARG_WITH(system-libcmis,
AS_HELP_STRING([--with-system-libcmis],
[Use libcmis already on system.]),
,)
AC_ARG_WITH(system-libvisio,
AS_HELP_STRING([--with-system-libvisio],
[Use libvisio already on system.]),
,)
AC_ARG_WITH(system-libwpd,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-libwpd],
[Use libwpd already on system.]),
,)
AC_ARG_WITH(system-libwps,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-libwps],
[Use libwps already on system.]),
,)
2010-09-14 11:29:54 +02:00
AC_ARG_WITH(system-libwpg,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-libwpg],
[Use libwpg already on system.]),
,)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_ARG_WITH(system-libxml,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-libxml],
[Use libxml already on system.]),
,)
AC_ARG_WITH(system-translate-toolkit,
AS_HELP_STRING([--with-system-translate-toolkit],
[Use translate-toolkit already on system.]))
AC_ARG_WITH(system-icu,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-icu],
[Use icu already on system.]))
2008-10-10 13:02:43 +00:00
AC_ARG_WITH(system-poppler,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-poppler],
[Use system poppler. (only needed for pdfimport extension)]))
AC_ARG_WITH(system-db,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-db],
[Use Berkeley db already on system.]))
AC_ARG_WITH(system-lucene,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-lucene],
[Use Lucene already on system.]))
AC_ARG_WITH(system-apache-commons,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-apache-commons],
[Use Apache commons libraries already on system.]))
AC_ARG_WITH(lucene-core-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-lucene-core-jar=JARFILE],
[Specify path to jarfile manually.]),
LUCENE_CORE_JAR=$withval)
AC_ARG_WITH(lucene-analyzers-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-lucene-analyzers-jar=JARFILE],
[Specify path to jarfile manually.]),
LUCENE_ANALYZERS_JAR=$withval ,)
AC_ARG_WITH(system-mysql,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-mysql],
2011-05-15 02:11:48 +03:00
[Use MySQL libraries already on system, for building the MySQL Connector/LibreOffice
extension. Requires MYSQLCONFIG to point to the mysql_config executable.]))
AC_ARG_WITH(libmysql-path,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-libmysql-path],
[Use Connector/C (libmysql) installation for building the MySQL
2011-05-15 02:11:48 +03:00
Connector/LibreOffice extension.])
2010-11-03 14:14:16 +00:00
[
Usage: --with-libmysql-path=<absolute path to
your Connector/C installation>
],
,)
AC_ARG_WITH(system-mysql-cppconn,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-mysql-cppconn],
[Use MySQL C++ Connector libraries already on system.]))
AC_ARG_WITH(system-hsqldb,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-hsqldb],
[Use hsqldb already on system.]))
AC_ARG_WITH(hsqldb-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-hsqldb-jar=JARFILE],
[Specify path to jarfile manually.]),
HSQLDB_JAR=$withval)
AC_ARG_WITH(system-beanshell,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-beanshell],
[Use beanshell already on system.]))
AC_ARG_WITH(beanshell-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-beanshell-jar=JARFILE],
[Specify path to jarfile manually.]),
BSH_JAR=$withval)
AC_ARG_WITH(commons-codec-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-commons-codec-jar=JARFILE],
[Specify path to jarfile manually.]),
COMMONS_CODEC_JAR=$withval)
AC_ARG_WITH(commons-lang-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-commons-lang-jar=JARFILE],
[Specify path to jarfile manually.]),
COMMONS_LANG_JAR=$withval)
AC_ARG_WITH(commons-httpclient-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-commons-httpclient-jar=JARFILE],
[Specify path to jarfile manually.]),
COMMONS_HTTPCLIENT_JAR=$withval)
AC_ARG_WITH(commons-logging-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-commons-logging-jar=JARFILE],
[Specify path to jarfile manually.]),
COMMONS_LOGGING_JAR=$withval)
AC_ARG_WITH(servlet-api-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-servlet-api-jar=JARFILE],
[Specify path to jarfile manually.]),
SERVLETAPI_JAR=$withval)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_ARG_WITH(system-jfreereport,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-jfreereport],
[Use JFreeReport already on system.]))
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_ARG_WITH(sac-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-sac-jar=JARFILE],
[Specify path to jarfile manually.]),
SAC_JAR=$withval)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_ARG_WITH(libxml-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-libxml-jar=JARFILE],
[Specify path to jarfile manually.]),
LIBXML_JAR=$withval)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_ARG_WITH(flute-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-flute-jar=JARFILE],
[Specify path to jarfile manually.]),
FLUTE_JAR=$withval)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_ARG_WITH(jfreereport-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-jfreereport-jar=JARFILE],
[Specify path to jarfile manually.]),
JFREEREPORT_JAR=$withval)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_ARG_WITH(liblayout-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-liblayout-jar=JARFILE],
[Specify path to jarfile manually.]),
LIBLAYOUT_JAR=$withval)
AC_ARG_WITH(libloader-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-libloader-jar=JARFILE],
[Specify path to jarfile manually.]),
LIBLOADER_JAR=$withval)
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
AC_ARG_WITH(libloader-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-libloader-jar=JARFILE],
[Specify path to jarfile manually.]),
LIBLOADER_JAR=$withval)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_ARG_WITH(libformula-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-libformula-jar=JARFILE],
[Specify path to jarfile manually.]),
LIBFORMULA_JAR=$withval)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_ARG_WITH(librepository-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-librepository-jar=JARFILE],
[Specify path to jarfile manually.]),
LIBREPOSITORY_JAR=$withval)
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
AC_ARG_WITH(libfonts-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-libfonts-jar=JARFILE],
[Specify path to jarfile manually.]),
LIBFONTS_JAR=$withval)
CWS-TOOLING: integrate CWS rptfix04 2009-02-23 01:59:54 +0100 rene r268341 : #i10000# fix system-jfreereport build 2009-02-13 10:17:16 +0100 oj r267696 : #i98549# integrate zip form pentaho package 2009-02-03 14:48:34 +0100 oj r267330 : set formula locale to doc locale 2009-02-03 14:45:54 +0100 oj r267329 : set formula locale to doc locale 2009-02-03 11:50:03 +0100 oj r267311 : set formula locale to doc locale 2009-02-03 08:55:02 +0100 oj r267297 : unix line ends 2009-01-28 11:21:24 +0100 rene r267043 : #i98549# s/DESIGN/BUILDER/ also for Sun 2009-01-27 17:17:50 +0100 rene r267012 : merge builfix from trunk 2009-01-27 14:16:30 +0100 rene r266991 : #i10000# fix rebase which left out the whole changes in former config_office; sync variable names (s/LIB_//) and some other things 2009-01-27 10:01:09 +0100 oj r266959 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266944 (milestone: DEV300:m40) 2009-01-27 08:00:16 +0100 oj r266951 : conflict in mergeinfo 2009-01-26 12:23:03 +0100 oj r266914 : #i98383# fix grouping 2009-01-23 22:03:03 +0100 rene r266852 : fix --enable-report-builder description 2009-01-23 10:37:27 +0100 oj r266778 : set escape processing when set at query 2009-01-23 09:17:16 +0100 fs r266770 : add CWS name to version 2009-01-21 13:57:35 +0100 oj r266669 : merge for build bots 2009-01-20 09:07:24 +0100 oj r266552 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-20 08:34:16 +0100 oj r266551 : rebase 2009-01-20 08:33:59 +0100 oj r266550 : rebase 2009-01-20 08:32:50 +0100 oj r266549 : rebase 2009-01-20 08:30:13 +0100 oj r266548 : rebase 2009-01-20 08:29:30 +0100 oj r266547 : rebase 2009-01-20 08:22:33 +0100 oj r266546 : merge short cuts from dba31g 2009-01-19 21:04:08 +0100 rene r266525 : #i10000# we need officecfg for component-update.dtd 2009-01-19 21:01:26 +0100 rene r266524 : #i10000# fix import 2009-01-19 20:26:20 +0100 rene r266523 : #i10000# remove svn conflicts markers; fix build 2009-01-19 14:23:56 +0100 rene r266496 : libbase depends on apache-commons.. 2009-01-19 14:00:42 +0100 oj r266495 : merge from m39 2009-01-19 12:39:00 +0100 oj r266489 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-16 11:47:04 +0100 oj r266410 : #i97560# add , between expressions 2009-01-09 17:11:38 +0100 rene r266103 : don't show "checking which Apache commons-* libs to use" when we neither build the wiki editor nor the SRB 2009-01-09 16:48:02 +0100 rene r266099 : #i10000# reportbuilder needs apache-commons 2009-01-09 15:43:35 +0100 oj r266093 : use of new nspaces 2009-01-09 15:41:34 +0100 oj r266092 : use of new nspaces 2009-01-09 14:44:15 +0100 rene r266088 : fix typo/description 2009-01-09 12:48:51 +0100 rene r266074 : #i10000# fix install 2009-01-09 11:52:53 +0100 rene r266070 : #i10000# more build fixes 2009-01-09 10:53:13 +0100 rene r266062 : #i10000# ENABLE_REPORTBUILDER also in set_soenv.in, fix typo 2009-01-09 10:40:24 +0100 rene r266060 : #i10000# configure fix for new reportbuilder module, typo fix at libfonts 2009-01-09 10:01:52 +0100 rene r266055 : #i10000# adapt to current configure.in 2009-01-09 09:59:32 +0100 oj r266054 : add new pentaho jars 2009-01-09 09:47:54 +0100 oj r266049 : merge changes from DEV300_m39 2009-01-09 09:14:08 +0100 oj r266048 : merge from DEV300_m39 2009-01-09 08:28:43 +0100 oj r266045 : merge changes from dba31g 2009-01-09 07:58:10 +0100 oj r266044 : replace JCOMMON with LIB 2009-01-08 13:42:24 +0100 oj r266005 : move ext to reportbuilder 2009-01-08 13:41:38 +0100 oj r266004 : add dep for license 2009-01-08 13:27:56 +0100 oj r266001 : new module for Sun report Builder extension 2009-01-07 12:58:13 +0100 oj r265960 : CWS-TOOLING: rebase CWS rptfix04 to trunk@265758 (milestone: DEV300:m38) 2008-12-15 13:47:18 +0100 oj r265481 : new pentaho resources 2008-12-15 10:04:01 +0100 oj r265462 : integrate new pentaho sources 2008-12-15 10:02:54 +0100 oj r265461 : #i96888# fix date time function 2008-12-12 09:23:29 +0100 oj r265389 : #97174# check of res < 0 removed 2008-12-12 09:15:54 +0100 oj r265388 : #i9716# fix for DayFunction 2008-12-11 12:24:24 +0100 oj r265281 : integrate new pentaho sources 2008-12-11 11:49:16 +0100 oj r265273 : integrate new pentaho sources 2008-12-11 09:34:07 +0100 oj r265248 : integrate new pentaho sources 2008-12-10 18:58:06 +0100 oj r265227 : introduce new pentaho sources 2008-12-10 18:56:43 +0100 oj r265226 : introduce new pentaho sources 2008-12-10 18:54:26 +0100 oj r265225 : introduce new pentaho sources 2008-12-10 18:42:59 +0100 oj r265221 : introduce new pentaho sources 2008-12-10 17:24:23 +0100 oj r265212 : introduce new pentaho sources 2008-12-10 17:24:07 +0100 oj r265211 : new pentaho sources 2008-12-10 17:23:00 +0100 oj r265210 : introduce new pentaho sources
2009-03-04 15:27:10 +00:00
AC_ARG_WITH(libserializer-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-libserializer-jar=JARFILE],
[Specify path to jarfile manually.]),
LIBSERIALIZER_JAR=$withval)
CWS-TOOLING: integrate CWS rptfix04 2009-02-23 01:59:54 +0100 rene r268341 : #i10000# fix system-jfreereport build 2009-02-13 10:17:16 +0100 oj r267696 : #i98549# integrate zip form pentaho package 2009-02-03 14:48:34 +0100 oj r267330 : set formula locale to doc locale 2009-02-03 14:45:54 +0100 oj r267329 : set formula locale to doc locale 2009-02-03 11:50:03 +0100 oj r267311 : set formula locale to doc locale 2009-02-03 08:55:02 +0100 oj r267297 : unix line ends 2009-01-28 11:21:24 +0100 rene r267043 : #i98549# s/DESIGN/BUILDER/ also for Sun 2009-01-27 17:17:50 +0100 rene r267012 : merge builfix from trunk 2009-01-27 14:16:30 +0100 rene r266991 : #i10000# fix rebase which left out the whole changes in former config_office; sync variable names (s/LIB_//) and some other things 2009-01-27 10:01:09 +0100 oj r266959 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266944 (milestone: DEV300:m40) 2009-01-27 08:00:16 +0100 oj r266951 : conflict in mergeinfo 2009-01-26 12:23:03 +0100 oj r266914 : #i98383# fix grouping 2009-01-23 22:03:03 +0100 rene r266852 : fix --enable-report-builder description 2009-01-23 10:37:27 +0100 oj r266778 : set escape processing when set at query 2009-01-23 09:17:16 +0100 fs r266770 : add CWS name to version 2009-01-21 13:57:35 +0100 oj r266669 : merge for build bots 2009-01-20 09:07:24 +0100 oj r266552 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-20 08:34:16 +0100 oj r266551 : rebase 2009-01-20 08:33:59 +0100 oj r266550 : rebase 2009-01-20 08:32:50 +0100 oj r266549 : rebase 2009-01-20 08:30:13 +0100 oj r266548 : rebase 2009-01-20 08:29:30 +0100 oj r266547 : rebase 2009-01-20 08:22:33 +0100 oj r266546 : merge short cuts from dba31g 2009-01-19 21:04:08 +0100 rene r266525 : #i10000# we need officecfg for component-update.dtd 2009-01-19 21:01:26 +0100 rene r266524 : #i10000# fix import 2009-01-19 20:26:20 +0100 rene r266523 : #i10000# remove svn conflicts markers; fix build 2009-01-19 14:23:56 +0100 rene r266496 : libbase depends on apache-commons.. 2009-01-19 14:00:42 +0100 oj r266495 : merge from m39 2009-01-19 12:39:00 +0100 oj r266489 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-16 11:47:04 +0100 oj r266410 : #i97560# add , between expressions 2009-01-09 17:11:38 +0100 rene r266103 : don't show "checking which Apache commons-* libs to use" when we neither build the wiki editor nor the SRB 2009-01-09 16:48:02 +0100 rene r266099 : #i10000# reportbuilder needs apache-commons 2009-01-09 15:43:35 +0100 oj r266093 : use of new nspaces 2009-01-09 15:41:34 +0100 oj r266092 : use of new nspaces 2009-01-09 14:44:15 +0100 rene r266088 : fix typo/description 2009-01-09 12:48:51 +0100 rene r266074 : #i10000# fix install 2009-01-09 11:52:53 +0100 rene r266070 : #i10000# more build fixes 2009-01-09 10:53:13 +0100 rene r266062 : #i10000# ENABLE_REPORTBUILDER also in set_soenv.in, fix typo 2009-01-09 10:40:24 +0100 rene r266060 : #i10000# configure fix for new reportbuilder module, typo fix at libfonts 2009-01-09 10:01:52 +0100 rene r266055 : #i10000# adapt to current configure.in 2009-01-09 09:59:32 +0100 oj r266054 : add new pentaho jars 2009-01-09 09:47:54 +0100 oj r266049 : merge changes from DEV300_m39 2009-01-09 09:14:08 +0100 oj r266048 : merge from DEV300_m39 2009-01-09 08:28:43 +0100 oj r266045 : merge changes from dba31g 2009-01-09 07:58:10 +0100 oj r266044 : replace JCOMMON with LIB 2009-01-08 13:42:24 +0100 oj r266005 : move ext to reportbuilder 2009-01-08 13:41:38 +0100 oj r266004 : add dep for license 2009-01-08 13:27:56 +0100 oj r266001 : new module for Sun report Builder extension 2009-01-07 12:58:13 +0100 oj r265960 : CWS-TOOLING: rebase CWS rptfix04 to trunk@265758 (milestone: DEV300:m38) 2008-12-15 13:47:18 +0100 oj r265481 : new pentaho resources 2008-12-15 10:04:01 +0100 oj r265462 : integrate new pentaho sources 2008-12-15 10:02:54 +0100 oj r265461 : #i96888# fix date time function 2008-12-12 09:23:29 +0100 oj r265389 : #97174# check of res < 0 removed 2008-12-12 09:15:54 +0100 oj r265388 : #i9716# fix for DayFunction 2008-12-11 12:24:24 +0100 oj r265281 : integrate new pentaho sources 2008-12-11 11:49:16 +0100 oj r265273 : integrate new pentaho sources 2008-12-11 09:34:07 +0100 oj r265248 : integrate new pentaho sources 2008-12-10 18:58:06 +0100 oj r265227 : introduce new pentaho sources 2008-12-10 18:56:43 +0100 oj r265226 : introduce new pentaho sources 2008-12-10 18:54:26 +0100 oj r265225 : introduce new pentaho sources 2008-12-10 18:42:59 +0100 oj r265221 : introduce new pentaho sources 2008-12-10 17:24:23 +0100 oj r265212 : introduce new pentaho sources 2008-12-10 17:24:07 +0100 oj r265211 : new pentaho sources 2008-12-10 17:23:00 +0100 oj r265210 : introduce new pentaho sources
2009-03-04 15:27:10 +00:00
AC_ARG_WITH(libbase-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-libbase-jar=JARFILE],
[Specify path to jarfile manually.]),
LIBBASE_JAR=$withval)
AC_ARG_WITH(system-saxon,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-saxon],
[Use saxon already on system.]))
AC_ARG_WITH(saxon-jar,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-saxon-jar=JARFILE],
[Specify path to jarfile manually.]),
SAXON_JAR=$withval)
AC_ARG_WITH(system-libxslt,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-libxslt],
[Use libxslt already on system.]))
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_ARG_WITH(system-odbc,
AS_HELP_STRING([--with-system-odbc],
[Use the odbc headers already on system.]))
AC_ARG_WITH(system-sane,
AS_HELP_STRING([--with-system-sane],
[Use sane.h already on system.]))
AC_ARG_WITH(system-xrender-headers,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-xrender-headers],
[Use XRender headers already on system.]))
AC_ARG_WITH(system-mesa-headers,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-mesa-headers],
[Use Mesa headers already on system.]))
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_ARG_WITH(system-curl,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-curl],
[Use curl already on system.]))
AC_ARG_WITH(system-boost,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-boost],
[Use boost already on system.]))
AC_ARG_WITH(system-mdds,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-mdds],
[Use mdds already on system.]))
AC_ARG_WITH(system-vigra,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-vigra],
[Use vigra already on system.]))
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_ARG_WITH(system-neon,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-neon],
[Use neon already on system.]))
AC_ARG_WITH(system-hunspell,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-hunspell],
[Use libhunspell already on system.]))
AC_ARG_WITH(system-mythes,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-mythes],
[Use mythes already on system.]))
AC_ARG_WITH(system-altlinuxhyph,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-altlinuxhyph],
[Use ALTLinuxhyph already on system.]))
AC_ARG_WITH(system-lpsolve,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-lpsolve],
[Use lpsolve already on system.]))
AC_ARG_WITH(system-libexttextcat,
AS_HELP_STRING([--with-system-libexttextcat],
[Use libexttextcat already on system.]))
2010-03-03 21:01:44 +01:00
AC_ARG_WITH(system-cppunit,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-cppunit],
[Use cppunit already on system.]))
AC_ARG_WITH(system-redland,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-redland],
[Use redland library already on system.]))
AC_ARG_WITH(system-mozilla,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-system-mozilla],
2011-05-15 02:11:48 +03:00
[Use Mozilla already on system. Note that some components cannot be built
against a contemporary Mozilla. The flavour used can be specified by
2010-11-03 14:14:16 +00:00
--with-system-mozilla=<flavour>. Supported are: libxul (default),
xulrunner, firefox, seamonkey, mozilla.]),
WITH_SYSTEM_MOZILLA=$withval ,
WITH_SYSTEM_MOZILLA=no)
AC_ARG_WITH(system-gettext,
AS_HELP_STRING([--with-system-gettext],
[Use gettext runtime library already on system.]))
AC_ARG_WITH(system-libpng,
AS_HELP_STRING([--with-system-libpng],
[Use libpng already on system.]))
AC_ARG_WITH(linker-hash-style,
AS_HELP_STRING([--with-linker-hash-style],
[Use linker with --hash-style=<style> when linking shared objects.
Possible values: "sysv", "gnu", "both". The default value is "gnu"
if supported on the build system, and "sysv" otherwise.]))
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_ARG_WITH(stlport,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-stlport],
[Build the STLPort library for compatibility with old extensions for
architectures where STLPort used to be used.]),
with_stlport=$withval ,
with_stlport=auto)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
2000-09-18 15:18:56 +00:00
AC_ARG_WITH(jdk-home,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-jdk-home],
[If you have installed JDK 1.3 or later on your system please supply the
2011-05-21 02:45:18 +03:00
path here. Note that this is not the location of the java command but the
2010-11-03 14:14:16 +00:00
location of the entire distribution.])
[
Usage: --with-jdk-home=<absolute path to JDK home>
],
,)
AC_ARG_WITH(gxx_include_path,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-gxx-include-path],
[If you want to override the autodetected g++ include path.])
[
Usage: --with-gxx-include-path=<absolute path to
g++ include dir>
],
,)
2011-08-11 18:36:53 +02:00
AC_ARG_WITH(help,
AS_HELP_STRING([--with-help],
[Enable the build of help.
To build without help, use --without-help.]))
AC_ARG_WITH(java,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-java],
2011-05-21 02:45:18 +03:00
[Specify the name of the Java interpreter command. Typically "java"
which is the default.
To build without support for Java components, applets, accessibility
or the XML filters written in Java, use --without-java or --with-java=no.])
[
Usage: --with-java==<java command>
--without-java
],
[ test -z "$with_java" -o "$with_java" = "yes" && with_java=java ],
[ with_java=java ]
)
AC_ARG_WITH(java_target_version,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-java-target-version],
[Generate class files that will work on JVMs with the specified version.
For example, use --with-java-target-version=1.4 to make sure that the
application will work with JVM 1.4 even when compiled with JDK 1.5.])
[
This option is ignored when you compile with gcj/gij.
Usage: --with-java-target-version=<jvm version>
],
,)
AC_ARG_WITH(jvm-path,
AS_HELP_STRING([--with-jvm-path],
[Use a specific JVM search path at runtime.])
[
Usage: --with-jvm-path=<absolute path to parent of jvm home>
e. g.: --with-jvm-path=/usr/lib/
to find JRE/JDK in /usr/lib/jvm/
],
,)
2011-05-21 02:45:18 +03:00
AC_ARG_WITH(ant-home,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-ant-home],
[If you have installed Jakarta Ant on your system, please supply the path here.
Note that this is not the location of the Ant binary but the location
of the entire distribution.])
[
Usage: --with-ant-home=<absolute path to Ant home>
],
,)
2010-02-15 18:28:00 +01:00
AC_ARG_WITH(junit,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-junit],
[Specifies the JUnit 4 jar file to use for JUnit-based tests.
--without-junit disables those tests. Not relevant in the --without-java case.])
[
Usage: --with-junit=<absolute path to JUnit 4 jar>
],
,with_junit=yes)
2010-02-15 18:28:00 +01:00
2000-09-18 15:18:56 +00:00
AC_ARG_WITH(perl-home,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-perl-home],
2011-05-21 02:45:18 +03:00
[If you have installed Perl 5 Distribution, on your system, please
2010-11-03 14:14:16 +00:00
supply the path here. Note that this is not the location of the Perl
binary but the location of the entire distribution.])
[
Usage: --with-perl-home=<abs. path to Perl 5 home>
],
,)
AC_ARG_WITH(cl-home,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-cl-home],
[For Windows NT users, please supply the path for the Microsoft C/C++
compiler. Note that this is not the location of the compiler binary but
the location of the entire distribution.])
[
Usage: --with-cl-home=<absolute path to Microsoft
C/C++ compiler home>
],
,)
AC_ARG_WITH(mspdb-path,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-mspdb-path],
[For Microsoft C/C++ compiler users, please supply the path pointing to
2011-10-02 17:48:03 -04:00
the mspdb80.dll (if using Visual Studio 2008) or mspdb100.dll (if using
2010-11-03 14:14:16 +00:00
Visual Studio 2010).])
[
Usage: --with-mspdb-path=<path to
mspdb80.dll/mspdb100.dll>
],
,)
AC_ARG_WITH(midl-path,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-midl-path],
[For Microsoft compiler users, please supply the path pointing to the midl.exe.])
[
Usage: --with-midl-path=<abs. path to midl.exe>
],
,)
AC_ARG_WITH(csc-path,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-csc-path],
[For Windows builds, please supply the path pointing to the csc.exe.
Usually found automatically when building on Windows.])
2010-11-03 14:14:16 +00:00
[
Usage: --with-csc-path=<abs. path to csc.exe>
],
,)
AC_ARG_WITH(nsis-path,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-nsis-path],
[For Windows builds, please supply the directory where makensis
is located. If makensis is found in PATH or this option is
2011-05-19 19:20:19 +03:00
properly supplied a self-contained executable installer for
LibreOffice will be created.])
2010-11-03 14:14:16 +00:00
[
2011-05-19 19:20:19 +03:00
Usage: --with-nsis-path=<path to directory containing makensis>
2010-11-03 14:14:16 +00:00
],
,)
AC_ARG_WITH(dotnet-framework-home,
AS_HELP_STRING([--with-dotnet-framework-home],
2010-11-03 14:14:16 +00:00
[For Microsoft compiler users, please supply the path pointing to
lib/mscoree.lib, usually something like:
"/cygdrive/c/Program Files/Windows SDKs/Windows/v7.0"])
[
Note that in most cases it will be automatically
found, though.
Usage: --with-dotnet-framework-home=<absolute path to .NET
Framework>
2010-11-03 14:14:16 +00:00
],
,)
AC_ARG_WITH(windows-sdk-home,
AS_HELP_STRING([--with-windows-sdk-home],
[For Windows builds, please supply the path to the Windows SDK.
Usually found automatically when building on Windows.])
2010-11-03 14:14:16 +00:00
[
Usage: --with-windows-sdk-home=<absolute path to Windows SDK>
2010-11-03 14:14:16 +00:00
],
,)
AC_ARG_WITH(directx-home,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-directx-home],
[For Windows users, please supply the path to the Microsoft DirectX SDK.])
[
Usage: --with-directx-home=<absolute path to
Microsoft DirectX SDK>
],
,)
CWS-TOOLING: integrate CWS jl127 2009-07-30 10:12:10 +0200 jl r274470 : #i100873# switch on checking for symbol definitions. It works with the current xpcom lib. 2009-07-29 09:48:29 +0200 jl r274443 : #i100873# 2009-07-29 09:47:36 +0200 jl r274442 : #i100873# changes after resync with DEV300m53 which contains the seamonkey update 2009-07-28 10:00:03 +0200 jl r274389 : #100873# Patches from tono 2009-07-27 16:59:39 +0200 jl r274372 : CWS-TOOLING: rebase CWS jl127 to trunk@274203 (milestone: DEV300:m53) 2009-07-07 09:08:53 +0200 jl r273768 : #100873# 2009-07-06 17:16:10 +0200 jl r273754 : #100873# 2009-07-01 13:58:09 +0200 jl r273576 : #100873# added to readme 2009-07-01 13:15:02 +0200 jl r273573 : #100873# deliver lib files when building with MS compiler 2009-06-30 11:22:06 +0200 jl r273498 : #i100873# accidentally commented out patch_files 2009-06-30 09:01:10 +0200 jl r273489 : #100873# make rc.exe work in ooo windows build 2009-06-29 09:47:56 +0200 jl r273451 : #i100873# applied mingw patch from tono 2009-06-24 12:52:14 +0200 jl r273332 : #100873# reapplying the configure.in patch on version 273150 2009-06-24 12:51:12 +0200 jl r273331 : #100873# reapplying the patch on version 273150 2009-06-23 17:17:36 +0200 jl r273299 : #100873# manually modified patch from tono 2009-06-22 17:05:41 +0200 jl r273243 : #100873# applying mingw patch from tono 2009-06-22 17:02:30 +0200 jl r273242 : #100873# applying mingw patch from tono 2009-06-22 12:49:57 +0200 jl r273216 : #100873# dependency to stlport 2009-06-19 11:56:16 +0200 jl r273155 : #100873# undoing a previous change, instset_native complained about missing libjpipe.jnilib (jurt) 2009-06-19 10:13:03 +0200 jl r273150 : #100873# ooo builds shall also use the new nss by default 2009-06-18 14:32:07 +0200 jl r273117 : #110873# more debug output when verifying a certificate 2009-06-16 11:23:50 +0200 jl r273012 : #i10873# 2009-06-16 10:57:41 +0200 jl r273011 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-16 10:56:45 +0200 jl r273010 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-15 16:20:42 +0200 jl r272996 : #100873# initialization of NSS is now threadsafe 2009-06-10 12:50:46 +0200 jl r272804 : #100873# rename in foreach fails in 4nt 2009-06-09 13:43:00 +0200 jl r272768 : #i100873# deliver only .h from inc/nss otherwise we get a warning when nss/nssck.api is delivered 2009-06-08 16:15:44 +0200 jl r272739 : #i100873# 2009-06-08 16:04:54 +0200 jl r272738 : #i100873# 2009-06-08 15:45:52 +0200 jl r272736 : #i100873# 2009-06-08 15:44:15 +0200 jl r272735 : #i100873# unzipping of nss.tar.z not working with 4nt 2009-06-08 09:45:46 +0200 jl r272720 : #i100873# 2009-06-03 13:53:52 +0200 jl r272562 : #i100873# MOZILLABUILD not correct 2009-06-03 13:17:54 +0200 jl r272557 : #i100873# readme and makefile changes from cws jl125, support of new nss module 2009-06-03 09:57:40 +0200 jl r272544 : #i100873# added readme 2009-06-02 16:47:47 +0200 jl r272512 : #i100873# removed no longer needed stuff regarding jnilibs 2009-06-02 15:54:42 +0200 jl r272510 : #i100873# added NSS to BUILD_TYPE 2009-06-02 15:20:18 +0200 jl r272508 : #i100873# DEREFERENCE option for copy command 2009-06-02 13:00:12 +0200 jl r272496 : #i100873# PATCH_FILE_NAMES is now PATCH_FILES 2009-06-02 12:23:39 +0200 jl r272494 : #i100873# build dependency to nss 2009-05-29 16:21:40 +0200 jl r272470 : #i100873# seting ENABLE_NSS_MODULE==YES and includeing mozilla-build-1.3 folder in environment 2009-05-29 16:03:23 +0200 jl r272468 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:57:16 +0200 jl r272466 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:49:58 +0200 jl r272464 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:33:14 +0200 jl r272463 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:28:39 +0200 jl r272461 : #i100873# build dependency to nss module 2009-05-29 15:24:57 +0200 jl r272460 : #i100873# pass additional certificates into verifyCertificate function 2009-05-29 14:49:40 +0200 jl r272458 : #i100873# new NSS module 2009-05-29 14:43:44 +0200 jl r272457 : #i100873# new NSS module
2009-08-26 08:22:01 +00:00
AC_ARG_WITH(mozilla-build,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-mozilla-build],
[For Windows users, please supply the path to the Mozilla build tools.])
2010-11-03 14:14:16 +00:00
[
Usage: --with-mozilla-build=<absolute path to
Mozilla build tools>
2010-11-03 14:14:16 +00:00
At the moment of this writing, an installer for the
mozilla build tools can be obtained from http://ftp.
mozilla.org/pub/mozilla.org/mozilla/libraries/win32.
],
MOZILLABUILD=$withval ,
)
2000-09-18 15:18:56 +00:00
AC_ARG_WITH(local-solver,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-local-solver],
[If you have solver in a location other than ./solver, please supply the path here.])
[
Usage: --with-local-solver=<abs. path to solver>
],
,)
AC_ARG_WITH(lang,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-lang],
[Use this option to build LibreOffice with additional language support.
English (US) is always included by default.
Separate multiple languages with space.
For all languages, use --with-lang=ALL.])
[
Usage: --with-lang="es sw tu cs sk"
],
,)
2011-09-01 09:39:11 +02:00
dnl ===================================================================
dnl Branding
dnl ===================================================================
AC_ARG_WITH(intro-bitmap,
[ --with-intro-bitmap Prefer the specified intro bitmap over the
the default one.
Usage: --with-intro-bitmap=/path/my_ooo_intro.png
],,)
2011-09-01 09:39:11 +02:00
AC_ARG_WITH(intro-progressbar-color,
[ --with-intro-progressbar-color Set color of progress bar on intro screen.
Comma separated RGB values in decimal format.
Usage: --with-intro-progressbar-color=126,170,23
],,)
AC_ARG_WITH(intro-progressbar-size,
[ --with-intro-progressbar-size Set size of progress bar on intro screen.
Comma separated values in decimal format.
Usage: --with-intro-progressbar-size=319,10
],,)
AC_ARG_WITH(intro-progressbar-position,
[ --with-intro-progressbar-position Set position of progress bar on intro screen.
Comma separated values in decimal format.
Usage: --with-intro-progressbar-position=164,225
],,)
AC_ARG_WITH(intro-progressbar-frame-color,
[ --with-intro-progressbar-frame-color Set color of progress bar frame on intro screen.
Comma separated RGB values in decimal format.
Usage: --with-intro-progressbar-frame-color=207,208,211
],,)
AC_ARG_WITH(about-bitmap,
[ --with-about-bitmap Similarly to --with-intro-bitmap, this allows
specification of bitmap for the About box.
Usage: --with-about-bitmap=/path/my_ooo_about.png
],,)
2011-09-01 09:39:11 +02:00
AC_ARG_WITH(startcenter-left-bitmap,
[ --with-startcenter-left-bitmap Similarly to --with-intro-bitmap, this allows
specification of bitmap for the Start center.
Usage: --with-startcenter-left-bitmap=/path/my_backing_left.png
],,)
AC_ARG_WITH(startcenter-right-bitmap,
[ --with-startcenter-right-bitmap Similarly to --with-intro-bitmap, this allows
specification of bitmap for the Start center.
Usage: --with-startcenter-right-bitmap=/path/my_backing_right.png
],,)
AC_ARG_WITH(startcenter-rtl-left-bitmap,
[ --with-startcenter-rtl-left-bitmap Similarly to --with-intro-bitmap, this allows
specification of bitmap for the Start center.
Usage: --with-startcenter-rtl-left-bitmap=/path/my_backing_rtl_left.png
],,)
AC_ARG_WITH(startcenter-rtl-right-bitmap,
[ --with-startcenter-rtl-right-bitmap Similarly to --with-intro-bitmap, this allows
specification of bitmap for the Start center.
Usage: --with-startcenter-rtl-right-bitmap=/path/my_backing_rtl_right.png
],,)
AC_ARG_WITH(startcenter-space-bitmap,
[ --with-startcenter-space-bitmap Similarly to --with-intro-bitmap, this allows
specification of bitmap for the Start center.
Usage: --with-startcenter-space-bitmap=/path/my_backing_space.png
],,)
AC_ARG_WITH(vendor,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-vendor],
[Set vendor of the build.])
[
Usage: --with-vendor="John the Builder"
],
,)
AC_ARG_WITH(unix-wrapper,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-unix-wrapper],
[Redefines the name of the UNIX wrapper that will be used in the desktop
files and in the desktop-integration RPMs.])
[
Usage: --with-unix-wrapper=ooffice
],
,)
AC_ARG_WITH(compat-oowrappers,
AS_HELP_STRING([--with-compat-oowrappers],
[Install oo* wrappers in parallel with
lo* ones to keep backward compatibility.
Has effect only with make distro-pack-install]),
,)
AC_ARG_WITH(asm-home,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-asm-home],
[For Windows, please supply the path for the ml.exe or ml64.exe assembler.])
2010-11-03 14:14:16 +00:00
[
Usage: --with-asm-home=<path to assembler directory>
2010-11-03 14:14:16 +00:00
],
,)
AC_ARG_WITH(os-version,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-os-version],
[For FreeBSD users, use this option option to override the detected OSVERSION.])
[
Usage: --with-os-version=<OSVERSION>
],
,)
AC_ARG_WITH(mingw-cross-compiler,
AS_HELP_STRING([--with-mingw-cross-compiler],
[Specify the MinGW cross-compiler to use.])
[
Usage: --with-mingw-cross-compiler=<mingw32-g++ command>
When building on the ODK on Unix and building unowinreg.dll,
specify the MinGW C++ cross-compiler.
],
,)
AC_ARG_WITH(build-version,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-build-version],
[Allows the builder to add a custom version tag that will appear in the
Help/About box for QA purposes.])
[
Usage: --with-build-version="Built by Jim"
],
with_build_version=$withval ,
)
AC_ARG_WITH(alloc,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-alloc],
[Define which allocator to build with (choices are oo, system, tcmalloc, jemalloc).
Note that on FreeBSD/NetBSD system==jemalloc]),
,)
AC_ARG_WITH(sun-templates,
2010-11-03 14:14:16 +00:00
AS_HELP_STRING([--with-sun-templates],
[Integrate Sun template packages.]),
,)
AC_ARG_WITH(num-cpus,
AS_HELP_STRING([--with-num-cpus],
[Number of build processes/cpus to use (number of projects that will build at the same time).
Multi-process/multi-cpu builds can save a lot of time on multi-cpu machines.
Defaults to the number of CPUs on the machine.]),
,)
AC_ARG_WITH(max-jobs,
AS_HELP_STRING([--with-max-jobs],
2011-07-29 19:33:43 +02:00
[Maximum number of jobs per one CPU that will be issued at the same time by dmake.
The real number of the jobs is affected by the --with-num-cpus too, it can get up to CPUS*max_jobs.
Defaults to 1, unless you configure --enable-icecream - then to 10.]),
,)
dnl ===================================================================
dnl MacOSX build and runtime environment options
dnl ===================================================================
AC_ARG_WITH(macosx-sdk,
AS_HELP_STRING([--with-macosx-sdk],
[Use a specific SDK for building.])
[
Usage: --with-macosx-sdk=<version>
e. g.: --with-macosx-sdk=10.4
there are 3 options to controle the MacOSX build:
--with-macosx-sdk (refered as 'sdl' below)
--with-macosx-version-min-required (refered as 'min' below)
--with-macosx-version-max-allowed (refered as 'max' below)
the connection between these value and the default they take is as follow:
( ? means not specified on the command line, constraint: x <= y <= z)
==========================================
command line || config result
==========================================
min | max | sdk || min | max | sdk |
? | ? | ? || 10.4 | 10.4 | 10.4 |
? | ? | 10.x || 10.4 | 10.4 | 10.x |
? | 10.x | ? || 10.4 | 10.x | 10.x |
? | 10.x | 10.y || 10.4 | 10.x | 10.y |
10.x | ? | ? || 10.x | 10.x | 10.x |
10.x | ? | 10.y || 10.x | 10.x | 10.y |
10.x | 10.y | ? || 10.x | 10.y | 10.y |
10.x | 10.y | 10.z || 10.x | 10.y | 10.z |
see: http://developer.apple.com/library/mac/#technotes/tn2064/_index.html
for a detailled technical explanation of these variables
Note: MACOSX_DEPLOYMENT_TARGET will be set to the value of 'min'.
],
,)
AC_ARG_WITH(macosx-version-min-required,
AS_HELP_STRING([--with-macosx-version-min-required],
[set the minimum OS version needed to run the built LibreOffice])
[
Usage: --with-macosx-version-min-required=<version>
e. g.: --with-macos-version-min-required=10.4
see --with-macosx-sdk for more info
],
,)
AC_ARG_WITH(macosx-version-max-allowed,
AS_HELP_STRING([--with-macosx-version-max-allowed],
[set the maximum allowed OS version the LibreOffice compilation can use APIs from])
[
Usage: --with-macosx-version-max-allowed=<version>
e. g.: --with-macos-version-max-allowed=10.6
see --with-macosx-sdk for more info
],
,)
BUILD_TYPE="LibO"
SCPDEFS=""
2011-08-11 18:36:53 +02:00
GIT_REPO_NAMES=""
MINGW_EXTERNAL_DLLS=""
if test -n "$SOLARENV" ; then
AC_MSG_ERROR([You have sourced Env.Host.sh in this shell. This may lead to trouble, please run in a fresh (login) shell.])
fi
2000-09-18 15:18:56 +00:00
echo "********************************************************************"
echo "*"
echo "* Running ${PACKAGE_NAME} build configuration."
echo "*"
2000-09-18 15:18:56 +00:00
echo "********************************************************************"
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
echo ""
dnl ===================================================================
dnl checks build and host OSes
dnl ===================================================================
2011-09-25 12:19:43 -04:00
AC_CANONICAL_HOST
if test "$cross_compiling" = "yes"; then
2011-07-04 02:20:26 -05:00
CROSS_COMPILING=YES
else
2011-07-04 02:20:26 -05:00
CROSS_COMPILING=
BUILD_TYPE="$BUILD_TYPE NATIVE"
fi
AC_SUBST(CROSS_COMPILING)
if test "$build_os" = "cygwin"; then
2011-07-04 02:20:26 -05:00
EXEEXT_FOR_BUILD=.exe
else
2011-07-04 02:20:26 -05:00
EXEEXT_FOR_BUILD=
fi
AC_SUBST(EXEEXT_FOR_BUILD)
2000-09-18 15:18:56 +00:00
dnl ===================================================================
dnl check for required programs (grep, awk, sed, bash)
2000-09-18 15:18:56 +00:00
dnl ===================================================================
cat /dev/null > warn
if test "z$EUID" = "z0" -a "z`uname -o 2>/dev/null`" = "zCygwin"; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([You must build LibreOffice as a normal user - not using an administrative account])
fi
save_CC=$CC
save_CXX=$CXX
AC_PROG_EGREP
2002-10-02 08:18:56 +00:00
AC_PROG_AWK
AC_PATH_PROG( AWK, $AWK)
2000-09-18 15:18:56 +00:00
if test -z "$AWK"; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([install awk to run this script])
2000-09-18 15:18:56 +00:00
fi
2000-09-18 15:18:56 +00:00
AC_PATH_PROGS(SED, sed )
if test -z "$SED"; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([install sed to run this script])
2000-09-18 15:18:56 +00:00
fi
AC_PATH_PROG(BASH, bash)
if test -z "$BASH"; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([bash not found in \$PATH])
fi
AC_SUBST(BASH)
2011-02-01 10:17:06 +00:00
AC_MSG_CHECKING([for GNU or BSD tar])
for a in $GNUTAR gtar gnutar tar; do
2011-07-04 02:20:26 -05:00
$a --version 2> /dev/null | egrep "GNU|bsdtar" 2>&1 > /dev/null
if test $? -eq 0; then
GNUTAR=$a
break
fi
done
AC_MSG_RESULT($GNUTAR)
if test -z "$GNUTAR"; then
2011-02-01 10:17:06 +00:00
AC_MSG_ERROR([not found. install GNU or BSD tar.])
fi
AC_SUBST(GNUTAR)
dnl ===================================================================
dnl The following is a list of supported systems.
dnl Sequential to keep the logic very simple
dnl These values may be checked and reset later.
dnl ===================================================================
#defaults unless the os test overrides this:
test_randr=yes
test_cups=yes
test_fontconfig=yes
case "$host_os" in
2011-07-04 02:20:26 -05:00
solaris*)
test_gtk=yes
build_gstreamer=yes
test_kde=yes
test_freetype=yes
test_gstreamer=yes
_os=SunOS
AC_PATH_PROG( GNUTAR, gtar,,$PATH:/usr/sfw/bin)
if test -z "$GNUTAR"; then
AC_MSG_ERROR([gtar (GNU tar) not found but needed. Install it (Sun Freeware package).])
fi
AC_SUBST(GNUTAR)
dnl ===========================================================
dnl Check whether we're using Solaris 6,7,8 - SPARC or Intel.
dnl ===========================================================
AC_MSG_CHECKING([the Solaris operating system release])
_os_release=`echo $host_os | $SED -e s/solaris2\.//`
if test "$_os_release" -lt "6"; then
AC_MSG_ERROR([use Solaris >= 6 to build LibreOffice])
else
AC_MSG_RESULT([ok ($_os_release)])
fi
2011-07-04 02:20:26 -05:00
dnl Check whether we're using a SPARC or i386 processor
AC_MSG_CHECKING([the processor type])
if test "$host_cpu" = "sparc" -o "$host_cpu" = "i386"; then
AC_MSG_RESULT([ok ($host_cpu)])
else
AC_MSG_ERROR([only SPARC and i386 processors are supported])
fi
;;
linux-gnu*|k*bsd*-gnu*)
test_gtk=yes
build_gstreamer=yes
test_kde=yes
test_kde4=yes
test_freetype=yes
test_unix_quickstarter=yes
_os=Linux
;;
gnu)
test_randr=no
_os=GNU
;;
cygwin*|interix*|mingw32*)
# When building on Windows normally with MSVC under Cygwin,
# configure thinks that the host platform (the platform the
# built code will run on) is Cygwin, even if it obviously is
# Windows, which in Autoconf terminology is called
# "mingw32". (Which is misleading as MinGW is the name of the
# tool-chain, not an operating system.)
# Somewhat confusing, yes. But this configure script doesn't
# look at $host etc that much, it mostly uses its own $_os
# variable, set here in this case statement.
# When cross-compiling to Windows from Unix, the host platform
# is "mingw32" (because in that case it is the MinGW
# tool-chain that is used).
test_cups=no
2011-07-04 02:20:26 -05:00
test_randr=no
test_freetype=no
test_fontconfig=no
_os=WINNT
# If the host OS matches "mingw32*", that means we are using the
# MinGW cross-compiler, because we don't see the point in building
# LibreOffice using MinGW on Windows. If you want to build on
# Windows, use MSVC. If you want to use MinGW, surely you want to
# cross-compile (from Linux or some other Unix).
case "$host_os" in
2011-07-04 02:20:26 -05:00
mingw32*)
WITH_MINGW=yes
if test -z "$CC" ; then
CC="$host_cpu-$host_vendor-$host_os-gcc"
fi
if test -z "$CXX" ; then
CXX="$host_cpu-$host_vendor-$host_os-g++"
fi
;;
2011-07-04 02:20:26 -05:00
esac
;;
darwin*) # Mac OS X or iOS
test_gtk=yes
test_randr=no
test_freetype=no
test_fontconfig=no
if test "$host_cpu" = "arm"; then
_os=iOS
test_gtk=no
2011-08-23 22:35:33 +03:00
test_cups=no
2011-07-04 02:20:26 -05:00
else
_os=Darwin
fi
enable_systray=no
;;
freebsd*)
test_gtk=yes
build_gstreamer=yes
test_kde=yes
test_kde4=yes
test_freetype=yes
AC_MSG_CHECKING([the FreeBSD operating system release])
if test -n "$with_os_version"; then
OSVERSION="$with_os_version"
else
OSVERSION=`/sbin/sysctl -n kern.osreldate`
fi
AC_MSG_RESULT([found OSVERSION=$OSVERSION])
AC_MSG_CHECKING([which thread library to use])
if test "$OSVERSION" -lt "500016"; then
PTHREAD_CFLAGS="-D_THREAD_SAFE"
2010-11-04 00:43:13 +01:00
PTHREAD_LIBS="-pthread"
2011-07-04 02:20:26 -05:00
elif test "$OSVERSION" -lt "502102"; then
PTHREAD_CFLAGS="-D_THREAD_SAFE"
PTHREAD_LIBS="-lc_r"
else
PTHREAD_CFLAGS=""
2011-01-31 11:03:58 +00:00
PTHREAD_LIBS="-pthread"
2011-07-04 02:20:26 -05:00
fi
AC_MSG_RESULT([$PTHREAD_LIBS])
_os=FreeBSD
;;
*netbsd*)
test_gtk=yes
build_gstreamer=yes
test_kde=no
test_kde4=yes
test_freetype=yes
PTHREAD_LIBS="-pthread -lpthread"
_os=NetBSD
;;
aix*)
test_randr=no
test_freetype=yes
PTHREAD_LIBS=-pthread
_os=AIX
;;
openbsd*)
test_gtk=yes
test_kde=yes
test_freetype=yes
PTHREAD_CFLAGS="-D_THREAD_SAFE"
PTHREAD_LIBS="-pthread"
_os=OpenBSD
;;
dragonfly*)
test_gtk=yes
build_gstreamer=yes
test_kde=yes
test_kde4=yes
test_freetype=yes
PTHREAD_LIBS="-pthread"
_os=DragonFly
;;
linux-androideabi*)
2011-07-04 02:20:26 -05:00
build_gstreamer=no
test_cups=no
2011-07-04 02:20:26 -05:00
test_fontconfig=no
test_freetype=no
test_gtk=no
test_kde=no
test_kde4=no
test_randr=no
test_unix_quickstarter=no
_os=Android
;;
*)
AC_MSG_ERROR([$host_os operating system is not suitable to build LibreOffice for!])
2011-07-04 02:20:26 -05:00
;;
esac
if test "$_os" = "AIX"; then
AC_PATH_PROG(GAWK, gawk)
if test -z "$GAWK"; then
AC_MSG_ERROR([gawk not found in \$PATH])
fi
fi
AC_SUBST(WITH_MINGW)
AC_SUBST(OSVERSION)
AC_SUBST(PTHREAD_CFLAGS)
AC_SUBST(PTHREAD_LIBS)
Add BUILD_TYPE keywords NATIVE and DESKTOP NATIVE indicates that the BUILD and HOST platforms are the same, i.e. a "normal" not cross-compiling build. DESKTOP indicates a "normal" desktop/server OS, like Linux, Windows, BSD or Mac OS X. (Non-desktop ones would be "mobile" ones like iOS and Android.) (All traditional, and so far only actually working, builds of OOo/LO is both NATIVE and DESKTOP. The non-NATIVE and non-DESKTOP cases belong in the experimental cross-compilation work.) All non-DESKTOP cases are also non-NATIVE, at least so far. In other words, when building for a mobile OS we always cross-compile. Note that the reverse is not true: We eventually would want to cross-compile to Windows, rarer Linux architectures, and PowerPC Mac OS X. DESKTOP is used in build.lst files to indicate modules that it makes no sense to build for mobile platforms. Nobody is going to run LibreOffice SDK tools on a tablet. NATIVE is used in build.lst files to indicate modules that produce just build-time executables (which can't be run on the BUILD system when cross-compiling), and which are not part of the SDK either. (Sadly the use of BUILD_TYPE keywords in the build.lst files is a bit tedious: you have to mark a module in the build.lst files of all its "parents", modules that depend on it, not in that of the module itself.) It does make sense to build SDK tools in the other cross-compilation cases. There is no reason why we wouldn't want to cross-compile also the executables that go into the SDK when cross-compiling to Windows, for instance.
2011-06-16 00:24:10 +03:00
dnl It is useful to have a BUILD_TYPE keyword to distinguish "normal"
dnl desktop OSes from "mobile" ones.
dnl We assume that a non-DESKTOP build type is also a non-NATIVE one.
dnl In other words, that when building for an OS that is not a
dnl "desktop" one but a "mobile" one, we are always cross-compiling.
dnl Note the direction of the implication; there is no assumption that
dnl cross-compiling would imply a non-desktop OS.
if test $_os != iOS -a $_os != Android; then
BUILD_TYPE="$BUILD_TYPE DESKTOP"
fi
dnl ===================================================================
2011-05-15 02:11:48 +03:00
dnl Extra check for Windows. Cygwin builds need gcc to build dmake
dnl although MSVC is used to build other build-time tools and
dnl LibreOffice itself.
dnl ===================================================================
2011-09-09 12:34:57 +02:00
if test "$build_os" = "cygwin" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([for Cygwin gcc/g++])
if which gcc > /dev/null && which g++ > /dev/null ; then
AC_MSG_RESULT([found])
else
AC_MSG_ERROR([Cygwin gcc and g++ are needed, please install them.])
fi
fi
dnl ===================================================================
dnl Checks if ccache is available
dnl ===================================================================
if test "$enable_ccache" = "yes" -o \( "$enable_ccache" = "" -a "$enable_icecream" != "yes" \) ; then
if test -z "$CC" ; then
if test -z "$CXX" ; then
AC_PATH_PROG([CCACHE],[ccache],[not found])
if test "$CCACHE" = "not found" ; then
CCACHE=""
else
CCACHE="ccache"
# need to check for ccache version: otherwise prevents
# caching of the results (like "-x objective-c++" for Mac)
if test $_os = Darwin -o $_os = iOS; then
# check ccache version
AC_MSG_CHECKING([whether version of ccache is suitable])
CCACHE_VERSION=`"$CCACHE" -V | "$AWK" '/^ccache version/{print $3}'`
CCACHE_NUMVER=`echo $CCACHE_VERSION | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
if test "$CCACHE_VERSION" = "2.4_OOo" -o "$CCACHE_NUMVER" -ge "030100"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
AC_MSG_NOTICE([ccache version $CCACHE_VERSION not accepted. ccache will not be used.])
CCACHE=""
fi
fi
fi
else
AC_MSG_NOTICE([Automatic ccache detection ingored: CXX is pre-defined])
CCACHE=""
fi
else
AC_MSG_NOTICE([Automatic ccache detection ingored: CC is pre-defined])
CCACHE=""
fi
else
CCACHE=""
fi
if test "$CCACHE" != "" ; then
ccache_size_msg=$([ccache -s | tail -n 1 | sed 's/^[^0-9]*//' | sed -e 's/\.[0-9]*//'])
ccache_size=$(echo "$ccache_size_msg" | grep "G" | sed -e 's/G.*$//')
if test "$ccache_size" = "" ; then
ccache_size=$(echo "$ccache_size_msg" | grep "M" | sed -e 's/\ M.*$//')
if test "$ccache_size" = "" ; then
ccache_size=0
fi
# we could not determine the size or it was less than 1GB -> disable auto-ccache
if test $ccache_size -lt 1024 ; then
CCACHE=""
AC_MSG_WARN([ccache's cache size is less than 1GB using it is counter-producive: Disabling auto-ccache detection])
echo "ccache's cache size is less than 1GB using it is counter-producive: auto-ccache detection disabled" >> warn
else
# warn that ccache may be too small for debug build
AC_MSG_WARN([ccache's cache size is less than 5GB using it may be counter-producive for debug or symbol-enabled build])
echo "ccache's cache size is less than 5GB using it may be counter-producive for debug or symbol-enabled build" >> warn
fi
else
if test $ccache_size -lt 5 ; then
#warn that ccache may be too small for debug build
AC_MSG_WARN([ccache's cache size is less than 5GB using it may be counter-producive for debug or symbol-enabled build])
echo "ccache's cache size is less than 5GB using it may be counter-producive for debug or symbol-enabled build" >> warn
fi
fi
fi
dnl ===================================================================
dnl Checks for C compiler,
dnl The check for the C++ compiler is later on.
dnl ===================================================================
GCC_HOME_SET="true"
AC_MSG_CHECKING([gcc home])
if test -z "$with_gcc_home"; then
if test "$enable_icecream" = "yes" ; then
2011-07-04 02:20:26 -05:00
GCC_HOME="/opt/icecream"
else
GCC_HOME=`which gcc | $SED -e s,/bin/gcc,,`
GCC_HOME_SET="false"
fi
else
GCC_HOME="$with_gcc_home"
fi
AC_MSG_RESULT($GCC_HOME)
AC_SUBST(GCC_HOME)
if test "$GCC_HOME_SET" = "true" ; then
2011-07-04 02:20:26 -05:00
if test -z "$CC"; then
CC="$GCC_HOME/bin/gcc"
fi
if test -z "$CXX"; then
CXX="$GCC_HOME/bin/g++"
fi
fi
dnl The following checks for gcc, cc and then cl (if it weren't guarded for win32)
if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_PROG_CC
fi
COMPATH=`dirname "$CC"`
if test "$COMPATH" = "." ; then
AC_PATH_PROGS(COMPATH, $CC)
dnl double square bracket to get single because of M4 quote...
COMPATH=`echo $COMPATH | $SED "s@/[[^/:]]*\\\$@@"`;
fi
COMPATH=`echo $COMPATH | $SED "s@/[[Bb]][[Ii]][[Nn]]\\\$@@"`;
dnl ===================================================================
dnl Test MacOSX sdk and version requirement
dnl ===================================================================
if test "$_os" = "Darwin" ; then
if test "$with_macosx_version_min_required" = "" ; then
with_macosx_version_min_required="10.4"
fi
if test "$with_macosx_version_max_allowed" = "" ; then
with_macosx_version_max_allowed="$with_macosx_version_min_required"
fi
if test "$with_macosx_sdk" = "" ; then
with_macosx_sdk="$with_macosx_version_max_allowed"
fi
case "$with_macosx_sdk" in
10.4)
MACOSX_SDK_PATH="/Developer/SDKs/MacOSX10.4u.sdk"
if test ! -d "$MACOSX_SDK_PATH"; then
MACOSX_SDK_PATH="/Developer-old/SDKs/MacOSX10.4u.sdk"
fi
macosx_sdk_value="1040"
;;
10.5)
MACOSX_SDK_PATH="/Developer/SDKs/MacOSX10.5.sdk"
if test ! -d "$MACOSX_SDK_PATH"; then
MACOSX_SDK_PATH="/Developer-old/SDKs/MacOSX10.5.sdk"
fi
macosx_sdk_value="1050"
AC_MSG_WARN([Building with a SDK > 10.4 is experimental])
echo "Building with a SDK > 10.4 is experimental" >> warn
;;
10.6)
MACOSX_SDK_PATH="/Developer/SDKs/MacOSX10.6.sdk"
macosx_sdk_value="1060"
AC_MSG_WARN([Building with a SDK > 10.4 is experimental])
echo "Building with a SDK > 10.4 is experimental" >> warn
;;
10.7)
MACOSX_SDK_PATH="/Developer/SDKs/MacOSX10.7.sdk"
macosx_sdk_value="1070"
AC_MSG_WARN([Building with SDK 10.7 is known to fail in vcl])
echo "Building with SDK 10.7 is known to fail in vcl" >> warn
;;
*)
AC_MSG_ERROR([$with_macosx_sdk is not a supported SDK value, supported value are 10.4, 10.5, 10.6 and 10.7])
;;
esac
AC_MSG_CHECKING([the presence of the SDK $with_macosx_sdk])
if test -d "$MACOSX_SDK_PATH" ; then
AC_MSG_RESULT([$MACOSX_SDK_PATH ok])
else
AC_MSG_ERROR([$MACOSX_SDK_PATH not found])
fi
MACOSX_DEPLOYMENT_TARGET="$with_macosx_version_min_required"
case "$with_macosx_version_min_required" in
10.4)
MAC_OS_X_VERSION_MIN_REQUIRED="1040"
;;
10.5)
MAC_OS_X_VERSION_MIN_REQUIRED="1050"
AC_MSG_WARN([Building with a minimum version requirement > 10.4 break 10.4 compatibility. do not use for deliverable build])
echo "Building with a minimum version requirement > 10.4 break 10.4 compatibility. do not use for deliverable build" >>warn
if [ -z $save_CC ] ; then
CC="gcc-4.2 -m32"
CXX="g++-4.2 -m32"
fi
;;
10.6)
MAC_OS_X_VERSION_MIN_REQUIRED="1060"
AC_MSG_WARN([Building with a minimum version requirement > 10.4 break 10.4 compatibility. do not use for deliverable build])
echo "Building with a minimum version requirement > 10.4 break 10.4 compatibility. do not use for deliverable build" >>warn
if [ -z "$save_CC" ] ; then
CC="gcc-4.2 -m32"
CXX="g++-4.2 -m32"
fi
;;
10.7)
MAC_OS_X_VERSION_MIN_REQUIRED="1070"
AC_MSG_WARN([Building with a minimum version requirement > 10.4 break 10.4 compatibility. do not use for deliverable build])
echo "Building with a minimum version requirement > 10.4 break 10.4 compatibility. do not use for deliverable build" >>warn
if [ -z "$save_CC" ] ; then
CC="gcc-4.2 -m32"
CXX="g++-4.2 -m32"
fi
;;
*)
AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported value are 10.4, 10.5, 10.6 and 10.7])
;;
esac
case "$with_macosx_version_max_allowed" in
10.4)
MAC_OS_X_VERSION_MAX_ALLOWED="1040"
;;
10.5)
MAC_OS_X_VERSION_MAX_ALLOWED="1050"
;;
10.6)
MAC_OS_X_VERSION_MAX_ALLOWED="1060"
;;
10.7)
MAC_OS_X_VERSION_MAX_ALLOWED="1070"
;;
*)
AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported value are 10.4, 10.5, 10.6 and 10.7])
;;
esac
AC_MSG_CHECKING([that macosx-verion-min-required is coherent with macosx-version-max-allowed])
if test $MAC_OS_X_VERSION_MIN_REQUIRED -gt $MAC_OS_X_VERSION_MAX_ALLOWED ; then
AC_MSG_ERROR([the version minimumn required must be inferior or equal to the version maximum allowed])
else
AC_MSG_RESULT([ok])
fi
AC_MSG_CHECKING([that macosx-verion-max-allowed is coherent macos-with-sdk])
if test $MAC_OS_X_VERSION_MAX_ALLOWED -gt $macosx_sdk_value ; then
AC_MSG_ERROR([the version maximum allowed cannot be greater thatn the sdk level])
else
AC_MSG_RESULT([ok])
fi
AC_MSG_NOTICE([MAC_OS_X_VERSION_MIN_REQUIRED=$MAC_OS_X_VERSION_MIN_REQUIRED])
AC_MSG_NOTICE([MAC_OS_X_VERSION_MAX_ALLOWED=$MAC_OS_X_VERSION_MAX_ALLOWED])
fi
AC_SUBST(MACOSX_SDK_PATH)
AC_SUBST(MACOSX_DEPLOYMENT_TARGET)
AC_SUBST(MAC_OS_X_VERSION_MIN_REQUIRED)
AC_SUBST(MAC_OS_X_VERSION_MAX_ALLOWED)
dnl ===================================================================
dnl Test the gcc version, 3 is OK
dnl ===================================================================
if test \( "$_os" != "WINNT" -o "$WITH_MINGW" = "yes" \) -a "$GCC" = "yes"; then
AC_MSG_CHECKING([the GNU C compiler version])
2011-07-04 02:20:26 -05:00
_gcc_version=`$CC -dumpversion`
_gcc_major=`echo $_gcc_version | $AWK -F. '{ print \$1 }'`
GCCVER=`echo $_gcc_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
if test "$_os" = "Darwin" -a "$with_macosx_sdk" = "10.4" -a "$GCCVER" -ge "040100" ; then
2011-07-04 02:20:26 -05:00
if test -z "$save_CC" -a -x "$GCC_HOME/bin/gcc-4.0" ; then
export CC="$GCC_HOME/bin/gcc-4.0"
# export CC to have it available in set_soenv -> config.guess
GCCVER2=`$CC -dumpversion | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
2011-07-04 02:20:26 -05:00
if test "$GCCVER2" -ge "040000" -a "$GCCVER2" -lt "040100" ; then
GCCVER=$GCCVER2
fi
fi
if test "$GCCVER" -ge "040100" ; then
AC_MSG_ERROR([You need to use the gcc-4.0 compiler (gcc $_gcc_version won't work with the MacOSX10.4u.sdk) - set CC accordingly])
else
AC_MSG_RESULT([implicitly using CC=$CC])
fi
else
AC_MSG_RESULT([checked (gcc $_gcc_version)])
fi
fi
#
# prefix C with ccache if needed
#
if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes" ; then
if test "$CCACHE" != "" ; then
AC_MSG_CHECKING([whether $CC is already ccached])
AC_LANG_PUSH([C])
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS --ccache-skip -O2"
dnl an empty program will do, we're checking the compiler flags
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],
[use_ccache=yes], [use_ccache=no])
if test $use_ccache = yes ; then
AC_MSG_RESULT([yes])
else
CC="$CCACHE $CC"
AC_MSG_RESULT([no])
fi
CFLAGS=$save_CFLAGS
AC_LANG_POP([C])
fi
fi
HAVE_LD_BSYMBOLIC_FUNCTIONS=
if test "$GCC" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING( for -Bsymbolic-functions linker support )
bsymbolic_functions_ldflags_save=$LDFLAGS
LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo"
AC_LINK_IFELSE([AC_LANG_PROGRAM([
#include <stdio.h>
],[
printf ("hello world\n");
])], HAVE_LD_BSYMBOLIC_FUNCTIONS=TRUE, [])
if test "z$HAVE_LD_BSYMBOLIC_FUNCTIONS" = "zTRUE"; then
AC_MSG_RESULT( found )
else
AC_MSG_RESULT( not found )
fi
LDFLAGS=$bsymbolic_functions_ldflags_save
fi
AC_SUBST(HAVE_LD_BSYMBOLIC_FUNCTIONS)
dnl ===================================================================
dnl Set up a different compiler to produce tools to run on the build
dnl machine when doing cross-compilation
dnl ===================================================================
m4_pattern_allow([PKG_CONFIG_FOR_BUILD])
if test "$cross_compiling" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([for BUILD platform configuration])
echo
rm -rf CONF-FOR-BUILD Env.Build.sh
mkdir CONF-FOR-BUILD
tar cf - \
Makefile.in \
bin/repo-list.in \
2011-07-04 02:20:26 -05:00
config.guess \
configure \
ooo.lst.in \
2011-07-04 02:20:26 -05:00
oowintool \
post_download.in \
set_soenv.in \
solenv/inc/langlist.mk \
2011-07-04 02:20:26 -05:00
solenv/inc/postset.mk \
desktop/scripts/soffice.sh.in \
| (cd CONF-FOR-BUILD && tar xf -)
2011-07-04 02:20:26 -05:00
(
unset COM GUI GUIBASE OS CPU CPUNAME
unset CC CXX SYSBASE CFLAGS
unset PYTHON_CFLAGS PYTHON_LIBS
unset AR NM OBJDUMP PKG_CONFIG RANLIB STRIP
2011-05-13 23:47:21 +03:00
test -n "$CC_FOR_BUILD" && export CC="$CC_FOR_BUILD"
test -n "$CXX_FOR_BUILD" && export CXX="$CXX_FOR_BUILD"
test -n "$PKG_CONFIG_FOR_BUILD" && export PKG_CONFIG="$PKG_CONFIG_FOR_BUILD"
Rehash of cross-compilation ideas Like in my previous plan, when cross-compiling we run the same configure script separately for a native build configuration on the build platform, in a temporary subdirectory. Now use a fixed name "CONF-FOR-BUILD" for that subdirectory, so that it is easy to edit out that path component from those build environment variables that contain it. Pass more of the native build environment variables up to the main configure and propagate those to the build environment suffixed with _FOR_BUILD: INPATH, OUTPATH OUTDIR, PATH, SOLARINC, SOLARLIB, WORKDIR. Whether these all will actually be needed remains to be seen, the set can be reduced later. The environment setting file (*Env.Set.sh) for the native build is copied here to the top directory under the name Env.Build.sh, and the environment variables set in it that contain pathnames are modified to point directly to this top directory, not the temporary CONF-FOR-BUILD subdirectory. When doing a cross-compiling build, we first do a build of the necessary build-time tools for the build platform. This is done in the same source tree. As the directories where build results are stored include the platform specification (OUTPATH or in some cases INPATH), there should be no clashes. Don't run the download script from ./bootstrap(.1). We are running it from Makefile already anyway often enough. This could also do with some clean-up; the ./g -f clone phase is a bit slow, I am not sure if it really is necessary every time? Also, we should not overwrite ooo.lst if its contents isn't changing. Use INPATH_FOR_BUILD in SOLARBINDIR so that the self-built tools like idlc that we run are for the build platform, not the host platform. Attempt to get rid of the makefile.rc and makefile.mk files. Surely it should be enough with just Makefile(.in) (and then GNUmakefile.mk for its own so far special gbuild purposes). Instead of invoking dmake to do "clean" or "distclean" from Makefile(.in), we already just do the same directly in Makefile(.in). This way we don't need to first build dmake in order to be able to do a make clean, which will then finally clean out dmake again;) Ideally I would like to get rid of bootstrap(.1), too. It should be possible to merge its tasks into configure(.in) or Makefile(.in) as appropriate. And actually, maybe also what set_soenv(.in) does could well be merged into configure(.in)?
2011-06-04 14:59:34 +03:00
cd CONF-FOR-BUILD
2011-05-13 23:47:21 +03:00
sub_conf_opts=""
Rehash of cross-compilation ideas Like in my previous plan, when cross-compiling we run the same configure script separately for a native build configuration on the build platform, in a temporary subdirectory. Now use a fixed name "CONF-FOR-BUILD" for that subdirectory, so that it is easy to edit out that path component from those build environment variables that contain it. Pass more of the native build environment variables up to the main configure and propagate those to the build environment suffixed with _FOR_BUILD: INPATH, OUTPATH OUTDIR, PATH, SOLARINC, SOLARLIB, WORKDIR. Whether these all will actually be needed remains to be seen, the set can be reduced later. The environment setting file (*Env.Set.sh) for the native build is copied here to the top directory under the name Env.Build.sh, and the environment variables set in it that contain pathnames are modified to point directly to this top directory, not the temporary CONF-FOR-BUILD subdirectory. When doing a cross-compiling build, we first do a build of the necessary build-time tools for the build platform. This is done in the same source tree. As the directories where build results are stored include the platform specification (OUTPATH or in some cases INPATH), there should be no clashes. Don't run the download script from ./bootstrap(.1). We are running it from Makefile already anyway often enough. This could also do with some clean-up; the ./g -f clone phase is a bit slow, I am not sure if it really is necessary every time? Also, we should not overwrite ooo.lst if its contents isn't changing. Use INPATH_FOR_BUILD in SOLARBINDIR so that the self-built tools like idlc that we run are for the build platform, not the host platform. Attempt to get rid of the makefile.rc and makefile.mk files. Surely it should be enough with just Makefile(.in) (and then GNUmakefile.mk for its own so far special gbuild purposes). Instead of invoking dmake to do "clean" or "distclean" from Makefile(.in), we already just do the same directly in Makefile(.in). This way we don't need to first build dmake in order to be able to do a make clean, which will then finally clean out dmake again;) Ideally I would like to get rid of bootstrap(.1), too. It should be possible to merge its tasks into configure(.in) or Makefile(.in) as appropriate. And actually, maybe also what set_soenv(.in) does could well be merged into configure(.in)?
2011-06-04 14:59:34 +03:00
test -n "$with_ant_home" && sub_conf_opts="$sub_conf_opts --with-ant-home=$with_ant_home"
test $with_junit = no && sub_conf_opts="$sub_conf_opts --without-junit"
Rehash of cross-compilation ideas Like in my previous plan, when cross-compiling we run the same configure script separately for a native build configuration on the build platform, in a temporary subdirectory. Now use a fixed name "CONF-FOR-BUILD" for that subdirectory, so that it is easy to edit out that path component from those build environment variables that contain it. Pass more of the native build environment variables up to the main configure and propagate those to the build environment suffixed with _FOR_BUILD: INPATH, OUTPATH OUTDIR, PATH, SOLARINC, SOLARLIB, WORKDIR. Whether these all will actually be needed remains to be seen, the set can be reduced later. The environment setting file (*Env.Set.sh) for the native build is copied here to the top directory under the name Env.Build.sh, and the environment variables set in it that contain pathnames are modified to point directly to this top directory, not the temporary CONF-FOR-BUILD subdirectory. When doing a cross-compiling build, we first do a build of the necessary build-time tools for the build platform. This is done in the same source tree. As the directories where build results are stored include the platform specification (OUTPATH or in some cases INPATH), there should be no clashes. Don't run the download script from ./bootstrap(.1). We are running it from Makefile already anyway often enough. This could also do with some clean-up; the ./g -f clone phase is a bit slow, I am not sure if it really is necessary every time? Also, we should not overwrite ooo.lst if its contents isn't changing. Use INPATH_FOR_BUILD in SOLARBINDIR so that the self-built tools like idlc that we run are for the build platform, not the host platform. Attempt to get rid of the makefile.rc and makefile.mk files. Surely it should be enough with just Makefile(.in) (and then GNUmakefile.mk for its own so far special gbuild purposes). Instead of invoking dmake to do "clean" or "distclean" from Makefile(.in), we already just do the same directly in Makefile(.in). This way we don't need to first build dmake in order to be able to do a make clean, which will then finally clean out dmake again;) Ideally I would like to get rid of bootstrap(.1), too. It should be possible to merge its tasks into configure(.in) or Makefile(.in) as appropriate. And actually, maybe also what set_soenv(.in) does could well be merged into configure(.in)?
2011-06-04 14:59:34 +03:00
test -n "$TARFILE_LOCATION" && sub_conf_opts="$sub_conf_opts --with-external-tar=$TARFILE_LOCATION"
2011-05-13 23:47:21 +03:00
./configure \
2011-07-04 02:20:26 -05:00
--disable-mozilla \
--disable-build-mozilla \
--disable-zenity \
--with-num-cpus="$with_num_cpus" \
--with-max-jobs="$with_max_jobs" \
$sub_conf_opts \
2011-07-04 02:20:26 -05:00
2>&1 | sed -e 's/^/ /'
test -f ./Env.Host.sh 2>/dev/null || exit
cp Env.Host.sh ../Env.Build.sh
. ./Env.Host.sh
for V in COM GUI GUIBASE OS CPU CPUNAME CC CXX GXX_INCLUDE_PATH MACOSX_DEPLOYMENT_TARGET INPATH OUTPATH \
SYSTEM_LIBXSLT; do
2011-07-04 02:20:26 -05:00
VV='$'$V
VV=`eval "echo $VV"`
if test -n "$VV"; then
line=${V}_FOR_BUILD='${'${V}_FOR_BUILD:-$VV'}'
echo "$line" >>build-config
fi
2011-05-13 23:47:21 +03:00
done
Rehash of cross-compilation ideas Like in my previous plan, when cross-compiling we run the same configure script separately for a native build configuration on the build platform, in a temporary subdirectory. Now use a fixed name "CONF-FOR-BUILD" for that subdirectory, so that it is easy to edit out that path component from those build environment variables that contain it. Pass more of the native build environment variables up to the main configure and propagate those to the build environment suffixed with _FOR_BUILD: INPATH, OUTPATH OUTDIR, PATH, SOLARINC, SOLARLIB, WORKDIR. Whether these all will actually be needed remains to be seen, the set can be reduced later. The environment setting file (*Env.Set.sh) for the native build is copied here to the top directory under the name Env.Build.sh, and the environment variables set in it that contain pathnames are modified to point directly to this top directory, not the temporary CONF-FOR-BUILD subdirectory. When doing a cross-compiling build, we first do a build of the necessary build-time tools for the build platform. This is done in the same source tree. As the directories where build results are stored include the platform specification (OUTPATH or in some cases INPATH), there should be no clashes. Don't run the download script from ./bootstrap(.1). We are running it from Makefile already anyway often enough. This could also do with some clean-up; the ./g -f clone phase is a bit slow, I am not sure if it really is necessary every time? Also, we should not overwrite ooo.lst if its contents isn't changing. Use INPATH_FOR_BUILD in SOLARBINDIR so that the self-built tools like idlc that we run are for the build platform, not the host platform. Attempt to get rid of the makefile.rc and makefile.mk files. Surely it should be enough with just Makefile(.in) (and then GNUmakefile.mk for its own so far special gbuild purposes). Instead of invoking dmake to do "clean" or "distclean" from Makefile(.in), we already just do the same directly in Makefile(.in). This way we don't need to first build dmake in order to be able to do a make clean, which will then finally clean out dmake again;) Ideally I would like to get rid of bootstrap(.1), too. It should be possible to merge its tasks into configure(.in) or Makefile(.in) as appropriate. And actually, maybe also what set_soenv(.in) does could well be merged into configure(.in)?
2011-06-04 14:59:34 +03:00
for V in OUTDIR PATH SOLARINC SOLARLIB WORKDIR; do
2011-07-04 02:20:26 -05:00
VV='$'$V
VV=`eval "echo $VV"`
VV=`echo $VV | sed -e 's,/CONF-FOR-BUILD,,g'`
if test -n "$VV"; then
line="${V}_FOR_BUILD='$VV'"
echo "$line" >>build-config
fi
Rehash of cross-compilation ideas Like in my previous plan, when cross-compiling we run the same configure script separately for a native build configuration on the build platform, in a temporary subdirectory. Now use a fixed name "CONF-FOR-BUILD" for that subdirectory, so that it is easy to edit out that path component from those build environment variables that contain it. Pass more of the native build environment variables up to the main configure and propagate those to the build environment suffixed with _FOR_BUILD: INPATH, OUTPATH OUTDIR, PATH, SOLARINC, SOLARLIB, WORKDIR. Whether these all will actually be needed remains to be seen, the set can be reduced later. The environment setting file (*Env.Set.sh) for the native build is copied here to the top directory under the name Env.Build.sh, and the environment variables set in it that contain pathnames are modified to point directly to this top directory, not the temporary CONF-FOR-BUILD subdirectory. When doing a cross-compiling build, we first do a build of the necessary build-time tools for the build platform. This is done in the same source tree. As the directories where build results are stored include the platform specification (OUTPATH or in some cases INPATH), there should be no clashes. Don't run the download script from ./bootstrap(.1). We are running it from Makefile already anyway often enough. This could also do with some clean-up; the ./g -f clone phase is a bit slow, I am not sure if it really is necessary every time? Also, we should not overwrite ooo.lst if its contents isn't changing. Use INPATH_FOR_BUILD in SOLARBINDIR so that the self-built tools like idlc that we run are for the build platform, not the host platform. Attempt to get rid of the makefile.rc and makefile.mk files. Surely it should be enough with just Makefile(.in) (and then GNUmakefile.mk for its own so far special gbuild purposes). Instead of invoking dmake to do "clean" or "distclean" from Makefile(.in), we already just do the same directly in Makefile(.in). This way we don't need to first build dmake in order to be able to do a make clean, which will then finally clean out dmake again;) Ideally I would like to get rid of bootstrap(.1), too. It should be possible to merge its tasks into configure(.in) or Makefile(.in) as appropriate. And actually, maybe also what set_soenv(.in) does could well be merged into configure(.in)?
2011-06-04 14:59:34 +03:00
done
2011-07-04 02:20:26 -05:00
)
test -f CONF-FOR-BUILD/build-config || AC_MSG_ERROR([Running configure script for BUILD system failed, see CONF-FOR-BUILD/config.log])
test -f Env.Build.sh || AC_MSG_ERROR([A file called Env.Build.sh was supposed to have been copied here, but it isn't found])
perl -pi -e 's,/CONF-FOR-BUILD,,g' Env.Build.sh
eval `cat CONF-FOR-BUILD/build-config`
AC_MSG_RESULT([checking for BUILD platform configuration... done])
rm -rf CONF-FOR-BUILD
else
2011-07-04 02:20:26 -05:00
CC_FOR_BUILD="$CC"
CXX_FOR_BUILD="$CXX"
fi
2011-05-13 23:47:21 +03:00
AC_SUBST(COM_FOR_BUILD)
AC_SUBST(GUI_FOR_BUILD)
AC_SUBST(GUIBASE_FOR_BUILD)
AC_SUBST(OS_FOR_BUILD)
AC_SUBST(CPU_FOR_BUILD)
AC_SUBST(CPUNAME_FOR_BUILD)
AC_SUBST(CC_FOR_BUILD)
AC_SUBST(CXX_FOR_BUILD)
2011-05-13 23:47:21 +03:00
AC_SUBST(GXX_INCLUDE_PATH_FOR_BUILD)
Rehash of cross-compilation ideas Like in my previous plan, when cross-compiling we run the same configure script separately for a native build configuration on the build platform, in a temporary subdirectory. Now use a fixed name "CONF-FOR-BUILD" for that subdirectory, so that it is easy to edit out that path component from those build environment variables that contain it. Pass more of the native build environment variables up to the main configure and propagate those to the build environment suffixed with _FOR_BUILD: INPATH, OUTPATH OUTDIR, PATH, SOLARINC, SOLARLIB, WORKDIR. Whether these all will actually be needed remains to be seen, the set can be reduced later. The environment setting file (*Env.Set.sh) for the native build is copied here to the top directory under the name Env.Build.sh, and the environment variables set in it that contain pathnames are modified to point directly to this top directory, not the temporary CONF-FOR-BUILD subdirectory. When doing a cross-compiling build, we first do a build of the necessary build-time tools for the build platform. This is done in the same source tree. As the directories where build results are stored include the platform specification (OUTPATH or in some cases INPATH), there should be no clashes. Don't run the download script from ./bootstrap(.1). We are running it from Makefile already anyway often enough. This could also do with some clean-up; the ./g -f clone phase is a bit slow, I am not sure if it really is necessary every time? Also, we should not overwrite ooo.lst if its contents isn't changing. Use INPATH_FOR_BUILD in SOLARBINDIR so that the self-built tools like idlc that we run are for the build platform, not the host platform. Attempt to get rid of the makefile.rc and makefile.mk files. Surely it should be enough with just Makefile(.in) (and then GNUmakefile.mk for its own so far special gbuild purposes). Instead of invoking dmake to do "clean" or "distclean" from Makefile(.in), we already just do the same directly in Makefile(.in). This way we don't need to first build dmake in order to be able to do a make clean, which will then finally clean out dmake again;) Ideally I would like to get rid of bootstrap(.1), too. It should be possible to merge its tasks into configure(.in) or Makefile(.in) as appropriate. And actually, maybe also what set_soenv(.in) does could well be merged into configure(.in)?
2011-06-04 14:59:34 +03:00
AC_SUBST(INPATH_FOR_BUILD)
AC_SUBST(OUTPATH_FOR_BUILD)
2011-05-13 23:47:21 +03:00
AC_SUBST(MACOSX_DEPLOYMENT_TARGET_FOR_BUILD)
AC_SUBST(SYSTEM_LIBXSLT_FOR_BUILD)
Rehash of cross-compilation ideas Like in my previous plan, when cross-compiling we run the same configure script separately for a native build configuration on the build platform, in a temporary subdirectory. Now use a fixed name "CONF-FOR-BUILD" for that subdirectory, so that it is easy to edit out that path component from those build environment variables that contain it. Pass more of the native build environment variables up to the main configure and propagate those to the build environment suffixed with _FOR_BUILD: INPATH, OUTPATH OUTDIR, PATH, SOLARINC, SOLARLIB, WORKDIR. Whether these all will actually be needed remains to be seen, the set can be reduced later. The environment setting file (*Env.Set.sh) for the native build is copied here to the top directory under the name Env.Build.sh, and the environment variables set in it that contain pathnames are modified to point directly to this top directory, not the temporary CONF-FOR-BUILD subdirectory. When doing a cross-compiling build, we first do a build of the necessary build-time tools for the build platform. This is done in the same source tree. As the directories where build results are stored include the platform specification (OUTPATH or in some cases INPATH), there should be no clashes. Don't run the download script from ./bootstrap(.1). We are running it from Makefile already anyway often enough. This could also do with some clean-up; the ./g -f clone phase is a bit slow, I am not sure if it really is necessary every time? Also, we should not overwrite ooo.lst if its contents isn't changing. Use INPATH_FOR_BUILD in SOLARBINDIR so that the self-built tools like idlc that we run are for the build platform, not the host platform. Attempt to get rid of the makefile.rc and makefile.mk files. Surely it should be enough with just Makefile(.in) (and then GNUmakefile.mk for its own so far special gbuild purposes). Instead of invoking dmake to do "clean" or "distclean" from Makefile(.in), we already just do the same directly in Makefile(.in). This way we don't need to first build dmake in order to be able to do a make clean, which will then finally clean out dmake again;) Ideally I would like to get rid of bootstrap(.1), too. It should be possible to merge its tasks into configure(.in) or Makefile(.in) as appropriate. And actually, maybe also what set_soenv(.in) does could well be merged into configure(.in)?
2011-06-04 14:59:34 +03:00
AC_SUBST(OUTDIR_FOR_BUILD)
AC_SUBST(PATH_FOR_BUILD)
AC_SUBST(SOLARINC_FOR_BUILD)
AC_SUBST(SOLARLIB_FOR_BUILD)
AC_SUBST(WORKDIR_FOR_BUILD)
UPD="`echo AC_PACKAGE_VERSION | sed "s/\.//"`0"
SOURCEVERSION="OOO$UPD"
AC_SUBST(UPD)
AC_SUBST(SOURCEVERSION)
dnl ===================================================================
dnl Set the ENABLE_CRASHDUMP variable.
dnl ===================================================================
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([whether to enable crashdump feature])
if test "$enable_crashdump" = "yes"; then
2011-07-04 02:20:26 -05:00
ENABLE_CRASHDUMP="TRUE"
BUILD_TYPE="$BUILD_TYPE CRASHREP"
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
ENABLE_CRASHDUMP=""
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_CRASHDUMP)
dnl ===================================================================
dnl Windows specific tests and stuff
dnl ===================================================================
if test "$_os" = "WINNT"; then
2011-07-04 02:20:26 -05:00
dnl Include twain scanners
BUILD_TYPE="$BUILD_TYPE TWAIN"
dnl Set the CL_X64 variable if we are building a 64-bit LibreOffice.
AC_MSG_CHECKING([whether to build a 64-bit LibreOffice])
if test "z$enable_cl_x64" = "z" -o "$enable_cl_x64" = "no"; then
CL_X64=""
AC_MSG_RESULT([no])
else
CL_X64="TRUE"
AC_MSG_RESULT([yes])
fi
AC_SUBST(CL_X64)
AC_MSG_CHECKING([whether to use DirectX])
if test "$enable_directx" = "yes" -o "$enable_directx" = ""; then
ENABLE_DIRECTX="TRUE"
AC_MSG_RESULT([yes])
else
ENABLE_DIRECTX=""
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_DIRECTX)
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([whether to use ActiveX])
if test "$enable_activex" = "yes" -o "$enable_activex" = "TRUE" -o "$enable_activex" = ""; then
DISABLE_ACTIVEX=""
AC_MSG_RESULT([yes])
else
DISABLE_ACTIVEX="TRUE"
AC_MSG_RESULT([no])
fi
AC_SUBST(DISABLE_ACTIVEX)
AC_MSG_CHECKING([whether to use ATL])
if test "$enable_atl" = "yes" -o "$enable_atl" = "TRUE"; then
DISABLE_ATL=""
AC_MSG_RESULT([yes])
elif test "$enable_atl" = ""; then
if test "$WITH_MINGW" = "yes"; then
DISABLE_ATL="TRUE"
AC_MSG_RESULT([no])
else
DISABLE_ATL=""
AC_MSG_RESULT([yes])
fi
else
DISABLE_ATL="TRUE"
AC_MSG_RESULT([no])
fi
AC_SUBST(DISABLE_ATL)
fi
dnl Set the ENABLE_WERROR variable. (Activate --enable-werror)
dnl ===================================================================
AC_MSG_CHECKING([whether to turn warnings to errors])
if test -n "$enable_werror" && test "$enable_werror" != "no"; then
2011-07-04 02:20:26 -05:00
ENABLE_WERROR="TRUE"
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
ENABLE_WERROR="FALSE"
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_WERROR)
dnl Set the ENABLE_DEBUG variable. (Activate --enable-symbols)
dnl ===================================================================
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([whether to do a debug build])
if test -n "$enable_debug" && test "$enable_debug" != "no"; then
2011-07-04 02:20:26 -05:00
ENABLE_DEBUG="TRUE"
enable_symbols="yes"
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
ENABLE_DEBUG="FALSE"
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_DEBUG)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl Set the ENABLE_DBGUTIL variable
dnl ===================================================================
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([whether to build with additional debug utilities])
if test -n "$enable_dbgutil" && test "$enable_dbgutil" != "no"; then
2011-07-04 02:20:26 -05:00
PROEXT=""
PRODUCT=""
AC_MSG_RESULT([yes])
if test $_os = WINNT -a \
\( "$enable_mozilla" = yes -o \
"$enable_nss_module" = yes -o \
"$enable_build_mozilla" = yes \); then
# We can't build against the Mozilla stuff if using _DEBUG, will get linking errors
# See connectivity/drivers/mozab
AC_MSG_WARN([Also disabling Mozilla stuff then])
enable_mozilla=no
enable_nss_module=no
enable_build_mozilla=no
fi
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
else
2011-07-04 02:20:26 -05:00
PRODUCT="full"
PROEXT=".pro"
AC_MSG_RESULT([no, full product build])
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
fi
AC_SUBST(PRODUCT)
AC_SUBST(PROEXT)
# Set the ENABLE_LTO variable
# ===================================================================
AC_MSG_CHECKING([whether to use link-time optimization])
if test -n "$enable_lto" -a "$enable_lto" != "no"; then
ENABLE_LTO="TRUE"
AC_MSG_RESULT([yes])
else
ENABLE_LTO=""
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_LTO)
dnl whether to include symbols into final build.
dnl ===================================================================
AC_MSG_CHECKING([whether to include symbols])
if test -n "$enable_symbols" -a "$enable_symbols" != "no"; then
2011-07-04 02:20:26 -05:00
ENABLE_SYMBOLS="TRUE"
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
ENABLE_SYMBOLS=
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_SYMBOLS)
dnl Determine if the solver is to be stripped or not.
dnl ===================================================================
AC_MSG_CHECKING([whether to strip the solver or not.])
if test "z$enable_strip_solver" = "zno"; then
DISABLE_STRIP="TRUE"
AC_MSG_RESULT([no])
else
2011-07-04 02:20:26 -05:00
if test -n "$ENABLE_SYMBOLS"; then
DISABLE_STRIP="TRUE"
AC_MSG_RESULT([no])
else
DISABLE_STRIP=
AC_MSG_RESULT([yes])
fi
fi
AC_SUBST(DISABLE_STRIP)
dnl check for cups support
dnl ===================================================================
if test "$test_cups" = "yes"; then
AC_MSG_CHECKING([whether cups support is present])
AC_CHECK_LIB(cups, cupsPrintFiles)
AC_CHECK_HEADER(cups/cups.h, AC_DEFINE(HAVE_CUPS_H))
if test "$ac_cv_lib_cups_cupsPrintFiles" != "yes" -a "$ac_cv_header_cups_cups_h" != "yes"; then
AC_MSG_ERROR([Could not find CUPS. Install libcupsys2-dev or cups???-devel.])
fi
fi
# check for fontconfig support
AC_MSG_CHECKING([whether we need fontconfig])
if test "z$test_fontconfig" = "zyes"; then
2011-07-04 02:20:26 -05:00
ENABLE_FONTCONFIG="TRUE"
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES([FONTCONFIG], [fontconfig >= 2.2.0])
else
2011-07-04 02:20:26 -05:00
ENABLE_FONTCONFIG=""
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_FONTCONFIG)
AC_SUBST(FONTCONFIG_CFLAGS)
AC_SUBST(FONTCONFIG_LIBS)
dnl whether to find & fetch external tarballs?
dnl ===================================================================
if test -z "$TARFILE_LOCATION"; then
2011-07-04 02:20:26 -05:00
TARFILE_LOCATION="DEFAULT"
fi
AC_SUBST(TARFILE_LOCATION)
if test "z$enable_fetch_external" != "zno" ; then
2011-07-04 02:20:26 -05:00
DO_FETCH_TARBALLS="YES"
fi
AC_SUBST(DO_FETCH_TARBALLS)
dnl git-new-workdir
dnl ===================================================================
AC_SUBST(GIT_LINK_SRC)
dnl Disable legacy binary file formats filters
dnl ===================================================================
AC_MSG_CHECKING([whether to enable filters for legacy binary file formats (StarOffice 5.2)])
if test "$enable_binfilter" = "no"; then
2011-07-04 02:20:26 -05:00
WITH_BINFILTER="NO"
AC_MSG_RESULT([no])
else
2011-07-04 02:20:26 -05:00
WITH_BINFILTER="YES"
BUILD_TYPE="$BUILD_TYPE BINFILTER"
2011-07-21 08:54:33 -05:00
GIT_REPO_NAMES="$GIT_REPO_NAMES binfilter"
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
fi
AC_SUBST(WITH_BINFILTER)
2011-08-11 18:36:53 +02:00
AC_MSG_CHECKING([whether to build help])
if test "$with_help" != "no" -a $_os != iOS -a $_os != Android; then
AC_MSG_RESULT([yes])
BUILD_TYPE="$BUILD_TYPE HELP"
SCPDEFS="$SCPDEFS -DWITH_HELP"
GIT_REPO_NAMES="$GIT_REPO_NAMES help"
else
AC_MSG_RESULT([no])
fi
2011-04-26 14:54:10 +01:00
dnl Enable ugly pieces of code we're better off without
dnl ===================================================================
if test "$enable_ugly" = "yes"; then
2011-07-04 02:20:26 -05:00
BUILD_TYPE="$BUILD_TYPE DICTIONARIES"
SCPDEFS="$SCPDEFS -DWITH_UGLY"
ENABLE_UGLY=YES
2011-04-26 14:54:10 +01:00
else
2011-07-04 02:20:26 -05:00
ENABLE_UGLY=NO
fi
2011-04-26 14:54:10 +01:00
AC_SUBST(ENABLE_UGLY)
dnl ===================================================================
dnl Disable rpath in shared libraries?
dnl ===================================================================
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([whether to use RPATH in shared libraries])
if test "$enable_rpath" = "no"; then
2011-07-04 02:20:26 -05:00
ENABLE_RPATH="no"
else
2011-07-04 02:20:26 -05:00
ENABLE_RPATH="yes"
fi
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_RESULT([$ENABLE_RPATH])
AC_SUBST(ENABLE_RPATH)
dnl Test whether to include MySpell dictionaries
dnl ===================================================================
AC_MSG_CHECKING([whether to include MySpell dictionaries])
if test -z "$with_myspell_dicts" || test "$with_myspell_dicts" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
WITH_MYSPELL_DICTS=YES
BUILD_TYPE="$BUILD_TYPE DICTIONARIES"
GIT_REPO_NAMES="$GIT_REPO_NAMES dictionaries"
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITH_MYSPELL_DICTS=NO
fi
AC_SUBST(WITH_MYSPELL_DICTS)
AC_MSG_CHECKING([whether to use dicts from external paths])
if test -n "$with_system_dicts" -a "$with_system_dicts" = "yes"; then
AC_MSG_RESULT([yes])
SYSTEM_DICTS=YES
AC_MSG_CHECKING([for spelling dictionary directory])
if test -n "$with_external_dict_dir"; then
DICT_SYSTEM_DIR=file://$with_external_dict_dir
else
DICT_SYSTEM_DIR=file:///usr/share/hunspell
fi
AC_MSG_RESULT([$DICT_SYSTEM_DIR])
AC_MSG_CHECKING([for hyphenation patterns directory])
if test -n "$with_external_hyph_dir"; then
HYPH_SYSTEM_DIR=file://$with_external_hyph_dir
else
HYPH_SYSTEM_DIR=file:///usr/share/hyphen
fi
AC_MSG_RESULT([$HYPH_SYSTEM_DIR])
AC_MSG_CHECKING([for thesaurus directory])
if test -n "$with_external_thes_dir"; then
THES_SYSTEM_DIR=file://$with_external_thes_dir
else
THES_SYSTEM_DIR=file:///usr/share/mythes
fi
AC_MSG_RESULT([$THES_SYSTEM_DIR])
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
SYSTEM_DICTS=NO
fi
AC_SUBST(SYSTEM_DICTS)
AC_SUBST(DICT_SYSTEM_DIR)
AC_SUBST(HYPH_SYSTEM_DIR)
AC_SUBST(THES_SYSTEM_DIR)
CWS-TOOLING: integrate CWS sb107 2009-04-14 13:09:13 +0200 sb r270758 : CWS-TOOLING: rebase CWS sb107 to trunk@270723 (milestone: DEV300:m46) 2009-04-06 14:11:54 +0200 sb r270545 : #i100884# improve pagein effectiveness: wrap system libs in --as-needed on unxlngi6/unxlngx6 to avoid needing them where unneeded; link pagein as C program to avoid unneeded C++ runtime dependency; reorder pagein and javaldx in soffice startup script so that javaldx benefits from pagein 2009-03-31 16:40:23 +0200 sb r270287 : decrease collisions in hashCode computation 2009-03-30 11:48:39 +0200 sb r270207 : #i100668# corrected explicit template instantiation 2009-03-26 14:16:26 +0100 sb r270078 : #i100408# inadvertently dropped libexslt dynamic library in previous rev 269789 2009-03-26 10:52:51 +0100 sb r270058 : #i100576# fixed erroneous modification of RPM in previous rev 270057 2009-03-26 10:46:36 +0100 sb r270057 : #i100576# Enable HAVE_LD_HASH_STYLE in sdev300.ini for unxlgni6 and unxlngx6; corrected unxlngx6.mk so that HAVE_LD_HASH_STYLE actually has an effect on ultimate LINKFLAGS value. 2009-03-25 16:53:39 +0100 sb r270038 : #i85679# applied speed-symbolic-functions.diff provided by pmladek; re-ran autoconf; enabled HAVE_LD_BSYMBOLIC_FUNCTIONS for unxlngi6 and unxlngx6 in sdev300.ini 2009-03-25 15:29:12 +0100 sb r270031 : #i100408# missing fixes in addition to -c 269789 (to actually only put single instances of certain libraries into installation sets) 2009-03-25 15:17:10 +0100 sb r270029 : #i10084# revert masterfix additions of libraries to APPnSTDLIBs (during -r269000:269199) and instead use -rpath-link to avoid linker warnings on unxlngi6 and unxlngx6 2009-03-25 14:15:23 +0100 sb r270023 : added svn:ignore 2009-03-25 10:25:08 +0100 sb r270002 : #i10000# copied over trunk -c 269820 2009-03-23 10:16:00 +0100 sb r269858 : CWS-TOOLING: rebase CWS sb107 to trunk@269781 (milestone: DEV300:m44) 2009-03-20 11:22:27 +0100 sb r269789 : #i100408# reduce (multiple copies of) libraries delivered to solver; for that to work fine, deliver symlink feature got improved to only create a symlink if the original file exists 2009-03-20 09:21:32 +0100 sb r269782 : #i100396# replace s(HTML|RTF)_xxx declarations with OOO_STRING_SVTOOLS_(HTML|RTF)_xxx macros to reduce symbolic relocations at load time (at least on ELF systems). 2009-03-19 11:34:56 +0100 sb r269734 : #i100348# added VISIBILITY_HIDDEN=TRUE so that symbols from the resulting archive are not erroneously exported from dynamic libraries including the archive 2009-03-19 11:32:20 +0100 sb r269733 : #i100348# as a prerequisite for following changes, brought jpeg-6b.patch into "dmake create_patch" format and removed application/octet-stream svn:mime-type 2009-03-12 10:39:08 +0100 sb r269370 : duplicated cws/odfmetadata2/solenv/inc/target.mk -c 268831 2009-03-04 17:25:16 +0100 sb r268849 : #i99880# missing AUGMENT_LIBRARY_PATH 2009-02-25 17:54:34 +0100 sb r268459 : CWS-TOOLING: rebase CWS sb107 to trunk@268395 (milestone: DEV300:m42) 2009-02-25 09:23:15 +0100 sb r268413 : #i99584# avoid undefined operations on nOffset (patch by cmc) 2009-02-23 10:02:25 +0100 sb r268344 : #i99519 removed unnecessary library dependencies 2009-02-18 17:54:24 +0100 sb r268250 : avoid warnings about format specifier and argument mismatch (on 64bit debug builds) 2009-02-18 17:50:34 +0100 sb r268249 : avoid erroneous warning that control reaches end of non-void function 2009-02-18 17:33:53 +0100 sb r268248 : sdext/source/pdfimport/misc/pdfihelper.cxx: #include <vcl/canvastools.hxx>
2009-04-27 11:24:10 +00:00
dnl ===================================================================
dnl Set the ENABLE_PCH variable. (Activate --enable-pch)
dnl ===================================================================
AC_MSG_CHECKING([whether to enable pch feature])
if test -n "$enable_pch" && test "$enable_pch" != "no"; then
2011-07-04 02:20:26 -05:00
if test "$_os" = "WINNT" -a "$WITH_MINGW" != "yes"; then
ENABLE_PCH="TRUE"
AC_MSG_RESULT([yes])
dnl There is no PCH support in GCC versions prior to this
2011-07-04 02:20:26 -05:00
elif test "$GCC" = "yes"; then
ENABLE_PCH="TRUE"
AC_MSG_RESULT([yes])
else
ENABLE_PCH=""
AC_MSG_WARN([Precompiled header not yet supported for your platform/compiler])
fi
else
ENABLE_PCH=""
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_PCH)
dnl ===================================================================
2002-10-02 08:18:56 +00:00
dnl Search all the common names for GNU make
dnl ===================================================================
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([for GNU make])
# try to use our own make if it is available and GNUMAKE was not already defined
if test -z "$GNUMAKE"; then
if test -x "/opt/lo/bin/make"; then
GNUMAKE="/opt/lo/bin/make"
fi
fi
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
for a in "$MAKE" $GNUMAKE make gmake gnumake; do
2011-07-04 02:20:26 -05:00
$a --version 2> /dev/null | grep GNU 2>&1 > /dev/null
if test $? -eq 0; then
GNUMAKE=$a
break
fi
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
done
AC_MSG_RESULT($GNUMAKE)
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
if test -z "$GNUMAKE"; then
AC_MSG_ERROR([not found. install GNU make.])
fi
2002-10-02 08:18:56 +00:00
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([the GNU make version])
_make_version=`$GNUMAKE --version | grep GNU | grep -v GPL | $SED -e 's@^[[^0-9]]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
_make_longver=`echo $_make_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
if test "$_make_longver" -ge "038200" ; then
2010-12-15 17:28:22 -06:00
AC_MSG_RESULT([$GNUMAKE $_make_version])
elif test "$_make_longver" -ge "038100" ; then
AC_MSG_RESULT([$GNUMAKE $_make_version])
AC_MSG_CHECKING([for GNU make bug 20033])
TESTGMAKEBUG20033=`mktemp -d`
cat > $TESTGMAKEBUG20033/Makefile << EOF
A := \$(wildcard *.a)
.PHONY: all
all: \$(A:.a=.b)
@echo survived bug20033. #dont kill these tabs, you will break the Makefile!!!!
.PHONY: setup
setup:
@touch 1.a 2.a 3.a 4.a 5.a 6.a
define d1
@echo lala \$(1)
@sleep 1
endef
define d2
@echo tyty \$(1)
@sleep 1
endef
%.b : %.a
\$(eval CHECKSUM := \$(word 1,\$(shell cat \$^ | sha1sum))) \$(if \$(wildcard \$(CACHEDIR)/\$(CHECKSUM)),\
\$(call d1,\$(CHECKSUM)),\
\$(call d2,\$(CHECKSUM)))
EOF
if test -z "`(cd $TESTGMAKEBUG20033 && $GNUMAKE setup && $GNUMAKE -j)|grep survived`"; then
no_parallelism_make="YES"
AC_MSG_RESULT([yes, disable parallelism])
else
AC_MSG_RESULT([no, keep parallelism enabled])
fi
rm -rf $TESTGMAKEBUG20033
2002-10-02 08:18:56 +00:00
else
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([failed ($GNUMAKE version >= 3.81 needed])
2002-10-02 08:18:56 +00:00
fi
AC_SUBST(GNUMAKE)
2002-10-02 08:18:56 +00:00
_make_ver_check=`$GNUMAKE --version | grep LibreOffice`;
STALE_MAKE=
make_warning=
if test "z$_make_ver_check" = "z"; then
STALE_MAKE=TRUE
fi
AC_SUBST(STALE_MAKE)
dnl ===================================================================
2011-05-15 02:11:48 +03:00
dnl Test the Solaris compiler version
dnl ===================================================================
2000-09-18 15:18:56 +00:00
if test "$_os" = "SunOS"; then
2011-07-04 02:20:26 -05:00
if test "$CC" = "cc"; then
AC_PATH_PROGS(_cc, cc)
COMPATH=`echo $_cc | $SED -n "s/\/bin\/cc//p"`
AC_MSG_CHECKING([the SunStudio C/C++ compiler version])
dnl cc -V outputs to standard error!!!!
_sunstudio_string=`$CC -V 2>&1 | grep '^cc' | $SED -e 's/.* C //'`
_sunstudio_version=`echo $_sunstudio_string | $AWK '{ print $1 }'`
_sunstudio_major=`echo $_sunstudio_version | $AWK -F. '{ print $1 }'`
if test "$_sunstudio_major" != "5"; then
AC_MSG_ERROR([found version "$_sunstudio_version", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler])
2011-07-04 02:20:26 -05:00
else
_sunstudio_minor=`echo $_sunstudio_version | $AWK -F. '{ if ($2 == 5) print "true"; else if ($2 == 7) print "true"; else if ($2 == 8) print "true"; else if ($2 == 9) print "true"; else print "false" }'`
if test "$_sunstudio_minor" = "false"; then
AC_MSG_ERROR([found version "$_sunstudio_version", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler])
else
dnl compiler will do
AC_MSG_RESULT([checked])
fi
fi
fi
2000-09-18 15:18:56 +00:00
fi
HAVE_LD_HASH_STYLE=FALSE
WITH_LINKER_HASH_STYLE=
AC_MSG_CHECKING( for --hash-style gcc linker support )
if test "$GCC" = "yes" ; then
2011-07-04 02:20:26 -05:00
if test -z "$with_linker_hash_style" -o "$with_linker_hash_style" = "yes" ; then
hash_styles="gnu sysv"
elif test "$with_linker_hash_style" = "no" ; then
hash_styles=
else
hash_styles="$with_linker_hash_style"
fi
for hash_style in $hash_styles ; do
test "$HAVE_LD_HASH_STYLE" = "TRUE" && continue
hash_style_ldflags_save=$LDFLAGS
LDFLAGS="$LDFLAGS -Wl,--hash-style=$hash_style"
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[
#include <stdio.h>
],[
printf ("");
])],
[ if ./conftest$EXEEXT; then
HAVE_LD_HASH_STYLE=TRUE
WITH_LINKER_HASH_STYLE=$hash_style
fi],
[HAVE_LD_HASH_STYLE=FALSE])
LDFLAGS=$hash_style_ldflags_save
done
if test "$HAVE_LD_HASH_STYLE" = "TRUE"; then
AC_MSG_RESULT( $WITH_LINKER_HASH_STYLE )
else
AC_MSG_RESULT( no )
fi
LDFLAGS=$hash_style_ldflags_save
else
AC_MSG_RESULT( no )
fi
AC_SUBST(HAVE_LD_HASH_STYLE)
AC_SUBST(WITH_LINKER_HASH_STYLE)
dnl ===================================================================
dnl Check whether there's a Perl version available.
dnl ===================================================================
if test -z "$with_perl_home"; then
2011-07-04 02:20:26 -05:00
AC_PATH_PROG(PERL, perl)
else
2011-07-04 02:20:26 -05:00
test "$build_os" = "cygwin" && with_perl_home=`cygpath -u "$with_perl_home"`
_perl_path="$with_perl_home/bin/perl"
if test -x "$_perl_path"; then
PERL=$_perl_path
else
AC_MSG_ERROR([$_perl_path not found])
fi
fi
dnl ===================================================================
dnl Testing for Perl version 5 or greater.
2011-05-15 02:11:48 +03:00
dnl $] is the Perl version variable, it is returned as an integer
dnl ===================================================================
if test "$PERL"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([the Perl version])
${PERL} -e "exit($]);"
_perl_version=$?
if test "$_perl_version" -lt 5; then
AC_MSG_ERROR([found Perl version "$_perl_version", use version 5 of Perl])
fi
AC_MSG_RESULT([checked (perl $_perl_version)])
else
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([Perl not found, install version 5 of Perl])
fi
AC_SUBST(PERL)
dnl ===================================================================
dnl Testing for required Perl modules
dnl ===================================================================
AC_MSG_CHECKING([for required Perl modules])
if `$PERL -e 'use Archive::Zip; use Cwd;'`; then
AC_MSG_RESULT([all modules found])
else
AC_MSG_ERROR([Failed to find some modules])
fi
dnl ===================================================================
dnl Check which Microsoft C/C++ or MinGW compiler is used for WINNT
dnl ===================================================================
SHOWINCLUDES_PREFIX=
2000-09-18 15:18:56 +00:00
if test "$_os" = "WINNT"; then
if test "$WITH_MINGW" != "yes"; then
2010-11-05 02:23:12 +01:00
AC_MSG_CHECKING([for a friendly Microsoft C/C++ compiler installation path])
if test -z "$with_cl_home"; then
vctest=`./oowintool --msvc-productdir`;
2011-01-18 10:45:45 +01:00
if test "$CL_X64" = ""; then
2010-11-05 02:23:12 +01:00
if test -x "$vctest/bin/cl.exe"; then
with_cl_home=$vctest;
fi
else
if test -x "$vctest/bin/amd64/cl.exe"; then
2010-11-05 02:23:12 +01:00
with_cl_home=$vctest;
fi
fi
else
with_cl_home=`cygpath -u "$with_cl_home"`
fi
with_cl_home=`cygpath -d "$with_cl_home"`
with_cl_home=`cygpath -u "$with_cl_home"`
AC_MSG_RESULT([$with_cl_home])
dnl ===========================================================
dnl Check for mspdb80.dll/mspdb100.dll
dnl ===========================================================
dnl MSVS 2008/10 Compiler
if test -n "$with_mspdb_path";then
with_mspdb_path=`cygpath -u "$with_mspdb_path"`
fi
if test -e "$with_mspdb_path/mspdb80.dll" -o -e "$with_mspdb_path/mspdb100.dll"; then
MSPDB_PATH="$with_mspdb_path"
fi
dnl MSVS 2008 case
if test -z "$MSPDB_PATH" -a -e "$with_cl_home/../Common7/IDE/mspdb80.dll"; then
MSPDB_PATH="$with_cl_home/../Common7/IDE"
fi
dnl Windows SDK 6.0 case
if test -z "$MSPDB_PATH" -a -e "$with_cl_home/bin/mspdb80.dll"; then
MSPDB_PATH="$with_cl_home/bin"
fi
dnl MSVS 2010 case
if test -z "$MSPDB_PATH" -a -e "$with_cl_home/../Common7/IDE/mspdb100.dll"; then
MSPDB_PATH="$with_cl_home/../Common7/IDE"
fi
if test -z "$MSPDB_PATH";then
dnl AC_PATH_PROG only checks if MSPDB_PATH is still empty
AC_PATH_PROG(MSPDB_PATH, mspdb80.dll)
AC_PATH_PROG(MSPDB_PATH, mspdb100.dll)
MSPDB_PATH=`dirname "$MSPDB_PATH"`
fi
if test -z "$MSPDB_PATH"; then
AC_MSG_ERROR([You need a mspdb80.dllor mspdb100.dll, make sure it is in the path or use --with-mspdb-path])
fi
MSPDB_PATH=`cygpath -d "$MSPDB_PATH"`
MSPDB_PATH=`cygpath -u "$MSPDB_PATH"`
dnl The path needs to be added before cl is called
PATH="$MSPDB_PATH:$PATH"
AC_MSG_CHECKING([the Microsoft C/C++ Compiler])
if test -z "$CC"; then
if test "$CL_X64" = ""; then
if test -x "$with_cl_home/bin/cl.exe"; then
CC="$with_cl_home/bin/cl.exe"
fi
else
if test -x "$with_cl_home/bin/amd64/cl.exe"; then
CC="$with_cl_home/bin/amd64/cl.exe"
fi
2010-11-05 02:23:12 +01:00
fi
if test -z "$CC"; then
AC_PATH_PROG(CC, cl.exe)
2010-11-05 02:23:12 +01:00
fi
# This gives us a posix path with 8.3 filename restrictions
CC=`cygpath -d "$CC"`
CC=`cygpath -u "$CC"`
fi
if test -n "$CC"; then
# Remove /cl.exe from CC case insensitive
AC_MSG_RESULT([found ($CC)])
2011-01-18 10:45:45 +01:00
if test "$CL_X64" = ""; then
COMPATH=`echo $CC | $SED -e 's@\/[[Bb]][[Ii]][[Nn]]\/[[cC]][[lL]]\.[[eE]][[xX]][[eE]].*@@' -e 's@^.* @@'`
2010-11-05 09:36:23 +01:00
else
if test -n "$with_cl_home"; then
COMPATH=`echo $with_cl_home`
fi
fi
export INCLUDE=`cygpath -d "$COMPATH/Include"`
dnl Check which Microsoft C/C++ compiler is found
AC_MSG_CHECKING([the Version of Microsoft C/C++ Compiler])
2011-07-04 02:20:26 -05:00
# The following finds Microsoft, matches nn.nn.nnnn then pulls numbers out.
CCNUMVER=`$CC 2>&1 | $AWK "/Microsoft/ && /..\\...\\...../ {
x = match( \\\$0, /..\\...\\...../ )
CCversion = substr( \\\$0, RSTART, RLENGTH)
tokencount = split (CCversion,vertoken,\".\")
for ( i = 1 ; i <= tokencount ; i++ ) {
printf (\"%04d\",vertoken[[i]] )
}
}"`
if test "$CCNUMVER" -ge "001600000000"; then
COMEX=13
MSVSVER=2010
elif test "$CCNUMVER" -ge "001500000000"; then
COMEX=12
MSVSVER=2008
else
AC_MSG_ERROR([Compiler too old. Use Microsoft Visual Studio 2008 or 2010.])
fi
2011-01-24 21:59:02 +02:00
AC_MSG_RESULT([found compiler version $CCNUMVER (MSVS $MSVSVER).])
else
AC_MSG_ERROR([Microsoft C/C++ Compiler not found. Use --with-cl-home or set path to cl.exe.])
fi
dnl We need to guess the prefix of the -showIncludes output, it can be
dnl localized
AC_MSG_CHECKING([the dependency generation prefix (cl.exe -showIncludes)])
echo "#include <stdlib.h>" > conftest.c
SHOWINCLUDES_PREFIX=`$CC -c -showIncludes conftest.c 2>/dev/null | \
grep 'stdlib\.h' | head -n1 | sed 's/ [[[:alpha:]]]:.*//'`
rm -f conftest.c conftest.obj
if test -z "$SHOWINCLUDES_PREFIX" ; then
AC_MSG_ERROR([cannot determine the -showIncludes prefix])
else
AC_MSG_RESULT(["$SHOWINCLUDES_PREFIX"])
fi
2011-07-04 02:20:26 -05:00
# Check for 64-bit (cross-)compiler to use to build the 64-bit
# version of the Explorer extension (and maybe other small
# bits, too) needed when installing a 32-bit LibreOffice on a
# 64-bit OS. The 64-bit Explorer extension is a feature that
# has been present since long in OOo. Don't confuse it with
# building LibreOffice itself as 64-bit code, which is
# unfished work and highly experimental.
BUILD_X64=
CC_X64_BINARY=
LINK_X64_BINARY=
LIBMGR_X64_BINARY=
AC_MSG_CHECKING([for a x64 compiler and libraries for 64bit ActiveX component])
if test "$CL_X64" = "" -a -f "$with_cl_home/atlmfc/lib/amd64/atls.lib"; then
2011-07-04 02:20:26 -05:00
# Prefer native x64 compiler to cross-compiler, in case we are running
# the build on a 64-bit OS.
if "$with_cl_home/bin/amd64/cl.exe" -? </dev/null >/dev/null 2>&1; then
BUILD_X64=TRUE
CC_X64_BINARY="$with_cl_home/bin/amd64/cl.exe"
CXX_X64_BINARY="$with_cl_home/bin/amd64/cl.exe"
LINK_X64_BINARY="$with_cl_home/bin/amd64/link.exe"
LIBMGR_X64_BINARY="$with_cl_home/bin/amd64/lib.exe"
elif "$with_cl_home/bin/x86_amd64/cl.exe" -? </dev/null >/dev/null 2>&1; then
BUILD_X64=TRUE
CC_X64_BINARY="$with_cl_home/bin/x86_amd64/cl.exe"
CXX_X64_BINARY="$with_cl_home/bin/x86_amd64/cl.exe"
LINK_X64_BINARY="$with_cl_home/bin/x86_amd64/link.exe"
LIBMGR_X64_BINARY="$with_cl_home/bin/x86_amd64/lib.exe"
fi
fi
if test "$BUILD_X64" = TRUE; then
AC_MSG_RESULT([found])
else
AC_MSG_RESULT([not found])
AC_MSG_WARN([Installation set will not contain the 64-bit Explorer extension])
2011-07-04 02:20:26 -05:00
fi
AC_SUBST(BUILD_X64)
# These are passed to the environment through set_soenv.in as usual, and then
# used in set_wntx64.mk
AC_SUBST(CC_X64_BINARY)
AC_SUBST(CXX_X64_BINARY)
AC_SUBST(LINK_X64_BINARY)
AC_SUBST(LIBMGR_X64_BINARY)
else
AC_MSG_CHECKING([the compiler is MinGW])
MACHINE_PREFIX=`$CC -dumpmachine`
if echo $MACHINE_PREFIX | grep -q mingw32; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([Compiler is not MinGW.])
fi
fi
2002-10-02 08:18:56 +00:00
fi
AC_SUBST(COMEX)
AC_SUBST(MSPDB_PATH)
AC_SUBST(SHOWINCLUDES_PREFIX)
dnl ===================================================================
dnl Check for pkg-config
dnl ===================================================================
if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
PKG_PROG_PKG_CONFIG
fi
if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
2011-07-04 02:20:26 -05:00
# If you use CC=/path/to/compiler/foo-gcc or even CC="ccache
# /path/to/compiler/foo-gcc" you need to set the AR etc env vars
# explicitly. Or put /path/to/compiler in PATH yourself.
2011-07-04 02:20:26 -05:00
AC_CHECK_TOOL(AR,ar)
AC_CHECK_TOOL(NM,nm)
AC_CHECK_TOOL(OBJDUMP,objdump)
AC_CHECK_TOOL(RANLIB,ranlib)
AC_CHECK_TOOL(STRIP,strip)
if test "$_os" = "WINNT"; then
AC_CHECK_TOOL(DLLTOOL,dlltool)
AC_CHECK_TOOL(WINDRES,windres)
fi
fi
AC_SUBST(AR)
AC_SUBST(DLLTOOL)
AC_SUBST(NM)
AC_SUBST(OBJDUMP)
AC_SUBST(PKG_CONFIG)
AC_SUBST(RANLIB)
AC_SUBST(STRIP)
AC_SUBST(WINDRES)
dnl ===================================================================
dnl pkg-config checks on Mac OS X
dnl ===================================================================
if test $_os = Darwin; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([for bogus pkg-config])
if test -n "$PKG_CONFIG"; then
if test "$PKG_CONFIG" = /usr/bin/pkg-config && ls -l /usr/bin/pkg-config | grep -q Mono.framework; then
AC_MSG_RESULT([yes, from Mono])
else
AC_MSG_RESULT([yes, from unknown origin])
fi
AC_MSG_WARN([This might have unexpected consequences, please consider hiding $PKG_CONFIG])
echo "Having a $PKG_CONFIG might have unexpected consequences, please consider hiding it" >>warn
else
AC_MSG_RESULT([no])
fi
fi
dnl ===================================================================
dnl .NET needs special treatment
dnl (does the above comment really mean .NET, or is it misusing
dnl that to mean Visual Studio .NET 2003 ? And does this also
dnl in fact apply equally to what we actually support, i.e.
dnl Visual Studio 2008 and 2010?)
dnl ===================================================================
if test "$build_os" = "cygwin"; then
dnl Check midl.exe
AC_PATH_PROG(MIDL_PATH, midl.exe)
if test -n "$MIDL_PATH";then
MIDL_PATH=`dirname "$MIDL_PATH"`
fi
if test -n "$with_midl_path";then
with_midl_path=`cygpath -u "$with_midl_path"`
fi
if test -x "$with_midl_path/midl.exe"; then
MIDL_PATH="$with_midl_path"
fi
if test -z "$MIDL_PATH" -a -e "$with_cl_home/../Common7/Tools/Bin/midl.exe"; then
MIDL_PATH="$with_cl_home/../Common7/Tools/Bin"
fi
if test -z "$MIDL_PATH" ; then
2011-07-04 02:20:26 -05:00
vstest=`./oowintool --msvs-productdir`;
if test -x "$vstest/Common7/Tools/Bin/midl.exe" ; then
MIDL_PATH="$vstest/Common7/Tools/Bin"
fi
fi
if test -z "$MIDL_PATH" ; then
winsdktest=`./oowintool --windows-sdk-home`
if test -x "$winsdktest/Bin/midl.exe" ; then
MIDL_PATH="$winsdktest/Bin"
fi
fi
if test ! -x "$MIDL_PATH/midl.exe"; then
AC_MSG_ERROR([midl.exe not found. Make sure it's in PATH or use --with-midl-path])
fi
# Convert to posix path with 8.3 filename restrictions ( No spaces )
MIDL_PATH=`cygpath -d "$MIDL_PATH"`
MIDL_PATH=`cygpath -u "$MIDL_PATH"`
dnl Check csc.exe
AC_PATH_PROG(CSC_PATH, csc.exe)
if test -n "$CSC_PATH";then
CSC_PATH=`dirname "$CSC_PATH"`
fi
if test -n "$with_csc_path";then
with_csc_path=`cygpath -u "$with_csc_path"`
fi
if test -x "$with_csc_path/csc.exe"; then
CSC_PATH="$with_csc_path"
else
csctest=`./oowintool --csc-compilerdir`;
if test -x "$csctest/csc.exe"; then
2011-07-04 02:20:26 -05:00
CSC_PATH="$csctest"
fi
fi
if test ! -x "$CSC_PATH/csc.exe"; then
AC_MSG_ERROR([csc.exe not found. Make sure it's in the path or use --with-csc-path])
fi
# Convert to posix path with 8.3 filename restrictions ( No spaces )
CSC_PATH=`cygpath -d "$CSC_PATH"`
CSC_PATH=`cygpath -u "$CSC_PATH"`
dnl Check mscoree.lib / .NET Framework dir
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING(.NET Framework)
if test -n "$with_dotnet_framework_home"; then
with_dotnet_framework_home=`cygpath -u "$with_dotnet_framework_home"`
2011-07-04 02:20:26 -05:00
fi
if test -f "$with_dotnet_framework_home/lib/mscoree.lib"; then
DOTNET_FRAMEWORK_HOME="$with_dotnet_framework_home"
fi
if test -z "$DOTNET_FRAMEWORK_HOME" ; then
frametest=`./oowintool --dotnetsdk-dir`
if test -f "$frametest/lib/mscoree.lib"; then
DOTNET_FRAMEWORK_HOME="$frametest"
else
frametest=`./oowintool --windows-sdk-home`
if test -f "$frametest/lib/mscoree.lib"; then
DOTNET_FRAMEWORK_HOME="$frametest"
2011-07-04 02:20:26 -05:00
fi
fi
2011-07-04 02:20:26 -05:00
fi
if test ! -f "$DOTNET_FRAMEWORK_HOME/lib/mscoree.lib"; then
AC_MSG_ERROR([mscoree.lib (.NET Framework) not found. Make sure you use --with-dotnet-framework-home])
fi
AC_MSG_RESULT(found)
# Convert to posix path with 8.3 filename restrictions ( No spaces )
DOTNET_FRAMEWORK_HOME=`cygpath -d "$DOTNET_FRAMEWORK_HOME"`
DOTNET_FRAMEWORK_HOME=`cygpath -u "$DOTNET_FRAMEWORK_HOME"`
AC_SUBST(MIDL_PATH)
AC_SUBST(CSC_PATH)
AC_SUBST(DOTNET_FRAMEWORK_HOME)
fi
2000-09-18 15:18:56 +00:00
dnl ===================================================================
dnl Check if stdc headers are available excluding MSVC.
dnl ===================================================================
if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_HEADER_STDC
fi
2000-09-18 15:18:56 +00:00
dnl ===================================================================
dnl Testing for C++ compiler and version...
dnl ===================================================================
if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
AC_PROG_CXX
else
if test -n "$CC" -a -z "$CXX"; then
CXX="$CC"
fi
fi
dnl check if we are using a buggy version of g++ (currently 3.4.0, 3.4.1 and trunk)
if test "$GXX" = "yes"; then
AC_MSG_CHECKING([the GNU C++ compiler version])
_gpp_version=`$CXX -dumpversion`
_gpp_majmin=`echo $_gpp_version | $AWK -F. '{ print \$1*100+\$2 }'`
if test "$_os" = "Darwin" -a "$with_macosx_sdk" = "10.4" -a "$_gpp_majmin" -ge "401" ; then
if test -z "$save_CXX" -a -x "$GCC_HOME/bin/g++-4.0" ; then
export CXX="$GCC_HOME/bin/g++-4.0"
_gpp_majmin_2=`$CXX -dumpversion | $AWK -F. '{ print \$1*100+\$2 }'`
if test "$_gpp_majmin_2" -ge "400" -a "$_gpp_majmin_2" -lt "401" ; then
_gpp_majmin=$_gpp_majmin_2
fi
fi
if test "$_gpp_majmin" -ge "401" ; then
AC_MSG_ERROR([You need to use the g++-4.0 compiler (g++ $_gpp_version won't work with the MacOSX10.4u.sdk) - set CXX accordingly])
else
AC_MSG_RESULT([implicitly using CXX=$CXX])
fi
else
AC_MSG_RESULT([checked (g++ $_gpp_version)])
fi
if test "$_gpp_majmin" = "304"; then
AC_MSG_CHECKING([whether $CXX has the enum bug])
AC_RUN_IFELSE([AC_LANG_SOURCE([[
extern "C" void abort (void);
extern "C" void exit (int status);
enum E { E0, E1, E2, E3, E4, E5 };
void test (enum E e)
{
if (e == E2 || e == E3 || e == E1)
exit (1);
}
int main (void)
{
test (E4);
test (E5);
test (E0);
return 0;
}
]])],[AC_MSG_ERROR([your version of the GNU C++ compile has a bug which prevents LibreOffice from being compiled correctly - please check http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html for details.])],[AC_MSG_RESULT([no])],[])
fi
fi
#
# prefx CXX with ccache if needed
#
if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
if test "$CCACHE" != "" ; then
AC_MSG_CHECKING([whether $CXX is already ccached])
AC_LANG_PUSH([C++])
save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS --ccache-skip -O2"
dnl an empty program will do, we're checking the compiler flags
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])],
[use_ccache=yes], [use_ccache=no])
if test $use_ccache = yes ; then
AC_MSG_RESULT([yes])
else
CXX="$CCACHE $CXX"
AC_MSG_RESULT([no])
fi
CXXFLAGS=$save_CXXFLAGS
AC_LANG_POP([C++])
fi
fi
dnl ===================================================================
dnl Find pre-processors.(should do that _after_ messing with CC/CXX)
dnl ===================================================================
2011-07-04 02:20:26 -05:00
if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_PROG_CXXCPP
dnl Check whether there's a C pre-processor.
dnl ===================================================================
dnl When using SunStudio compiler, there is a bug with the cc
dnl preprocessor, so use CC preprocessor as the cc preprocessor
dnl See Issuezilla #445.
dnl ===================================================================
if test "$_os" = "SunOS"; then
CPP=$CXXCPP
else
AC_PROG_CPP
fi
fi
2011-07-04 02:20:26 -05:00
dnl ===================================================================
dnl Find integral type sizes and alignments
dnl ===================================================================
if test "$_os" != "WINNT" -o "$WITH_MINGW" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_CHECK_SIZEOF(long)
AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long long)
AC_CHECK_SIZEOF(double)
AC_CHECK_SIZEOF(void*)
SIZEOF_SHORT=$ac_cv_sizeof_short
SIZEOF_INT=$ac_cv_sizeof_int
SIZEOF_LONG=$ac_cv_sizeof_long
SIZEOF_LONGLONG=$ac_cv_sizeof_long_long
SIZEOF_DOUBLE=$ac_cv_sizeof_double
SIZEOF_POINTER=$ac_cv_sizeof_voidp
dnl Allow build without AC_CHECK_ALIGNOF, grrr
m4_pattern_allow([AC_CHECK_ALIGNOF])
m4_ifdef([AC_CHECK_ALIGNOF],
,
[
dnl We know that the ALIGNOF_ variables are used only when cross-compiling
dnl in sal/typesconfig/makefile.mk...
if test "$cross_compiling" = "yes"; then
AC_MSG_ERROR([When cross-compiling you must use a recent Autoconf with [AC_][CHECK_ALIGNOF]])
fi
m4_define([AC_CHECK_ALIGNOF],
[
AC_MSG_WARN([Cannot determine alignment of $1])
AS_TR_SH([ac_cv_alignof_$3])=unknown
])
])
2011-07-04 02:20:26 -05:00
AC_CHECK_ALIGNOF(short,[#include <stddef.h>])
AC_CHECK_ALIGNOF(int,[#include <stddef.h>])
AC_CHECK_ALIGNOF(long,[#include <stddef.h>])
AC_CHECK_ALIGNOF(double,[#include <stddef.h>])
ALIGNOF_SHORT=$ac_cv_alignof_short
ALIGNOF_INT=$ac_cv_alignof_int
ALIGNOF_LONG=$ac_cv_alignof_long
ALIGNOF_DOUBLE=$ac_cv_alignof_double
AC_C_BIGENDIAN
WORDS_BIGENDIAN=$ac_cv_c_bigendian
dnl Check for large file support
AC_SYS_LARGEFILE
if test -n "$ac_cv_sys_file_offset_bits"; then
LFS_CFLAGS="-D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
fi
if test -n "$ac_cv_sys_large_files" && test "$ac_cv_sys_large_files" != "no"; then
LFS_CFLAGS="$LFS_CFLAGS -D_LARGE_FILES"
fi
else
# Hardcode for MSVC
SIZEOF_SHORT=2
SIZEOF_INT=4
SIZEOF_LONG=4
SIZEOF_LONGLONG=8
if test "$CL_X64" = ""; then
SIZEOF_POINTER=4
else
SIZEOF_POINTER=8
fi
ALIGNOF_SHORT=2
ALIGNOF_INT=4
ALIGNOF_LONG=4
ALIGNOF_DOUBLE=8
WORDS_BIGENDIAN=no
LFS_CFLAGS=''
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
fi
AC_SUBST(WORDS_BIGENDIAN)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_SUBST(LFS_CFLAGS)
AC_SUBST(SIZEOF_SHORT)
AC_SUBST(SIZEOF_INT)
AC_SUBST(SIZEOF_LONG)
AC_SUBST(SIZEOF_LONGLONG)
AC_SUBST(SIZEOF_DOUBLE)
AC_SUBST(SIZEOF_POINTER)
AC_SUBST(ALIGNOF_SHORT)
AC_SUBST(ALIGNOF_INT)
AC_SUBST(ALIGNOF_LONG)
AC_SUBST(ALIGNOF_DOUBLE)
dnl ===================================================================
dnl Check if valgrind.h is available
dnl ===================================================================
if test "$cross_compiling" != "yes" -a "$enable_dbgutil" != "no" -a \
-z "$VALGRIND_CFLAGS"; then
2011-07-04 02:20:26 -05:00
dnl Test $prefix (currently only testing for /usr and /usr/local)
dnl so that VALGRIND_CFLAGS = -I$prefix/include/valgrind
prev_cppflags=$CPPFLAGS
CPPFLAGS="-I/usr/include/valgrind"
AC_CHECK_HEADER([valgrind.h], [VALGRIND_CFLAGS=$CPPFLAGS], [unset ac_cv_header_valgrind_h])
2011-07-04 02:20:26 -05:00
if test -z "$VALGRIND_CFLAGS"; then
CPPFLAGS="-I/usr/local/include/valgrind"
AC_CHECK_HEADER([valgrind.h], [VALGRIND_CFLAGS=$CPPFLAGS], [])
fi
if test -n "$VALGRIND_CFLAGS"; then
CPPFLAGS=$VALGRIND_CFLAGS
AC_CHECK_HEADER([memcheck.h], [], [VALGRIND_CFLAGS=""])
fi
CPPFLAGS=$prev_cppflags
fi
AC_SUBST([VALGRIND_CFLAGS])
dnl ===================================================================
dnl Set the gcc/gxx include directories
dnl ===================================================================
# Removed the special FreeBSD treatment. The problem was that with_gxx_include_path
# often contains an i386 which is expanded as a macro.
if test "$GXX" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([for g++ include path])
if test -z "$with_gxx_include_path"; then
with_gxx_include_path=`echo "#include <cstring>" | $CXX -E -xc++ - | $SED -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1`
if test "$with_gxx_include_path" = "/usr/libexec/(null)/include"; then
with_gxx_include_path="/usr/include"
fi
if echo $with_gxx_include_path | grep -q linux; then
# workaround for Mandriva - issue 100049
with_gxx_include_path=`cd $with_gxx_include_path && pwd`
fi
fi
dnl This is the original code...
dnl with_gxx_include_path=`$CXX -print-search-dirs | grep instal |$AWK '{ print \$2 }'`/include
if test -z "$with_gxx_include_path"; then
with_gxx_include_path="NO_GXX_INCLUDE"
AC_MSG_RESULT([none])
else
AC_MSG_RESULT([$with_gxx_include_path])
fi
else
with_gxx_include_path="NO_GXX_INCLUDE"
fi
GXX_INCLUDE_PATH="$with_gxx_include_path"
AC_SUBST(GXX_INCLUDE_PATH)
dnl ===================================================================
dnl Set the MinGW include directories
dnl ===================================================================
if test "$WITH_MINGW" = "yes"; then
AC_MSG_CHECKING([for MinGW include path])
2011-07-04 02:20:26 -05:00
cat >conftest.$ac_ext <<_ACEOF
#include <stddef.h>
#include <bits/c++config.h>
_ACEOF
2011-07-04 02:20:26 -05:00
_mingw_lib_include_path=`$CXX -E -xc++ conftest.$ac_ext | $SED -n -e '/.*1*"\(.*\)\/stddef.h".*/s//\1/p' -e '/.*1*"\(.*\)\/bits\/c++config.h".*/s//\1/p' | sort -u | xargs echo`
rm conftest.$ac_ext
if test -z "$_mingw_lib_include_path"; then
_mingw_lib_include_path="NO_LIB_INCLUDE"
AC_MSG_RESULT([no MinGW include path])
else
AC_MSG_RESULT([$_mingw_lib_include_path])
fi
MINGW_LIB_INCLUDE_PATH="$_mingw_lib_include_path"
AC_SUBST(MINGW_LIB_INCLUDE_PATH)
2011-07-04 02:20:26 -05:00
mingw_crtbegin=`$CC -print-file-name=crtbegin.o`
MINGW_CLIB_DIR=`dirname $mingw_crtbegin`
AC_LANG_PUSH([C++])
AC_MSG_CHECKING([for dynamic libgcc])
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <iostream>
using namespace std;
]], [[ try { throw 42; } catch (int e) { cout << "Yep, " << e << endl; } ]])],[
MINGW_GCCDLL=`$OBJDUMP -p conftest.exe | grep 'DLL Name: libgcc' | $SED -e 's@.*DLL Name: @@'`
if test -n "$MINGW_GCCDLL"; then
MINGW_SHARED_GCCLIB=YES
AC_MSG_RESULT([ $MINGW_GCCDLL])
else
MINGW_SHARED_GCCLIB=NO
AC_MSG_RESULT([no])
fi
],[ AC_MSG_RESULT([no])
])
AC_MSG_CHECKING([for dynamic libstdc++])
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
#include <iostream>
using namespace std;
]], [[ cout << "Hello there." << endl; ]])],[
MINGW_GXXDLL=`$OBJDUMP -p conftest.exe | grep 'DLL Name: libstdc++' | $SED -e 's@.*DLL Name: @@'`
if test -n "$MINGW_GXXDLL"; then
2011-08-29 18:27:58 +03:00
mingw_gxxdll_root=${MINGW_GXXDLL%.dll}
mingw_gxxdll_root=${mingw_gxxdll_root#lib}
MINGW_SHARED_LIBSTDCPP=-l$mingw_gxxdll_root
MINGW_SHARED_GXXLIB=YES
AC_MSG_RESULT([$MINGW_GXXDLL])
else
MINGW_SHARED_GXXLIB=NO
AC_MSG_RESULT([no])
fi
],[ AC_MSG_RESULT([no])
])
AC_LANG_POP([C++])
2011-07-04 02:20:26 -05:00
AC_SUBST(MINGW_CLIB_DIR)
AC_SUBST(MINGW_SHARED_GCCLIB)
AC_SUBST(MINGW_SHARED_GXXLIB)
AC_SUBST(MINGW_SHARED_LIBSTDCPP)
AC_SUBST(MINGW_GCCDLL)
AC_SUBST(MINGW_GXXDLL)
fi
dnl ===================================================================
2011-05-15 02:11:48 +03:00
dnl Extra checking for the SunOS compiler
dnl ===================================================================
2000-09-18 15:18:56 +00:00
if test "$_os" = "SunOS"; then
2011-07-04 02:20:26 -05:00
dnl SunStudio C++ compiler packaged with SunStudio C compiler
if test "$CC" = "cc"; then
AC_MSG_CHECKING([SunStudio C++ Compiler])
if test "$CXX" != "CC"; then
AC_MSG_WARN([SunStudio C++ was not found])
echo "SunStudio C++ was not found" >> warn
else
AC_MSG_RESULT([checked])
fi
fi
fi
2000-09-18 15:18:56 +00:00
dnl *************************************************************
dnl Testing for exception handling - dwarf2 or sjlj exceptions...
dnl *************************************************************
if test "$WITH_MINGW" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([exception type])
AC_LANG_PUSH([C++])
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <iostream>
2011-07-04 02:20:26 -05:00
extern "C" void _Unwind_SjLj_RaiseException(void) __attribute__ ((__noreturn__));
]], [[_Unwind_SjLj_RaiseException() ]])],[exceptions_type="sjlj"],[exceptions_type="dwarf2"
])
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT($exceptions_type)
AC_LANG_POP([C++])
fi
EXCEPTIONS="$exceptions_type"
AC_SUBST(EXCEPTIONS)
dnl ===================================================================
dnl Checks for what the default STL should be
dnl ===================================================================
AC_MSG_CHECKING([Whether building STLPort library makes sense])
BUILD_STLPORT="no"
if test "$_os" = "Linux"; then
2011-07-04 02:20:26 -05:00
case "$host_cpu" in
i?86)
2011-07-04 02:20:26 -05:00
case "$host_os" in
k*bsd*-gnu*)
BUILD_STLPORT="no"
;;
*)
BUILD_STLPORT="yes"
;;
esac
;;
*)
2011-07-04 02:20:26 -05:00
BUILD_STLPORT="no"
;;
esac
elif test "$_os" = "SunOS"; then
2011-07-04 02:20:26 -05:00
BUILD_STLPORT="yes"
elif test "$_os" = "WINNT" -a "$WITH_MINGW" != "yes"; then
2011-07-04 02:20:26 -05:00
BUILD_STLPORT="yes"
elif test "$_os" = "FreeBSD"; then
2011-07-04 02:20:26 -05:00
BUILD_STLPORT="yes"
fi
if test "$BUILD_STLPORT" = "yes" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
fi
2001-05-22 12:50:38 +00:00
AC_MSG_CHECKING([Whether STLPort library will be actually built])
if test "$with_stlport" = "auto" -o "$BUILD_STLPORT" = "no"; then
2011-07-04 02:20:26 -05:00
with_stlport=$BUILD_STLPORT
2001-05-22 12:50:38 +00:00
fi
if test "$with_stlport" = "yes" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
WITH_STLPORT=YES
SCPDEFS="$SCPDEFS -DWITH_STLPORT"
BUILD_TYPE="$BUILD_TYPE STLPORT"
else
2011-07-04 02:20:26 -05:00
WITH_STLPORT=NO
AC_MSG_RESULT([no])
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
fi
2001-05-22 12:50:38 +00:00
AC_SUBST(WITH_STLPORT)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl ===================================================================
dnl thread-safe statics
dnl ===================================================================
AC_MSG_CHECKING([whether $CXX supports thread safe statics])
unset HAVE_THREADSAFE_STATICS
if test "$GCC" = "yes"; then
save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS -fthreadsafe-statics"
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,)],[HAVE_THREADSAFE_STATICS=TRUE],[])
AC_LANG_POP([C++])
CXXFLAGS=$save_CXXFLAGS
if test "$HAVE_THREADSAFE_STATICS" = "TRUE"; then
dnl Some C++ runtimes use a single lock for all static variables, which
dnl can cause deadlock in multi-threaded applications. This is not
dnl easily tested here; for POSIX-based systems, if executing the
dnl following C++ program does not terminate then the tool chain
dnl apparently has this problem:
dnl
dnl #include <pthread.h>
dnl int h() { return 0; }
dnl void * g(void * unused) {
dnl static int n = h();
dnl return &n;
dnl }
dnl int f() {
dnl pthread_t t;
dnl pthread_create(&t, 0, g, 0);
dnl pthread_join(t, 0);
dnl return 0;
dnl }
dnl int main() {
dnl static int n = f();
dnl return n;
dnl }
dnl
dnl Mac OS X up to at least 10.7.1 is known to have this problem:
if test "$_os" = "Darwin"; then
unset HAVE_THREADSAFE_STATICS
AC_MSG_RESULT([broken (i.e., no)])
else
AC_MSG_RESULT([yes])
fi
else
AC_MSG_RESULT([no])
fi
else
AC_MSG_RESULT([unknown (assuming no)])
fi
AC_SUBST(HAVE_THREADSAFE_STATICS)
dnl ===================================================================
dnl visibility and c++0x features
dnl ===================================================================
if test "$GCC" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([whether $CC supports -fvisibility=hidden])
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Werror -fvisibility=hidden"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])],[ HAVE_GCC_VISIBILITY_FEATURE=TRUE ],[])
2011-07-04 02:20:26 -05:00
CFLAGS=$save_CFLAGS
if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_MSG_CHECKING([whether $CC supports -Wno-long-double])
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Werror -Wno-long-double"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])],[ HAVE_GCC_NO_LONG_DOUBLE=TRUE ],[])
CFLAGS=$save_CFLAGS
if test "$HAVE_GCC_NO_LONG_DOUBLE" = "TRUE"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
2011-08-04 17:05:45 +01:00
AC_MSG_CHECKING([whether $CC supports -mno-avx])
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -Werror -mno-avx"
AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[ return 0; ]])],[ HAVE_GCC_AVX=TRUE ],[])
2011-08-04 17:05:45 +01:00
CFLAGS=$save_CFLAGS
if test "$HAVE_GCC_AVX" = "TRUE"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([whether $CC supports -std=c++0x without Language Defect 757])
save_CXXFLAGS=$CXXFLAGS
2011-07-04 02:20:26 -05:00
CXXFLAGS="$CXXFLAGS -std=c++0x"
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <stddef.h>
template <typename T, size_t S> char (&sal_n_array_size( T(&)[S] ))[S];
namespace
{
2011-07-04 02:20:26 -05:00
struct b
{
int i;
int j;
};
}
]], [[
struct a
{
2011-07-04 02:20:26 -05:00
int i;
int j;
};
a thinga[]={{0,0}, {1,1}};
b thingb[]={{0,0}, {1,1}};
size_t i = sizeof(sal_n_array_size(thinga));
size_t j = sizeof(sal_n_array_size(thingb));
return !(i != 0 && j != 0);
]])],[HAVE_CXX0X=TRUE],[])
2011-07-04 02:20:26 -05:00
AC_LANG_POP([C++])
CXXFLAGS=$save_CXXFLAGS
if test "$HAVE_CXX0X" = "TRUE"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
fi
AC_SUBST(HAVE_CXX0X)
AC_SUBST(HAVE_GCC_NO_LONG_DOUBLE)
2011-08-04 17:05:45 +01:00
AC_SUBST(HAVE_GCC_AVX)
dnl ===================================================================
dnl system stl sanity tests
dnl ===================================================================
HAVE_GCC_VISIBILITY_BROKEN=
if test \( "$_os" != "WINNT" -o "$WITH_MINGW" = "yes" \) ; then
2011-07-04 02:20:26 -05:00
AC_LANG_PUSH([C++])
if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
AC_MSG_CHECKING([if STL headers are visibility safe])
AC_EGREP_HEADER(visibility push, string, stlvisok=yes, stlvisok=no)
AC_MSG_RESULT([$stlvisok])
if test "$stlvisok" = "no"; then
AC_MSG_WARN([Your gcc STL headers are not visibility safe. Disabling visibility])
echo "Your gcc STL headers are not visibility safe. Disabling visibility" >> warn
unset HAVE_GCC_VISIBILITY_FEATURE
fi
fi
if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
sharedlink_ldflags_save=$LDFLAGS
LDFLAGS="$LDFLAGS -fvisibility-inlines-hidden -fpic -shared"
AC_MSG_CHECKING([if gcc is -fvisibility-inlines-hidden safe with STL headers])
AC_LINK_IFELSE([AC_LANG_PROGRAM([[
2011-07-04 02:20:26 -05:00
#include <sstream>
using namespace std;
]], [[
2011-07-04 02:20:26 -05:00
istringstream strm( "test" ); return 0;
]])],[$EGREP -q unresolvable conftest.err;
if test $? -eq 0; then gccvisok=no; else gccvisok=yes; fi],[gccvisok=no
])
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([$gccvisok])
if test "$gccvisok" = "no"; then
AC_MSG_WARN([Your gcc is not -fvisibility-inlines-hidden safe, disabling that.])
echo "Your gcc is not -fvisibility-inlines-hidden safe, disabling that." >> warn
HAVE_GCC_VISIBILITY_BROKEN="TRUE"
fi
LDFLAGS=$sharedlink_ldflags_save
fi
if test "$HAVE_GCC_VISIBILITY_FEATURE" = "TRUE"; then
AC_MSG_CHECKING([if gcc has a visibility bug with class-level attributes (GCC bug 26905)])
cat >visibility.cxx <<_ACEOF
#pragma GCC visibility push(hidden)
struct __attribute__ ((visibility ("default"))) TestStruct {
static void Init();
};
__attribute__ ((visibility ("default"))) void TestFunc() {
TestStruct::Init();
}
_ACEOF
2011-07-04 02:20:26 -05:00
if ! $CXX $CXXFLAGS $CPPFLAGS -fpic -S visibility.cxx 2>/dev/null > /dev/null; then
gccvisbroken=yes
else
case "$host_cpu" in
i?86|x86_64)
2011-07-04 02:20:26 -05:00
if test "$_os" = "Darwin"; then
gccvisbroken=no
else
if $EGREP -q '@PLT' visibility.s; then
gccvisbroken=no
else
gccvisbroken=yes
fi
fi
;;
*)
2011-07-04 02:20:26 -05:00
gccvisbroken=no
;;
esac
fi
rm -f visibility.s visibility.cxx
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([$gccvisbroken])
if test "$gccvisbroken" = "yes"; then
AC_MSG_WARN([Your gcc is not -fvisibility=hidden safe. Disabling visibility])
echo "Your gcc is not -fvisibility=hidden safe. Disabling visibility" >> warn
unset HAVE_GCC_VISIBILITY_FEATURE
fi
fi
2011-07-04 02:20:26 -05:00
AC_LANG_POP([C++])
fi
AC_SUBST(HAVE_GCC_VISIBILITY_FEATURE)
AC_SUBST(HAVE_GCC_VISIBILITY_BROKEN)
dnl ===================================================================
dnl allocator
dnl ===================================================================
AC_MSG_CHECKING([which memory allocator to use])
if test "$with_alloc" = "system"; then
AC_MSG_RESULT([system])
ALLOC="SYS_ALLOC";
AC_CHECK_FUNCS([malloc realloc calloc free])
fi
if test "$with_alloc" = "tcmalloc"; then
AC_MSG_RESULT(tcmalloc)
if ! echo $host_cpu | grep -E 'i[[3456]]86' 2>/dev/null >/dev/null; then
AC_MSG_ERROR([tcmalloc only available/usable on ix86])
fi
AC_CHECK_LIB(tcmalloc, malloc, [],
[AC_MSG_ERROR(tcmalloc not found or functional. Install the Google Profiling Tools)], [])
ALLOC="TCMALLOC";
fi
2010-06-22 18:10:51 +02:00
if test "$with_alloc" = "jemalloc"; then
2011-07-04 02:20:26 -05:00
if test "$_os" != "FreeBSD" -o "$_os" != "NetBSD"; then
AC_MSG_RESULT(jemalloc)
save_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -pthread"
AC_CHECK_LIB(jemalloc, malloc, [],
[AC_MSG_ERROR(jemalloc not found or functional. Install the jemalloc allocator.)], [])
ALLOC="JEMALLOC";
CFLAGS=$save_CFLAGS
else
AC_MSG_RESULT([system])
ALLOC="SYS_ALLOC";
AC_CHECK_FUNCS([malloc realloc calloc free])
fi
2010-06-22 18:10:51 +02:00
fi
if test "$with_alloc" = "internal" -o -z "$with_alloc"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([internal])
fi
AC_SUBST(ALLOC)
dnl ===================================================================
dnl Custom build version
dnl ===================================================================
AC_MSG_CHECKING([whether to add custom build version])
if test "z$with_build_version" != "z"; then
2011-07-04 02:20:26 -05:00
BUILD_VER_STRING=$with_build_version
AC_MSG_RESULT([yes, $BUILD_VER_STRING])
else
2011-07-04 02:20:26 -05:00
BUILD_VER_STRING=
AC_MSG_RESULT([no])
fi
AC_SUBST(BUILD_VER_STRING)
dnl ===================================================================
dnl Java support enable
dnl ===================================================================
AC_MSG_CHECKING([whether to build with Java support])
2011-05-21 02:45:18 +03:00
if test "$with_java" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
SOLAR_JAVA="TRUE"
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
SOLAR_JAVA=""
fi
2011-05-21 02:45:18 +03:00
AC_SUBST(SOLAR_JAVA)
2011-07-04 02:20:26 -05:00
dnl SOLAR_JAVA="YES" (yes, silly name, should rename) indicates whether we
dnl want there to be *run-time* (and build-time) support for Java extensions in the
dnl built LibreOffice.
dnl SOLAR_JAVA="BUILD" indicate build-time only support (no runtime support)
dnl SOLAR_JAVA="" indicate no java support at all
2011-05-21 02:45:18 +03:00
if test "$_os" = "Linux" && test "$host_cpu" = "powerpc"; then
2011-07-04 02:20:26 -05:00
# IBMs JDK needs this...
JITC_PROCESSOR_TYPE=6
export JITC_PROCESSOR_TYPE
fi
AC_SUBST([JITC_PROCESSOR_TYPE])
if test $_os = "WINNT"; then
2011-07-04 02:20:26 -05:00
WITH_VC_REDIST="TRUE"
fi
AC_SUBST(WITH_VC_REDIST)
2000-09-18 15:18:56 +00:00
dnl ===================================================================
2011-01-26 17:07:47 +02:00
dnl Checks for Java
2000-09-18 15:18:56 +00:00
dnl ===================================================================
if test "$SOLAR_JAVA" != ""; then
2011-01-26 17:07:47 +02:00
2011-07-04 02:20:26 -05:00
# Windows-specific tests
if test "$build_os" = "cygwin" -a "$_os" = "WINNT"; then
if test "$CL_X64" != ""; then
bitness="64-bit"
otherbitness="32-bit"
else
bitness="32-bit"
otherbitness="64-bit"
fi
if test -z "$with_jdk_home"; then
# Unfortunately apparently no way to find, if needed, the 64-bit
# JDK in the Registry from the 32-bit Perl oowintool
_jdk_home=`./oowintool --jdk-home`
if test -f "$_jdk_home/lib/jvm.lib" -a -f "$_jdk_home/bin/java.exe"; then
with_jdk_home="$_jdk_home"
howfound="found by oowintool"
else
AC_MSG_ERROR([No JDK found by oowintool, pass the --with-jdk-home option pointing to a $bitness JDK])
fi
else
test "$build_os" = "cygwin" && with_jdk_home=`cygpath -u "$with_jdk_home"`
howfound="you passed"
fi
fi
JAVA_HOME=; export JAVA_HOME
if test -z "$with_jdk_home"; then
AC_PATH_PROG(JAVAINTERPRETER, $with_java)
else
_java_path="$with_jdk_home/bin/$with_java"
dnl Check if there is a Java interpreter at all.
if test -x "$_java_path"; then
JAVAINTERPRETER=$_java_path
else
AC_MSG_ERROR([$_java_path not found, pass --with-jdk-home])
fi
fi
if test "$build_os" = "cygwin" -a "$_os" = "WINNT"; then
# Check that the JDK found is correct architecture
# Why is this necessary, we don't link with any library from the JDK I think,
shortjdkhome=`cygpath -d "$with_jdk_home"`
if test "$CL_X64" != "" -a -f "$with_jdk_home/bin/java.exe" -a "`$shortjdkhome/bin/java.exe -version 2>&1 | grep -i 64-bit`" = "" >/dev/null; then
AC_MSG_WARN([You are building 64-bit binaries but the JDK $howfound is 32-bit])
AC_MSG_ERROR([You should pass the --with-jdk-home option pointing to a 64-bit JDK])
elif test "$CL_X64" = "" -a -f "$_jdk_home/bin/java.exe" -a "`$shortjdkhome/bin/java.exe -version 2>&1 | grep -i 64-bit`" != "" >/dev/null; then
AC_MSG_WARN([You are building 32-bit binaries but the JDK $howfound is 64-bit])
AC_MSG_ERROR([You should pass the --with-jdk-home option pointing to a (32-bit) JDK])
fi
if test x`echo "$JAVAINTERPRETER" | grep -i '\.exe$'` = x; then
JAVAINTERPRETER="${JAVAINTERPRETER}.exe"
fi
JAVAINTERPRETER=`cygpath -d "$JAVAINTERPRETER"`
JAVAINTERPRETER=`cygpath -u "$JAVAINTERPRETER"`
elif test "$_os" = "Darwin"; then
dnl HACK: There currently is only a 32 bit version of LibreOffice for Mac OS X,
dnl and Tiger Java complains about -d32 while Snow Leopard Java needs it
dnl to run in 32 bit mode and be able to load LibreOffice jnilibs:
AC_MSG_CHECKING([whether to pass -d32 to Java interpreter])
if "$JAVAINTERPRETER" -d32 >&5 2>&5; then
AC_MSG_RESULT([yes])
JAVAIFLAGS=-d32
else
AC_MSG_RESULT([no])
fi
fi
fi
dnl ===================================================================
dnl Checks for JDK.
dnl ===================================================================
if test "$SOLAR_JAVA" != ""; then
2011-07-04 02:20:26 -05:00
_gij_longver=0
AC_MSG_CHECKING([the installed JDK])
if test -n "$JAVAINTERPRETER"; then
dnl java -version sends output to stderr!
if test `$JAVAINTERPRETER -version 2>&1 | grep -c "Kaffe"` -gt 0; then
AC_MSG_ERROR([No valid check available. Please check the block for your desired java in configure.in])
elif test `$JAVAINTERPRETER --version 2>&1 | grep -c "GNU libgcj"` -gt 0; then
JDK=gcj
AC_MSG_RESULT([checked (gcj)])
_gij_version=`$JAVAINTERPRETER --version | grep GNU | $SED -e 's@^[[^0-9]]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
_gij_longver=`echo $_gij_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'`
elif test `$JAVAINTERPRETER -version 2>&1 | $AWK '{ print }' | grep -c "BEA"` -gt 0; then
AC_MSG_ERROR([No valid check available. Please check the block for your desired java in configure.in])
elif test `$JAVAINTERPRETER -version 2>&1 | $AWK '{ print }' | grep -c "IBM"` -gt 0; then
JDK=ibm
dnl IBM JDK specific tests
_jdk=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED s/[[-A-Za-z]]*//`
_jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'`
if test "$_jdk_ver" -lt 10500; then
AC_MSG_ERROR([IBM JDK is too old, you need at least 1.5])
fi
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([checked (IBM JDK $_jdk)])
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
2011-07-04 02:20:26 -05:00
if test "$with_jdk_home" = ""; then
AC_MSG_ERROR([In order to successfully build LibreOffice using the IBM JDK,
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
you must use the "--with-jdk-home" configure option explicitly])
2011-07-04 02:20:26 -05:00
fi
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
2011-07-04 02:20:26 -05:00
JAVA_HOME=$with_jdk_home
2011-07-04 02:20:26 -05:00
else
JDK=sun
2011-07-04 02:20:26 -05:00
dnl Sun JDK specific tests
_jdk=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED s/[[-A-Za-z]]*//`
_jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'`
2011-07-04 02:20:26 -05:00
if test "$_jdk_ver" -lt 10500; then
AC_MSG_ERROR([JDK is too old, you need at least 1.5])
fi
AC_MSG_RESULT([checked (JDK $_jdk)])
JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"`
if test "$_os" = "WINNT"; then
JAVA_HOME=`echo $JAVA_HOME | $SED "s,\.[[eE]][[xX]][[eE]]$,,"`
fi
INTEGRATION: CWS configure9 (1.111.2); FILE MERGED 2005/04/08 15:43:49 rene 1.111.2.16: #i46873# don't use sed -r in java check.... 2005/04/07 21:15:38 rene 1.111.2.15: fix cut'n'paste errors and also add x_libraries to to check. 2005/04/06 23:04:25 rene 1.111.2.14: move fi to right place... 2005/04/05 12:51:42 rene 1.111.2.13: more help whitespace improvements, and make help not exceed 80 lines where possible, 2005/04/05 10:10:12 rene 1.111.2.12: more test -n fixes don't emit a warning when PKGFORMAT is rpm / pkg and we don't have external EPM, in which case EPM_VERSION isn't set. Disable that check completely when using internal EPM since we know our epm is patched. 2005/04/04 20:37:32 rene 1.111.2.11: #i46624# whitespace fixes (alignment of help options) 2005/04/04 13:19:49 rene 1.111.2.10: RESYNC: (1.111-1.112); FILE MERGED 2005/04/04 12:51:19 rene 1.111.2.9: more crashup/symbol help fixes 2005/04/04 10:21:18 rene 1.111.2.8: don't enable Gtk/GNOME VFS per default for Mac OS X 2005/04/04 10:13:14 rene 1.111.2.7: more option help improvements 2005/04/04 10:01:55 rene 1.111.2.6: #i46572# make java check work if path contains space, as in Windows, thanks vq 2005/03/31 14:40:43 rene 1.111.2.5: #i46018# fix crashdump check output and change help test to say --disable-foo when the option is enabled per default... 2005/03/31 14:23:59 rene 1.111.2.4: fix more checks wrt test -n and --disable-foo 2005/03/31 14:06:38 rene 1.111.2.3: #i45934# fix PASF check to make --disable-pasf work 2005/03/30 18:40:39 rene 1.111.2.2: #i46310# check for moc 2005/03/30 08:43:05 rene 1.111.2.1: #i46081# check for fontconfig version
2005-04-11 07:52:24 +00:00
fi
2011-07-04 02:20:26 -05:00
else
AC_MSG_ERROR([Java not found. You need at least jdk-1.5, or gcj-4])
fi
2000-09-18 15:18:56 +00:00
else
2011-07-04 02:20:26 -05:00
dnl Java disabled
JAVA_HOME=NO_JAVA_HOME ; export JAVA_HOME
fi
_java_target_ver="1.5"
dnl ===================================================================
2011-05-15 02:11:48 +03:00
dnl Check for target Java bytecode version
dnl ===================================================================
if test "$SOLAR_JAVA" != ""; then
2011-05-15 02:11:48 +03:00
AC_MSG_CHECKING([for target Java bytecode version])
if test "$JDK" = "gcj" -o "$JDK" = "kaffe"; then
AC_MSG_RESULT([default by $JDK])
if test -n "$with_java_target_version" -a "$with_java_target_version" != "no" ; then
AC_MSG_WARN([Value defined by --with-java-target-version is ignored!])
fi
else
if test -n "$with_java_target_version" -a "$with_java_target_version" != "no" ; then
_java_target_ver="$with_java_target_version"
AC_MSG_RESULT([$_java_target_ver])
elif test $_jdk_ver -gt 10000 ; then
_java_target_ver=`echo "$_jdk_ver" | $AWK '{ maj=substr($0,1,1); min=substr($0,2,2); print int(maj)"."int(min) }'`
AC_MSG_RESULT([$_java_target_ver])
else
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([Unable to guess Java bytecode version from Java version!])
fi
fi
if ! test -z "$_java_target_ver" -o \
"$_java_target_ver" = "1.1" -o \
"$_java_target_ver" = "1.2" -o \
"$_java_target_ver" = "1.3" -o \
"$_java_target_ver" = "1.4" -o \
"$_java_target_ver" = "1.5" -o \
"$_java_target_ver" = "1.6" -o \
"$_java_target_ver" = "5" ; then
2011-05-15 02:11:48 +03:00
AC_MSG_ERROR([$_java_target_ver is not a supported Java bytecode version!])
fi
JAVA_SOURCE_VER="$_java_target_ver"
JAVA_TARGET_VER="$_java_target_ver"
fi
dnl ===================================================================
dnl Checks for javac
dnl ===================================================================
if test "$SOLAR_JAVA" != ""; then
if test "$JDK" = "gcj"; then
2011-05-21 02:45:18 +03:00
javacompiler=`echo $with_java | $SED -e "s/gij/gcj/g" | $SED -e "s/java/javac/g"`
else
javacompiler="javac"
fi
if test -z "$with_jdk_home"; then
AC_PATH_PROG(JAVACOMPILER, $javacompiler)
else
_javac_path="$with_jdk_home/bin/$javacompiler"
2011-05-15 02:11:48 +03:00
dnl Check if there is a Java compiler at all.
if test -x "$_javac_path"; then
JAVACOMPILER=$_javac_path
fi
fi
if test -z "$JAVACOMPILER"; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([$javacompiler not found set with_jdk_home])
fi
2011-05-21 02:45:18 +03:00
if test "$build_os" = "cygwin" -a "$_os" = "WINNT"; then
2011-07-04 02:20:26 -05:00
if test x`echo "$JAVACOMPILER" | grep -i '\.exe$'` = x; then
JAVACOMPILER="${JAVACOMPILER}.exe"
fi
JAVACOMPILER=`cygpath -d "$JAVACOMPILER"`
JAVACOMPILER=`cygpath -u "$JAVACOMPILER"`
INTEGRATION: CWS configure9 (1.111.2); FILE MERGED 2005/04/08 15:43:49 rene 1.111.2.16: #i46873# don't use sed -r in java check.... 2005/04/07 21:15:38 rene 1.111.2.15: fix cut'n'paste errors and also add x_libraries to to check. 2005/04/06 23:04:25 rene 1.111.2.14: move fi to right place... 2005/04/05 12:51:42 rene 1.111.2.13: more help whitespace improvements, and make help not exceed 80 lines where possible, 2005/04/05 10:10:12 rene 1.111.2.12: more test -n fixes don't emit a warning when PKGFORMAT is rpm / pkg and we don't have external EPM, in which case EPM_VERSION isn't set. Disable that check completely when using internal EPM since we know our epm is patched. 2005/04/04 20:37:32 rene 1.111.2.11: #i46624# whitespace fixes (alignment of help options) 2005/04/04 13:19:49 rene 1.111.2.10: RESYNC: (1.111-1.112); FILE MERGED 2005/04/04 12:51:19 rene 1.111.2.9: more crashup/symbol help fixes 2005/04/04 10:21:18 rene 1.111.2.8: don't enable Gtk/GNOME VFS per default for Mac OS X 2005/04/04 10:13:14 rene 1.111.2.7: more option help improvements 2005/04/04 10:01:55 rene 1.111.2.6: #i46572# make java check work if path contains space, as in Windows, thanks vq 2005/03/31 14:40:43 rene 1.111.2.5: #i46018# fix crashdump check output and change help test to say --disable-foo when the option is enabled per default... 2005/03/31 14:23:59 rene 1.111.2.4: fix more checks wrt test -n and --disable-foo 2005/03/31 14:06:38 rene 1.111.2.3: #i45934# fix PASF check to make --disable-pasf work 2005/03/30 18:40:39 rene 1.111.2.2: #i46310# check for moc 2005/03/30 08:43:05 rene 1.111.2.1: #i46081# check for fontconfig version
2005-04-11 07:52:24 +00:00
fi
if test `$JAVACOMPILER -version 2>&1 | grep -c "Eclipse Java Compiler"` -gt 0; then
AC_MSG_CHECKING([re-checking JDK])
JDK=gcj
AC_MSG_RESULT([checked (ecj)])
#TODO: what's to do here? some switch to do 1.5 compiling?
JAVAFLAGS="-source 1.5 -target 1.5"
_gij_longver="40200"
fi
fi
JAVACISGCJ=""
dnl ===================================================================
dnl Checks that javac is gcj
dnl ===================================================================
if test "$SOLAR_JAVA" != ""; then
if test `$JAVACOMPILER --version 2>&1 | grep -c "GCC"` -gt 0; then
JAVACISGCJ="yes"
fi
fi
AC_SUBST(JAVACISGCJ)
JAVACISKAFFE=""
dnl ===================================================================
dnl Checks that javac is kaffe
dnl ===================================================================
if test "$SOLAR_JAVA" != ""; then
if test `$JAVACOMPILER -version 2>&1 | grep -c "Kaffe"` -gt 0; then
JAVACISKAFFE="yes"
fi
fi
AC_SUBST(JAVACISKAFFE)
dnl ===================================================================
dnl Checks for javadoc
dnl ===================================================================
if test "$SOLAR_JAVA" != ""; then
if test -z "$with_jdk_home"; then
AC_PATH_PROG(JAVADOC, javadoc)
else
_javadoc_path="$with_jdk_home/bin/javadoc"
dnl Check if there is a javadoc at all.
if test -x "$_javadoc_path"; then
JAVADOC=$_javadoc_path
else
AC_PATH_PROG(JAVADOC, javadoc)
fi
fi
if test -z "$JAVADOC"; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([$_javadoc_path not found set with_jdk_home])
fi
2011-05-21 02:45:18 +03:00
if test "$build_os" = "cygwin" -a "$_os" = "WINNT"; then
INTEGRATION: CWS configure9 (1.111.2); FILE MERGED 2005/04/08 15:43:49 rene 1.111.2.16: #i46873# don't use sed -r in java check.... 2005/04/07 21:15:38 rene 1.111.2.15: fix cut'n'paste errors and also add x_libraries to to check. 2005/04/06 23:04:25 rene 1.111.2.14: move fi to right place... 2005/04/05 12:51:42 rene 1.111.2.13: more help whitespace improvements, and make help not exceed 80 lines where possible, 2005/04/05 10:10:12 rene 1.111.2.12: more test -n fixes don't emit a warning when PKGFORMAT is rpm / pkg and we don't have external EPM, in which case EPM_VERSION isn't set. Disable that check completely when using internal EPM since we know our epm is patched. 2005/04/04 20:37:32 rene 1.111.2.11: #i46624# whitespace fixes (alignment of help options) 2005/04/04 13:19:49 rene 1.111.2.10: RESYNC: (1.111-1.112); FILE MERGED 2005/04/04 12:51:19 rene 1.111.2.9: more crashup/symbol help fixes 2005/04/04 10:21:18 rene 1.111.2.8: don't enable Gtk/GNOME VFS per default for Mac OS X 2005/04/04 10:13:14 rene 1.111.2.7: more option help improvements 2005/04/04 10:01:55 rene 1.111.2.6: #i46572# make java check work if path contains space, as in Windows, thanks vq 2005/03/31 14:40:43 rene 1.111.2.5: #i46018# fix crashdump check output and change help test to say --disable-foo when the option is enabled per default... 2005/03/31 14:23:59 rene 1.111.2.4: fix more checks wrt test -n and --disable-foo 2005/03/31 14:06:38 rene 1.111.2.3: #i45934# fix PASF check to make --disable-pasf work 2005/03/30 18:40:39 rene 1.111.2.2: #i46310# check for moc 2005/03/30 08:43:05 rene 1.111.2.1: #i46081# check for fontconfig version
2005-04-11 07:52:24 +00:00
if test x`echo "$JAVADOC" | grep -i '\.exe$'` = x; then
JAVADOC="${JAVADOC}.exe"
fi
JAVADOC=`cygpath -d "$JAVADOC"`
JAVADOC=`cygpath -u "$JAVADOC"`
fi
fi
if test "$SOLAR_JAVA" != ""; then
2011-07-04 02:20:26 -05:00
# check if JAVA_HOME was (maybe incorrectly?) set automatically to /usr
if test "$JAVA_HOME" = "/usr" -a "x$with_jdk_home" = "x"; then
if basename $(readlink $(readlink $JAVACOMPILER)) >/dev/null 2>/dev/null; then
# try to recover first by looking whether we have a alternatives
# system as in Debian or newer SuSEs where following /usr/bin/javac
# over /etc/alternatives/javac leads to the right bindir where we
# just need to strip a bit away to get a valid JAVA_HOME
JAVA_HOME=$(readlink $(readlink $JAVACOMPILER))
elif readlink $JAVACOMPILER >/dev/null 2>/dev/null; then
# maybe only one level of symlink (e.g. on Mac)
JAVA_HOME=$(readlink $JAVACOMPILER)
if test "$(dirname $JAVA_HOME)" = "."; then
# we've got no path to trim back
JAVA_HOME=""
fi
else
# else warn
AC_MSG_WARN([JAVA_HOME is set to /usr - this is very likely to be incorrect])
AC_MSG_WARN([if this is the case, please inform the correct JAVA_HOME with --with-jdk-home])
echo "JAVA_HOME is set to /usr - this is very likely to be incorrect" >> warn
echo "if this is the case, please inform the correct JAVA_HOME with --with-jdk-home" >> warn
fi
dnl now that we have the path to the real javac, make a JAVA_HOME out of it..
if test "$JAVA_HOME" != "/usr"; then
if test "$_os" = "Darwin"; then
dnl Leopard returns a non-suitable path with readlink - points to "Current" only
JAVA_HOME=$(echo $JAVA_HOME | $SED -e s,/Current/Commands/javac$,/CurrentJDK/Home,)
dnl Tiger already returns a JDK path..
JAVA_HOME=$(echo $JAVA_HOME | $SED -e s,/CurrentJDK/Commands/javac$,/CurrentJDK/Home,)
else
JAVA_HOME=$(echo $JAVA_HOME | $SED -e s,/bin/javac$,,)
fi
fi
fi
# as we drop out of this, JAVA_HOME may have been set to the empty string by readlink
2011-07-04 02:20:26 -05:00
dnl now if JAVA_HOME has been set to empty, then call findhome to find it
2010-12-06 00:27:16 +00:00
if test -z "$JAVA_HOME"; then
2011-07-04 02:20:26 -05:00
if test "x$with_jdk_home" = "x"; then
cat > findhome.java <<_ACEOF
[import java.io.File;
class findhome
{
public static void main(String args[])
{
String jrelocation = System.getProperty("java.home");
File jre = new File(jrelocation);
System.out.println(jre.getParent());
}
}]
_ACEOF
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([if javac works])
javac_cmd="$JAVACOMPILER findhome.java 1>&2"
AC_TRY_EVAL(javac_cmd)
if test $? = 0 && test -f ./findhome.class ; then
AC_MSG_RESULT([javac works])
else
echo "configure: javac test failed" >&5
cat findhome.java >&5
AC_MSG_ERROR([javac does not work - java projects will not build!])
fi
AC_MSG_CHECKING([if gij knows its java.home])
JAVA_HOME=`$JAVAINTERPRETER findhome`
if test $? = 0 && test "$JAVA_HOME" != "" ; then
AC_MSG_RESULT([$JAVA_HOME])
else
echo "configure: java test failed" >&5
cat findhome.java >&5
AC_MSG_ERROR([gij does not know its java.home - use --with-jdk-home])
fi
2011-08-28 20:25:50 -05:00
# clean-up after ourselves
rm -f ./findhome.java ./findhome.class
else
2011-07-04 02:20:26 -05:00
JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*$with_java,,p"`
fi
fi
dnl second sanity check JAVA_HOME if possible
if test "$JDK" != "gcj" -o "$_gij_longver" -ge "40200"; then
2011-07-04 02:20:26 -05:00
# now check if $JAVA_HOME is really valid
if test "$_os" = "Darwin"; then
if test ! -f "$JAVA_HOME/lib/jvm.cfg" -a "x$with_jdk_home" = "x"; then
JAVA_HOME_OK="NO"
fi
elif test ! -d "$JAVA_HOME/jre" -a "x$with_jdk_home" = "x"; then
JAVA_HOME_OK="NO"
2011-07-04 02:20:26 -05:00
fi
if test "$JAVA_HOME_OK" = "NO"; then
AC_MSG_WARN([JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script])
AC_MSG_WARN([attempted to find JAVA_HOME automatically, but apparently it failed])
AC_MSG_WARN([in case JAVA_HOME is incorrectly set, some projects with not be built correctly])
echo "JAVA_HOME was not explicitly informed with --with-jdk-home. the configure script" >> warn
echo "attempted to find JAVA_HOME automatically, but apparently it failed" >> warn
echo "in case JAVA_HOME is incorrectly set, some projects with not be built correctly" >> warn
fi
fi
fi
2011-07-04 02:20:26 -05:00
AWTLIB=
2011-07-04 02:20:26 -05:00
if test "$SOLAR_JAVA" != ""; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([for jawt lib name])
if test "$JDK" = "gcj"; then
save_CFLAGS=$CFLAGS
save_LDFLAGS=$LDFLAGS
CFLAGS="$CFLAGS -I$JAVA_HOME/include"
LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj"
exec 6>/dev/null # no output
AC_CHECK_HEADER(jni.h, [],
[AC_MSG_ERROR([jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?])], [])
2011-07-04 02:20:26 -05:00
AC_CHECK_LIB(gcjawt, JAWT_GetAWT, [ AWTLIB="-lgcjawt -lgcj"] )
exec 6>&1 # output on again
CFLAGS=$save_CFLAGS
LDFLAGS=$save_LDFLAGS
fi
# IBM SDK 1.5.0-sr5 includes libjawt.so with unresolved symbols.
# A workaround is to link also against libpmawt.so
if test "$JDK" = "ibm" ; then
save_CFLAGS=$CFLAGS
save_LDFLAGS=$LDFLAGS
save_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
CFLAGS="$CFLAGS -I$JAVA_HOME/include"
LDFLAGS="$LDFLAGS -L$JAVA_HOME/jre/bin"
LD_LIBRARY_PATH=$JAVA_HOME/jre/bin:$JAVA_HOME/jre/bin/classic:$JAVA_HOME/jre/bin/xawt:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
exec 6>/dev/null # no output
AC_CHECK_HEADER(jni.h, [],
[AC_MSG_ERROR([jni.h could not be found.])], [])
2011-07-04 02:20:26 -05:00
AC_CHECK_LIB(jawt, JAWT_GetAWT, [ AWTLIB="-ljawt"] )
if test -z "$AWTLIB"; then
LDFLAGS="$LDFLAGS -L$JAVA_HOME/jre/bin/xawt -ljawt"
AC_CHECK_LIB(mawt, JAWT_GetAWT, [ AWTLIB="-L$JAVA_HOME/jre/bin/xawt -ljawt -lmawt"])
fi
exec 6>&1 # output on again
CFLAGS=$save_CFLAGS
LDFLAGS=$save_LDFLAGS
LD_LIBRARY_PATH=$save_LD_LIBRARY_PATH
fi
if test -z "$AWTLIB"; then
AWTLIB=-ljawt
fi
AC_MSG_RESULT([$AWTLIB])
AC_SUBST(AWTLIB)
fi
AC_SUBST(JAVA_HOME)
AC_SUBST(JDK)
AC_SUBST(JAVAFLAGS)
AC_SUBST(JAVA_SOURCE_VER)
AC_SUBST(JAVA_TARGET_VER)
AC_SUBST(JAVAINTERPRETER)
AC_SUBST(JAVAIFLAGS)
AC_SUBST(JAVACOMPILER)
AC_SUBST(JAVADOC)
2000-09-18 15:18:56 +00:00
dnl ===================================================================
dnl Checks for specific files.
dnl ===================================================================
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
2000-09-18 15:18:56 +00:00
dnl ===================================================================
dnl Checks for programs.
dnl ===================================================================
dnl ===================================================================
dnl Check whether we already have dmake
dnl ===================================================================
AC_PATH_PROG(DMAKE, dmake, no)
if test "$DMAKE" = "no"; then
BUILD_DMAKE=YES
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
echo "dmake will be built on ./bootstrap"
else
AC_MSG_CHECKING([whether the found dmake is the right dmake])
# we need to find out whether that dmake we found is "our" dmake
# or the dmake from Sun's SunStudio Compiler which is something
# different
# This test _should_ work because the one accepts -V (ours) and one
# (the other) not...
$DMAKE -V 2>/dev/null | grep 'dmake .* Version .*' >/dev/null
if test $? -eq 0; then
2011-07-04 02:20:26 -05:00
BUILD_DMAKE=NO
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([the dmake version])
DMAKE_VERSION=`$DMAKE -V | $AWK '$3 == "Version" {print $4}'`
if test "`echo $DMAKE_VERSION | cut -d'.' -f1`" -gt "4"; then
AC_MSG_RESULT([OK, >= 4.11])
elif test "`echo $DMAKE_VERSION | cut -d'.' -f1`" = "4" && \
test "`echo $DMAKE_VERSION | cut -d'.' -f2`" -ge "11"; then
AC_MSG_RESULT([OK, >= 4.11])
else
AC_MSG_RESULT([too old. >= 4.11 is needed])
echo "A newer dmake will be built on ./bootstrap"
BUILD_DMAKE=YES
fi
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
echo "dmake will be built on ./bootstrap"
BUILD_DMAKE=YES
fi
fi
AC_SUBST(BUILD_DMAKE)
AC_MSG_CHECKING([whether to enable EPM for packing])
BUILD_EPM=NO
if test "$enable_epm" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
dnl ===================================================================
dnl Check for epm - not needed for Windows
dnl ===================================================================
if test "$_os" != "WINNT"; then
if test -n "$with_epm"; then
EPM=$with_epm
else
AC_PATH_PROG(EPM, epm, no)
fi
if test "$EPM" = "no" || test "$EPM" = "internal"; then
echo "EPM will be built."
BUILD_EPM=YES
BUILD_TYPE="$BUILD_TYPE EPM"
else
# Gentoo has some epm which is something different...
AC_MSG_CHECKING([whether the found epm is the right epm])
if $EPM | grep "ESP Package Manager" >/dev/null 2>/dev/null; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no. Install ESP Package Manager (www.easysw.com/epm) and/or specify the path to the right epm])
fi
AC_MSG_CHECKING([epm version])
EPM_VERSION=`$EPM | grep 'ESP Package Manager' | cut -d' ' -f4 | $SED -e s/v//`
if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "3" || \
test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "3" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "7"; then
AC_MSG_RESULT([OK, >= 3.7])
BUILD_EPM=NO
if test "$_os" = "Darwin"; then
AC_MSG_CHECKING([which PackageMaker EPM thinks to use])
_pm=`strings $EPM | grep PackageMaker | cut -d" " -f1`
if test "$_pm" = "/Developer/Applications/PackageMaker.app/Contents/MacOS/PackageMaker"; then
AC_MSG_ERROR([$_pm; PackageMaker expected in wrong path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)])
2011-07-04 02:20:26 -05:00
elif test "$_pm" = "/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker"; then
AC_MSG_RESULT([$_pm, ok])
else # we never should get here, but go safe
AC_MSG_ERROR([$_pm; PackageMaker expected in unknown path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker) or use internal patched epm (--with-epm=internal)])
fi
fi
else
AC_MSG_RESULT([too old. epm >= 3.7 is required.])
echo "EPM will be built."
BUILD_EPM=YES
BUILD_TYPE="$BUILD_TYPE EPM"
fi
fi
fi
# test which package format to use
AC_MSG_CHECKING([which package format to use])
# defaults
case "$_os" in
Darwin)
PKGFORMAT=dmg
;;
SunOS)
PKGFORMAT=pkg
;;
Linux)
2011-07-04 02:20:26 -05:00
# if building on Debian, default should be deb...
if test -e /etc/debian_version; then
PKGFORMAT=deb
else
PKGFORMAT=rpm
fi
;;
AIX)
PKGFORMAT=rpm
;;
2011-02-10 10:38:31 +01:00
OpenBSD|DragonFly)
2010-11-04 00:43:13 +01:00
PKGFORMAT=portable
;;
*BSD)
PKGFORMAT=bsd
;;
WINNT)
PKGFORMAT=msi
;;
# we never should get here since we check the arciecture/os at the beginning,
# but go sure...
*)
AC_MSG_ERROR([unknown system])
2011-07-04 02:20:26 -05:00
esac
if test -n "$with_package_format"; then
for i in $with_package_format; do
case "$i" in
aix | bsd | deb | inst | tardist | osx | pkg | rpm | setld | native | portable | archive | dmg | installed | msi)
2011-07-04 02:20:26 -05:00
;;
*)
AC_MSG_ERROR([unsupported format $i. Supported by EPM are:
aix - AIX software distribution
bsd - FreeBSD, NetBSD, or OpenBSD software distribution
deb - Debian software distribution
inst or tardist - IRIX software distribution
osx - MacOS X software distribution
pkg - Solaris software distribution
rpm - RedHat software distribution
setld - Tru64 (setld) software distribution
native - "Native" software distribution for the platform
portable - Portable software distribution
2011-05-15 02:11:48 +03:00
LibreOffice additionally supports:
archive - .tar.gz or .zip
dmg - Mac OS X .dmg
installed - installation tree
msi - Windows .msi
])
2011-07-04 02:20:26 -05:00
;;
esac
done
PKGFORMAT="$with_package_format"
fi
AC_MSG_RESULT([$PKGFORMAT])
if echo "$PKGFORMAT" | $EGREP rpm 2>&1 >/dev/null; then
AC_MSG_CHECKING([for rpm])
for a in "$RPM" rpmbuild rpm; do
$a --usage >/dev/null 2> /dev/null
if test $? -eq 0; then
2011-07-04 02:20:26 -05:00
RPM=$a
break
else
$a --version >/dev/null 2> /dev/null
if test $? -eq 0; then
RPM=$a
break
fi
fi
2011-07-04 02:20:26 -05:00
done
if test -z "$RPM" ; then
AC_MSG_ERROR([not found])
elif "$RPM" --help 2>&1 | $EGREP buildroot >/dev/null; then
RPM_PATH=`which $RPM`
AC_MSG_RESULT([$RPM_PATH])
else
AC_MSG_ERROR([cannot build packages. Try installing rpmbuild.])
fi
fi
if echo "$PKGFORMAT" | $EGREP deb 2>&1 >/dev/null; then
AC_PATH_PROG(DPKG, dpkg, no)
if test "$DPKG" = "no"; then
AC_MSG_ERROR([dpkg needed for deb creation. Install dpkg.])
INTEGRATION: CWS configure9 (1.111.2); FILE MERGED 2005/04/08 15:43:49 rene 1.111.2.16: #i46873# don't use sed -r in java check.... 2005/04/07 21:15:38 rene 1.111.2.15: fix cut'n'paste errors and also add x_libraries to to check. 2005/04/06 23:04:25 rene 1.111.2.14: move fi to right place... 2005/04/05 12:51:42 rene 1.111.2.13: more help whitespace improvements, and make help not exceed 80 lines where possible, 2005/04/05 10:10:12 rene 1.111.2.12: more test -n fixes don't emit a warning when PKGFORMAT is rpm / pkg and we don't have external EPM, in which case EPM_VERSION isn't set. Disable that check completely when using internal EPM since we know our epm is patched. 2005/04/04 20:37:32 rene 1.111.2.11: #i46624# whitespace fixes (alignment of help options) 2005/04/04 13:19:49 rene 1.111.2.10: RESYNC: (1.111-1.112); FILE MERGED 2005/04/04 12:51:19 rene 1.111.2.9: more crashup/symbol help fixes 2005/04/04 10:21:18 rene 1.111.2.8: don't enable Gtk/GNOME VFS per default for Mac OS X 2005/04/04 10:13:14 rene 1.111.2.7: more option help improvements 2005/04/04 10:01:55 rene 1.111.2.6: #i46572# make java check work if path contains space, as in Windows, thanks vq 2005/03/31 14:40:43 rene 1.111.2.5: #i46018# fix crashdump check output and change help test to say --disable-foo when the option is enabled per default... 2005/03/31 14:23:59 rene 1.111.2.4: fix more checks wrt test -n and --disable-foo 2005/03/31 14:06:38 rene 1.111.2.3: #i45934# fix PASF check to make --disable-pasf work 2005/03/30 18:40:39 rene 1.111.2.2: #i46310# check for moc 2005/03/30 08:43:05 rene 1.111.2.1: #i46081# check for fontconfig version
2005-04-11 07:52:24 +00:00
fi
2011-07-04 02:20:26 -05:00
fi
if echo "PKGFORMAT" | $EGREP osx 2>&1 >/dev/null; then
if test "$_os" = "Darwin"; then
AC_MSG_CHECKING([for PackageMaker availability])
if ! test -x /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker; then
AC_MSG_ERROR([not installed. Please install Apples Dev Tools])
else
AC_MSG_RESULT([ok])
fi
else
AC_MSG_ERROR([PackageMaker needed to build OSX packages and you are not on OSX...])
fi
fi
if echo "$PKGFORMAT" | $EGREP rpm 2>&1 >/dev/null || \
echo "$PKGFORMAT" | $EGREP pkg 2>&1 >/dev/null; then
if test "$EPM" != "no" && test "$EPM" != "internal"; then
if test "`echo $EPM_VERSION | cut -d'.' -f1`" -lt "4"; then
AC_MSG_CHECKING([whether epm is patched for LibreOffice's needs])
if grep "Patched for LibreOffice" $EPM >/dev/null 2>/dev/null; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
if echo "$PKGFORMAT" | grep -q rpm; then
_pt="rpm"
AC_MSG_WARN([the rpms will need to be installed with --nodeps])
echo "the rpms will need to be installed with --nodeps" >> warn
else
_pt="pkg"
fi
AC_MSG_WARN([the ${_pt}s will not be relocateable])
echo "the ${_pt}s will not be relocateable" >> warn
AC_MSG_WARN([if you want to make sure installation without --nodeps and
relocation will work, you need to patch your epm with the
patch in epm/epm-3.7.patch or build with
--with-epm=internal which will build a suitable epm])
fi
fi
INTEGRATION: CWS configure9 (1.111.2); FILE MERGED 2005/04/08 15:43:49 rene 1.111.2.16: #i46873# don't use sed -r in java check.... 2005/04/07 21:15:38 rene 1.111.2.15: fix cut'n'paste errors and also add x_libraries to to check. 2005/04/06 23:04:25 rene 1.111.2.14: move fi to right place... 2005/04/05 12:51:42 rene 1.111.2.13: more help whitespace improvements, and make help not exceed 80 lines where possible, 2005/04/05 10:10:12 rene 1.111.2.12: more test -n fixes don't emit a warning when PKGFORMAT is rpm / pkg and we don't have external EPM, in which case EPM_VERSION isn't set. Disable that check completely when using internal EPM since we know our epm is patched. 2005/04/04 20:37:32 rene 1.111.2.11: #i46624# whitespace fixes (alignment of help options) 2005/04/04 13:19:49 rene 1.111.2.10: RESYNC: (1.111-1.112); FILE MERGED 2005/04/04 12:51:19 rene 1.111.2.9: more crashup/symbol help fixes 2005/04/04 10:21:18 rene 1.111.2.8: don't enable Gtk/GNOME VFS per default for Mac OS X 2005/04/04 10:13:14 rene 1.111.2.7: more option help improvements 2005/04/04 10:01:55 rene 1.111.2.6: #i46572# make java check work if path contains space, as in Windows, thanks vq 2005/03/31 14:40:43 rene 1.111.2.5: #i46018# fix crashdump check output and change help test to say --disable-foo when the option is enabled per default... 2005/03/31 14:23:59 rene 1.111.2.4: fix more checks wrt test -n and --disable-foo 2005/03/31 14:06:38 rene 1.111.2.3: #i45934# fix PASF check to make --disable-pasf work 2005/03/30 18:40:39 rene 1.111.2.2: #i46310# check for moc 2005/03/30 08:43:05 rene 1.111.2.1: #i46081# check for fontconfig version
2005-04-11 07:52:24 +00:00
fi
2011-07-04 02:20:26 -05:00
fi
if echo "$PKGFORMAT" | $EGREP pkg 2>&1 >/dev/null; then
AC_PATH_PROG(PKGMK, pkgmk, no)
if test "$PKGMK" = "no"; then
AC_MSG_ERROR([pkgmk needed for Solaris pkg creation. Install it.])
fi
fi
AC_SUBST(RPM)
AC_SUBST(DPKG)
AC_SUBST(PKGMK)
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
EPM=NO
PKGFORMAT=native
fi
AC_SUBST(EPM)
AC_SUBST(BUILD_EPM)
AC_SUBST(PKGFORMAT)
dnl ===================================================================
dnl Check for gperf
dnl ===================================================================
AC_PATH_PROG(GPERF, gperf)
if test -z "$GPERF"; then
AC_MSG_ERROR([gperf not found but needed. Install it.])
fi
2008-01-25 14:40:29 +00:00
AC_MSG_CHECKING([gperf version])
if test "`$GPERF --version | $EGREP ^GNU\ gperf | $AWK '{ print $3 }' | cut -d. -f1`" -ge "3"; then
AC_MSG_RESULT([OK])
2008-01-25 14:40:29 +00:00
else
AC_MSG_ERROR([too old, you need at least 3.0.0])
2008-01-25 14:40:29 +00:00
fi
2010-12-13 20:23:02 +01:00
AC_SUBST(GPERF)
dnl ===================================================================
dnl Check for building stax
dnl ===================================================================
AC_MSG_CHECKING([whether to build the stax])
if test "$with_system_saxon" = "no" -a "$with_system_jars" = "no" -a "$SOLAR_JAVA" != ""; then
if test -f "./stax/download/jsr173_1.0_api.jar"; then
BUILD_STAX=NO
AC_MSG_RESULT([no, will use the prebuilt stax/download/jsr173_1.0_api.jar])
else
BUILD_STAX=YES
AC_MSG_RESULT([yes])
fi
fi
AC_SUBST(BUILD_STAX)
dnl ===================================================================
dnl Check for building ODK
dnl ===================================================================
AC_MSG_CHECKING([whether to build the ODK])
if test "z$enable_odk" = "z" -o "$enable_odk" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
2011-07-04 02:20:26 -05:00
if test "$with_java" != "no"; then
AC_MSG_CHECKING([whether to build unowinreg.dll])
if test "$_os" = "WINNT" -a "z$enable_build_unowinreg" = "z" ; then
# build on Win by default
enable_build_unowinreg=yes
fi
if test "z$enable_build_unowinreg" = "z" -o "$enable_build_unowinreg" = "no"; then
AC_MSG_RESULT([no])
BUILD_UNOWINREG=NO
else
AC_MSG_RESULT([yes])
BUILD_UNOWINREG=YES
fi
if test "$_os" != "WINNT" -a "$BUILD_UNOWINREG" = "YES"; then
if test -z "$with_mingw_cross_compiler"; then
dnl Guess...
AC_CHECK_PROGS(MINGWCXX,i386-mingw32msvc-g++ i586-pc-mingw32-g++ i686-pc-mingw32-g++ i686-w64-mingw32-g++,false)
elif test -x "$with_mingw_cross_compiler"; then
MINGWCXX="$with_mingw_cross_compiler"
else
AC_CHECK_TOOL(MINGWCXX, "$with_mingw_cross_compiler", false)
fi
2011-07-04 02:20:26 -05:00
if test "$MINGWCXX" = "false"; then
AC_MSG_ERROR([MinGW32 C++ cross-compiler not found.])
fi
2011-07-04 02:20:26 -05:00
mingwstrip_test="`echo $MINGWCXX | $SED -e s/g++/strip/`"
if test -x "$mingwstrip_test"; then
MINGWSTRIP="$mingwstrip_test"
else
AC_CHECK_TOOL(MINGWSTRIP, "$mingwstrip_test", false)
fi
2011-07-04 02:20:26 -05:00
if test "$MINGWSTRIP" = "false"; then
AC_MSG_ERROR(MinGW32 binutils not found.)
fi
fi
fi
BUILD_TYPE="$BUILD_TYPE ODK"
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
BUILD_UNOWINREG=NO
fi
AC_SUBST(BUILD_UNOWINREG)
AC_SUBST(MINGWCXX)
AC_SUBST(MINGWSTRIP)
dnl ===================================================================
dnl Check for system stdlibs
dnl ===================================================================
AC_MSG_CHECKING([whether to provide libstdc++/libgcc_s in the installset])
if test -n "$with_system_stdlibs" -o -n "$with_system_libs" && \
test "$with_system_stdlibs" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
SYSTEM_STDLIBS=YES
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
SYSTEM_STDLIBS=NO
fi
AC_SUBST(SYSTEM_STDLIBS)
dnl ===================================================================
dnl Check for system zlib
dnl ===================================================================
AC_MSG_CHECKING([which zlib to use])
if test -n "$with_system_zlib" -o -n "$with_system_libs" -o \
"$_os" != "WINNT" && \
test "$with_system_zlib" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_ZLIB=YES
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_CHECK_HEADER(zlib.h, [],
[AC_MSG_ERROR(zlib.h not found. install zlib)], [])
AC_CHECK_LIB(z, deflate, [ ZLIB=-lz ],
[AC_MSG_ERROR(zlib not found or functional)], [])
else
AC_MSG_RESULT([internal])
SYSTEM_ZLIB=NO
BUILD_TYPE="$BUILD_TYPE ZLIB"
fi
AC_SUBST(SYSTEM_ZLIB)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl ===================================================================
dnl Check for system jpeg
dnl ===================================================================
AC_MSG_CHECKING([which jpeg to use])
if test -n "$with_system_jpeg" -o -n "$with_system_libs" -o \
"$_os" = "Linux" && \
test "$with_system_jpeg" != "no"; then
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_MSG_RESULT([external])
SYSTEM_JPEG=YES
AC_CHECK_HEADER(jpeglib.h, [],
[AC_MSG_ERROR(jpeg.h not found. install libjpeg)], [])
AC_CHECK_LIB(jpeg, jpeg_resync_to_restart, [ JPEG3RDLIB=-ljpeg ],
[AC_MSG_CHECKING(jpeg library not found or fuctional)], [])
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
else
AC_MSG_RESULT([internal])
SYSTEM_JPEG=NO
BUILD_TYPE="$BUILD_TYPE JPEG"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
fi
AC_SUBST(SYSTEM_JPEG)
dnl ===================================================================
dnl Check for system expat
dnl ===================================================================
AC_MSG_CHECKING([which expat to use])
if test -n "$with_system_expat" -o -n "$with_system_libs" && \
test "$with_system_expat" != "no"; then
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_MSG_RESULT([external])
SYSTEM_EXPAT=YES
AC_CHECK_HEADER(expat.h, [],
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
[AC_MSG_ERROR(expat.h not found. install expat)], [])
AC_CHECK_LIB(expat, XML_ParserCreate, [],
[AC_MSG_RESULT(expat library not found or functional.)], [])
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libexpat-1.dll"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
else
AC_MSG_RESULT([internal])
SYSTEM_EXPAT=NO
BUILD_TYPE="$BUILD_TYPE EXPAT"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
fi
AC_SUBST(SYSTEM_EXPAT)
dnl ===================================================================
dnl Check for system libvisio
dnl ===================================================================
AC_MSG_CHECKING([which libvisio to use])
if test -n "$with_system_libvisio" -o -n "$with_system_libs" && \
test "$with_system_libvisio" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_LIBVISIO=YES
PKG_CHECK_MODULES( VISIO, libvisio-0.0 )
else
AC_MSG_RESULT([internal])
SYSTEM_LIBVISIO=NO
BUILD_TYPE="$BUILD_TYPE LIBVISIO"
fi
AC_SUBST(SYSTEM_LIBVISIO)
AC_SUBST(VISIO_CFLAGS)
AC_SUBST(VISIO_LIBS)
2011-10-02 21:36:48 +00:00
dnl ===================================================================
dnl Check for system libcmis
dnl ===================================================================
AC_MSG_CHECKING([which libcmis to use])
if test -n "$with_system_libcmis" -o -n "$with_system_libs" && \
test "$with_system_libcmis" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_LIBCMIS=YES
PKG_CHECK_MODULES( LIBCMIS, libcmis-0.2 )
else
AC_MSG_RESULT([internal])
SYSTEM_LIBCMIS=NO
BUILD_TYPE="$BUILD_TYPE LIBCMIS"
2011-10-02 21:36:48 +00:00
fi
AC_SUBST(SYSTEM_LIBCMIS)
AC_SUBST(LIBCMIS_CFLAGS)
AC_SUBST(LIBCMIS_LIBS)
2011-10-02 21:36:48 +00:00
dnl ===================================================================
dnl Check for system libwpd
dnl ===================================================================
AC_MSG_CHECKING([which libwpd to use])
if test -n "$with_system_libwpd" -o -n "$with_system_libs" && \
test "$with_system_libwpd" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_LIBWPD=YES
PKG_CHECK_MODULES( WPD, libwpd-0.9 libwpd-stream-0.9 )
else
AC_MSG_RESULT([internal])
SYSTEM_LIBWPD=NO
BUILD_TYPE="$BUILD_TYPE LIBWPD"
fi
AC_SUBST(SYSTEM_LIBWPD)
AC_SUBST(WPD_CFLAGS)
AC_SUBST(WPD_LIBS)
dnl ===================================================================
2010-03-03 21:01:44 +01:00
dnl Check for system cppunit
dnl ===================================================================
AC_MSG_CHECKING([which cppunit to use])
if test -n "$with_system_cppunit" -o -n "$with_system_libs" && \
test "$with_system_cppunit" != "no"; then
2010-03-03 21:01:44 +01:00
AC_MSG_RESULT([external])
SYSTEM_CPPUNIT=YES
# might work for earlier, too but go sure:
PKG_CHECK_MODULES( CPPUNIT, cppunit >= 1.12.0 )
2010-03-03 21:01:44 +01:00
else
AC_MSG_RESULT([internal])
SYSTEM_CPPUNIT=NO
BUILD_TYPE="$BUILD_TYPE CPPUNIT"
fi
AC_SUBST(SYSTEM_CPPUNIT)
AC_SUBST(CPPUNIT_CFLAGS)
AC_SUBST(CPPUNIT_LIBS)
dnl ===================================================================
dnl Check whether freetype is available
dnl ===================================================================
if test "$test_freetype" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([whether freetype is available])
PKG_CHECK_MODULES( FREETYPE, freetype2 >= 2.0 )
fi
AC_SUBST(FREETYPE_CFLAGS)
AC_SUBST(FREETYPE_LIBS)
dnl ===================================================================
dnl Check for system libwps
dnl ===================================================================
AC_MSG_CHECKING([which libwps to use])
if test -n "$with_system_libwps" -o -n "$with_system_libs" && \
test "$with_system_libwps" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_LIBWPS=YES
PKG_CHECK_MODULES( WPS, libwps-0.2 )
else
AC_MSG_RESULT([internal])
SYSTEM_LIBWPS=NO
BUILD_TYPE="$BUILD_TYPE LIBWPS"
fi
AC_SUBST(SYSTEM_LIBWPS)
AC_SUBST(WPS_CFLAGS)
AC_SUBST(WPS_LIBS)
2010-09-14 11:29:54 +02:00
dnl ===================================================================
dnl Check for system libwpg
dnl ===================================================================
AC_MSG_CHECKING([which libwpg to use])
if test -n "$with_system_libwpg" -o -n "$with_system_libs" && \
test "$with_system_libwpg" != "no"; then
2010-09-14 11:29:54 +02:00
AC_MSG_RESULT([external])
SYSTEM_LIBWPG=YES
PKG_CHECK_MODULES( WPG, libwpg-0.2 )
2010-09-14 11:29:54 +02:00
else
AC_MSG_RESULT([internal])
SYSTEM_LIBWPG=NO
BUILD_TYPE="$BUILD_TYPE LIBWPG"
fi
AC_SUBST(SYSTEM_LIBWPG)
AC_SUBST(WPG_CFLAGS)
AC_SUBST(WPG_LIBS)
2010-09-14 11:29:54 +02:00
dnl ===================================================================
dnl Check whether freetype2 supports emboldening
dnl ===================================================================
if test "$test_freetype" = "yes"; then
save_CPPFLAGS="$CPPFLAGS"
save_LDFLAGS="$LDFLAGS"
save_LIBS="$LIBS"
CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
LDFLAGS="$LDFLAGS $FREETYPE_LIBS"
AC_CHECK_LIB(freetype, FT_GlyphSlot_Embolden,
[USE_FT_EMBOLDEN="YES"], [USE_FT_EMBOLDEN="NO"], [])
LDFLAGS="$save_LDFLAGS"
CPPFLAGS="$save_CPPFLAGS"
LIBS="$save_LIBS"
fi
AC_SUBST(USE_FT_EMBOLDEN)
if test -n "$with_system_libxslt" -o -n "$with_system_libs" && \
test "$with_system_libxslt" != "no"; then
if test -z "$with_system_libxml" -a -z "$with_system_libs" || \
test "$with_system_libxml" = "no"; then
# somehow AC_MSG_WARN won't work...
echo "to prevent incompatibilities between internal libxml2 and libxslt, the office will be build with system-libxml"
echo "to prevent incompatibilities between internal libxml2 and libxslt, the office will be build with system-libxml" >> warn
with_system_libxml=yes
fi
fi
if test -n "$with_system_libxml" -o -n "$with_system_libs" && \
test "$with_system_libxml" != "no"; then
if test -z "$with_system_libxslt" -a -z "$with_system_libs" || \
test "$with_system_libxslt" = "no"; then
# somehow AC_MSG_WARN won't work...
echo "to prevent incompatibilities between internal libxslt and libxml2, the office will be build with system-libxslt"
echo "to prevent incompatibilities between internal libxslt and libxml2, the office will be build with system-libxslt" >> warn
with_system_libxslt=yes
fi
fi
# ===================================================================
# Check for system libxslt
# ===================================================================
AC_MSG_CHECKING([which libxslt to use])
if test -n "$with_system_libxslt" -o -n "$with_system_libs" -o \
"$_os" = "Darwin" && \
test "$with_system_libxslt" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_LIBXSLT=YES
if test "$_os" = "Darwin"; then
dnl make sure to use SDK path
LIBXSLT_CFLAGS="-I$MACOSX_SDK_PATH/usr/include/libxml2"
dnl omit -L/usr/lib
LIBXSLT_LIBS="-lxslt -lxml2 -lz -lpthread -liconv -lm"
else
PKG_CHECK_MODULES(LIBXSLT, libxslt)
fi
dnl Check for xsltproc
AC_PATH_PROG(XSLTPROC, xsltproc, no)
if test "$XSLTPROC" = "no"; then
AC_MSG_ERROR([xsltproc is required])
fi
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libxslt-1.dll"
else
AC_MSG_RESULT([internal])
SYSTEM_LIBXSLT=NO
BUILD_TYPE="$BUILD_TYPE LIBXSLT"
if test "$cross_compiling" = "yes"; then
AC_PATH_PROG(XSLTPROC, xsltproc, no)
if test "$XSLTPROC" = "no"; then
AC_MSG_ERROR([xsltproc is required])
fi
fi
fi
AC_SUBST(SYSTEM_LIBXSLT)
AC_SUBST(LIBXSLT_CFLAGS)
AC_SUBST(LIBXSLT_LIBS)
AC_SUBST(XSLTPROC)
# ===================================================================
# Check for system libxml
# ===================================================================
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_MSG_CHECKING([which libxml to use])
if test -n "$with_system_libxml" -o -n "$with_system_libs" -o \
"$_os" = "Darwin" -o $_os = iOS && \
test "$with_system_libxml" != "no"; then
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_MSG_RESULT([external])
SYSTEM_LIBXML=YES
if test "$_os" = "Darwin"; then
dnl make sure to use SDK path
LIBXML_CFLAGS="-I$MACOSX_SDK_PATH/usr/include/libxml2"
dnl omit -L/usr/lib
LIBXML_LIBS="-lxml2 -lz -lpthread -liconv -lm"
2011-06-13 01:07:18 +03:00
elif test $_os = iOS; then
dnl make sure to use SDK path
usr=`echo '#include <stdlib.h>' | $CC -E -MD - | grep usr/include/stdlib.h | head -1 | sed -e 's,# 1 ",,' -e 's,/usr/include/.*,/usr,'`
LIBXML_CFLAGS="-I$usr/include/libxml2"
LIBXML_LIBS="-L$usr/lib -lxml2 -liconv"
else
PKG_CHECK_MODULES(LIBXML, libxml-2.0 >= 2.0)
fi
BUILD_TYPE="$BUILD_TYPE LIBXMLSEC"
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS zlib1.dll libxml2-2.dll"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
else
AC_MSG_RESULT([internal])
SYSTEM_LIBXML=NO
BUILD_TYPE="$BUILD_TYPE LIBXML2 LIBXMLSEC"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
fi
AC_SUBST(SYSTEM_LIBXML)
AC_SUBST(LIBXML_CFLAGS)
AC_SUBST(LIBXML_LIBS)
dnl ===================================================================
dnl Checks for Python
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl ===================================================================
AC_MSG_CHECKING([which Python to use])
case "$enable_python" in
no|disable)
2011-07-04 02:20:26 -05:00
enable_python=no
AC_MSG_RESULT([none])
DISABLE_PYTHON=TRUE
;;
""|yes|auto)
2011-07-04 02:20:26 -05:00
if test $build_os = cygwin; then
dnl When building on Windows we don't attempt to use any installed
dnl "system" Python.
dnl
dnl (When cross-compiling to Windows from Linux using the mingw32-cross
dnl compiler from OBS, use mingw32-python from OBS, and ditto for other
dnl MinGW cross-compilation setups.)
AC_MSG_RESULT([internal])
enable_python=internal
elif test $_os = Darwin -a \( "$with_macosx_version_min_required" = 10.4 -o "$with_macosx_version_min_required" = 10.5 \); then
AC_MSG_RESULT([internal, the Python in Mac OS X $with_macosx_version_min_required is incompatible with Python3-ified pyuno])
enable_python=internal
2011-07-04 02:20:26 -05:00
else
AC_MSG_RESULT([checking below])
enable_python=auto
fi
;;
internal)
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([internal])
;;
system)
if test $_os = Darwin -a \( "$with_macosx_version_min_required" = 10.4 -o "$with_macosx_version_min_required" = 10.5 \); then
AC_MSG_ERROR([Cannot use "system" Python, the Python in Mac OS X $with_macosx_version_min_required is incompatible with Python3-ified pyuno])
fi
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([system])
;;
*)
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([Incorrect --enable-python option])
;;
esac
AC_SUBST(DISABLE_PYTHON)
if test $_os = WINNT -a "$WITH_MINGW" != yes -a $enable_python = system; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([Must use internal Python when building with MSVC])
fi
if test $enable_python != no; then
2011-07-04 02:20:26 -05:00
BUILD_TYPE="$BUILD_TYPE PYUNO"
fi
if test "$cross_compiling" = yes; then
if test $enable_python = auto; then
enable_python=system
fi
else
2011-07-04 02:20:26 -05:00
if test $enable_python = system; then
# This causes an error if no python command is found
# Note that this takes the system python called just "python",
# which isn't actually what we want on MacOSX when building
# against the 10.6 SDK. But that shouldn't matter, we
# select the correct python command manually below anyway.
AM_PATH_PYTHON([2.6])
2011-07-04 02:20:26 -05:00
elif test $enable_python = auto; then
dnl This allows lack of system Python
AM_PATH_PYTHON([2.6],, [:])
2011-07-04 02:20:26 -05:00
if test "$PYTHON" = :; then
enable_python=internal
else
enable_python=system
fi
fi
fi
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
if test $enable_python = system; then
if test $_os = Darwin; then
# We already have logic above to make sure the system Python
# is used only when building against SDK 10.6 or newer.
# Make sure we use the 2.6 Python when building against the
# 10.6 SDK.
case $with_macosx_sdk in
10.6)
python_version=2.6;;
10.7)
python_version=2.7;;
*)
# ???
python_version=2.7;;
esac
PYTHON=python$python_version
PYTHON_CFLAGS="-I/Developer/SDKs/MacOSX${with_macosx_sdk}.sdk/System/Library/Frameworks/Python.framework/Versions/${python_version}/include/python${python_version}"
PYTHON_LIBS="-framework Python"
fi
2011-07-04 02:20:26 -05:00
if test -n "$PYTHON_CFLAGS" -a -n "$PYTHON_LIBS"; then
# Fallback: Accept these in the environment, or as set above
# for MacOSX.
:
2011-07-04 02:20:26 -05:00
elif test "$cross_compiling" != yes; then
python_include=`$PYTHON -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('INCLUDEPY'));"`
python_version=`$PYTHON -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'));"`
python_libs=`$PYTHON -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBS'));"`
python_libdir=`$PYTHON -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBDIR'));"`
if $PKG_CONFIG --exists python-$python_version; then
PYTHON_CFLAGS="`$PKG_CONFIG --cflags python-$python_version`"
PYTHON_LIBS="`$PKG_CONFIG --libs python-$python_version`"
else
PYTHON_CFLAGS="-I$python_include"
PYTHON_LIBS="-L$python_libdir -lpython$python_version $python_libs"
fi
2011-07-04 02:20:26 -05:00
elif test "$cross_compiling" = yes; then
dnl How to find out the cross-compilation Python installation path?
dnl Let's hardocode what we know for different distributions for now...
for python_sysroot in /usr/i686-w64-mingw32/sys-root/mingw ; do
for python_version in 2.6 ; do
if test -f ${python_sysroot}/include/python${python_version}/Python.h; then
PYTHON_CFLAGS="-I ${python_sysroot}/include/python$python_version"
PYTHON_LIBS="-L ${python_sysroot}lib -lpython$python_version $python_libs"
break
fi
done
test -n "$PYTHON_CFLAGS" && break
done
fi
fi
dnl By now enable_python should be "system", "internal" or "no"
case $enable_python in
system)
2011-07-04 02:20:26 -05:00
SYSTEM_PYTHON=YES
2011-07-04 02:20:26 -05:00
dnl Check if the headers really work
save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $PYTHON_CFLAGS"
AC_CHECK_HEADER(Python.h, [],
[AC_MSG_ERROR([Python headers not found. You probably want to set both the PYTHON_CFLAGS and PYTHON_LIBS environment variables.])],
[])
2011-07-04 02:20:26 -05:00
CPPFLAGS="$save_CPPFLAGS"
2011-07-04 02:20:26 -05:00
dnl FIXME Check if the Python library can be linked with, too?
;;
internal)
2011-07-04 02:20:26 -05:00
SYSTEM_PYTHON=NO
BUILD_TYPE="$BUILD_TYPE PYTHON"
# Embedded Python dies without Home set
if test "z$HOME" = "z"; then
export HOME="";
fi
# bz2 tarball and bzip2 is not standard
if test -z "$BZIP2"; then
AC_PATH_PROG( BZIP2, bzip2)
if test -z "$BZIP2"; then
AC_MSG_ERROR([the internal Python module has a .tar.bz2. You need bzip2])
fi
fi
;;
no)
2011-07-04 02:20:26 -05:00
SYSTEM_PYTHON=NO
;;
*)
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([Internal configure script error, invalid enable_python value "$enable_python"])
;;
esac
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
AC_SUBST(SYSTEM_PYTHON)
AC_SUBST(PYTHON_CFLAGS)
AC_SUBST(PYTHON_LIBS)
dnl ===================================================================
dnl Check for system translate-toolkit
dnl ===================================================================
AC_MSG_CHECKING([which translate-toolkit to use])
if test "$with_system_translate_toolkit" = "yes" ; then
AC_MSG_RESULT([system])
SYSTEM_TRANSLATE_TOOLKIT=YES
AC_PATH_PROGS(OO2PO, oo2po)
if test -z "$OO2PO"; then
AC_MSG_ERROR([install translate-toolkit or use --without-system-translate-toolkit])
fi
AC_PATH_PROGS(PO2OO, po2oo)
if test -z "$PO2OO"; then
AC_MSG_ERROR([install translate-toolkit or use --without-system-translate-toolkit])
fi
$PO2OO --help | grep -q '\-\-skipsource'
if test $? -ne 0 ; then
AC_MSG_ERROR([$PO2OO does not support --skipsource; use translate-toolkit >= 1.9 or use --without-system-translate-toolkit])
fi
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([internal])
SYSTEM_TRANSLATE_TOOLKIT=NO
BUILD_TYPE="$BUILD_TYPE TRANSLATE_TOOLKIT"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
fi
AC_SUBST(SYSTEM_TRANSLATE_TOOLKIT)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl ===================================================================
dnl Check for system Berkeley db
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl ===================================================================
AC_MSG_CHECKING([which db to use])
if test -n "$with_system_db" -o -n "$with_system_libs" && \
test "$with_system_db" != "no"; then
SYSTEM_DB=YES
AC_MSG_RESULT([external])
db_header=
for dbver in 5.1 5.0 5 4.8 4.7 4; do
for dash in - ''; do
AC_CHECK_HEADER([db$dash$dbver/db.h],
[ db_header="db$dash$dbver/db.h"; break 2 ])
done
done
if test -z "$db_header"; then
AC_CHECK_HEADER([db/db.h], [db_header='db/db.h'; dbver=''])
fi
if test -z "$db_header"; then
AC_CHECK_HEADER(db.h, [ db_header='db.h'; dbver='' ])
fi
if test -z "$db_header"; then
AC_MSG_ERROR([db.h not found. Use the correct -I flag, or install the Berkeley db development package.])
fi
AC_MSG_CHECKING([whether db is at least 4.1])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <$db_header>]], [[int array[(DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1))-1];]])],[AC_MSG_RESULT([yes])],[AC_MSG_ERROR([no. you need at least db 4.1])])
2011-05-18 11:13:43 +03:00
SYSTEM_DB_CFLAGS="-DSYSTEM_DB_HEADER='<$db_header>'"
DB_LIB=
2011-08-18 13:06:19 +02:00
dnl At least on OpenBSD dbver is not appended to the library
if test "$_os" = "OpenBSD"; then
dbver=''
fi
for dash in - ''; do
AC_CHECK_LIB(db$dash$dbver, dbopen,
[ DB_LIB="db$dash$dbver"; DB_CPPLIB="db_cxx$dash$dbver"; break ])
AC_CHECK_LIB(db$dash$dbver, __db185_open,
[ DB_LIB="db$dash$dbver"; DB_CPPLIB="db_cxx$dash$dbver"; break ])
done
if test -z "$DB_LIB" ; then
AC_MSG_ERROR([db library not found. Use the correct -L flag,
or install the Berkeley db development package.])
fi
SCPDEFS="$SCPDEFS -DSYSTEM_DB"
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libdb-4.8.dll"
else
AC_MSG_RESULT([internal])
SYSTEM_DB=NO
BUILD_TYPE="$BUILD_TYPE BERKELEYDB"
fi
AC_SUBST(SYSTEM_DB)
2011-05-18 11:13:43 +03:00
AC_SUBST(SYSTEM_DB_CFLAGS)
AC_SUBST(DB_LIB)
AC_SUBST(DB_CPPLIB)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl ===================================================================
dnl Check for system lucene
dnl ===================================================================
if test "$with_java" != "no"; then
AC_MSG_CHECKING([which lucene to use])
if test -n "$with_system_lucene" -o -n "$with_system_libs" && \
2011-07-04 02:20:26 -05:00
test "$with_system_lucene" != "no" && test "$with_system_jars" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_LUCENE=YES
if test -z $LUCENE_CORE_JAR; then
AC_CHECK_FILE(/usr/share/java/lucene-core-2.3.jar,
[ LUCENE_CORE_JAR=/usr/share/java/lucene-core-2.3.jar ],
[
AC_CHECK_FILE(/usr/share/java/lucene-core.jar,
[ LUCENE_CORE_JAR=/usr/share/java/lucene-core.jar ],
[ AC_CHECK_FILE(/usr/share/java/lucene.jar,
[ LUCENE_CORE_JAR=/usr/share/java/lucene.jar ],
[ AC_MSG_ERROR(lucene-core.jar replacement not found)]
)
]
)
]
2011-07-04 02:20:26 -05:00
)
else
AC_CHECK_FILE($LUCENE_CORE_JAR, [],
[AC_MSG_ERROR(lucene-core.jar not found.)], [])
2011-07-04 02:20:26 -05:00
fi
2011-07-04 02:20:26 -05:00
if test -z $LUCENE_ANALYZERS_JAR; then
AC_CHECK_FILE(/usr/share/java/lucene-analyzers-2.3.jar,
[ LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-analyzers-2.3.jar ],
[
AC_CHECK_FILE(/usr/share/java/lucene-contrib/lucene-analyzers.jar,
[ LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-contrib/lucene-analyzers.jar ],
[ AC_MSG_ERROR(lucene-analyzers.jar replacement not found.)]
)
]
2011-07-04 02:20:26 -05:00
)
else
AC_CHECK_FILE($LUCENE_CORE_JAR, [],
[ AC_MSG_ERROR(lucene-analyzers.jar not found.)], [])
2011-07-04 02:20:26 -05:00
fi
AC_MSG_CHECKING([whether lucene is version 2.x])
export LUCENE_CORE_JAR
if $PERL -e 'use Archive::Zip;
my $file = "$ENV{'LUCENE_CORE_JAR'}";
my $zip = Archive::Zip->new( $file );
my $mf = $zip->contents ( "META-INF/MANIFEST.MF" );
if ( $mf =~ m/Specification-Version: 2.*/ ) {
exit 0;
} else {
exit 1;
}'; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no, you need lucene 2])
fi
else
AC_MSG_RESULT([internal])
SYSTEM_LUCENE=NO
BUILD_TYPE="$BUILD_TYPE LUCENE"
fi
fi
AC_SUBST(SYSTEM_LUCENE)
AC_SUBST(LUCENE_CORE_JAR)
AC_SUBST(LUCENE_ANALYZERS_JAR)
AC_MSG_CHECKING([whether to build the MySQL Connector extension])
if test "x$enable_ext_mysql_connector" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
ENABLE_MYSQLC=YES
BUILD_TYPE="$BUILD_TYPE MYSQLC"
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
ENABLE_MYSQLC=NO
fi
AC_SUBST(ENABLE_MYSQLC)
if test "$ENABLE_MYSQLC" = "YES"; then
2011-07-04 02:20:26 -05:00
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_MYSQLC"
2011-07-04 02:20:26 -05:00
dnl ===================================================================
dnl Check for system MySQL
dnl ===================================================================
AC_MSG_CHECKING([for mysql pre-requisites])
if test -n "$with_system_mysql" -o -n "$with_system_libs" && \
test "$with_system_mysql" != "no" && test "$with_system_libs" != "no"; then
AC_MSG_RESULT([external MySQL])
SYSTEM_MYSQL=YES
AC_PATH_PROG( MYSQLCONFIG, mysql_config)
AC_MSG_CHECKING([MySQL version])
MYSQL_VERSION=`$MYSQLCONFIG --version`
MYSQL_MAJOR=`$MYSQLCONFIG --version | cut -d"." -f1`
if test "$MYSQL_MAJOR" -ge "5"; then
AC_MSG_RESULT([OK])
else
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([too old, use 5.0.x or 5.1.x])
fi
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([for MySQL Client library])
MYSQL_INC=`$MYSQLCONFIG --include`
MYSQL_LIB=`$MYSQLCONFIG --libs`
MYSQL_DEFINES=`$MYSQLCONFIG --cflags | $SED -e s,$MYSQL_INC,,`
AC_MSG_RESULT([includes $MYSQL_INC, libraries $MYSQL_LIB])
else
2011-07-04 02:20:26 -05:00
SYSTEM_MYSQL=NO
if test -n "$with_libmysql_path"; then
AC_MSG_RESULT([external Connector/C (libmysql)])
LIBMYSQL=libmysql.so
if test "$_os" = "Darwin"; then
LIBMYSQL=libmysql.dylib
elif test "$_os" = "WINNT"; then
LIBMYSQL=libmysql.dll
fi
AC_MSG_CHECKING([for $LIBMYSQL])
if test -e "$with_libmysql_path/lib/$LIBMYSQL"; then
AC_MSG_RESULT([found.])
LIBMYSQL_PATH=$with_libmysql_path
else
AC_MSG_ERROR([not found. Please specify proper path in --with-libmysql-path.])
fi
else
AC_MSG_ERROR([not given. Please specify either --with-system-mysql or --with-libmysql-path])
fi
fi
2011-07-04 02:20:26 -05:00
AC_SUBST(SYSTEM_MYSQL)
AC_SUBST(MYSQL_INC)
AC_SUBST(MYSQL_LIB)
AC_SUBST(MYSQL_DEFINES)
AC_SUBST(LIBMYSQL_PATH)
2011-07-04 02:20:26 -05:00
AC_LANG_PUSH([C++])
dnl ===================================================================
dnl Check for system MySQL C++ Connector
dnl ===================================================================
# FIXME!
# who thought this too-generic cppconn dir was a good idea?
AC_MSG_CHECKING([MySQL Connector/C++])
if test -n "$with_system_mysql_cppconn" -o -n "$with_system_libs" && \
test "$with_system_mysql_cppconn" != "no" && test "$with_system_libs" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_MYSQL_CPPCONN=YES
AC_LANG_PUSH([C++])
2011-07-04 02:20:26 -05:00
AC_CHECK_HEADER(mysql_driver.h, [],
[AC_MSG_ERROR(mysql_driver.h not found. install MySQL C++ Connectivity)], [])
2011-07-04 02:20:26 -05:00
AC_CHECK_LIB(mysqlcppconn, main, [],
[AC_MSG_ERROR(MySQL C++ Connectivity lib not found or functional)], [])
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([version])
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <mysql_driver.h>
int main(int argc, char **argv) {
sql::Driver *driver;
driver = get_driver_instance();
if (driver->getMajorVersion() > 1 || \
(driver->getMajorVersion() == 1 && driver->getMinorVersion() > 0) || \
(driver->getMajorVersion() == 1 && driver->getMinorVersion() == 0 && driver->getPatchVersion() >= 6))
return 0;
else
return 1;
}
]])],[AC_MSG_RESULT(OK)],[AC_MSG_ERROR([not suitable, we need >= 1.0.6])],[])
2011-07-04 02:20:26 -05:00
AC_LANG_POP([C++])
2011-07-04 02:20:26 -05:00
else
AC_MSG_RESULT([internal])
AC_MSG_CHECKING([for mysqlcppconn module])
if test -d mysqlcppconn; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([OK])
else
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)])
fi
2011-07-04 02:20:26 -05:00
BUILD_TYPE="$BUILD_TYPE MYSQLCPPCONN"
SYSTEM_MYSQL_CPPCONN=NO
fi
AC_LANG_POP([C++])
AC_SUBST(SYSTEM_MYSQL_CPPCONN)
fi
dnl ===================================================================
dnl Check for system hsqldb
dnl ===================================================================
if test "$with_java" != "no"; then
AC_MSG_CHECKING([which hsqldb to use])
if test -n "$with_system_hsqldb" -o -n "$with_system_libs" && \
test "$with_system_hsqldb" != "no" && test "$with_system_jars" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([external])
SYSTEM_HSQLDB=YES
if test -z $HSQLDB_JAR; then
HSQLDB_JAR=/usr/share/java/hsqldb.jar
fi
AC_CHECK_FILE($HSQLDB_JAR, [],
[AC_MSG_ERROR(hsqldb.jar not found.)], [])
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([whether hsqldb is 1.8.0.x])
export HSQLDB_JAR
if $PERL -e 'use Archive::Zip;
my $file = "$ENV{'HSQLDB_JAR'}";
my $zip = Archive::Zip->new( $file );
my $mf = $zip->contents ( "META-INF/MANIFEST.MF" );
if ( $mf =~ m/Specification-Version: 1.8.*/ ) {
push @l, split(/\n/, $mf);
foreach my $line (@l) {
if ($line =~ m/Specification-Version:/) {
($t, $version) = split (/:/,$line);
$version =~ s/^\s//;
($a, $b, $c, $d) = split (/\./,$version);
if ($c == "0" && $d > "8") {
exit 0;
} else {
exit 1;
}
}
}
} else {
exit 1;
}'; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no, you need hsqldb >= 1.8.0.9 but < 1.8.1])
fi
else
AC_MSG_RESULT([internal])
SYSTEM_HSQLDB=NO
BUILD_TYPE="$BUILD_TYPE HSQLDB"
fi
AC_SUBST(SYSTEM_HSQLDB)
AC_SUBST(HSQLDB_JAR)
fi
dnl ===================================================================
dnl Check for system beanshell
dnl ===================================================================
if test "$with_java" != "no"; then
AC_MSG_CHECKING([which beanshell to use])
if test -n "$with_system_beanshell" -o -n "$with_system_libs" && \
test "$with_system_beanshell" != "no" && test "$with_system_jars" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([external])
SYSTEM_BSH=YES
if test -z $BSH_JAR; then
BSH_JAR=/usr/share/java/bsh.jar
fi
AC_CHECK_FILE($BSH_JAR, [],
[AC_MSG_ERROR(bsh.jar not found.)], [])
else
AC_MSG_RESULT([internal])
SYSTEM_BSH=NO
BUILD_TYPE="$BUILD_TYPE BSH"
fi
fi
AC_SUBST(SYSTEM_BSH)
AC_SUBST(BSH_JAR)
dnl ===================================================================
dnl Check for system saxon
dnl ===================================================================
if test "$with_java" != "no"; then
AC_MSG_CHECKING([which saxon to use])
if test -n "$with_system_saxon" -o -n "$with_system_libs" && \
test "$with_system_saxon" != "no" && test "$with_system_jars" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([external])
SYSTEM_SAXON=YES
if test -z $SAXON_JAR; then
AC_CHECK_FILE(/usr/share/java/saxon9.jar,
[ SAXON_JAR=/usr/share/java/saxon9.jar ],
[
AC_CHECK_FILE(/usr/share/java/saxon.jar,
[ SAXON_JAR=/usr/share/java/saxon.jar ],
[ AC_CHECK_FILE(/usr/share/java/saxon9.jar,
[ SAXON_JAR=/usr/share/java/saxon9.jar ],
[ AC_MSG_ERROR(saxon.jar replacement not found)]
)
]
)
]
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($SAXON_JAR, [],
[AC_MSG_ERROR(saxon.jar replacement not found.)], [])
2011-07-04 02:20:26 -05:00
fi
if test -n "$SERIALIZER_JAR"; then
AC_CHECK_FILE($SERIALIZER_JAR, [],
[AC_MSG_ERROR(serializer.jar not found.)], [])
2011-07-04 02:20:26 -05:00
AC_SUBST(SERIALIZER_JAR)
fi
2011-07-04 02:20:26 -05:00
dnl Saxon comes in two practically available versions, the out-of-date saxonb which
dnl supports the Java extensions that LibreOffice uses, and the up-to-date saxon he
dnl "home edition" version, which is crippled to not support those Java extensions.
dnl And as an aside the he one also needs to be tweaked to include
dnl a META-INF/services to broadcast that it supports the jaxp transform factory
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([if saxon works])
cat > saxontest.java <<_ACEOF
[import javax.xml.transform.TransformerFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.stream.StreamSource;
import java.io.*;
import net.sf.saxon.FeatureKeys;
class saxontest {
public static void main(String[] args) {
System.setProperty("javax.xml.transform.TransformerFactory",
"net.sf.saxon.TransformerFactoryImpl");
try {
TransformerFactory tfactory = TransformerFactory.newInstance();
// some external saxons (Debian, Ubuntu, ...) have this disabled
// per default
tfactory.setAttribute(FeatureKeys.ALLOW_EXTERNAL_FUNCTIONS, new Boolean(true));
System.out.println("TransformerFactory is" +
tfactory.getClass().getName());
Transformer transformer = tfactory.newTransformer(
new StreamSource(new File(args[0])));
} catch(Exception e){
e.printStackTrace(System.err);
System.exit(-1);
}
System.exit(0);
}
}
]
_ACEOF
2011-07-04 02:20:26 -05:00
cat > saxontest.xsl<<_ACEOF
[<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:value-of select="math:sqrt(1)" xmlns:math="java:java.lang.Math"/>
</xsl:template>
</xsl:stylesheet>
]
_ACEOF
2011-07-04 02:20:26 -05:00
javac_cmd="$JAVACOMPILER -cp $SAXON_JAR saxontest.java 1>&2"
AC_TRY_EVAL(javac_cmd)
if test $? = 0 && test -f ./saxontest.class ; then
java_cmd="$JAVAINTERPRETER -cp $SAXON_JAR:. saxontest saxontest.xsl 1>&2"
AC_TRY_EVAL(java_cmd)
if test $? = 0; then
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
cat saxontest.java >&5
AC_MSG_RESULT([no])
AC_MSG_ERROR([Non-functional saxon jar, e.g. crippled saxon-he instead of saxonb])
fi
2011-07-04 02:20:26 -05:00
else
AC_MSG_RESULT([no])
cat saxontest.java >&5
AC_MSG_ERROR([saxontest could not be compiled, non-functional saxon jar])
fi
else
AC_MSG_RESULT([internal])
SYSTEM_SAXON=NO
NEED_SAXON=TRUE
fi
fi
AC_SUBST(SYSTEM_SAXON)
AC_SUBST(SAXON_JAR)
if test -n "$NEED_SAXON"; then
2011-07-04 02:20:26 -05:00
BUILD_TYPE="$BUILD_TYPE SAXON"
fi
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl ===================================================================
dnl Check for system curl
dnl ===================================================================
if test "$_os" = "Darwin" -a "$with_system_curl" != "no"; then
2011-07-04 02:20:26 -05:00
with_system_curl=yes
fi
AC_MSG_CHECKING([which libcurl to use])
if test -n "$with_system_curl" -o -n "$with_system_libs" && \
test "$with_system_curl" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([external])
SYSTEM_CURL=YES
curl_version=""
if test "$cross_compiling" = "yes"; then
dnl At least the OBS mingw32-libcurl-devel package
dnl comes with a proper .pc file
PKG_CHECK_MODULES(CURL, libcurl,, [:])
2011-09-13 17:12:25 +03:00
if test -n "$CURL_PKG_ERRORS"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
else
curl_version=`$PKG_CONFIG --modversion libcurl`
fi
fi
if test -z "$curl_version"; then
AC_PATH_PROG(CURLCONFIG, curl-config)
if test -z "$CURLCONFIG"; then
AC_MSG_ERROR([install the libcurl development package])
fi
CURL_LIBS=`$CURLCONFIG --libs`
CURL_CFLAGS=`$CURLCONFIG --cflags`
curl_version=`$CURLCONFIG --version | $SED -e 's/^libcurl //'`
fi
AC_MSG_CHECKING([whether libcurl is >= 7.13.1])
case $curl_version in
dnl brackets doubled below because Autoconf uses them as m4 quote characters,
dnl so they need to be doubled to end up in the configure script
7.13.1|7.1[[4-9]].*|7.[[2-9]]?.*|7.???.*|[[8-9]].*|[[1-9]][[0-9]].*)
AC_MSG_RESULT([yes, you have $curl_version])
;;
*)
AC_MSG_ERROR([no, you have $curl_version])
;;
esac
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libintl-8.dll libidn-11.dll libnspr4.dll nssutil3.dll libplc4.dll libplds4.dll nss3.dll ssl3.dll libgpg-error-0.dll libgcrypt-11.dll libssh2-1.dll libcurl-4.dll"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([internal])
SYSTEM_CURL=NO
BUILD_TYPE="$BUILD_TYPE CURL"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
fi
AC_SUBST(SYSTEM_CURL)
AC_SUBST(CURL_CFLAGS)
AC_SUBST(CURL_LIBS)
dnl ===================================================================
dnl Check for system boost
dnl ===================================================================
AC_MSG_CHECKING([which boost to use])
if test -n "$with_system_boost" -o -n "$with_system_headers" && \
2011-07-04 02:20:26 -05:00
test "$with_system_boost" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_BOOST=YES
AC_LANG_PUSH([C++])
AC_CHECK_HEADER(boost/shared_ptr.hpp, [],
[AC_MSG_ERROR(boost/shared_ptr.hpp not found. install boost)], [])
2011-07-04 02:20:26 -05:00
AC_CHECK_HEADER(boost/spirit/include/classic_core.hpp, [],
[AC_MSG_ERROR(boost/spirit/include/classic_core.hpp not found. install boost >= 1.36)], [])
2011-07-04 02:20:26 -05:00
AC_CHECK_HEADER(boost/function.hpp, [],
CWS-TOOLING: integrate CWS boost134 2009-09-09 10:30:24 +0200 fs r275970 : #i100127# provided by rene: check whether system-boost's function.hpp compiles without exception support 2009-09-04 21:58:00 +0200 fs r275832 : indention 2009-09-04 21:57:10 +0200 fs r275831 : #i10000# type in boost/spirit check. Thanks to thb 2009-09-04 10:58:54 +0200 fs r275787 : #i100127# provided by tono@openoffice.org: mingw needs using directives for std::min/max 2009-09-04 10:31:54 +0200 fs r275782 : #i100127# (approved by hjs) on Solaris, set GNUTAR to /usr/sfw/bin/gtar, this is available on baseline machines (Solaris 10.x), but not necessarily available in LD_LIBRARY_PATH 2009-08-19 21:47:55 +0200 rene r275161 : #i10000# check for the header actually used now 2009-08-17 21:55:31 +0200 fs r275073 : CWS-TOOLING: rebase CWS boost134 to trunk@275001 (milestone: DEV300:m55) 2009-07-16 09:39:25 +0200 fs r274031 : #i100127# extract download/% with GNUTAR instead of TAR 2009-07-14 09:18:15 +0200 fs r273960 : CWS-TOOLING: rebase CWS boost134 to trunk@273858 (milestone: DEV300:m52) 2009-07-13 09:55:14 +0200 fs r273919 : #i100127# use boost 1.39, not 1.34 2009-07-13 09:45:57 +0200 fs r273918 : use GNUTAR when extracting download/%.tar.gz, not TAR (necessary with boost 1.39 tarball) 2009-07-10 21:10:52 +0200 fs r273905 : #i100127# spirit now part of boost 2009-07-06 12:12:13 +0200 fs r273732 : #i10000# lngconvex, used in src/wizards, is built in shell => added missing module dependency 2009-07-02 15:34:51 +0200 fs r273660 : #i100127# 2009-07-02 13:35:24 +0200 fs r273645 : #i100127# MSVC needs some hinting when using boost::bind on (some) member functions 2009-07-02 10:33:59 +0200 fs r273625 : removed unused include (lead to an internal compiler error with MSVC and boost 1.34+) 2009-07-02 09:44:35 +0200 fs r273619 : change some include orders, prevents 'internal compiler errors' with MSVC 2009-07-01 09:19:25 +0200 fs r273547 : #i100127# who the heck is defining max as something unusable? 2009-07-01 09:17:28 +0200 fs r273546 : #i100127# defining min/max is causing trouble now 2009-07-01 09:15:40 +0200 fs r273545 : #i100127# reverted previous patch, and properly fixed the problem by defining BOOST_MEM_FN_ENABLE_CDECL, and disabling warning 4180 2009-07-01 09:14:23 +0200 fs r273544 : #i100127# re-disable warning 4180, still needed for some files 2009-07-01 09:07:33 +0200 fs r273543 : #i100127# reverted previous patch, and properly fixed the problem by defining BOOST_MEM_FN_ENABLE_CDECL 2009-06-24 11:00:32 +0200 fs r273319 : oops, re-introduced some inc locations 2009-06-23 22:10:02 +0200 fs r273304 : #i100127# disable warning C4180 2009-06-23 22:08:36 +0200 fs r273303 : #i100127# disable warning C4180 2009-06-16 12:26:49 +0200 fs r273015 : #i10000# (provided by mst@openoffice.org) 2009-06-15 09:10:27 +0200 fs r272962 : #i10000# use -r instead of -a when copying the include files, this prevents the spurious 'failed to preserve ownership' errors 2009-06-11 23:55:06 +0200 fs r272902 : #i100127# 2009-06-11 23:54:47 +0200 fs r272901 : #i100127# 2009-06-11 23:54:05 +0200 fs r272900 : make compile on unxsol[i|s]4 2009-06-10 10:12:22 +0200 fs r272798 : #i100127# don't deliver from within unxlngi6/misc/build/boost, but from a 'normalized' location unxlngi6/inc 2009-06-10 09:48:00 +0200 fs r272795 : #i100127# use 1.34.1 unconditionally on all platforms
2009-09-17 10:11:42 +00:00
[AC_MSG_ERROR(boost/function.hpp not found. install boost)], [])
2011-07-04 02:20:26 -05:00
AC_CHECK_HEADER([boost/unordered_map.hpp], [HAVE_BOOST_UNORDERED_MAP=TRUE],
[AC_MSG_WARN([boost/unordered_map.hpp not found])], [])
CWS-TOOLING: integrate CWS boost134 2009-09-09 10:30:24 +0200 fs r275970 : #i100127# provided by rene: check whether system-boost's function.hpp compiles without exception support 2009-09-04 21:58:00 +0200 fs r275832 : indention 2009-09-04 21:57:10 +0200 fs r275831 : #i10000# type in boost/spirit check. Thanks to thb 2009-09-04 10:58:54 +0200 fs r275787 : #i100127# provided by tono@openoffice.org: mingw needs using directives for std::min/max 2009-09-04 10:31:54 +0200 fs r275782 : #i100127# (approved by hjs) on Solaris, set GNUTAR to /usr/sfw/bin/gtar, this is available on baseline machines (Solaris 10.x), but not necessarily available in LD_LIBRARY_PATH 2009-08-19 21:47:55 +0200 rene r275161 : #i10000# check for the header actually used now 2009-08-17 21:55:31 +0200 fs r275073 : CWS-TOOLING: rebase CWS boost134 to trunk@275001 (milestone: DEV300:m55) 2009-07-16 09:39:25 +0200 fs r274031 : #i100127# extract download/% with GNUTAR instead of TAR 2009-07-14 09:18:15 +0200 fs r273960 : CWS-TOOLING: rebase CWS boost134 to trunk@273858 (milestone: DEV300:m52) 2009-07-13 09:55:14 +0200 fs r273919 : #i100127# use boost 1.39, not 1.34 2009-07-13 09:45:57 +0200 fs r273918 : use GNUTAR when extracting download/%.tar.gz, not TAR (necessary with boost 1.39 tarball) 2009-07-10 21:10:52 +0200 fs r273905 : #i100127# spirit now part of boost 2009-07-06 12:12:13 +0200 fs r273732 : #i10000# lngconvex, used in src/wizards, is built in shell => added missing module dependency 2009-07-02 15:34:51 +0200 fs r273660 : #i100127# 2009-07-02 13:35:24 +0200 fs r273645 : #i100127# MSVC needs some hinting when using boost::bind on (some) member functions 2009-07-02 10:33:59 +0200 fs r273625 : removed unused include (lead to an internal compiler error with MSVC and boost 1.34+) 2009-07-02 09:44:35 +0200 fs r273619 : change some include orders, prevents 'internal compiler errors' with MSVC 2009-07-01 09:19:25 +0200 fs r273547 : #i100127# who the heck is defining max as something unusable? 2009-07-01 09:17:28 +0200 fs r273546 : #i100127# defining min/max is causing trouble now 2009-07-01 09:15:40 +0200 fs r273545 : #i100127# reverted previous patch, and properly fixed the problem by defining BOOST_MEM_FN_ENABLE_CDECL, and disabling warning 4180 2009-07-01 09:14:23 +0200 fs r273544 : #i100127# re-disable warning 4180, still needed for some files 2009-07-01 09:07:33 +0200 fs r273543 : #i100127# reverted previous patch, and properly fixed the problem by defining BOOST_MEM_FN_ENABLE_CDECL 2009-06-24 11:00:32 +0200 fs r273319 : oops, re-introduced some inc locations 2009-06-23 22:10:02 +0200 fs r273304 : #i100127# disable warning C4180 2009-06-23 22:08:36 +0200 fs r273303 : #i100127# disable warning C4180 2009-06-16 12:26:49 +0200 fs r273015 : #i10000# (provided by mst@openoffice.org) 2009-06-15 09:10:27 +0200 fs r272962 : #i10000# use -r instead of -a when copying the include files, this prevents the spurious 'failed to preserve ownership' errors 2009-06-11 23:55:06 +0200 fs r272902 : #i100127# 2009-06-11 23:54:47 +0200 fs r272901 : #i100127# 2009-06-11 23:54:05 +0200 fs r272900 : make compile on unxsol[i|s]4 2009-06-10 10:12:22 +0200 fs r272798 : #i100127# don't deliver from within unxlngi6/misc/build/boost, but from a 'normalized' location unxlngi6/inc 2009-06-10 09:48:00 +0200 fs r272795 : #i100127# use 1.34.1 unconditionally on all platforms
2009-09-17 10:11:42 +00:00
2011-07-04 02:20:26 -05:00
save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS -fno-exceptions"
AC_MSG_CHECKING([whether boost/function.hpp compiles with -fno-exceptions])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <boost/function.hpp>
]], [[]])],[ac_cv_cxx_boost_no_exceptions_broken=no],[ac_cv_cxx_boost_no_exceptions_broken=yes])
2011-07-04 02:20:26 -05:00
if test "$ac_cv_cxx_boost_no_exceptions_broken" = "yes"; then
AC_MSG_ERROR([no, see https://bugzilla.redhat.com/show_bug.cgi?id=477131])
else
AC_MSG_RESULT([yes])
fi
CXXFLAGS=$save_CXXFLAGS
AC_LANG_POP([C++])
else
AC_MSG_RESULT([internal])
BUILD_TYPE="$BUILD_TYPE BOOST"
SYSTEM_BOOST=NO
HAVE_BOOST_UNORDERED_MAP=TRUE
fi
AC_SUBST([HAVE_BOOST_UNORDERED_MAP])
AC_SUBST(SYSTEM_BOOST)
dnl ===================================================================
dnl Check for system mdds
dnl ===================================================================
AC_MSG_CHECKING([which mdds to use])
if test -n "$with_system_mdds" -o -n "$with_system_headers" && \
2011-07-04 02:20:26 -05:00
test "$with_system_mdds" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_MDDS=YES
dnl ===================================================================
dnl Determine which hash container mdds shall use
dnl ===================================================================
AC_MSG_CHECKING([which hash container mdds shall use])
if test "x$HAVE_CXX0X" = "xTRUE"; then
MDDS_CPPFLAGS="-std=c++0x"
AC_MSG_RESULT([std::unordered_map])
else
MDDS_CPPFLAGS="-DMDDS_HASH_CONTAINER_BOOST"
AC_MSG_RESULT([boost::unordered_map])
fi
AC_LANG_PUSH([C++])
save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $MDDS_CPPFLAGS"
AC_CHECK_HEADER(mdds/flat_segment_tree.hpp, [],
[AC_MSG_ERROR(mdds/flat_segment_tree.hpp not found. install mdds)], [])
AC_CHECK_HEADER(mdds/mixed_type_matrix.hpp, [],
[AC_MSG_ERROR(mdds/mixed_type_matrix.hpp not found. install mdds >= 0.4.0)], [])
CPPFLAGS="$save_CPPFLAGS"
save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS $MDDS_CPPFLAGS"
AC_MSG_CHECKING([for correct signature of ::mdds::flat_segment_tree])
AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <mdds/flat_segment_tree.hpp>
int main(int argc, char **argv) {
::mdds::flat_segment_tree<long, short> db(0, 100, 0);
short val;
if (!db.search(5, val).second)
return 1;
return 0;
}
]])],[ac_cv_cxx_mdds_flat_segment_tree_correct=yes],[ac_cv_cxx_mdds_flat_segment_tree_correct=no],[])
if test "$ac_cv_cxx_mdds_flat_segment_tree_correct" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([no, install mdds >= 0.5.0])
fi
CXXFLAGS=$save_CXXFLAGS
AC_LANG_POP([C++])
else
AC_MSG_RESULT([internal])
BUILD_TYPE="$BUILD_TYPE MDDS"
SYSTEM_MDDS=NO
dnl ===================================================================
dnl Determine which hash container mdds shall use
dnl ===================================================================
AC_MSG_CHECKING([which hash container mdds shall use])
MDDS_CPPFLAGS="-DMDDS_HASH_CONTAINER_BOOST"
AC_MSG_RESULT([boost::unordered_map])
fi
AC_SUBST(SYSTEM_MDDS)
AC_SUBST([MDDS_CPPFLAGS])
dnl ===================================================================
dnl Check for system vigra
dnl ===================================================================
AC_MSG_CHECKING([which vigra to use])
if test -n "$with_system_vigra" -o -n "$with_system_headers" && \
2011-07-04 02:20:26 -05:00
test "$with_system_vigra" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_VIGRA=YES
AC_LANG_PUSH([C++])
AC_CHECK_HEADER(vigra/copyimage.hxx, [],
[AC_MSG_ERROR(vigra/copyimage.hxx not found. install vigra)], [])
2011-07-04 02:20:26 -05:00
AC_LANG_POP([C++])
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([internal])
BUILD_TYPE="$BUILD_TYPE VIGRA"
SYSTEM_VIGRA=NO
fi
AC_SUBST(SYSTEM_VIGRA)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl ===================================================================
dnl Check for system odbc
dnl ===================================================================
AC_MSG_CHECKING([which odbc headers to use])
if test -n "$with_system_odbc" -o -n "$with_system_headers" && \
2011-07-04 02:20:26 -05:00
test "$with_system_odbc" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_ODBC_HEADERS=YES
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
2011-07-04 02:20:26 -05:00
AC_CHECK_HEADER(sqlext.h, [],
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
[AC_MSG_ERROR(odbc not found. install odbc)], [])
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([internal])
SYSTEM_ODBC_HEADERS=NO
BUILD_TYPE="$BUILD_TYPE UNIXODBC"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
fi
AC_SUBST(SYSTEM_ODBC_HEADERS)
AC_MSG_CHECKING([whether to enable build of Mozilla/Mozilla NSS-using components])
if test "$enable_mozilla" = "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITH_MOZILLA=NO
ENABLE_NSS_MODULE=NO
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
WITH_MOZILLA=YES
fi
AC_SUBST(WITH_MOZILLA)
AC_MSG_CHECKING([whether to build Mozilla addressbook connectivity])
if test "$enable_mozilla" = "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
elif test "$with_system_mozilla" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no, not possible with system-mozilla])
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
fi
AC_MSG_CHECKING([whether to build XML Security support])
if test "$enable_mozilla" = "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no, since Mozilla (NSS) disabled but needed])
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
fi
AC_MSG_CHECKING([whether to build LDAP configuration backend])
if test -z "$enable_ldap" || test "$enable_ldap" = "yes"; then
2011-07-04 02:20:26 -05:00
if test "$enable_mozilla" = "yes" || test "$with_openldap" = "yes"; then
AC_MSG_RESULT([yes])
WITH_LDAP=YES
else
AC_MSG_RESULT([no. Either Mozilla or OpenLDAP needed])
WITH_LDAP=NO
fi
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITH_LDAP=NO
fi
if test "$WITH_LDAP" = "YES"; then
2011-07-04 02:20:26 -05:00
dnl ===================================================================
dnl Test whether we want to use the Mozilla or the OpenLDAP LDAP SDK
dnl ===================================================================
AC_MSG_CHECKING([which LDAP SDK to use])
if test -n "$with_openldap" && test "$with_openldap" != "no"; then
AC_MSG_RESULT([OpenLDAP])
WITH_OPENLDAP=YES
AC_CHECK_HEADERS(ldap.h, [],
[AC_MSG_ERROR(ldap.h not found. install openldap libs)], [])
2011-07-04 02:20:26 -05:00
AC_CHECK_LIB(ldap, ldap_simple_bind_s, [],
[AC_MSG_ERROR(openldap lib not found or functional)], [])
2011-07-04 02:20:26 -05:00
# rumours say that OpenLDAP doesn't have that function. I looked and
# it has it. Test for it to be sure
AC_CHECK_LIB(ldap, ldap_set_option, [],
[AC_MSG_ERROR(openldap lib not found or functional)], [])
2011-07-04 02:20:26 -05:00
else
AC_MSG_RESULT([Netscape/Mozilla])
# TODO. Actually do a sanity check and check for
# LDAP_OPT_SIZELIMIT and LDAP_X_OPT_CONNECT_TIMEOUT
WITH_OPENLDAP=NO
fi
fi
AC_SUBST(WITH_LDAP)
AC_SUBST(WITH_OPENLDAP)
dnl ===================================================================
dnl Check for system mozilla
dnl ===================================================================
2011-05-15 02:11:48 +03:00
AC_MSG_CHECKING([which Mozilla to use])
INTEGRATION: CWS configure18 (1.166.2); FILE MERGED 2006/07/15 19:27:33 rene 1.166.2.18: fix syntax error 2006/07/15 13:12:59 rene 1.166.2.17: reasdd second PKG_CHECK_MODULES for libagg 2006/07/15 12:11:09 pjanik 1.166.2.16: add space after comma 2006/07/14 16:17:47 rene 1.166.2.15: remove mentioning of libart, long obsolete, fix GPC vars; don't fail on agg 2.4 being present, cws thbpp4 fixes agg 2.4 build 2006/07/13 15:36:51 rene 1.166.2.14: RESYNC: (1.168-1.169); FILE MERGED 2006/07/13 15:18:18 rene 1.166.2.13: #i64798# system neon 0.26.x support, by geki 2006/07/10 14:08:17 rene 1.166.2.12: RESYNC: (1.166-1.168); FILE MERGED 2006/06/13 19:08:39 rene 1.166.2.11: #i60089# fix oversights 2006/06/13 19:06:15 rene 1.166.2.10: #i65976# don't add X libs and includes when they are in /usr 2006/06/11 20:22:08 rene 1.166.2.9: allow XULRunner 2006/06/11 14:40:44 rene 1.166.2.8: #i60089# system firefox (--with-firefox) buildfixes 2006/06/11 14:25:31 rene 1.166.2.7: #i64860# system mozilla with special nspr/nss library paths 2006/06/11 01:05:36 rene 1.166.2.6: #i64919# Don't fail if an explicit --without-system-mozilla is given 2006/06/11 00:42:10 rene 1.166.2.5: #i65202# always link with -ldl on Linux for Xinerama (and fix typo), patch by hjs 2006/06/11 00:35:24 rene 1.166.2.4: #i65776# JDK=sun; otherwise JDK is unitialized and deliver complains, patch by geki 2006/06/11 00:28:29 rene 1.166.2.3: #i64923# make PAM optional on Linux, patch by geki 2006/06/11 00:14:23 rene 1.166.2.2: #i65408# allow SS10 compiler (CC 5.7) 2006/06/11 00:06:48 rene 1.166.2.1: #i65322# check for agg version
2006-07-19 08:52:02 +00:00
if test -n "$with_system_mozilla" && test "$with_system_mozilla" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_MOZILLA=YES
CWS-TOOLING: integrate CWS jl127 2009-07-30 10:12:10 +0200 jl r274470 : #i100873# switch on checking for symbol definitions. It works with the current xpcom lib. 2009-07-29 09:48:29 +0200 jl r274443 : #i100873# 2009-07-29 09:47:36 +0200 jl r274442 : #i100873# changes after resync with DEV300m53 which contains the seamonkey update 2009-07-28 10:00:03 +0200 jl r274389 : #100873# Patches from tono 2009-07-27 16:59:39 +0200 jl r274372 : CWS-TOOLING: rebase CWS jl127 to trunk@274203 (milestone: DEV300:m53) 2009-07-07 09:08:53 +0200 jl r273768 : #100873# 2009-07-06 17:16:10 +0200 jl r273754 : #100873# 2009-07-01 13:58:09 +0200 jl r273576 : #100873# added to readme 2009-07-01 13:15:02 +0200 jl r273573 : #100873# deliver lib files when building with MS compiler 2009-06-30 11:22:06 +0200 jl r273498 : #i100873# accidentally commented out patch_files 2009-06-30 09:01:10 +0200 jl r273489 : #100873# make rc.exe work in ooo windows build 2009-06-29 09:47:56 +0200 jl r273451 : #i100873# applied mingw patch from tono 2009-06-24 12:52:14 +0200 jl r273332 : #100873# reapplying the configure.in patch on version 273150 2009-06-24 12:51:12 +0200 jl r273331 : #100873# reapplying the patch on version 273150 2009-06-23 17:17:36 +0200 jl r273299 : #100873# manually modified patch from tono 2009-06-22 17:05:41 +0200 jl r273243 : #100873# applying mingw patch from tono 2009-06-22 17:02:30 +0200 jl r273242 : #100873# applying mingw patch from tono 2009-06-22 12:49:57 +0200 jl r273216 : #100873# dependency to stlport 2009-06-19 11:56:16 +0200 jl r273155 : #100873# undoing a previous change, instset_native complained about missing libjpipe.jnilib (jurt) 2009-06-19 10:13:03 +0200 jl r273150 : #100873# ooo builds shall also use the new nss by default 2009-06-18 14:32:07 +0200 jl r273117 : #110873# more debug output when verifying a certificate 2009-06-16 11:23:50 +0200 jl r273012 : #i10873# 2009-06-16 10:57:41 +0200 jl r273011 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-16 10:56:45 +0200 jl r273010 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-15 16:20:42 +0200 jl r272996 : #100873# initialization of NSS is now threadsafe 2009-06-10 12:50:46 +0200 jl r272804 : #100873# rename in foreach fails in 4nt 2009-06-09 13:43:00 +0200 jl r272768 : #i100873# deliver only .h from inc/nss otherwise we get a warning when nss/nssck.api is delivered 2009-06-08 16:15:44 +0200 jl r272739 : #i100873# 2009-06-08 16:04:54 +0200 jl r272738 : #i100873# 2009-06-08 15:45:52 +0200 jl r272736 : #i100873# 2009-06-08 15:44:15 +0200 jl r272735 : #i100873# unzipping of nss.tar.z not working with 4nt 2009-06-08 09:45:46 +0200 jl r272720 : #i100873# 2009-06-03 13:53:52 +0200 jl r272562 : #i100873# MOZILLABUILD not correct 2009-06-03 13:17:54 +0200 jl r272557 : #i100873# readme and makefile changes from cws jl125, support of new nss module 2009-06-03 09:57:40 +0200 jl r272544 : #i100873# added readme 2009-06-02 16:47:47 +0200 jl r272512 : #i100873# removed no longer needed stuff regarding jnilibs 2009-06-02 15:54:42 +0200 jl r272510 : #i100873# added NSS to BUILD_TYPE 2009-06-02 15:20:18 +0200 jl r272508 : #i100873# DEREFERENCE option for copy command 2009-06-02 13:00:12 +0200 jl r272496 : #i100873# PATCH_FILE_NAMES is now PATCH_FILES 2009-06-02 12:23:39 +0200 jl r272494 : #i100873# build dependency to nss 2009-05-29 16:21:40 +0200 jl r272470 : #i100873# seting ENABLE_NSS_MODULE==YES and includeing mozilla-build-1.3 folder in environment 2009-05-29 16:03:23 +0200 jl r272468 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:57:16 +0200 jl r272466 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:49:58 +0200 jl r272464 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:33:14 +0200 jl r272463 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:28:39 +0200 jl r272461 : #i100873# build dependency to nss module 2009-05-29 15:24:57 +0200 jl r272460 : #i100873# pass additional certificates into verifyCertificate function 2009-05-29 14:49:40 +0200 jl r272458 : #i100873# new NSS module 2009-05-29 14:43:44 +0200 jl r272457 : #i100873# new NSS module
2009-08-26 08:22:01 +00:00
ENABLE_NSS_MODULE=NO
enable_nss_module=no
INTEGRATION: CWS configure18 (1.166.2); FILE MERGED 2006/07/15 19:27:33 rene 1.166.2.18: fix syntax error 2006/07/15 13:12:59 rene 1.166.2.17: reasdd second PKG_CHECK_MODULES for libagg 2006/07/15 12:11:09 pjanik 1.166.2.16: add space after comma 2006/07/14 16:17:47 rene 1.166.2.15: remove mentioning of libart, long obsolete, fix GPC vars; don't fail on agg 2.4 being present, cws thbpp4 fixes agg 2.4 build 2006/07/13 15:36:51 rene 1.166.2.14: RESYNC: (1.168-1.169); FILE MERGED 2006/07/13 15:18:18 rene 1.166.2.13: #i64798# system neon 0.26.x support, by geki 2006/07/10 14:08:17 rene 1.166.2.12: RESYNC: (1.166-1.168); FILE MERGED 2006/06/13 19:08:39 rene 1.166.2.11: #i60089# fix oversights 2006/06/13 19:06:15 rene 1.166.2.10: #i65976# don't add X libs and includes when they are in /usr 2006/06/11 20:22:08 rene 1.166.2.9: allow XULRunner 2006/06/11 14:40:44 rene 1.166.2.8: #i60089# system firefox (--with-firefox) buildfixes 2006/06/11 14:25:31 rene 1.166.2.7: #i64860# system mozilla with special nspr/nss library paths 2006/06/11 01:05:36 rene 1.166.2.6: #i64919# Don't fail if an explicit --without-system-mozilla is given 2006/06/11 00:42:10 rene 1.166.2.5: #i65202# always link with -ldl on Linux for Xinerama (and fix typo), patch by hjs 2006/06/11 00:35:24 rene 1.166.2.4: #i65776# JDK=sun; otherwise JDK is unitialized and deliver complains, patch by geki 2006/06/11 00:28:29 rene 1.166.2.3: #i64923# make PAM optional on Linux, patch by geki 2006/06/11 00:14:23 rene 1.166.2.2: #i65408# allow SS10 compiler (CC 5.7) 2006/06/11 00:06:48 rene 1.166.2.1: #i65322# check for agg version
2006-07-19 08:52:02 +00:00
AC_MSG_CHECKING([which Mozilla flavour to use])
if test -n "$with_system_mozilla" && test "$with_system_mozilla" = "libxul"; then
2011-07-04 02:20:26 -05:00
MOZ_FLAVOUR=libxul
elif test -n "$with_system_mozilla" && test "$with_system_mozilla" = "xulrunner"; then
2011-07-04 02:20:26 -05:00
MOZ_FLAVOUR=xulrunner
elif test -n "$with_system_mozilla" && test "$with_system_mozilla" = "seamonkey"; then
2011-07-04 02:20:26 -05:00
MOZ_FLAVOUR=seamonkey
elif test -n "$with_system_mozilla" && test "$with_system_mozilla" = "firefox"; then
2011-07-04 02:20:26 -05:00
MOZ_FLAVOUR=firefox
elif test -n "$with_system_mozilla" && test "$with_system_mozilla" = "mozilla"; then
2011-07-04 02:20:26 -05:00
MOZ_FLAVOUR=mozilla
else
2011-07-04 02:20:26 -05:00
MOZ_FLAVOUR=libxul
fi
INTEGRATION: CWS configure18 (1.166.2); FILE MERGED 2006/07/15 19:27:33 rene 1.166.2.18: fix syntax error 2006/07/15 13:12:59 rene 1.166.2.17: reasdd second PKG_CHECK_MODULES for libagg 2006/07/15 12:11:09 pjanik 1.166.2.16: add space after comma 2006/07/14 16:17:47 rene 1.166.2.15: remove mentioning of libart, long obsolete, fix GPC vars; don't fail on agg 2.4 being present, cws thbpp4 fixes agg 2.4 build 2006/07/13 15:36:51 rene 1.166.2.14: RESYNC: (1.168-1.169); FILE MERGED 2006/07/13 15:18:18 rene 1.166.2.13: #i64798# system neon 0.26.x support, by geki 2006/07/10 14:08:17 rene 1.166.2.12: RESYNC: (1.166-1.168); FILE MERGED 2006/06/13 19:08:39 rene 1.166.2.11: #i60089# fix oversights 2006/06/13 19:06:15 rene 1.166.2.10: #i65976# don't add X libs and includes when they are in /usr 2006/06/11 20:22:08 rene 1.166.2.9: allow XULRunner 2006/06/11 14:40:44 rene 1.166.2.8: #i60089# system firefox (--with-firefox) buildfixes 2006/06/11 14:25:31 rene 1.166.2.7: #i64860# system mozilla with special nspr/nss library paths 2006/06/11 01:05:36 rene 1.166.2.6: #i64919# Don't fail if an explicit --without-system-mozilla is given 2006/06/11 00:42:10 rene 1.166.2.5: #i65202# always link with -ldl on Linux for Xinerama (and fix typo), patch by hjs 2006/06/11 00:35:24 rene 1.166.2.4: #i65776# JDK=sun; otherwise JDK is unitialized and deliver complains, patch by geki 2006/06/11 00:28:29 rene 1.166.2.3: #i64923# make PAM optional on Linux, patch by geki 2006/06/11 00:14:23 rene 1.166.2.2: #i65408# allow SS10 compiler (CC 5.7) 2006/06/11 00:06:48 rene 1.166.2.1: #i65322# check for agg version
2006-07-19 08:52:02 +00:00
tmp=`echo $MOZ_FLAVOUR | $PERL -e 'print ucfirst(<STDIN>);'`
AC_MSG_RESULT($tmp)
PKG_CHECK_MODULES( MOZ_NSS, nss, STANDALONENSS="TRUE", STANDALONENSS="" )
if test -z "$STANDALONENSS"; then
PKG_CHECK_MODULES( MOZ_NSS, $MOZ_FLAVOUR-nss )
else
NSS_LIB="-L`$PKG_CONFIG --variable=libdir nss`"
AC_SUBST(NSS_LIB)
fi
if $PKG_CONFIG --exists nspr ; then
2011-07-04 02:20:26 -05:00
PKG_CHECK_MODULES( MOZ_NSPR, nspr )
NSPR_LIB="-L`$PKG_CONFIG --variable=libdir nspr`"
AC_SUBST(NSPR_LIB)
else
2011-07-04 02:20:26 -05:00
PKG_CHECK_MODULES( MOZ_NSPR, $MOZ_FLAVOUR-nspr )
fi
if test "$MOZ_FLAVOUR" != "libxul"; then
2011-07-04 02:20:26 -05:00
PKG_CHECK_MODULES( MOZILLAXPCOM, $MOZ_FLAVOUR-xpcom, HASXPCOM="TRUE", HASXPCOM="" )
MOZ_INC=`$PKG_CONFIG --variable=includedir $MOZ_FLAVOUR-xpcom`
MOZ_LIB=`$PKG_CONFIG --variable=libdir $MOZ_FLAVOUR-xpcom`
fi
if test -z "$HASXPCOM"; then
2011-07-04 02:20:26 -05:00
PKG_CHECK_MODULES( MOZILLAXPCOM, libxul )
MOZ_INC=`$PKG_CONFIG --variable=includedir libxul`
MOZ_LIB=`$PKG_CONFIG --variable=libdir libxul`
if ! test -e "$MOZ_LIB/libxul.so"; then
MOZ_LIB=`$PKG_CONFIG --variable=sdkdir libxul`
if test -e "$MOZ_LIB/sdk/lib/libxul.so"; then
MOZ_LIB="$MOZ_LIB/sdk/lib"
fi
fi
fi
save_CPPFLAGS="$CPPFLAGS"
save_LDFLAGS="$LDFLAGS"
save_LIBS="$LIBS"
CPPFLAGS="$CPPFLAGS $MOZ_NSS_CFLAGS"
LDFLAGS="$LDFLAGS $MOZ_NSS_LIBS"
AC_CHECK_LIB(nss3, PK11_GetCertFromPrivateKey, [],
[AC_MSG_ERROR(PK11_GetCertFromPrivateKey missing but needed.
See https://bugzilla.mozilla.org/show_bug.cgi?id=262274.
Fixed since nss 3.9.3 (contained by e.g. mozilla >= 1.7.5))], [])
LDFLAGS="$save_LDFLAGS"
CPPFLAGS="$save_CPPFLAGS"
LIBS="$save_LIBS"
MOZ_LIB_XPCOM=$MOZILLAXPCOM_LIBS
if test "$WITH_LDAP" != "NO" && test "$WITH_OPENLDAP" != "YES"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([whether $tmp was compiled with --enable-ldap])
if test -d "$MOZ_INC/ldap"; then
AC_MSG_RESULT([yes])
MOZ_LDAP_CFLAGS="-I$MOZ_INC"
else
AC_MSG_ERROR([no.
Could not find LDAP header include files in $MOZ_INC/ldap.
Please recompile $tmp with --enable-ldap or use --with-openldap.])
2011-07-04 02:20:26 -05:00
fi
fi
#e.g. http://fedoraproject.org/wiki/Releases/FeatureXULRunnerAPIChanges
#the plugin pkg-config etc. reverts to "mozilla-plugin" with libxul
2010-06-22 17:07:12 +02:00
if test "$MOZ_FLAVOUR" = "libxul"; then
MOZ_FLAVOUR="mozilla"
fi
elif test "$enable_mozilla" = "no"; then
AC_MSG_RESULT([none])
WITH_MOZILLA=NO
CWS-TOOLING: integrate CWS jl127 2009-07-30 10:12:10 +0200 jl r274470 : #i100873# switch on checking for symbol definitions. It works with the current xpcom lib. 2009-07-29 09:48:29 +0200 jl r274443 : #i100873# 2009-07-29 09:47:36 +0200 jl r274442 : #i100873# changes after resync with DEV300m53 which contains the seamonkey update 2009-07-28 10:00:03 +0200 jl r274389 : #100873# Patches from tono 2009-07-27 16:59:39 +0200 jl r274372 : CWS-TOOLING: rebase CWS jl127 to trunk@274203 (milestone: DEV300:m53) 2009-07-07 09:08:53 +0200 jl r273768 : #100873# 2009-07-06 17:16:10 +0200 jl r273754 : #100873# 2009-07-01 13:58:09 +0200 jl r273576 : #100873# added to readme 2009-07-01 13:15:02 +0200 jl r273573 : #100873# deliver lib files when building with MS compiler 2009-06-30 11:22:06 +0200 jl r273498 : #i100873# accidentally commented out patch_files 2009-06-30 09:01:10 +0200 jl r273489 : #100873# make rc.exe work in ooo windows build 2009-06-29 09:47:56 +0200 jl r273451 : #i100873# applied mingw patch from tono 2009-06-24 12:52:14 +0200 jl r273332 : #100873# reapplying the configure.in patch on version 273150 2009-06-24 12:51:12 +0200 jl r273331 : #100873# reapplying the patch on version 273150 2009-06-23 17:17:36 +0200 jl r273299 : #100873# manually modified patch from tono 2009-06-22 17:05:41 +0200 jl r273243 : #100873# applying mingw patch from tono 2009-06-22 17:02:30 +0200 jl r273242 : #100873# applying mingw patch from tono 2009-06-22 12:49:57 +0200 jl r273216 : #100873# dependency to stlport 2009-06-19 11:56:16 +0200 jl r273155 : #100873# undoing a previous change, instset_native complained about missing libjpipe.jnilib (jurt) 2009-06-19 10:13:03 +0200 jl r273150 : #100873# ooo builds shall also use the new nss by default 2009-06-18 14:32:07 +0200 jl r273117 : #110873# more debug output when verifying a certificate 2009-06-16 11:23:50 +0200 jl r273012 : #i10873# 2009-06-16 10:57:41 +0200 jl r273011 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-16 10:56:45 +0200 jl r273010 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-15 16:20:42 +0200 jl r272996 : #100873# initialization of NSS is now threadsafe 2009-06-10 12:50:46 +0200 jl r272804 : #100873# rename in foreach fails in 4nt 2009-06-09 13:43:00 +0200 jl r272768 : #i100873# deliver only .h from inc/nss otherwise we get a warning when nss/nssck.api is delivered 2009-06-08 16:15:44 +0200 jl r272739 : #i100873# 2009-06-08 16:04:54 +0200 jl r272738 : #i100873# 2009-06-08 15:45:52 +0200 jl r272736 : #i100873# 2009-06-08 15:44:15 +0200 jl r272735 : #i100873# unzipping of nss.tar.z not working with 4nt 2009-06-08 09:45:46 +0200 jl r272720 : #i100873# 2009-06-03 13:53:52 +0200 jl r272562 : #i100873# MOZILLABUILD not correct 2009-06-03 13:17:54 +0200 jl r272557 : #i100873# readme and makefile changes from cws jl125, support of new nss module 2009-06-03 09:57:40 +0200 jl r272544 : #i100873# added readme 2009-06-02 16:47:47 +0200 jl r272512 : #i100873# removed no longer needed stuff regarding jnilibs 2009-06-02 15:54:42 +0200 jl r272510 : #i100873# added NSS to BUILD_TYPE 2009-06-02 15:20:18 +0200 jl r272508 : #i100873# DEREFERENCE option for copy command 2009-06-02 13:00:12 +0200 jl r272496 : #i100873# PATCH_FILE_NAMES is now PATCH_FILES 2009-06-02 12:23:39 +0200 jl r272494 : #i100873# build dependency to nss 2009-05-29 16:21:40 +0200 jl r272470 : #i100873# seting ENABLE_NSS_MODULE==YES and includeing mozilla-build-1.3 folder in environment 2009-05-29 16:03:23 +0200 jl r272468 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:57:16 +0200 jl r272466 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:49:58 +0200 jl r272464 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:33:14 +0200 jl r272463 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:28:39 +0200 jl r272461 : #i100873# build dependency to nss module 2009-05-29 15:24:57 +0200 jl r272460 : #i100873# pass additional certificates into verifyCertificate function 2009-05-29 14:49:40 +0200 jl r272458 : #i100873# new NSS module 2009-05-29 14:43:44 +0200 jl r272457 : #i100873# new NSS module
2009-08-26 08:22:01 +00:00
ENABLE_NSS_MODULE=NO
enable_nss_module=no
else
AC_MSG_RESULT([internal])
SYSTEM_MOZILLA=NO
BUILD_TYPE="$BUILD_TYPE MOZ"
if test -z "$with_mozilla_version"; then
2011-07-04 02:20:26 -05:00
MOZILLA_VERSION=
else
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([which Mozilla version to build])
MOZILLA_VERSION=$with_mozilla_version
enable_build_mozilla=1
AC_MSG_RESULT([$MOZILLA_VERSION])
fi
AC_SUBST(MOZILLA_VERSION)
2011-05-15 02:11:48 +03:00
AC_MSG_CHECKING([for toolkit Mozilla should use])
if test -z "$with_mozilla_toolkit"; then
2011-07-04 02:20:26 -05:00
if test "$_os" != "WINNT" ; then
if test "$_os" = "Darwin" ; then
MOZILLA_TOOLKIT=mac
AC_MSG_RESULT([mac])
else
MOZILLA_TOOLKIT=gtk2
AC_MSG_RESULT([gtk2])
fi
fi
else
2011-07-04 02:20:26 -05:00
MOZILLA_TOOLKIT=$with_mozilla_toolkit
enable_build_mozilla=1
AC_MSG_RESULT([$MOZILLA_TOOLKIT])
fi
AC_SUBST(MOZILLA_TOOLKIT)
# default to enabling build mozilla
if test "$enable_build_mozilla" != "no"; then
2011-07-04 02:20:26 -05:00
enable_build_mozilla=yes
else
2011-07-04 02:20:26 -05:00
enable_build_mozilla=
fi
CWS-TOOLING: integrate CWS moz2seamonkey01 2009-06-18 20:56:43 +0200 fs r273133 : #i10000# corrected resolved of merge conflict 2009-06-18 20:55:34 +0200 fs r273132 : #i10000# corrected resolved of merge conflict 2009-06-18 10:49:26 +0200 fs r273105 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@272827 (milestone: DEV300:m50) 2009-06-17 20:48:35 +0200 fs r273094 : #i84961# removed 'pointless and buggy' echo statement 2009-05-22 11:27:08 +0200 fs r272176 : #i101763# provided by tono@openoffice.org make compile with mingw 2009-05-22 11:22:25 +0200 fs r272175 : #i101763# provided by tono@openoffice.org allow compilation in with mingw 2009-04-15 12:09:28 +0200 fs r270830 : unconditionally disable moz executables 2009-03-27 12:29:38 +0100 fs r270149 : ignore some configure-related files 2009-03-27 11:47:35 +0100 fs r270145 : SolarisSparc needs libfreebl_32fpu_3.so 2009-03-27 11:38:09 +0100 fs r270141 : regxpcom call not needed nowadays / also pack libfreebl3 (needed for signature/encryption) 2009-03-26 21:40:17 +0100 fs r270108 : superseded by 1.1.14 version 2009-03-24 13:07:21 +0100 fs r269938 : xptitemp.dat seemingly not needed anymore 2009-03-23 12:56:29 +0100 fs r269869 : files with : in their name break the build 2009-03-23 12:22:01 +0100 fs r269866 : files with : in their name break the build 2009-03-21 23:12:06 +0100 fs r269843 : manual resync: merge the changes which happened on TRUNK in mozilla-source-1.7.5.patch herein 2009-03-21 21:58:17 +0100 fs r269841 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@269781 (milestone: DEV300:m44) 2009-03-18 12:04:25 +0100 fs r269649 : in SunHH environment, use pre-requisites from /so/env 2009-03-16 12:33:18 +0100 pastea_p r269522 : correct makefile.mk sorry again 2009-03-15 17:32:43 +0100 pastea_p r269506 : last files about migration to 1.1.14 2009-03-15 17:19:39 +0100 pastea_p r269505 : Migrates some files to 1.1.14 2009-03-04 07:45:40 +0100 fs r268782 : also add pref.xpt 2009-02-27 09:57:37 +0100 fs r268555 : #i66338# for the moment, disable Mozilla-based code for unxlngx6 2009-02-23 10:56:28 +0100 fs r268346 : syntax 2009-02-19 14:14:56 +0100 fs r268283 : make PrintPDE compile in Sun's internal build environment by removing some unneeded stuff 2009-02-18 15:40:40 +0100 fs r268236 : #i66338# re-enable MozAB on Mac 2009-02-18 15:39:55 +0100 fs r268235 : #i66338# 2009-02-18 15:30:38 +0100 fs r268232 : #i66338# tar => $(TAR) (provided by hjs) 2009-02-18 15:28:45 +0100 fs r268231 : more build envs supported (thanks to hjs for all this work!) 2009-02-18 15:27:02 +0100 fs r268230 : #i66338# 2009-02-18 15:23:04 +0100 fs r268229 : #i66338# let it build on Solaris, in Sun Hamburg's build environment 2009-02-18 12:00:12 +0100 fs r268210 : #i10000# 2009-02-18 08:17:29 +0100 fs r268198 : #i66338# building Mozilla is not supported anymore, SeaMonkey is the way to go now 2009-02-18 08:16:50 +0100 fs r268197 : #i66338# building Mozilla is not supported anymore, SeaMonkey is the way to go now 2009-02-14 14:05:24 +0100 fs r267757 : redo the Windows related changes lost with recent resync 2009-02-14 00:06:33 +0100 ericb r267755 : #i94628# remove the config_office dir now 2009-02-14 00:04:59 +0100 ericb r267754 : #i94628# remove all files in config_office now 2009-02-14 00:01:26 +0100 ericb r267753 : #i94628# remove guw in config_office 2009-02-13 23:53:00 +0100 ericb r267752 : #i94628# remove files in config_office 2009-02-13 16:02:58 +0100 fs r267725 : #i10000# 2009-02-12 18:14:31 +0100 ericb r267685 : #i94628# new generated configure 2009-02-12 18:13:52 +0100 ericb r267684 : #i94628# fix a path issue for finding seamonkey01 2009-02-12 14:39:17 +0100 ericb r267662 : #i94628# removing seamonkey.1.1.12 patch 2009-02-12 14:21:04 +0100 ericb r267658 : #i94628# the new configure, after autoconf 2009-02-12 14:13:21 +0100 ericb r267656 : #i94628# other missing changes for Windows 2009-02-12 14:04:26 +0100 ericb r267655 : #i94628# recommit configure.in changes after config_office removing 2009-02-12 13:46:12 +0100 ericb r267653 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@267171 (milestone: DEV300:m41) 2009-02-12 12:00:48 +0100 ericb r267643 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@267171 (milestone: DEV300:m41) 2009-02-11 13:28:50 +0100 pl r267595 : #i94628# add MACDEVSDK variable for unxmacxi 2009-02-06 09:44:15 +0100 ericb r267446 : #i98957# provide the zipped archives too 2009-02-06 09:43:32 +0100 ericb r267445 : #i98957# make seamonkey buildable on OpenSolaris, adding the right options for configure 2009-02-06 09:42:45 +0100 ericb r267444 : #i98957# make seamonkey buildable on OpenSolaris 2009-02-02 09:41:57 +0100 fs r267252 : #i66338# 2009-02-02 09:41:43 +0100 fs r267251 : #i66338# 2009-01-30 15:12:03 +0100 fs r267200 : code consolidation - MQueryHelper now uses MLdapAttributeMap's fillCardFromResult and fillResultFromCard, which makes the code as such shorter, and eliminates information duplication 2009-01-30 11:53:31 +0100 fs r267189 : reworked the statement parsing / statement execution / result set creation: now we don't anymore create three result sets (two of them leaking) for a single prepared statement ... 2009-01-29 20:37:01 +0100 fs r267170 : #i10000# 2009-01-29 20:32:50 +0100 fs r267169 : more explicit return type of parseSql 2009-01-29 17:32:56 +0100 fs r267163 : slightly refactored the statement class hierarchy (basically remove OStatement_BASE2, and renamed the other base classes) 2009-01-29 17:14:58 +0100 fs r267161 : #i66338# first implementation to re-enable LDAP access. Still work in progress (but hey, you can see the data already :) 2009-01-12 11:25:56 +0100 fs r266138 : allow using a debug-enabled version of Mozilla/SeaMonkey when MOZILLA_ENABLE_DEBUG is set 2009-01-10 22:01:40 +0100 fs r266126 : #i95772# nsldap32v50.dll also needs an embedded manifest (the LDP configuration backend links directly against it) 2009-01-09 11:15:32 +0100 fs r266065 : manifests for DLLs need to have ID 2, not 1 2009-01-08 20:02:24 +0100 fs r266035 : #i95772# embed manifest file in shared libs built in directory/c-sdk, too 2009-01-05 20:45:38 +0100 ericb r265886 : #i66338# commiting the correct configure for the tinderboxes 2009-01-05 17:42:34 +0100 ericb r265883 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 15:34:26 +0100 ericb r265550 : #i94628# change for seamonkey1.1.13 : do not forget to do autoconf in config_office before configure 2008-12-16 15:25:37 +0100 pastea_p r265547 : 1.1.12 to 1.1.13 2008-12-16 14:20:18 +0100 pastea_p r265540 : correct the hunk about no core_abspath which one broke linux build 2008-12-16 13:10:06 +0100 pastea_p r265535 : Change name of patch to 1.1.13 2008-12-15 23:32:54 +0100 pastea_p r265518 : 2008-12-12 18:43:36 +0100 pastea_p r265435 : update to 1.1.13 2008-12-12 10:56:38 +0100 fs r265398 : #i95772# embed .manifest files into SHARED_LIBRARYs built in nsprpub, too 2008-12-12 09:56:38 +0100 fs r265391 : #i95772# don't use regxpcomp on Windows, it's not needed 2008-12-11 11:22:43 +0100 fs r265269 : #i95772# Moz/SeaMonkey libs on Windows now link against msvc?80.dll 2008-12-10 13:45:51 +0100 fs r265182 : proper OSL_ENSURE message 2008-11-13 13:18:03 +0100 fs r263635 : #i95772# more patches 2008-11-13 12:14:41 +0100 fs r263630 : #i95772# building SeaMonkey on Windows is supported for MSVS2005 only at the moment, now requiring v8-moztools.zip instead of the previously needed wintools.zip/vc71*.zip 2008-11-13 12:13:33 +0100 fs r263629 : #i95772# building SeaMonkey on Windows is supported for MSVS2005 only at the moment, now requiring v8-moztools.zip instead of the previously needed wintools.zip/vc71*.zip 2008-11-13 12:08:22 +0100 fs r263628 : #i95772# building SeaMonkey on Windows is supported for MSVS2005 only at the moment, now requiring v8-moztools.zip instead of the previously needed wintools.zip/vc71*.zip 2008-11-13 12:04:15 +0100 fs r263627 : #i95772# 2008-11-12 08:23:20 +0100 fs r263575 : i95772# use xpcom_core on Windows, too 2008-11-11 21:02:14 +0100 fs r263574 : i95772# use xpcom_core.lib on Windows, too 2008-11-11 20:58:07 +0100 fs r263573 : i95772# use xpcom_core.lib on Windows, too 2008-11-11 15:05:42 +0100 fs r263564 : alternative fix for part 1 of #i94957# 2008-11-10 22:18:14 +0100 fs r263541 : #i95772# with MSVC2008, compile with -Zc:wchar_t- (shamelessly taken from https://bugzilla.mozilla.org/show_bug.cgi?id=324842) 2008-11-10 22:15:57 +0100 fs r263540 : #i95772# with MSVC2008, compile with -Zc:wchar_t- (shamelessly taken from https://bugzilla.mozilla.org/show_bug.cgi?id=324842) 2008-11-10 09:28:26 +0100 fs r263509 : #i95772# when building on WNT, embed the .manifest file into the .dll/.exe 2008-11-10 09:19:06 +0100 fs r263508 : collect single patches which comprise the complete patch 2008-11-06 09:10:21 +0100 fs r263360 : #i95772# core_abspath does not work on Windows, too (at least in security/nss/cmd/shlibsign). Replace with 'cygpath -d -a' 2008-11-02 22:51:27 +0100 fs r263277 : #i95772# sanitize INCLUDEDIR and GENHEADERS to use cygwin path notation - cygwin's make 1.81 doesn't cope with Windows path notation 2008-11-02 22:50:15 +0100 fs r263276 : #i95772# no --enable-system-cairo on Windows 2008-10-18 20:12:36 +0200 pastea_p r262297 : 2008-10-16 17:15:35 +0200 ericb r262267 : #i94957# fix the breakage in connectivity, for the seamonkey migration 2008-10-16 17:14:49 +0200 ericb r262266 : #i94957# fix the breakage in connectivity, for the seamonkey migration 2008-10-16 16:58:21 +0200 ericb r262263 : #i94957# fix the breakage in connectivity, for the seamonkey migration 2008-10-15 20:16:28 +0200 ericb r262242 : #i94628# use mac as default toolkit on mac 2008-10-14 18:54:13 +0200 ericb r262216 : #i90774# modify the configure.in for moz2seamonkey migration 2008-10-14 18:48:57 +0200 ericb r262215 : #i90774# commit moz2seamonkey changes for svn migration 2008-10-14 18:47:05 +0200 ericb r262214 : #i90774# commit moz2seamonkey changes for svn migration
2009-07-15 11:06:05 +00:00
AC_MSG_CHECKING([whether to build Mozilla/SeaMonkey])
if test -n "$enable_build_mozilla"; then
2011-07-04 02:20:26 -05:00
BUILD_MOZAB="TRUE"
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
BUILD_MOZAB=""
AC_MSG_RESULT([no])
fi
CWS-TOOLING: integrate CWS jl127 2009-07-30 10:12:10 +0200 jl r274470 : #i100873# switch on checking for symbol definitions. It works with the current xpcom lib. 2009-07-29 09:48:29 +0200 jl r274443 : #i100873# 2009-07-29 09:47:36 +0200 jl r274442 : #i100873# changes after resync with DEV300m53 which contains the seamonkey update 2009-07-28 10:00:03 +0200 jl r274389 : #100873# Patches from tono 2009-07-27 16:59:39 +0200 jl r274372 : CWS-TOOLING: rebase CWS jl127 to trunk@274203 (milestone: DEV300:m53) 2009-07-07 09:08:53 +0200 jl r273768 : #100873# 2009-07-06 17:16:10 +0200 jl r273754 : #100873# 2009-07-01 13:58:09 +0200 jl r273576 : #100873# added to readme 2009-07-01 13:15:02 +0200 jl r273573 : #100873# deliver lib files when building with MS compiler 2009-06-30 11:22:06 +0200 jl r273498 : #i100873# accidentally commented out patch_files 2009-06-30 09:01:10 +0200 jl r273489 : #100873# make rc.exe work in ooo windows build 2009-06-29 09:47:56 +0200 jl r273451 : #i100873# applied mingw patch from tono 2009-06-24 12:52:14 +0200 jl r273332 : #100873# reapplying the configure.in patch on version 273150 2009-06-24 12:51:12 +0200 jl r273331 : #100873# reapplying the patch on version 273150 2009-06-23 17:17:36 +0200 jl r273299 : #100873# manually modified patch from tono 2009-06-22 17:05:41 +0200 jl r273243 : #100873# applying mingw patch from tono 2009-06-22 17:02:30 +0200 jl r273242 : #100873# applying mingw patch from tono 2009-06-22 12:49:57 +0200 jl r273216 : #100873# dependency to stlport 2009-06-19 11:56:16 +0200 jl r273155 : #100873# undoing a previous change, instset_native complained about missing libjpipe.jnilib (jurt) 2009-06-19 10:13:03 +0200 jl r273150 : #100873# ooo builds shall also use the new nss by default 2009-06-18 14:32:07 +0200 jl r273117 : #110873# more debug output when verifying a certificate 2009-06-16 11:23:50 +0200 jl r273012 : #i10873# 2009-06-16 10:57:41 +0200 jl r273011 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-16 10:56:45 +0200 jl r273010 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-15 16:20:42 +0200 jl r272996 : #100873# initialization of NSS is now threadsafe 2009-06-10 12:50:46 +0200 jl r272804 : #100873# rename in foreach fails in 4nt 2009-06-09 13:43:00 +0200 jl r272768 : #i100873# deliver only .h from inc/nss otherwise we get a warning when nss/nssck.api is delivered 2009-06-08 16:15:44 +0200 jl r272739 : #i100873# 2009-06-08 16:04:54 +0200 jl r272738 : #i100873# 2009-06-08 15:45:52 +0200 jl r272736 : #i100873# 2009-06-08 15:44:15 +0200 jl r272735 : #i100873# unzipping of nss.tar.z not working with 4nt 2009-06-08 09:45:46 +0200 jl r272720 : #i100873# 2009-06-03 13:53:52 +0200 jl r272562 : #i100873# MOZILLABUILD not correct 2009-06-03 13:17:54 +0200 jl r272557 : #i100873# readme and makefile changes from cws jl125, support of new nss module 2009-06-03 09:57:40 +0200 jl r272544 : #i100873# added readme 2009-06-02 16:47:47 +0200 jl r272512 : #i100873# removed no longer needed stuff regarding jnilibs 2009-06-02 15:54:42 +0200 jl r272510 : #i100873# added NSS to BUILD_TYPE 2009-06-02 15:20:18 +0200 jl r272508 : #i100873# DEREFERENCE option for copy command 2009-06-02 13:00:12 +0200 jl r272496 : #i100873# PATCH_FILE_NAMES is now PATCH_FILES 2009-06-02 12:23:39 +0200 jl r272494 : #i100873# build dependency to nss 2009-05-29 16:21:40 +0200 jl r272470 : #i100873# seting ENABLE_NSS_MODULE==YES and includeing mozilla-build-1.3 folder in environment 2009-05-29 16:03:23 +0200 jl r272468 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:57:16 +0200 jl r272466 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:49:58 +0200 jl r272464 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:33:14 +0200 jl r272463 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:28:39 +0200 jl r272461 : #i100873# build dependency to nss module 2009-05-29 15:24:57 +0200 jl r272460 : #i100873# pass additional certificates into verifyCertificate function 2009-05-29 14:49:40 +0200 jl r272458 : #i100873# new NSS module 2009-05-29 14:43:44 +0200 jl r272457 : #i100873# new NSS module
2009-08-26 08:22:01 +00:00
AC_MSG_CHECKING([whether to build provided NSS module])
if test "$enable_nss_module" != "no"; then
2011-07-04 02:20:26 -05:00
ENABLE_NSS_MODULE="YES"
BUILD_TYPE="$BUILD_TYPE NSS"
AC_MSG_RESULT([yes])
if test "$build_os" = "cygwin"; then
AC_MSG_CHECKING([for Mozilla build tooling])
if test -z "$MOZILLABUILD" ; then
AC_MSG_ERROR([Mozilla build tooling not found.
2011-01-24 16:30:53 +01:00
Use the --with-mozilla-build option after installing the tools obtained
CWS-TOOLING: integrate CWS dba32j 2009-11-26 09:30:10 +0100 msc r277648 : #100000 fix urgent testscript error 2009-11-25 10:27:56 +0100 msc r277625 : #i100000 fix urgent testscript error 2009-11-17 22:16:46 +0100 fs r277544 : CWS-TOOLING: rebase CWS dba32j to branches/OOO320@277531 (milestone: OOO320:m5) 2009-11-17 14:26:47 +0100 fs r277535 : ooops, didn't mean to commit this uncommented line 2009-11-14 20:50:29 +0100 fs r277505 : add a --disable-pango switch to SM's configure options, and add a patch which makes certain code respect it (well, respect it better than currently, by not using some pango_x_* functions, which are not always available, even when pango itself is present) 2009-11-14 20:47:41 +0100 fs r277504 : spelling 2009-11-13 14:04:00 +0100 fs r277502 : #i100764# (commit approved by ab@openoffice.org): getModelFromBasic: do not start with the parent's parent when looking for ThisComponent, but walk up the anchestor chain, starting with the immediate parent 2009-11-13 11:04:15 +0100 fs r277496 : #i100764# better heuristics for determining whether or not to participate in the ThisComponent game 2009-11-13 11:02:30 +0100 fs r277495 : #i100764# set the WB_EXT_DOCUMENT style at the backing component's container window, when creating it without the TaskCreator (which would normally do this) 2009-11-11 13:49:11 +0100 fs r277452 : #i106816# 2009-11-11 13:48:53 +0100 fs r277451 : fix the CREATETARBAL target, which is expected to create the zips used as prebuilts. The *inc.zip missed the NSS files in case NSS was built externally 2009-11-11 12:15:34 +0100 fs r277449 : update ignore list 2009-11-11 12:09:23 +0100 fs r277448 : add a link to the Mozilla build tools download location 2009-11-11 12:07:16 +0100 fs r277447 : add a link to the Mozilla build tools download location 2009-11-06 16:23:12 +0100 fs r277393 : #i106643# 2009-11-03 23:20:29 +0100 fs r277328 : #i106574# reverted the recent fix for issue #i105235#, and implemented a better one. 2009-11-02 12:59:48 +0100 fs r277294 : #i106550# errorOccured: also display the error when we're not in a nested form action - form actions are allowed to be triggered by other instances as well
2009-12-01 09:53:35 +00:00
from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32])
2011-07-04 02:20:26 -05:00
else
if test \( "$WITH_MINGW" = "yes" \) ; then
if test ! -d "$MOZILLABUILD" ; then
AC_MSG_ERROR([Mozilla build tooling incomplete!])
else
AC_MSG_RESULT([ok])
fi
CWS-TOOLING: integrate CWS jl127 2009-07-30 10:12:10 +0200 jl r274470 : #i100873# switch on checking for symbol definitions. It works with the current xpcom lib. 2009-07-29 09:48:29 +0200 jl r274443 : #i100873# 2009-07-29 09:47:36 +0200 jl r274442 : #i100873# changes after resync with DEV300m53 which contains the seamonkey update 2009-07-28 10:00:03 +0200 jl r274389 : #100873# Patches from tono 2009-07-27 16:59:39 +0200 jl r274372 : CWS-TOOLING: rebase CWS jl127 to trunk@274203 (milestone: DEV300:m53) 2009-07-07 09:08:53 +0200 jl r273768 : #100873# 2009-07-06 17:16:10 +0200 jl r273754 : #100873# 2009-07-01 13:58:09 +0200 jl r273576 : #100873# added to readme 2009-07-01 13:15:02 +0200 jl r273573 : #100873# deliver lib files when building with MS compiler 2009-06-30 11:22:06 +0200 jl r273498 : #i100873# accidentally commented out patch_files 2009-06-30 09:01:10 +0200 jl r273489 : #100873# make rc.exe work in ooo windows build 2009-06-29 09:47:56 +0200 jl r273451 : #i100873# applied mingw patch from tono 2009-06-24 12:52:14 +0200 jl r273332 : #100873# reapplying the configure.in patch on version 273150 2009-06-24 12:51:12 +0200 jl r273331 : #100873# reapplying the patch on version 273150 2009-06-23 17:17:36 +0200 jl r273299 : #100873# manually modified patch from tono 2009-06-22 17:05:41 +0200 jl r273243 : #100873# applying mingw patch from tono 2009-06-22 17:02:30 +0200 jl r273242 : #100873# applying mingw patch from tono 2009-06-22 12:49:57 +0200 jl r273216 : #100873# dependency to stlport 2009-06-19 11:56:16 +0200 jl r273155 : #100873# undoing a previous change, instset_native complained about missing libjpipe.jnilib (jurt) 2009-06-19 10:13:03 +0200 jl r273150 : #100873# ooo builds shall also use the new nss by default 2009-06-18 14:32:07 +0200 jl r273117 : #110873# more debug output when verifying a certificate 2009-06-16 11:23:50 +0200 jl r273012 : #i10873# 2009-06-16 10:57:41 +0200 jl r273011 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-16 10:56:45 +0200 jl r273010 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-15 16:20:42 +0200 jl r272996 : #100873# initialization of NSS is now threadsafe 2009-06-10 12:50:46 +0200 jl r272804 : #100873# rename in foreach fails in 4nt 2009-06-09 13:43:00 +0200 jl r272768 : #i100873# deliver only .h from inc/nss otherwise we get a warning when nss/nssck.api is delivered 2009-06-08 16:15:44 +0200 jl r272739 : #i100873# 2009-06-08 16:04:54 +0200 jl r272738 : #i100873# 2009-06-08 15:45:52 +0200 jl r272736 : #i100873# 2009-06-08 15:44:15 +0200 jl r272735 : #i100873# unzipping of nss.tar.z not working with 4nt 2009-06-08 09:45:46 +0200 jl r272720 : #i100873# 2009-06-03 13:53:52 +0200 jl r272562 : #i100873# MOZILLABUILD not correct 2009-06-03 13:17:54 +0200 jl r272557 : #i100873# readme and makefile changes from cws jl125, support of new nss module 2009-06-03 09:57:40 +0200 jl r272544 : #i100873# added readme 2009-06-02 16:47:47 +0200 jl r272512 : #i100873# removed no longer needed stuff regarding jnilibs 2009-06-02 15:54:42 +0200 jl r272510 : #i100873# added NSS to BUILD_TYPE 2009-06-02 15:20:18 +0200 jl r272508 : #i100873# DEREFERENCE option for copy command 2009-06-02 13:00:12 +0200 jl r272496 : #i100873# PATCH_FILE_NAMES is now PATCH_FILES 2009-06-02 12:23:39 +0200 jl r272494 : #i100873# build dependency to nss 2009-05-29 16:21:40 +0200 jl r272470 : #i100873# seting ENABLE_NSS_MODULE==YES and includeing mozilla-build-1.3 folder in environment 2009-05-29 16:03:23 +0200 jl r272468 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:57:16 +0200 jl r272466 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:49:58 +0200 jl r272464 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:33:14 +0200 jl r272463 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:28:39 +0200 jl r272461 : #i100873# build dependency to nss module 2009-05-29 15:24:57 +0200 jl r272460 : #i100873# pass additional certificates into verifyCertificate function 2009-05-29 14:49:40 +0200 jl r272458 : #i100873# new NSS module 2009-05-29 14:43:44 +0200 jl r272457 : #i100873# new NSS module
2009-08-26 08:22:01 +00:00
else
2011-07-04 02:20:26 -05:00
if test ! -d "$MOZILLABUILD/moztools" \
-o ! -d "$MOZILLABUILD/msys" ; then
AC_MSG_ERROR([Mozilla build tooling incomplete!])
else
AC_MSG_RESULT([ok])
fi
CWS-TOOLING: integrate CWS jl127 2009-07-30 10:12:10 +0200 jl r274470 : #i100873# switch on checking for symbol definitions. It works with the current xpcom lib. 2009-07-29 09:48:29 +0200 jl r274443 : #i100873# 2009-07-29 09:47:36 +0200 jl r274442 : #i100873# changes after resync with DEV300m53 which contains the seamonkey update 2009-07-28 10:00:03 +0200 jl r274389 : #100873# Patches from tono 2009-07-27 16:59:39 +0200 jl r274372 : CWS-TOOLING: rebase CWS jl127 to trunk@274203 (milestone: DEV300:m53) 2009-07-07 09:08:53 +0200 jl r273768 : #100873# 2009-07-06 17:16:10 +0200 jl r273754 : #100873# 2009-07-01 13:58:09 +0200 jl r273576 : #100873# added to readme 2009-07-01 13:15:02 +0200 jl r273573 : #100873# deliver lib files when building with MS compiler 2009-06-30 11:22:06 +0200 jl r273498 : #i100873# accidentally commented out patch_files 2009-06-30 09:01:10 +0200 jl r273489 : #100873# make rc.exe work in ooo windows build 2009-06-29 09:47:56 +0200 jl r273451 : #i100873# applied mingw patch from tono 2009-06-24 12:52:14 +0200 jl r273332 : #100873# reapplying the configure.in patch on version 273150 2009-06-24 12:51:12 +0200 jl r273331 : #100873# reapplying the patch on version 273150 2009-06-23 17:17:36 +0200 jl r273299 : #100873# manually modified patch from tono 2009-06-22 17:05:41 +0200 jl r273243 : #100873# applying mingw patch from tono 2009-06-22 17:02:30 +0200 jl r273242 : #100873# applying mingw patch from tono 2009-06-22 12:49:57 +0200 jl r273216 : #100873# dependency to stlport 2009-06-19 11:56:16 +0200 jl r273155 : #100873# undoing a previous change, instset_native complained about missing libjpipe.jnilib (jurt) 2009-06-19 10:13:03 +0200 jl r273150 : #100873# ooo builds shall also use the new nss by default 2009-06-18 14:32:07 +0200 jl r273117 : #110873# more debug output when verifying a certificate 2009-06-16 11:23:50 +0200 jl r273012 : #i10873# 2009-06-16 10:57:41 +0200 jl r273011 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-16 10:56:45 +0200 jl r273010 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-15 16:20:42 +0200 jl r272996 : #100873# initialization of NSS is now threadsafe 2009-06-10 12:50:46 +0200 jl r272804 : #100873# rename in foreach fails in 4nt 2009-06-09 13:43:00 +0200 jl r272768 : #i100873# deliver only .h from inc/nss otherwise we get a warning when nss/nssck.api is delivered 2009-06-08 16:15:44 +0200 jl r272739 : #i100873# 2009-06-08 16:04:54 +0200 jl r272738 : #i100873# 2009-06-08 15:45:52 +0200 jl r272736 : #i100873# 2009-06-08 15:44:15 +0200 jl r272735 : #i100873# unzipping of nss.tar.z not working with 4nt 2009-06-08 09:45:46 +0200 jl r272720 : #i100873# 2009-06-03 13:53:52 +0200 jl r272562 : #i100873# MOZILLABUILD not correct 2009-06-03 13:17:54 +0200 jl r272557 : #i100873# readme and makefile changes from cws jl125, support of new nss module 2009-06-03 09:57:40 +0200 jl r272544 : #i100873# added readme 2009-06-02 16:47:47 +0200 jl r272512 : #i100873# removed no longer needed stuff regarding jnilibs 2009-06-02 15:54:42 +0200 jl r272510 : #i100873# added NSS to BUILD_TYPE 2009-06-02 15:20:18 +0200 jl r272508 : #i100873# DEREFERENCE option for copy command 2009-06-02 13:00:12 +0200 jl r272496 : #i100873# PATCH_FILE_NAMES is now PATCH_FILES 2009-06-02 12:23:39 +0200 jl r272494 : #i100873# build dependency to nss 2009-05-29 16:21:40 +0200 jl r272470 : #i100873# seting ENABLE_NSS_MODULE==YES and includeing mozilla-build-1.3 folder in environment 2009-05-29 16:03:23 +0200 jl r272468 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:57:16 +0200 jl r272466 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:49:58 +0200 jl r272464 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:33:14 +0200 jl r272463 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:28:39 +0200 jl r272461 : #i100873# build dependency to nss module 2009-05-29 15:24:57 +0200 jl r272460 : #i100873# pass additional certificates into verifyCertificate function 2009-05-29 14:49:40 +0200 jl r272458 : #i100873# new NSS module 2009-05-29 14:43:44 +0200 jl r272457 : #i100873# new NSS module
2009-08-26 08:22:01 +00:00
fi
2011-07-04 02:20:26 -05:00
fi
fi
CWS-TOOLING: integrate CWS jl127 2009-07-30 10:12:10 +0200 jl r274470 : #i100873# switch on checking for symbol definitions. It works with the current xpcom lib. 2009-07-29 09:48:29 +0200 jl r274443 : #i100873# 2009-07-29 09:47:36 +0200 jl r274442 : #i100873# changes after resync with DEV300m53 which contains the seamonkey update 2009-07-28 10:00:03 +0200 jl r274389 : #100873# Patches from tono 2009-07-27 16:59:39 +0200 jl r274372 : CWS-TOOLING: rebase CWS jl127 to trunk@274203 (milestone: DEV300:m53) 2009-07-07 09:08:53 +0200 jl r273768 : #100873# 2009-07-06 17:16:10 +0200 jl r273754 : #100873# 2009-07-01 13:58:09 +0200 jl r273576 : #100873# added to readme 2009-07-01 13:15:02 +0200 jl r273573 : #100873# deliver lib files when building with MS compiler 2009-06-30 11:22:06 +0200 jl r273498 : #i100873# accidentally commented out patch_files 2009-06-30 09:01:10 +0200 jl r273489 : #100873# make rc.exe work in ooo windows build 2009-06-29 09:47:56 +0200 jl r273451 : #i100873# applied mingw patch from tono 2009-06-24 12:52:14 +0200 jl r273332 : #100873# reapplying the configure.in patch on version 273150 2009-06-24 12:51:12 +0200 jl r273331 : #100873# reapplying the patch on version 273150 2009-06-23 17:17:36 +0200 jl r273299 : #100873# manually modified patch from tono 2009-06-22 17:05:41 +0200 jl r273243 : #100873# applying mingw patch from tono 2009-06-22 17:02:30 +0200 jl r273242 : #100873# applying mingw patch from tono 2009-06-22 12:49:57 +0200 jl r273216 : #100873# dependency to stlport 2009-06-19 11:56:16 +0200 jl r273155 : #100873# undoing a previous change, instset_native complained about missing libjpipe.jnilib (jurt) 2009-06-19 10:13:03 +0200 jl r273150 : #100873# ooo builds shall also use the new nss by default 2009-06-18 14:32:07 +0200 jl r273117 : #110873# more debug output when verifying a certificate 2009-06-16 11:23:50 +0200 jl r273012 : #i10873# 2009-06-16 10:57:41 +0200 jl r273011 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-16 10:56:45 +0200 jl r273010 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-15 16:20:42 +0200 jl r272996 : #100873# initialization of NSS is now threadsafe 2009-06-10 12:50:46 +0200 jl r272804 : #100873# rename in foreach fails in 4nt 2009-06-09 13:43:00 +0200 jl r272768 : #i100873# deliver only .h from inc/nss otherwise we get a warning when nss/nssck.api is delivered 2009-06-08 16:15:44 +0200 jl r272739 : #i100873# 2009-06-08 16:04:54 +0200 jl r272738 : #i100873# 2009-06-08 15:45:52 +0200 jl r272736 : #i100873# 2009-06-08 15:44:15 +0200 jl r272735 : #i100873# unzipping of nss.tar.z not working with 4nt 2009-06-08 09:45:46 +0200 jl r272720 : #i100873# 2009-06-03 13:53:52 +0200 jl r272562 : #i100873# MOZILLABUILD not correct 2009-06-03 13:17:54 +0200 jl r272557 : #i100873# readme and makefile changes from cws jl125, support of new nss module 2009-06-03 09:57:40 +0200 jl r272544 : #i100873# added readme 2009-06-02 16:47:47 +0200 jl r272512 : #i100873# removed no longer needed stuff regarding jnilibs 2009-06-02 15:54:42 +0200 jl r272510 : #i100873# added NSS to BUILD_TYPE 2009-06-02 15:20:18 +0200 jl r272508 : #i100873# DEREFERENCE option for copy command 2009-06-02 13:00:12 +0200 jl r272496 : #i100873# PATCH_FILE_NAMES is now PATCH_FILES 2009-06-02 12:23:39 +0200 jl r272494 : #i100873# build dependency to nss 2009-05-29 16:21:40 +0200 jl r272470 : #i100873# seting ENABLE_NSS_MODULE==YES and includeing mozilla-build-1.3 folder in environment 2009-05-29 16:03:23 +0200 jl r272468 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:57:16 +0200 jl r272466 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:49:58 +0200 jl r272464 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:33:14 +0200 jl r272463 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:28:39 +0200 jl r272461 : #i100873# build dependency to nss module 2009-05-29 15:24:57 +0200 jl r272460 : #i100873# pass additional certificates into verifyCertificate function 2009-05-29 14:49:40 +0200 jl r272458 : #i100873# new NSS module 2009-05-29 14:43:44 +0200 jl r272457 : #i100873# new NSS module
2009-08-26 08:22:01 +00:00
else
2011-07-04 02:20:26 -05:00
ENABLE_NSS_MODULE="NO"
AC_MSG_RESULT([no])
CWS-TOOLING: integrate CWS jl127 2009-07-30 10:12:10 +0200 jl r274470 : #i100873# switch on checking for symbol definitions. It works with the current xpcom lib. 2009-07-29 09:48:29 +0200 jl r274443 : #i100873# 2009-07-29 09:47:36 +0200 jl r274442 : #i100873# changes after resync with DEV300m53 which contains the seamonkey update 2009-07-28 10:00:03 +0200 jl r274389 : #100873# Patches from tono 2009-07-27 16:59:39 +0200 jl r274372 : CWS-TOOLING: rebase CWS jl127 to trunk@274203 (milestone: DEV300:m53) 2009-07-07 09:08:53 +0200 jl r273768 : #100873# 2009-07-06 17:16:10 +0200 jl r273754 : #100873# 2009-07-01 13:58:09 +0200 jl r273576 : #100873# added to readme 2009-07-01 13:15:02 +0200 jl r273573 : #100873# deliver lib files when building with MS compiler 2009-06-30 11:22:06 +0200 jl r273498 : #i100873# accidentally commented out patch_files 2009-06-30 09:01:10 +0200 jl r273489 : #100873# make rc.exe work in ooo windows build 2009-06-29 09:47:56 +0200 jl r273451 : #i100873# applied mingw patch from tono 2009-06-24 12:52:14 +0200 jl r273332 : #100873# reapplying the configure.in patch on version 273150 2009-06-24 12:51:12 +0200 jl r273331 : #100873# reapplying the patch on version 273150 2009-06-23 17:17:36 +0200 jl r273299 : #100873# manually modified patch from tono 2009-06-22 17:05:41 +0200 jl r273243 : #100873# applying mingw patch from tono 2009-06-22 17:02:30 +0200 jl r273242 : #100873# applying mingw patch from tono 2009-06-22 12:49:57 +0200 jl r273216 : #100873# dependency to stlport 2009-06-19 11:56:16 +0200 jl r273155 : #100873# undoing a previous change, instset_native complained about missing libjpipe.jnilib (jurt) 2009-06-19 10:13:03 +0200 jl r273150 : #100873# ooo builds shall also use the new nss by default 2009-06-18 14:32:07 +0200 jl r273117 : #110873# more debug output when verifying a certificate 2009-06-16 11:23:50 +0200 jl r273012 : #i10873# 2009-06-16 10:57:41 +0200 jl r273011 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-16 10:56:45 +0200 jl r273010 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-15 16:20:42 +0200 jl r272996 : #100873# initialization of NSS is now threadsafe 2009-06-10 12:50:46 +0200 jl r272804 : #100873# rename in foreach fails in 4nt 2009-06-09 13:43:00 +0200 jl r272768 : #i100873# deliver only .h from inc/nss otherwise we get a warning when nss/nssck.api is delivered 2009-06-08 16:15:44 +0200 jl r272739 : #i100873# 2009-06-08 16:04:54 +0200 jl r272738 : #i100873# 2009-06-08 15:45:52 +0200 jl r272736 : #i100873# 2009-06-08 15:44:15 +0200 jl r272735 : #i100873# unzipping of nss.tar.z not working with 4nt 2009-06-08 09:45:46 +0200 jl r272720 : #i100873# 2009-06-03 13:53:52 +0200 jl r272562 : #i100873# MOZILLABUILD not correct 2009-06-03 13:17:54 +0200 jl r272557 : #i100873# readme and makefile changes from cws jl125, support of new nss module 2009-06-03 09:57:40 +0200 jl r272544 : #i100873# added readme 2009-06-02 16:47:47 +0200 jl r272512 : #i100873# removed no longer needed stuff regarding jnilibs 2009-06-02 15:54:42 +0200 jl r272510 : #i100873# added NSS to BUILD_TYPE 2009-06-02 15:20:18 +0200 jl r272508 : #i100873# DEREFERENCE option for copy command 2009-06-02 13:00:12 +0200 jl r272496 : #i100873# PATCH_FILE_NAMES is now PATCH_FILES 2009-06-02 12:23:39 +0200 jl r272494 : #i100873# build dependency to nss 2009-05-29 16:21:40 +0200 jl r272470 : #i100873# seting ENABLE_NSS_MODULE==YES and includeing mozilla-build-1.3 folder in environment 2009-05-29 16:03:23 +0200 jl r272468 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:57:16 +0200 jl r272466 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:49:58 +0200 jl r272464 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:33:14 +0200 jl r272463 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:28:39 +0200 jl r272461 : #i100873# build dependency to nss module 2009-05-29 15:24:57 +0200 jl r272460 : #i100873# pass additional certificates into verifyCertificate function 2009-05-29 14:49:40 +0200 jl r272458 : #i100873# new NSS module 2009-05-29 14:43:44 +0200 jl r272457 : #i100873# new NSS module
2009-08-26 08:22:01 +00:00
fi
if test "$BUILD_MOZAB" = "TRUE"; then
2011-07-04 02:20:26 -05:00
if test "$_os" = "WINNT"; then
if test "$WITH_MINGW" != "yes"; then
# compiling with MSVC. Only supported platform here is MSVS2005 at the moment.
if test "$MSVSVER" != "2005"; then
AC_MSG_ERROR([Building SeaMonkey is supported with Microsoft Visual Studio 2005 only.])
fi
else
AC_MSG_WARN([Building SeaMonkey with MinGW is not tested, and likely to break.])
echo "Building SeaMonkey with MinGW is not tested, and likely to break." >> warn
fi
CWS-TOOLING: integrate CWS moz2seamonkey01 2009-06-18 20:56:43 +0200 fs r273133 : #i10000# corrected resolved of merge conflict 2009-06-18 20:55:34 +0200 fs r273132 : #i10000# corrected resolved of merge conflict 2009-06-18 10:49:26 +0200 fs r273105 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@272827 (milestone: DEV300:m50) 2009-06-17 20:48:35 +0200 fs r273094 : #i84961# removed 'pointless and buggy' echo statement 2009-05-22 11:27:08 +0200 fs r272176 : #i101763# provided by tono@openoffice.org make compile with mingw 2009-05-22 11:22:25 +0200 fs r272175 : #i101763# provided by tono@openoffice.org allow compilation in with mingw 2009-04-15 12:09:28 +0200 fs r270830 : unconditionally disable moz executables 2009-03-27 12:29:38 +0100 fs r270149 : ignore some configure-related files 2009-03-27 11:47:35 +0100 fs r270145 : SolarisSparc needs libfreebl_32fpu_3.so 2009-03-27 11:38:09 +0100 fs r270141 : regxpcom call not needed nowadays / also pack libfreebl3 (needed for signature/encryption) 2009-03-26 21:40:17 +0100 fs r270108 : superseded by 1.1.14 version 2009-03-24 13:07:21 +0100 fs r269938 : xptitemp.dat seemingly not needed anymore 2009-03-23 12:56:29 +0100 fs r269869 : files with : in their name break the build 2009-03-23 12:22:01 +0100 fs r269866 : files with : in their name break the build 2009-03-21 23:12:06 +0100 fs r269843 : manual resync: merge the changes which happened on TRUNK in mozilla-source-1.7.5.patch herein 2009-03-21 21:58:17 +0100 fs r269841 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@269781 (milestone: DEV300:m44) 2009-03-18 12:04:25 +0100 fs r269649 : in SunHH environment, use pre-requisites from /so/env 2009-03-16 12:33:18 +0100 pastea_p r269522 : correct makefile.mk sorry again 2009-03-15 17:32:43 +0100 pastea_p r269506 : last files about migration to 1.1.14 2009-03-15 17:19:39 +0100 pastea_p r269505 : Migrates some files to 1.1.14 2009-03-04 07:45:40 +0100 fs r268782 : also add pref.xpt 2009-02-27 09:57:37 +0100 fs r268555 : #i66338# for the moment, disable Mozilla-based code for unxlngx6 2009-02-23 10:56:28 +0100 fs r268346 : syntax 2009-02-19 14:14:56 +0100 fs r268283 : make PrintPDE compile in Sun's internal build environment by removing some unneeded stuff 2009-02-18 15:40:40 +0100 fs r268236 : #i66338# re-enable MozAB on Mac 2009-02-18 15:39:55 +0100 fs r268235 : #i66338# 2009-02-18 15:30:38 +0100 fs r268232 : #i66338# tar => $(TAR) (provided by hjs) 2009-02-18 15:28:45 +0100 fs r268231 : more build envs supported (thanks to hjs for all this work!) 2009-02-18 15:27:02 +0100 fs r268230 : #i66338# 2009-02-18 15:23:04 +0100 fs r268229 : #i66338# let it build on Solaris, in Sun Hamburg's build environment 2009-02-18 12:00:12 +0100 fs r268210 : #i10000# 2009-02-18 08:17:29 +0100 fs r268198 : #i66338# building Mozilla is not supported anymore, SeaMonkey is the way to go now 2009-02-18 08:16:50 +0100 fs r268197 : #i66338# building Mozilla is not supported anymore, SeaMonkey is the way to go now 2009-02-14 14:05:24 +0100 fs r267757 : redo the Windows related changes lost with recent resync 2009-02-14 00:06:33 +0100 ericb r267755 : #i94628# remove the config_office dir now 2009-02-14 00:04:59 +0100 ericb r267754 : #i94628# remove all files in config_office now 2009-02-14 00:01:26 +0100 ericb r267753 : #i94628# remove guw in config_office 2009-02-13 23:53:00 +0100 ericb r267752 : #i94628# remove files in config_office 2009-02-13 16:02:58 +0100 fs r267725 : #i10000# 2009-02-12 18:14:31 +0100 ericb r267685 : #i94628# new generated configure 2009-02-12 18:13:52 +0100 ericb r267684 : #i94628# fix a path issue for finding seamonkey01 2009-02-12 14:39:17 +0100 ericb r267662 : #i94628# removing seamonkey.1.1.12 patch 2009-02-12 14:21:04 +0100 ericb r267658 : #i94628# the new configure, after autoconf 2009-02-12 14:13:21 +0100 ericb r267656 : #i94628# other missing changes for Windows 2009-02-12 14:04:26 +0100 ericb r267655 : #i94628# recommit configure.in changes after config_office removing 2009-02-12 13:46:12 +0100 ericb r267653 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@267171 (milestone: DEV300:m41) 2009-02-12 12:00:48 +0100 ericb r267643 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@267171 (milestone: DEV300:m41) 2009-02-11 13:28:50 +0100 pl r267595 : #i94628# add MACDEVSDK variable for unxmacxi 2009-02-06 09:44:15 +0100 ericb r267446 : #i98957# provide the zipped archives too 2009-02-06 09:43:32 +0100 ericb r267445 : #i98957# make seamonkey buildable on OpenSolaris, adding the right options for configure 2009-02-06 09:42:45 +0100 ericb r267444 : #i98957# make seamonkey buildable on OpenSolaris 2009-02-02 09:41:57 +0100 fs r267252 : #i66338# 2009-02-02 09:41:43 +0100 fs r267251 : #i66338# 2009-01-30 15:12:03 +0100 fs r267200 : code consolidation - MQueryHelper now uses MLdapAttributeMap's fillCardFromResult and fillResultFromCard, which makes the code as such shorter, and eliminates information duplication 2009-01-30 11:53:31 +0100 fs r267189 : reworked the statement parsing / statement execution / result set creation: now we don't anymore create three result sets (two of them leaking) for a single prepared statement ... 2009-01-29 20:37:01 +0100 fs r267170 : #i10000# 2009-01-29 20:32:50 +0100 fs r267169 : more explicit return type of parseSql 2009-01-29 17:32:56 +0100 fs r267163 : slightly refactored the statement class hierarchy (basically remove OStatement_BASE2, and renamed the other base classes) 2009-01-29 17:14:58 +0100 fs r267161 : #i66338# first implementation to re-enable LDAP access. Still work in progress (but hey, you can see the data already :) 2009-01-12 11:25:56 +0100 fs r266138 : allow using a debug-enabled version of Mozilla/SeaMonkey when MOZILLA_ENABLE_DEBUG is set 2009-01-10 22:01:40 +0100 fs r266126 : #i95772# nsldap32v50.dll also needs an embedded manifest (the LDP configuration backend links directly against it) 2009-01-09 11:15:32 +0100 fs r266065 : manifests for DLLs need to have ID 2, not 1 2009-01-08 20:02:24 +0100 fs r266035 : #i95772# embed manifest file in shared libs built in directory/c-sdk, too 2009-01-05 20:45:38 +0100 ericb r265886 : #i66338# commiting the correct configure for the tinderboxes 2009-01-05 17:42:34 +0100 ericb r265883 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 15:34:26 +0100 ericb r265550 : #i94628# change for seamonkey1.1.13 : do not forget to do autoconf in config_office before configure 2008-12-16 15:25:37 +0100 pastea_p r265547 : 1.1.12 to 1.1.13 2008-12-16 14:20:18 +0100 pastea_p r265540 : correct the hunk about no core_abspath which one broke linux build 2008-12-16 13:10:06 +0100 pastea_p r265535 : Change name of patch to 1.1.13 2008-12-15 23:32:54 +0100 pastea_p r265518 : 2008-12-12 18:43:36 +0100 pastea_p r265435 : update to 1.1.13 2008-12-12 10:56:38 +0100 fs r265398 : #i95772# embed .manifest files into SHARED_LIBRARYs built in nsprpub, too 2008-12-12 09:56:38 +0100 fs r265391 : #i95772# don't use regxpcomp on Windows, it's not needed 2008-12-11 11:22:43 +0100 fs r265269 : #i95772# Moz/SeaMonkey libs on Windows now link against msvc?80.dll 2008-12-10 13:45:51 +0100 fs r265182 : proper OSL_ENSURE message 2008-11-13 13:18:03 +0100 fs r263635 : #i95772# more patches 2008-11-13 12:14:41 +0100 fs r263630 : #i95772# building SeaMonkey on Windows is supported for MSVS2005 only at the moment, now requiring v8-moztools.zip instead of the previously needed wintools.zip/vc71*.zip 2008-11-13 12:13:33 +0100 fs r263629 : #i95772# building SeaMonkey on Windows is supported for MSVS2005 only at the moment, now requiring v8-moztools.zip instead of the previously needed wintools.zip/vc71*.zip 2008-11-13 12:08:22 +0100 fs r263628 : #i95772# building SeaMonkey on Windows is supported for MSVS2005 only at the moment, now requiring v8-moztools.zip instead of the previously needed wintools.zip/vc71*.zip 2008-11-13 12:04:15 +0100 fs r263627 : #i95772# 2008-11-12 08:23:20 +0100 fs r263575 : i95772# use xpcom_core on Windows, too 2008-11-11 21:02:14 +0100 fs r263574 : i95772# use xpcom_core.lib on Windows, too 2008-11-11 20:58:07 +0100 fs r263573 : i95772# use xpcom_core.lib on Windows, too 2008-11-11 15:05:42 +0100 fs r263564 : alternative fix for part 1 of #i94957# 2008-11-10 22:18:14 +0100 fs r263541 : #i95772# with MSVC2008, compile with -Zc:wchar_t- (shamelessly taken from https://bugzilla.mozilla.org/show_bug.cgi?id=324842) 2008-11-10 22:15:57 +0100 fs r263540 : #i95772# with MSVC2008, compile with -Zc:wchar_t- (shamelessly taken from https://bugzilla.mozilla.org/show_bug.cgi?id=324842) 2008-11-10 09:28:26 +0100 fs r263509 : #i95772# when building on WNT, embed the .manifest file into the .dll/.exe 2008-11-10 09:19:06 +0100 fs r263508 : collect single patches which comprise the complete patch 2008-11-06 09:10:21 +0100 fs r263360 : #i95772# core_abspath does not work on Windows, too (at least in security/nss/cmd/shlibsign). Replace with 'cygpath -d -a' 2008-11-02 22:51:27 +0100 fs r263277 : #i95772# sanitize INCLUDEDIR and GENHEADERS to use cygwin path notation - cygwin's make 1.81 doesn't cope with Windows path notation 2008-11-02 22:50:15 +0100 fs r263276 : #i95772# no --enable-system-cairo on Windows 2008-10-18 20:12:36 +0200 pastea_p r262297 : 2008-10-16 17:15:35 +0200 ericb r262267 : #i94957# fix the breakage in connectivity, for the seamonkey migration 2008-10-16 17:14:49 +0200 ericb r262266 : #i94957# fix the breakage in connectivity, for the seamonkey migration 2008-10-16 16:58:21 +0200 ericb r262263 : #i94957# fix the breakage in connectivity, for the seamonkey migration 2008-10-15 20:16:28 +0200 ericb r262242 : #i94628# use mac as default toolkit on mac 2008-10-14 18:54:13 +0200 ericb r262216 : #i90774# modify the configure.in for moz2seamonkey migration 2008-10-14 18:48:57 +0200 ericb r262215 : #i90774# commit moz2seamonkey changes for svn migration 2008-10-14 18:47:05 +0200 ericb r262214 : #i90774# commit moz2seamonkey changes for svn migration
2009-07-15 11:06:05 +00:00
fi
2011-07-04 02:20:26 -05:00
if test -z "$MOZILLA_VERSION"; then
MOZILLA_VERSION=1.1.14
fi
MOZILLA_SOURCE_VERSION="seamonkey-${MOZILLA_VERSION}.source"
MOZILLA_FETCH_FILE=`grep $MOZILLA_SOURCE_VERSION ooo.lst.in`
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([for Mozilla sources])
if test -z "$MOZILLA_FETCH_FILE"; then
AC_MSG_RESULT([not found])
HAVE_MOZILLA_TARBALL=n
else
AC_MSG_CHECKING([for $MOZILLA_FETCH_FILE])
if test ! -e "$TARFILE_LOCATION/$MOZILLA_FETCH_FILE"; then
if test -z "$DO_FETCH"; then
AC_MSG_RESULT([will be fetched])
HAVE_MOZILLA_TARBALL=y
else
AC_MSG_RESULT([not found])
HAVE_MOZILLA_TARBALL=n
fi
else
AC_MSG_RESULT([found])
HAVE_MOZILLA_TARBALL=y
2011-07-04 02:20:26 -05:00
fi
fi
if test "$HAVE_MOZILLA_TARBALL" != "y"; then
AC_MSG_ERROR([Mozilla/SeaMonkey source archive not found.
Use "./download" to download.])
2011-07-04 02:20:26 -05:00
fi
if test "$_os" = "WINNT"; then
AC_MSG_CHECKING([for moztools binaries])
if test ! -e "$TARFILE_LOCATION/vc8-moztools.zip" ; then
AC_MSG_ERROR([The following file is missing in $TARFILE_LOCATION: vc8-moztools.zip
CWS-TOOLING: integrate CWS moz2seamonkey01 2009-06-18 20:56:43 +0200 fs r273133 : #i10000# corrected resolved of merge conflict 2009-06-18 20:55:34 +0200 fs r273132 : #i10000# corrected resolved of merge conflict 2009-06-18 10:49:26 +0200 fs r273105 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@272827 (milestone: DEV300:m50) 2009-06-17 20:48:35 +0200 fs r273094 : #i84961# removed 'pointless and buggy' echo statement 2009-05-22 11:27:08 +0200 fs r272176 : #i101763# provided by tono@openoffice.org make compile with mingw 2009-05-22 11:22:25 +0200 fs r272175 : #i101763# provided by tono@openoffice.org allow compilation in with mingw 2009-04-15 12:09:28 +0200 fs r270830 : unconditionally disable moz executables 2009-03-27 12:29:38 +0100 fs r270149 : ignore some configure-related files 2009-03-27 11:47:35 +0100 fs r270145 : SolarisSparc needs libfreebl_32fpu_3.so 2009-03-27 11:38:09 +0100 fs r270141 : regxpcom call not needed nowadays / also pack libfreebl3 (needed for signature/encryption) 2009-03-26 21:40:17 +0100 fs r270108 : superseded by 1.1.14 version 2009-03-24 13:07:21 +0100 fs r269938 : xptitemp.dat seemingly not needed anymore 2009-03-23 12:56:29 +0100 fs r269869 : files with : in their name break the build 2009-03-23 12:22:01 +0100 fs r269866 : files with : in their name break the build 2009-03-21 23:12:06 +0100 fs r269843 : manual resync: merge the changes which happened on TRUNK in mozilla-source-1.7.5.patch herein 2009-03-21 21:58:17 +0100 fs r269841 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@269781 (milestone: DEV300:m44) 2009-03-18 12:04:25 +0100 fs r269649 : in SunHH environment, use pre-requisites from /so/env 2009-03-16 12:33:18 +0100 pastea_p r269522 : correct makefile.mk sorry again 2009-03-15 17:32:43 +0100 pastea_p r269506 : last files about migration to 1.1.14 2009-03-15 17:19:39 +0100 pastea_p r269505 : Migrates some files to 1.1.14 2009-03-04 07:45:40 +0100 fs r268782 : also add pref.xpt 2009-02-27 09:57:37 +0100 fs r268555 : #i66338# for the moment, disable Mozilla-based code for unxlngx6 2009-02-23 10:56:28 +0100 fs r268346 : syntax 2009-02-19 14:14:56 +0100 fs r268283 : make PrintPDE compile in Sun's internal build environment by removing some unneeded stuff 2009-02-18 15:40:40 +0100 fs r268236 : #i66338# re-enable MozAB on Mac 2009-02-18 15:39:55 +0100 fs r268235 : #i66338# 2009-02-18 15:30:38 +0100 fs r268232 : #i66338# tar => $(TAR) (provided by hjs) 2009-02-18 15:28:45 +0100 fs r268231 : more build envs supported (thanks to hjs for all this work!) 2009-02-18 15:27:02 +0100 fs r268230 : #i66338# 2009-02-18 15:23:04 +0100 fs r268229 : #i66338# let it build on Solaris, in Sun Hamburg's build environment 2009-02-18 12:00:12 +0100 fs r268210 : #i10000# 2009-02-18 08:17:29 +0100 fs r268198 : #i66338# building Mozilla is not supported anymore, SeaMonkey is the way to go now 2009-02-18 08:16:50 +0100 fs r268197 : #i66338# building Mozilla is not supported anymore, SeaMonkey is the way to go now 2009-02-14 14:05:24 +0100 fs r267757 : redo the Windows related changes lost with recent resync 2009-02-14 00:06:33 +0100 ericb r267755 : #i94628# remove the config_office dir now 2009-02-14 00:04:59 +0100 ericb r267754 : #i94628# remove all files in config_office now 2009-02-14 00:01:26 +0100 ericb r267753 : #i94628# remove guw in config_office 2009-02-13 23:53:00 +0100 ericb r267752 : #i94628# remove files in config_office 2009-02-13 16:02:58 +0100 fs r267725 : #i10000# 2009-02-12 18:14:31 +0100 ericb r267685 : #i94628# new generated configure 2009-02-12 18:13:52 +0100 ericb r267684 : #i94628# fix a path issue for finding seamonkey01 2009-02-12 14:39:17 +0100 ericb r267662 : #i94628# removing seamonkey.1.1.12 patch 2009-02-12 14:21:04 +0100 ericb r267658 : #i94628# the new configure, after autoconf 2009-02-12 14:13:21 +0100 ericb r267656 : #i94628# other missing changes for Windows 2009-02-12 14:04:26 +0100 ericb r267655 : #i94628# recommit configure.in changes after config_office removing 2009-02-12 13:46:12 +0100 ericb r267653 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@267171 (milestone: DEV300:m41) 2009-02-12 12:00:48 +0100 ericb r267643 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@267171 (milestone: DEV300:m41) 2009-02-11 13:28:50 +0100 pl r267595 : #i94628# add MACDEVSDK variable for unxmacxi 2009-02-06 09:44:15 +0100 ericb r267446 : #i98957# provide the zipped archives too 2009-02-06 09:43:32 +0100 ericb r267445 : #i98957# make seamonkey buildable on OpenSolaris, adding the right options for configure 2009-02-06 09:42:45 +0100 ericb r267444 : #i98957# make seamonkey buildable on OpenSolaris 2009-02-02 09:41:57 +0100 fs r267252 : #i66338# 2009-02-02 09:41:43 +0100 fs r267251 : #i66338# 2009-01-30 15:12:03 +0100 fs r267200 : code consolidation - MQueryHelper now uses MLdapAttributeMap's fillCardFromResult and fillResultFromCard, which makes the code as such shorter, and eliminates information duplication 2009-01-30 11:53:31 +0100 fs r267189 : reworked the statement parsing / statement execution / result set creation: now we don't anymore create three result sets (two of them leaking) for a single prepared statement ... 2009-01-29 20:37:01 +0100 fs r267170 : #i10000# 2009-01-29 20:32:50 +0100 fs r267169 : more explicit return type of parseSql 2009-01-29 17:32:56 +0100 fs r267163 : slightly refactored the statement class hierarchy (basically remove OStatement_BASE2, and renamed the other base classes) 2009-01-29 17:14:58 +0100 fs r267161 : #i66338# first implementation to re-enable LDAP access. Still work in progress (but hey, you can see the data already :) 2009-01-12 11:25:56 +0100 fs r266138 : allow using a debug-enabled version of Mozilla/SeaMonkey when MOZILLA_ENABLE_DEBUG is set 2009-01-10 22:01:40 +0100 fs r266126 : #i95772# nsldap32v50.dll also needs an embedded manifest (the LDP configuration backend links directly against it) 2009-01-09 11:15:32 +0100 fs r266065 : manifests for DLLs need to have ID 2, not 1 2009-01-08 20:02:24 +0100 fs r266035 : #i95772# embed manifest file in shared libs built in directory/c-sdk, too 2009-01-05 20:45:38 +0100 ericb r265886 : #i66338# commiting the correct configure for the tinderboxes 2009-01-05 17:42:34 +0100 ericb r265883 : CWS-TOOLING: rebase CWS moz2seamonkey01 to trunk@265758 (milestone: DEV300:m38) 2008-12-16 15:34:26 +0100 ericb r265550 : #i94628# change for seamonkey1.1.13 : do not forget to do autoconf in config_office before configure 2008-12-16 15:25:37 +0100 pastea_p r265547 : 1.1.12 to 1.1.13 2008-12-16 14:20:18 +0100 pastea_p r265540 : correct the hunk about no core_abspath which one broke linux build 2008-12-16 13:10:06 +0100 pastea_p r265535 : Change name of patch to 1.1.13 2008-12-15 23:32:54 +0100 pastea_p r265518 : 2008-12-12 18:43:36 +0100 pastea_p r265435 : update to 1.1.13 2008-12-12 10:56:38 +0100 fs r265398 : #i95772# embed .manifest files into SHARED_LIBRARYs built in nsprpub, too 2008-12-12 09:56:38 +0100 fs r265391 : #i95772# don't use regxpcomp on Windows, it's not needed 2008-12-11 11:22:43 +0100 fs r265269 : #i95772# Moz/SeaMonkey libs on Windows now link against msvc?80.dll 2008-12-10 13:45:51 +0100 fs r265182 : proper OSL_ENSURE message 2008-11-13 13:18:03 +0100 fs r263635 : #i95772# more patches 2008-11-13 12:14:41 +0100 fs r263630 : #i95772# building SeaMonkey on Windows is supported for MSVS2005 only at the moment, now requiring v8-moztools.zip instead of the previously needed wintools.zip/vc71*.zip 2008-11-13 12:13:33 +0100 fs r263629 : #i95772# building SeaMonkey on Windows is supported for MSVS2005 only at the moment, now requiring v8-moztools.zip instead of the previously needed wintools.zip/vc71*.zip 2008-11-13 12:08:22 +0100 fs r263628 : #i95772# building SeaMonkey on Windows is supported for MSVS2005 only at the moment, now requiring v8-moztools.zip instead of the previously needed wintools.zip/vc71*.zip 2008-11-13 12:04:15 +0100 fs r263627 : #i95772# 2008-11-12 08:23:20 +0100 fs r263575 : i95772# use xpcom_core on Windows, too 2008-11-11 21:02:14 +0100 fs r263574 : i95772# use xpcom_core.lib on Windows, too 2008-11-11 20:58:07 +0100 fs r263573 : i95772# use xpcom_core.lib on Windows, too 2008-11-11 15:05:42 +0100 fs r263564 : alternative fix for part 1 of #i94957# 2008-11-10 22:18:14 +0100 fs r263541 : #i95772# with MSVC2008, compile with -Zc:wchar_t- (shamelessly taken from https://bugzilla.mozilla.org/show_bug.cgi?id=324842) 2008-11-10 22:15:57 +0100 fs r263540 : #i95772# with MSVC2008, compile with -Zc:wchar_t- (shamelessly taken from https://bugzilla.mozilla.org/show_bug.cgi?id=324842) 2008-11-10 09:28:26 +0100 fs r263509 : #i95772# when building on WNT, embed the .manifest file into the .dll/.exe 2008-11-10 09:19:06 +0100 fs r263508 : collect single patches which comprise the complete patch 2008-11-06 09:10:21 +0100 fs r263360 : #i95772# core_abspath does not work on Windows, too (at least in security/nss/cmd/shlibsign). Replace with 'cygpath -d -a' 2008-11-02 22:51:27 +0100 fs r263277 : #i95772# sanitize INCLUDEDIR and GENHEADERS to use cygwin path notation - cygwin's make 1.81 doesn't cope with Windows path notation 2008-11-02 22:50:15 +0100 fs r263276 : #i95772# no --enable-system-cairo on Windows 2008-10-18 20:12:36 +0200 pastea_p r262297 : 2008-10-16 17:15:35 +0200 ericb r262267 : #i94957# fix the breakage in connectivity, for the seamonkey migration 2008-10-16 17:14:49 +0200 ericb r262266 : #i94957# fix the breakage in connectivity, for the seamonkey migration 2008-10-16 16:58:21 +0200 ericb r262263 : #i94957# fix the breakage in connectivity, for the seamonkey migration 2008-10-15 20:16:28 +0200 ericb r262242 : #i94628# use mac as default toolkit on mac 2008-10-14 18:54:13 +0200 ericb r262216 : #i90774# modify the configure.in for moz2seamonkey migration 2008-10-14 18:48:57 +0200 ericb r262215 : #i90774# commit moz2seamonkey changes for svn migration 2008-10-14 18:47:05 +0200 ericb r262214 : #i90774# commit moz2seamonkey changes for svn migration
2009-07-15 11:06:05 +00:00
(from ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc8/)])
2011-07-04 02:20:26 -05:00
else
AC_MSG_RESULT([ok])
fi
elif test "$_os" = "Darwin"; then
PKG_CHECK_MODULES(MOZLIBREQ, libIDL-2.0 >= 0.6.3, MOZIDL="TRUE", MOZIDL="")
if test -z "$MOZIDL"; then
AC_MSG_ERROR([libIDL 0.6.3 or newer is needed to build Mozilla with Mac toolkit.])
2011-07-04 02:20:26 -05:00
fi
else
# Generic Unix/Linux section
if test "$MOZILLA_TOOLKIT" = "gtk2"; then
PKG_CHECK_MODULES(MOZLIBREQ, gtk+-2.0, MOZGTK="TRUE", MOZGTK="")
if test -z "$MOZGTK"; then
AC_MSG_ERROR([GTK2 is needed to build Mozilla.])
fi
PKG_CHECK_MODULES(MOZLIBREQ, libIDL-2.0 >= 0.8.0, MOZIDL="TRUE", MOZIDL="")
if test -z "$MOZIDL"; then
AC_MSG_ERROR([libIDL >= 0.8.0 is needed when using GTK2 to build Mozilla.])
fi
else
PKG_CHECK_MODULES(MOZLIBREQ, gtk+ >= 1.2.3, MOZGTK="TRUE", MOZGTK="")
if test -z "$MOZGTK"; then
AC_MSG_ERROR([GTK+ 1.2 is needed when not using GTK2 to build Mozilla.])
fi
PKG_CHECK_MODULES(MOZLIBREQ, libidl >= 0.6.3 libidl <= 0.6.8, MOZIDL="TRUE", MOZIDL="")
if test -z "$MOZIDL"; then
AC_MSG_ERROR([libIDL 0.6.3 - 0.6.8 is needed when not using GTK2 to build Mozilla.])
fi
fi
fi
fi
AC_SUBST(BUILD_MOZAB)
fi
CWS-TOOLING: integrate CWS jl127 2009-07-30 10:12:10 +0200 jl r274470 : #i100873# switch on checking for symbol definitions. It works with the current xpcom lib. 2009-07-29 09:48:29 +0200 jl r274443 : #i100873# 2009-07-29 09:47:36 +0200 jl r274442 : #i100873# changes after resync with DEV300m53 which contains the seamonkey update 2009-07-28 10:00:03 +0200 jl r274389 : #100873# Patches from tono 2009-07-27 16:59:39 +0200 jl r274372 : CWS-TOOLING: rebase CWS jl127 to trunk@274203 (milestone: DEV300:m53) 2009-07-07 09:08:53 +0200 jl r273768 : #100873# 2009-07-06 17:16:10 +0200 jl r273754 : #100873# 2009-07-01 13:58:09 +0200 jl r273576 : #100873# added to readme 2009-07-01 13:15:02 +0200 jl r273573 : #100873# deliver lib files when building with MS compiler 2009-06-30 11:22:06 +0200 jl r273498 : #i100873# accidentally commented out patch_files 2009-06-30 09:01:10 +0200 jl r273489 : #100873# make rc.exe work in ooo windows build 2009-06-29 09:47:56 +0200 jl r273451 : #i100873# applied mingw patch from tono 2009-06-24 12:52:14 +0200 jl r273332 : #100873# reapplying the configure.in patch on version 273150 2009-06-24 12:51:12 +0200 jl r273331 : #100873# reapplying the patch on version 273150 2009-06-23 17:17:36 +0200 jl r273299 : #100873# manually modified patch from tono 2009-06-22 17:05:41 +0200 jl r273243 : #100873# applying mingw patch from tono 2009-06-22 17:02:30 +0200 jl r273242 : #100873# applying mingw patch from tono 2009-06-22 12:49:57 +0200 jl r273216 : #100873# dependency to stlport 2009-06-19 11:56:16 +0200 jl r273155 : #100873# undoing a previous change, instset_native complained about missing libjpipe.jnilib (jurt) 2009-06-19 10:13:03 +0200 jl r273150 : #100873# ooo builds shall also use the new nss by default 2009-06-18 14:32:07 +0200 jl r273117 : #110873# more debug output when verifying a certificate 2009-06-16 11:23:50 +0200 jl r273012 : #i10873# 2009-06-16 10:57:41 +0200 jl r273011 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-16 10:56:45 +0200 jl r273010 : #100873# wrong parameter definition in nsscrypto_initialize 2009-06-15 16:20:42 +0200 jl r272996 : #100873# initialization of NSS is now threadsafe 2009-06-10 12:50:46 +0200 jl r272804 : #100873# rename in foreach fails in 4nt 2009-06-09 13:43:00 +0200 jl r272768 : #i100873# deliver only .h from inc/nss otherwise we get a warning when nss/nssck.api is delivered 2009-06-08 16:15:44 +0200 jl r272739 : #i100873# 2009-06-08 16:04:54 +0200 jl r272738 : #i100873# 2009-06-08 15:45:52 +0200 jl r272736 : #i100873# 2009-06-08 15:44:15 +0200 jl r272735 : #i100873# unzipping of nss.tar.z not working with 4nt 2009-06-08 09:45:46 +0200 jl r272720 : #i100873# 2009-06-03 13:53:52 +0200 jl r272562 : #i100873# MOZILLABUILD not correct 2009-06-03 13:17:54 +0200 jl r272557 : #i100873# readme and makefile changes from cws jl125, support of new nss module 2009-06-03 09:57:40 +0200 jl r272544 : #i100873# added readme 2009-06-02 16:47:47 +0200 jl r272512 : #i100873# removed no longer needed stuff regarding jnilibs 2009-06-02 15:54:42 +0200 jl r272510 : #i100873# added NSS to BUILD_TYPE 2009-06-02 15:20:18 +0200 jl r272508 : #i100873# DEREFERENCE option for copy command 2009-06-02 13:00:12 +0200 jl r272496 : #i100873# PATCH_FILE_NAMES is now PATCH_FILES 2009-06-02 12:23:39 +0200 jl r272494 : #i100873# build dependency to nss 2009-05-29 16:21:40 +0200 jl r272470 : #i100873# seting ENABLE_NSS_MODULE==YES and includeing mozilla-build-1.3 folder in environment 2009-05-29 16:03:23 +0200 jl r272468 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:57:16 +0200 jl r272466 : #i100873# use intermediate certificates when validating a certificate 2009-05-29 15:49:58 +0200 jl r272464 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:33:14 +0200 jl r272463 : #i100873# using ENABLE_NSS_MODULE 2009-05-29 15:28:39 +0200 jl r272461 : #i100873# build dependency to nss module 2009-05-29 15:24:57 +0200 jl r272460 : #i100873# pass additional certificates into verifyCertificate function 2009-05-29 14:49:40 +0200 jl r272458 : #i100873# new NSS module 2009-05-29 14:43:44 +0200 jl r272457 : #i100873# new NSS module
2009-08-26 08:22:01 +00:00
AC_SUBST(ENABLE_NSS_MODULE)
AC_SUBST(MOZILLABUILD)
AC_SUBST(SYSTEM_MOZILLA)
INTEGRATION: CWS configure18 (1.166.2); FILE MERGED 2006/07/15 19:27:33 rene 1.166.2.18: fix syntax error 2006/07/15 13:12:59 rene 1.166.2.17: reasdd second PKG_CHECK_MODULES for libagg 2006/07/15 12:11:09 pjanik 1.166.2.16: add space after comma 2006/07/14 16:17:47 rene 1.166.2.15: remove mentioning of libart, long obsolete, fix GPC vars; don't fail on agg 2.4 being present, cws thbpp4 fixes agg 2.4 build 2006/07/13 15:36:51 rene 1.166.2.14: RESYNC: (1.168-1.169); FILE MERGED 2006/07/13 15:18:18 rene 1.166.2.13: #i64798# system neon 0.26.x support, by geki 2006/07/10 14:08:17 rene 1.166.2.12: RESYNC: (1.166-1.168); FILE MERGED 2006/06/13 19:08:39 rene 1.166.2.11: #i60089# fix oversights 2006/06/13 19:06:15 rene 1.166.2.10: #i65976# don't add X libs and includes when they are in /usr 2006/06/11 20:22:08 rene 1.166.2.9: allow XULRunner 2006/06/11 14:40:44 rene 1.166.2.8: #i60089# system firefox (--with-firefox) buildfixes 2006/06/11 14:25:31 rene 1.166.2.7: #i64860# system mozilla with special nspr/nss library paths 2006/06/11 01:05:36 rene 1.166.2.6: #i64919# Don't fail if an explicit --without-system-mozilla is given 2006/06/11 00:42:10 rene 1.166.2.5: #i65202# always link with -ldl on Linux for Xinerama (and fix typo), patch by hjs 2006/06/11 00:35:24 rene 1.166.2.4: #i65776# JDK=sun; otherwise JDK is unitialized and deliver complains, patch by geki 2006/06/11 00:28:29 rene 1.166.2.3: #i64923# make PAM optional on Linux, patch by geki 2006/06/11 00:14:23 rene 1.166.2.2: #i65408# allow SS10 compiler (CC 5.7) 2006/06/11 00:06:48 rene 1.166.2.1: #i65322# check for agg version
2006-07-19 08:52:02 +00:00
AC_SUBST(MOZ_FLAVOUR)
AC_SUBST(MOZ_INC)
AC_SUBST(MOZ_LIB)
AC_SUBST(MOZ_LIB_XPCOM)
AC_SUBST(MOZ_NSPR_CFLAGS)
AC_SUBST(MOZ_NSS_CFLAGS)
AC_SUBST(MOZ_LDAP_CFLAGS)
dnl ===================================================================
dnl Check for system sane
dnl ===================================================================
AC_MSG_CHECKING([which sane header to use])
if test -n "$with_system_sane" -o -n "$with_system_headers" && \
test "$with_system_sane" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([external])
SYSTEM_SANE_HEADER=YES
AC_CHECK_HEADER(sane/sane.h, [],
[AC_MSG_ERROR(sane not found. install sane)], [])
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([internal])
SYSTEM_SANE_HEADER=NO
BUILD_TYPE="$BUILD_TYPE SANE"
fi
AC_SUBST(SYSTEM_SANE_HEADER)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl ===================================================================
dnl Check for system icu
dnl ===================================================================
SYSTEM_GENBRK=
SYSTEM_GENCCODE=
SYSTEM_GENCMN=
ICU_MAJOR=
ICU_MINOR=
ICU_MICRO=
ICU_RECLASSIFIED_CLOSE_PARENTHESIS=
AC_MSG_CHECKING([which icu to use])
if test -n "$with_system_icu" -o -n "$with_system_libs" && \
2011-07-04 02:20:26 -05:00
test "$with_system_icu" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_ICU=YES
AC_LANG_PUSH([C++])
AC_MSG_CHECKING([for unicode/rbbi.h])
AC_PREPROC_IFELSE([AC_LANG_SOURCE([[unicode/rbbi.h]])],[AC_MSG_RESULT(checked.)],[AC_MSG_ERROR(icu headers not found.)])
2011-07-04 02:20:26 -05:00
AC_LANG_POP([C++])
2011-10-03 14:12:54 +02:00
ICUPATH="$PATH"
if test "$WITH_MINGW" = "yes" ; then
ICUPATH="/usr/i686-w64-mingw32/sys-root/mingw/bin:$ICUPATH"
2011-07-04 02:20:26 -05:00
fi
AC_PATH_PROG(ICUCONFIG,icu-config,,[$ICUPATH])
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([ICU version])
ICU_VERSION=`$ICUCONFIG --noverify --version`
ICU_MAJOR=`echo $ICU_VERSION | cut -d"." -f1`
ICU_MINOR=`echo $ICU_VERSION | cut -d"." -f2`
ICU_MICRO=`echo $ICU_VERSION | cut -d"." -f3`
2011-07-04 02:20:26 -05:00
if test "$ICU_MAJOR" -ge "4"; then
AC_MSG_RESULT([OK, $ICU_VERSION])
2011-07-04 02:20:26 -05:00
else
AC_MSG_ERROR([not suitable, only >= 4.0 supported currently])
fi
if test "$cross_compiling" != "yes"; then
# using the system icu tools can lead to version confusion, use the
# ones from the build environment when cross-compiling
AC_PATH_PROG(SYSTEM_GENBRK, genbrk, [], [$PATH:/usr/sbin:/sbin])
if test -z "$SYSTEM_GENBRK"; then
AC_MSG_ERROR([\'genbrk\' not found in \$PATH, install the icu development tool \'genbrk\'])
fi
AC_PATH_PROG(SYSTEM_GENCCODE, genccode, [], [$PATH:/usr/sbin:/sbin:/usr/local/sbin])
if test -z "$SYSTEM_GENCCODE"; then
AC_MSG_ERROR([\'genccode\' not found in \$PATH, install the icu development tool \'genccode\'])
fi
AC_PATH_PROG(SYSTEM_GENCMN, gencmn, [], [$PATH:/usr/sbin:/sbin:/usr/local/sbin])
if test -z "$SYSTEM_GENCMN"; then
AC_MSG_ERROR([\'gencmn\' not found in \$PATH, install the icu development tool \'gencmn\'])
fi
if test "$ICU_MAJOR" -ge "5" -o "$ICU_MAJOR" = "4" -a "$ICU_MINOR" -ge "4"; then
ICU_RECLASSIFIED_CLOSE_PARENTHESIS="YES"
fi
fi
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS icui18n$ICU_MAJOR$ICU_MINOR.dll icuuc$ICU_MAJOR$ICU_MINOR.dll icudata$ICU_MAJOR$ICU_MINOR.dll"
else
AC_MSG_RESULT([internal])
SYSTEM_ICU="NO"
ICU_RECLASSIFIED_CLOSE_PARENTHESIS="YES"
BUILD_TYPE="$BUILD_TYPE ICU"
fi
AC_SUBST(SYSTEM_ICU)
AC_SUBST(SYSTEM_GENBRK)
AC_SUBST(SYSTEM_GENCCODE)
AC_SUBST(SYSTEM_GENCMN)
AC_SUBST(ICU_MAJOR)
AC_SUBST(ICU_MINOR)
AC_SUBST(ICU_MICRO)
AC_SUBST(ICU_RECLASSIFIED_CLOSE_PARENTHESIS)
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
2000-09-18 15:18:56 +00:00
dnl ===================================================================
CWS-TOOLING: integrate CWS graphite01 2009-08-06 11:09:01 +0200 hdu r274708 : #i10000# fix build breaker for SYSTEM_GRAPHITE=NO 2009-07-21 12:01:52 +0200 hdu r274174 : #i93645# fix include files for EXT_USE_STLPORT 2009-07-21 11:51:07 +0200 hdu r274173 : #i93645# convert line-endings of files to be patched 2009-07-21 10:49:01 +0200 hdu r274170 : #i93645# adjust makefile.vc8 for HH-RelEng env (thanks ause) 2009-07-20 05:21:32 +0200 kstribley r274105 : attempt to fix Windows build error caused by NULL variable in nmake file 2009-07-16 10:22:36 +0200 hdu r274032 : #i69129# also use solar minor version to find graphite lib 2009-07-16 05:36:06 +0200 kstribley r274029 : allow windows build to have Graphite disabled with SAL_DISABLE_GRAPHITE 2009-07-15 13:59:22 +0200 hdu r274011 : #i69129# default to ENABLE_GRAPHITE=TRUE 2009-07-15 13:19:54 +0200 hdu r274008 : #i93645# ignore compile warnings for graphite 2009-07-15 13:18:25 +0200 hdu r274006 : #i93645# stlport needs libmath, use solar minor version to find matching libs 2009-07-15 09:21:13 +0200 hdu r273989 : #i100000# avoid compile warning 2009-07-14 12:19:08 +0200 hdu r273963 : CWS-TOOLING: rebase CWS graphite01 to trunk@273858 (milestone: DEV300:m52) 2009-07-13 06:54:56 +0200 kstribley r273912 : change to use standard file headers 2009-07-13 05:39:14 +0200 kstribley r273911 : Remove unnecessary change to configure.in as reported by Rene 2009-07-10 16:58:44 +0200 hdu r273902 : #i100000# fix compile for precompiled-header support 2009-07-02 13:48:26 +0200 kstribley r273647 : #69129# fix a graphite bug which could crash with fonts containing obscure GDL positioning rules 2009-07-02 01:44:02 +0200 rene r273616 : #i10000# we need to link with -licuuc 2009-07-01 04:02:20 +0200 kstribley r273540 : restore missing sdf files from base 2009-07-01 04:01:40 +0200 kstribley r273539 : restore missing sdf files from base 2009-07-01 04:01:12 +0200 kstribley r273538 : restore missing sdf files from base 2009-07-01 03:59:41 +0200 kstribley r273537 : restore missing sdf files from base 2009-06-29 10:16:51 +0200 kstribley r273456 : #i69129# fixes a bug which caused occasional incorrect linebreaking when graphite is asked to render a part of a cluster not containing a base 2009-06-27 10:43:58 +0200 kstribley r273445 : #i69129# added kashida support for justified RTL text 2009-06-01 12:57:06 +0200 kstribley r272476 : CWS-TOOLING: rebase CWS graphite01 to trunk@272291 (milestone: DEV300:m49) 2009-05-26 10:50:06 +0200 kstribley r272286 : #i69129# fixes a build error when NDEBUG is not defined 2009-05-25 13:14:06 +0200 kstribley r272237 : #i69129# enable debugging by fixing compile warnings 2009-05-25 13:07:47 +0200 kstribley r272234 : #i69129# added env variable to disable GRAPHITE at run time on linux and fixed a bug with a rare attachment sequence 2009-04-20 17:39:25 +0200 kstribley r271001 : CWS-TOOLING: rebase CWS graphite01 to trunk@270723 (milestone: DEV300:m46) 2009-04-18 07:11:33 +0200 kstribley r270957 : #i101178# attempt to fix buildbot builds by reordering configure.in 2009-04-14 17:37:07 +0200 kstribley r270801 : #i93645# tweak configure to enable graphite by default on windows and linux to assist testing with tinderbox build 2009-04-14 16:33:17 +0200 kstribley r270796 : #i96925# another fix for rtl fallback and add optional debug info in MultiSalLayout 2009-04-08 13:27:55 +0200 kstribley r270641 : #i69129# fix features after a bad merge 2009-04-08 13:26:34 +0200 kstribley r270640 : #i69129# add a patch for WinFont 2009-03-24 12:37:54 +0100 kstribley r269937 : #i69129# fix build error due to locale being included in method for features 2009-03-24 12:36:10 +0100 kstribley r269936 : #i93645# change patch variable and fix configure 2009-03-20 04:18:56 +0100 kstribley r269776 : CWS-TOOLING: rebase CWS graphite01 to trunk@269297 (milestone: DEV300:m43) 2009-03-01 13:10:59 +0100 kstribley r268622 : added a patch to improve handling of a font with bad graphite language feature tables #i93645# 2009-02-12 04:50:51 +0100 kstribley r267631 : #i93645# fix windows build for graphite 2.3.1 and remove unnecessary patch 2009-02-10 04:48:50 +0100 kstribley r267535 : #i93645# fix a build error with stlport on Ubuntu 8.10 x86 2009-02-10 03:51:10 +0100 kstribley r267534 : #i69129# remove legacy config_office 2009-02-07 19:12:54 +0100 kstribley r267482 : #i93645# upgrade to using silgraphite-2.3.1 2009-02-02 18:17:57 +0100 kstribley r267290 : #i69129# backout unwanted checkin 2009-02-02 17:44:03 +0100 kstribley r267281 : #i69129# backout erroneous update to aclocal.m4 2009-02-01 10:05:03 +0100 kstribley r267236 : #i69129# fix build error due to locale being added to set font attributes 2009-02-01 06:02:52 +0100 kstribley r267235 : #i69129# fix erroneous merge 2009-01-31 16:24:56 +0100 kstribley r267234 : #i69129# update configure.in solenv.in in their new locations with enable graphite 2009-01-31 10:53:18 +0100 kstribley r267232 : CWS-TOOLING: rebase CWS graphite01 to trunk@267171 (milestone: DEV300:m41) 2008-12-17 04:17:33 +0100 kstribley r265577 : #i93645# remove superfluous autoreconf check and autoconf patch 2008-12-16 10:07:20 +0100 rene r265529 : fix aclocal.m4 breakage 2008-12-16 05:13:29 +0100 kstribley r265520 : #i93645# change to autoconf && configure 2008-12-16 04:39:48 +0100 kstribley r265519 : #i93645# modified LD_FLAGS so that system graphite isn't pulled in by accident and fixed autoconf problem 2008-12-15 14:16:25 +0100 rene r265497 : check for working STL 2008-12-15 12:53:39 +0100 rene r265473 : revert broken check 2008-12-15 11:59:21 +0100 kstribley r265472 : #i93645# added check for system STL, since this is a requirement for system graphite to work correctly and moved the position of the check further down 2008-12-15 11:55:34 +0100 kstribley r265471 : #i93645# remove references to gr3ooo to allow system graphite to be used 2008-12-12 18:48:18 +0100 rene r265437 : fix link for system-graphite 2008-12-12 18:46:45 +0100 rene r265436 : the tarball is in graphite, remove obsolete check 2008-12-12 18:22:22 +0100 rene r265433 : typo; re-autoconf 2008-12-12 17:35:26 +0100 rene r265432 : actually implement SYSTEM_GRAPHIT checks (as already checked for in makefile.mks) but remove the checks in graphit itself and move to BUILD_TYPE 2008-12-12 08:08:33 +0100 kstribley r265387 : #i69129# 2 of the patched files need windows line endings so patch works on linux as well as windows 2008-12-12 08:04:41 +0100 kstribley r265386 : #i69129# rtl fallback fix which prevents caching of segments with fallback 2008-12-08 04:28:12 +0100 kstribley r264969 : results of running autoconf with graphite config changes #i69129# 2008-12-05 08:12:47 +0100 kstribley r264886 : backout unintential change at r264884 2008-12-05 06:26:33 +0100 kstribley r264884 : #i96925# fixes for uniscribe fallback 2008-12-05 06:11:37 +0100 kstribley r264883 : #i69129# improvements to windows graphite code, including caching of sila table lookup 2008-12-02 13:28:51 +0100 kstribley r264694 : #i93645# add graphite library and append to patch 2008-11-27 06:47:10 +0100 kstribley r264445 : #69129# fix rtl loop bug and rtl caching problem 2008-11-27 06:42:20 +0100 kstribley r264444 : add caching for GraphiteFontAdaptor 2008-11-14 15:57:03 +0100 kstribley r263681 : #69129# add graphite addtional files from cvs 2008-11-14 15:54:47 +0100 kstribley r263680 : #69129# fix for modified resolution api 2008-11-13 16:24:09 +0100 kstribley r263652 : #69129# add skeleton to build graphite module library 2008-11-13 16:22:19 +0100 kstribley r263651 : #69129# add skeleton to build graphite module library 2008-11-13 16:16:10 +0100 kstribley r263650 : #69129# migrate from cvs 2008-11-13 15:26:54 +0100 kstribley r263646 : #69129# add a module for the graphite library
2009-08-17 14:12:14 +00:00
dnl Graphite
dnl ===================================================================
AC_MSG_CHECKING([whether to enable graphite support])
2010-06-22 17:07:12 +02:00
if test "$_os" = "WINNT" -o "$_os" = "Linux" && test "z$enable_graphite" = "z" -o "$enable_graphite" != "no" ; then
CWS-TOOLING: integrate CWS graphite01 2009-08-06 11:09:01 +0200 hdu r274708 : #i10000# fix build breaker for SYSTEM_GRAPHITE=NO 2009-07-21 12:01:52 +0200 hdu r274174 : #i93645# fix include files for EXT_USE_STLPORT 2009-07-21 11:51:07 +0200 hdu r274173 : #i93645# convert line-endings of files to be patched 2009-07-21 10:49:01 +0200 hdu r274170 : #i93645# adjust makefile.vc8 for HH-RelEng env (thanks ause) 2009-07-20 05:21:32 +0200 kstribley r274105 : attempt to fix Windows build error caused by NULL variable in nmake file 2009-07-16 10:22:36 +0200 hdu r274032 : #i69129# also use solar minor version to find graphite lib 2009-07-16 05:36:06 +0200 kstribley r274029 : allow windows build to have Graphite disabled with SAL_DISABLE_GRAPHITE 2009-07-15 13:59:22 +0200 hdu r274011 : #i69129# default to ENABLE_GRAPHITE=TRUE 2009-07-15 13:19:54 +0200 hdu r274008 : #i93645# ignore compile warnings for graphite 2009-07-15 13:18:25 +0200 hdu r274006 : #i93645# stlport needs libmath, use solar minor version to find matching libs 2009-07-15 09:21:13 +0200 hdu r273989 : #i100000# avoid compile warning 2009-07-14 12:19:08 +0200 hdu r273963 : CWS-TOOLING: rebase CWS graphite01 to trunk@273858 (milestone: DEV300:m52) 2009-07-13 06:54:56 +0200 kstribley r273912 : change to use standard file headers 2009-07-13 05:39:14 +0200 kstribley r273911 : Remove unnecessary change to configure.in as reported by Rene 2009-07-10 16:58:44 +0200 hdu r273902 : #i100000# fix compile for precompiled-header support 2009-07-02 13:48:26 +0200 kstribley r273647 : #69129# fix a graphite bug which could crash with fonts containing obscure GDL positioning rules 2009-07-02 01:44:02 +0200 rene r273616 : #i10000# we need to link with -licuuc 2009-07-01 04:02:20 +0200 kstribley r273540 : restore missing sdf files from base 2009-07-01 04:01:40 +0200 kstribley r273539 : restore missing sdf files from base 2009-07-01 04:01:12 +0200 kstribley r273538 : restore missing sdf files from base 2009-07-01 03:59:41 +0200 kstribley r273537 : restore missing sdf files from base 2009-06-29 10:16:51 +0200 kstribley r273456 : #i69129# fixes a bug which caused occasional incorrect linebreaking when graphite is asked to render a part of a cluster not containing a base 2009-06-27 10:43:58 +0200 kstribley r273445 : #i69129# added kashida support for justified RTL text 2009-06-01 12:57:06 +0200 kstribley r272476 : CWS-TOOLING: rebase CWS graphite01 to trunk@272291 (milestone: DEV300:m49) 2009-05-26 10:50:06 +0200 kstribley r272286 : #i69129# fixes a build error when NDEBUG is not defined 2009-05-25 13:14:06 +0200 kstribley r272237 : #i69129# enable debugging by fixing compile warnings 2009-05-25 13:07:47 +0200 kstribley r272234 : #i69129# added env variable to disable GRAPHITE at run time on linux and fixed a bug with a rare attachment sequence 2009-04-20 17:39:25 +0200 kstribley r271001 : CWS-TOOLING: rebase CWS graphite01 to trunk@270723 (milestone: DEV300:m46) 2009-04-18 07:11:33 +0200 kstribley r270957 : #i101178# attempt to fix buildbot builds by reordering configure.in 2009-04-14 17:37:07 +0200 kstribley r270801 : #i93645# tweak configure to enable graphite by default on windows and linux to assist testing with tinderbox build 2009-04-14 16:33:17 +0200 kstribley r270796 : #i96925# another fix for rtl fallback and add optional debug info in MultiSalLayout 2009-04-08 13:27:55 +0200 kstribley r270641 : #i69129# fix features after a bad merge 2009-04-08 13:26:34 +0200 kstribley r270640 : #i69129# add a patch for WinFont 2009-03-24 12:37:54 +0100 kstribley r269937 : #i69129# fix build error due to locale being included in method for features 2009-03-24 12:36:10 +0100 kstribley r269936 : #i93645# change patch variable and fix configure 2009-03-20 04:18:56 +0100 kstribley r269776 : CWS-TOOLING: rebase CWS graphite01 to trunk@269297 (milestone: DEV300:m43) 2009-03-01 13:10:59 +0100 kstribley r268622 : added a patch to improve handling of a font with bad graphite language feature tables #i93645# 2009-02-12 04:50:51 +0100 kstribley r267631 : #i93645# fix windows build for graphite 2.3.1 and remove unnecessary patch 2009-02-10 04:48:50 +0100 kstribley r267535 : #i93645# fix a build error with stlport on Ubuntu 8.10 x86 2009-02-10 03:51:10 +0100 kstribley r267534 : #i69129# remove legacy config_office 2009-02-07 19:12:54 +0100 kstribley r267482 : #i93645# upgrade to using silgraphite-2.3.1 2009-02-02 18:17:57 +0100 kstribley r267290 : #i69129# backout unwanted checkin 2009-02-02 17:44:03 +0100 kstribley r267281 : #i69129# backout erroneous update to aclocal.m4 2009-02-01 10:05:03 +0100 kstribley r267236 : #i69129# fix build error due to locale being added to set font attributes 2009-02-01 06:02:52 +0100 kstribley r267235 : #i69129# fix erroneous merge 2009-01-31 16:24:56 +0100 kstribley r267234 : #i69129# update configure.in solenv.in in their new locations with enable graphite 2009-01-31 10:53:18 +0100 kstribley r267232 : CWS-TOOLING: rebase CWS graphite01 to trunk@267171 (milestone: DEV300:m41) 2008-12-17 04:17:33 +0100 kstribley r265577 : #i93645# remove superfluous autoreconf check and autoconf patch 2008-12-16 10:07:20 +0100 rene r265529 : fix aclocal.m4 breakage 2008-12-16 05:13:29 +0100 kstribley r265520 : #i93645# change to autoconf && configure 2008-12-16 04:39:48 +0100 kstribley r265519 : #i93645# modified LD_FLAGS so that system graphite isn't pulled in by accident and fixed autoconf problem 2008-12-15 14:16:25 +0100 rene r265497 : check for working STL 2008-12-15 12:53:39 +0100 rene r265473 : revert broken check 2008-12-15 11:59:21 +0100 kstribley r265472 : #i93645# added check for system STL, since this is a requirement for system graphite to work correctly and moved the position of the check further down 2008-12-15 11:55:34 +0100 kstribley r265471 : #i93645# remove references to gr3ooo to allow system graphite to be used 2008-12-12 18:48:18 +0100 rene r265437 : fix link for system-graphite 2008-12-12 18:46:45 +0100 rene r265436 : the tarball is in graphite, remove obsolete check 2008-12-12 18:22:22 +0100 rene r265433 : typo; re-autoconf 2008-12-12 17:35:26 +0100 rene r265432 : actually implement SYSTEM_GRAPHIT checks (as already checked for in makefile.mks) but remove the checks in graphit itself and move to BUILD_TYPE 2008-12-12 08:08:33 +0100 kstribley r265387 : #i69129# 2 of the patched files need windows line endings so patch works on linux as well as windows 2008-12-12 08:04:41 +0100 kstribley r265386 : #i69129# rtl fallback fix which prevents caching of segments with fallback 2008-12-08 04:28:12 +0100 kstribley r264969 : results of running autoconf with graphite config changes #i69129# 2008-12-05 08:12:47 +0100 kstribley r264886 : backout unintential change at r264884 2008-12-05 06:26:33 +0100 kstribley r264884 : #i96925# fixes for uniscribe fallback 2008-12-05 06:11:37 +0100 kstribley r264883 : #i69129# improvements to windows graphite code, including caching of sila table lookup 2008-12-02 13:28:51 +0100 kstribley r264694 : #i93645# add graphite library and append to patch 2008-11-27 06:47:10 +0100 kstribley r264445 : #69129# fix rtl loop bug and rtl caching problem 2008-11-27 06:42:20 +0100 kstribley r264444 : add caching for GraphiteFontAdaptor 2008-11-14 15:57:03 +0100 kstribley r263681 : #69129# add graphite addtional files from cvs 2008-11-14 15:54:47 +0100 kstribley r263680 : #69129# fix for modified resolution api 2008-11-13 16:24:09 +0100 kstribley r263652 : #69129# add skeleton to build graphite module library 2008-11-13 16:22:19 +0100 kstribley r263651 : #69129# add skeleton to build graphite module library 2008-11-13 16:16:10 +0100 kstribley r263650 : #69129# migrate from cvs 2008-11-13 15:26:54 +0100 kstribley r263646 : #69129# add a module for the graphite library
2009-08-17 14:12:14 +00:00
AC_MSG_RESULT([yes])
ENABLE_GRAPHITE="TRUE"
AC_MSG_CHECKING([which graphite to use])
if test -n "$with_system_graphite" -o -n "$with_system_libs" && \
test "$with_system_graphite" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_GRAPHITE=YES
PKG_CHECK_MODULES( GRAPHITE, graphite2 >= 0.9.3 )
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libgraphite2.dll"
CWS-TOOLING: integrate CWS graphite01 2009-08-06 11:09:01 +0200 hdu r274708 : #i10000# fix build breaker for SYSTEM_GRAPHITE=NO 2009-07-21 12:01:52 +0200 hdu r274174 : #i93645# fix include files for EXT_USE_STLPORT 2009-07-21 11:51:07 +0200 hdu r274173 : #i93645# convert line-endings of files to be patched 2009-07-21 10:49:01 +0200 hdu r274170 : #i93645# adjust makefile.vc8 for HH-RelEng env (thanks ause) 2009-07-20 05:21:32 +0200 kstribley r274105 : attempt to fix Windows build error caused by NULL variable in nmake file 2009-07-16 10:22:36 +0200 hdu r274032 : #i69129# also use solar minor version to find graphite lib 2009-07-16 05:36:06 +0200 kstribley r274029 : allow windows build to have Graphite disabled with SAL_DISABLE_GRAPHITE 2009-07-15 13:59:22 +0200 hdu r274011 : #i69129# default to ENABLE_GRAPHITE=TRUE 2009-07-15 13:19:54 +0200 hdu r274008 : #i93645# ignore compile warnings for graphite 2009-07-15 13:18:25 +0200 hdu r274006 : #i93645# stlport needs libmath, use solar minor version to find matching libs 2009-07-15 09:21:13 +0200 hdu r273989 : #i100000# avoid compile warning 2009-07-14 12:19:08 +0200 hdu r273963 : CWS-TOOLING: rebase CWS graphite01 to trunk@273858 (milestone: DEV300:m52) 2009-07-13 06:54:56 +0200 kstribley r273912 : change to use standard file headers 2009-07-13 05:39:14 +0200 kstribley r273911 : Remove unnecessary change to configure.in as reported by Rene 2009-07-10 16:58:44 +0200 hdu r273902 : #i100000# fix compile for precompiled-header support 2009-07-02 13:48:26 +0200 kstribley r273647 : #69129# fix a graphite bug which could crash with fonts containing obscure GDL positioning rules 2009-07-02 01:44:02 +0200 rene r273616 : #i10000# we need to link with -licuuc 2009-07-01 04:02:20 +0200 kstribley r273540 : restore missing sdf files from base 2009-07-01 04:01:40 +0200 kstribley r273539 : restore missing sdf files from base 2009-07-01 04:01:12 +0200 kstribley r273538 : restore missing sdf files from base 2009-07-01 03:59:41 +0200 kstribley r273537 : restore missing sdf files from base 2009-06-29 10:16:51 +0200 kstribley r273456 : #i69129# fixes a bug which caused occasional incorrect linebreaking when graphite is asked to render a part of a cluster not containing a base 2009-06-27 10:43:58 +0200 kstribley r273445 : #i69129# added kashida support for justified RTL text 2009-06-01 12:57:06 +0200 kstribley r272476 : CWS-TOOLING: rebase CWS graphite01 to trunk@272291 (milestone: DEV300:m49) 2009-05-26 10:50:06 +0200 kstribley r272286 : #i69129# fixes a build error when NDEBUG is not defined 2009-05-25 13:14:06 +0200 kstribley r272237 : #i69129# enable debugging by fixing compile warnings 2009-05-25 13:07:47 +0200 kstribley r272234 : #i69129# added env variable to disable GRAPHITE at run time on linux and fixed a bug with a rare attachment sequence 2009-04-20 17:39:25 +0200 kstribley r271001 : CWS-TOOLING: rebase CWS graphite01 to trunk@270723 (milestone: DEV300:m46) 2009-04-18 07:11:33 +0200 kstribley r270957 : #i101178# attempt to fix buildbot builds by reordering configure.in 2009-04-14 17:37:07 +0200 kstribley r270801 : #i93645# tweak configure to enable graphite by default on windows and linux to assist testing with tinderbox build 2009-04-14 16:33:17 +0200 kstribley r270796 : #i96925# another fix for rtl fallback and add optional debug info in MultiSalLayout 2009-04-08 13:27:55 +0200 kstribley r270641 : #i69129# fix features after a bad merge 2009-04-08 13:26:34 +0200 kstribley r270640 : #i69129# add a patch for WinFont 2009-03-24 12:37:54 +0100 kstribley r269937 : #i69129# fix build error due to locale being included in method for features 2009-03-24 12:36:10 +0100 kstribley r269936 : #i93645# change patch variable and fix configure 2009-03-20 04:18:56 +0100 kstribley r269776 : CWS-TOOLING: rebase CWS graphite01 to trunk@269297 (milestone: DEV300:m43) 2009-03-01 13:10:59 +0100 kstribley r268622 : added a patch to improve handling of a font with bad graphite language feature tables #i93645# 2009-02-12 04:50:51 +0100 kstribley r267631 : #i93645# fix windows build for graphite 2.3.1 and remove unnecessary patch 2009-02-10 04:48:50 +0100 kstribley r267535 : #i93645# fix a build error with stlport on Ubuntu 8.10 x86 2009-02-10 03:51:10 +0100 kstribley r267534 : #i69129# remove legacy config_office 2009-02-07 19:12:54 +0100 kstribley r267482 : #i93645# upgrade to using silgraphite-2.3.1 2009-02-02 18:17:57 +0100 kstribley r267290 : #i69129# backout unwanted checkin 2009-02-02 17:44:03 +0100 kstribley r267281 : #i69129# backout erroneous update to aclocal.m4 2009-02-01 10:05:03 +0100 kstribley r267236 : #i69129# fix build error due to locale being added to set font attributes 2009-02-01 06:02:52 +0100 kstribley r267235 : #i69129# fix erroneous merge 2009-01-31 16:24:56 +0100 kstribley r267234 : #i69129# update configure.in solenv.in in their new locations with enable graphite 2009-01-31 10:53:18 +0100 kstribley r267232 : CWS-TOOLING: rebase CWS graphite01 to trunk@267171 (milestone: DEV300:m41) 2008-12-17 04:17:33 +0100 kstribley r265577 : #i93645# remove superfluous autoreconf check and autoconf patch 2008-12-16 10:07:20 +0100 rene r265529 : fix aclocal.m4 breakage 2008-12-16 05:13:29 +0100 kstribley r265520 : #i93645# change to autoconf && configure 2008-12-16 04:39:48 +0100 kstribley r265519 : #i93645# modified LD_FLAGS so that system graphite isn't pulled in by accident and fixed autoconf problem 2008-12-15 14:16:25 +0100 rene r265497 : check for working STL 2008-12-15 12:53:39 +0100 rene r265473 : revert broken check 2008-12-15 11:59:21 +0100 kstribley r265472 : #i93645# added check for system STL, since this is a requirement for system graphite to work correctly and moved the position of the check further down 2008-12-15 11:55:34 +0100 kstribley r265471 : #i93645# remove references to gr3ooo to allow system graphite to be used 2008-12-12 18:48:18 +0100 rene r265437 : fix link for system-graphite 2008-12-12 18:46:45 +0100 rene r265436 : the tarball is in graphite, remove obsolete check 2008-12-12 18:22:22 +0100 rene r265433 : typo; re-autoconf 2008-12-12 17:35:26 +0100 rene r265432 : actually implement SYSTEM_GRAPHIT checks (as already checked for in makefile.mks) but remove the checks in graphit itself and move to BUILD_TYPE 2008-12-12 08:08:33 +0100 kstribley r265387 : #i69129# 2 of the patched files need windows line endings so patch works on linux as well as windows 2008-12-12 08:04:41 +0100 kstribley r265386 : #i69129# rtl fallback fix which prevents caching of segments with fallback 2008-12-08 04:28:12 +0100 kstribley r264969 : results of running autoconf with graphite config changes #i69129# 2008-12-05 08:12:47 +0100 kstribley r264886 : backout unintential change at r264884 2008-12-05 06:26:33 +0100 kstribley r264884 : #i96925# fixes for uniscribe fallback 2008-12-05 06:11:37 +0100 kstribley r264883 : #i69129# improvements to windows graphite code, including caching of sila table lookup 2008-12-02 13:28:51 +0100 kstribley r264694 : #i93645# add graphite library and append to patch 2008-11-27 06:47:10 +0100 kstribley r264445 : #69129# fix rtl loop bug and rtl caching problem 2008-11-27 06:42:20 +0100 kstribley r264444 : add caching for GraphiteFontAdaptor 2008-11-14 15:57:03 +0100 kstribley r263681 : #69129# add graphite addtional files from cvs 2008-11-14 15:54:47 +0100 kstribley r263680 : #69129# fix for modified resolution api 2008-11-13 16:24:09 +0100 kstribley r263652 : #69129# add skeleton to build graphite module library 2008-11-13 16:22:19 +0100 kstribley r263651 : #69129# add skeleton to build graphite module library 2008-11-13 16:16:10 +0100 kstribley r263650 : #69129# migrate from cvs 2008-11-13 15:26:54 +0100 kstribley r263646 : #69129# add a module for the graphite library
2009-08-17 14:12:14 +00:00
else
AC_MSG_RESULT([internal])
SYSTEM_GRAPHITE=NO
BUILD_TYPE="$BUILD_TYPE GRAPHITE"
fi
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
CWS-TOOLING: integrate CWS graphite01 2009-08-06 11:09:01 +0200 hdu r274708 : #i10000# fix build breaker for SYSTEM_GRAPHITE=NO 2009-07-21 12:01:52 +0200 hdu r274174 : #i93645# fix include files for EXT_USE_STLPORT 2009-07-21 11:51:07 +0200 hdu r274173 : #i93645# convert line-endings of files to be patched 2009-07-21 10:49:01 +0200 hdu r274170 : #i93645# adjust makefile.vc8 for HH-RelEng env (thanks ause) 2009-07-20 05:21:32 +0200 kstribley r274105 : attempt to fix Windows build error caused by NULL variable in nmake file 2009-07-16 10:22:36 +0200 hdu r274032 : #i69129# also use solar minor version to find graphite lib 2009-07-16 05:36:06 +0200 kstribley r274029 : allow windows build to have Graphite disabled with SAL_DISABLE_GRAPHITE 2009-07-15 13:59:22 +0200 hdu r274011 : #i69129# default to ENABLE_GRAPHITE=TRUE 2009-07-15 13:19:54 +0200 hdu r274008 : #i93645# ignore compile warnings for graphite 2009-07-15 13:18:25 +0200 hdu r274006 : #i93645# stlport needs libmath, use solar minor version to find matching libs 2009-07-15 09:21:13 +0200 hdu r273989 : #i100000# avoid compile warning 2009-07-14 12:19:08 +0200 hdu r273963 : CWS-TOOLING: rebase CWS graphite01 to trunk@273858 (milestone: DEV300:m52) 2009-07-13 06:54:56 +0200 kstribley r273912 : change to use standard file headers 2009-07-13 05:39:14 +0200 kstribley r273911 : Remove unnecessary change to configure.in as reported by Rene 2009-07-10 16:58:44 +0200 hdu r273902 : #i100000# fix compile for precompiled-header support 2009-07-02 13:48:26 +0200 kstribley r273647 : #69129# fix a graphite bug which could crash with fonts containing obscure GDL positioning rules 2009-07-02 01:44:02 +0200 rene r273616 : #i10000# we need to link with -licuuc 2009-07-01 04:02:20 +0200 kstribley r273540 : restore missing sdf files from base 2009-07-01 04:01:40 +0200 kstribley r273539 : restore missing sdf files from base 2009-07-01 04:01:12 +0200 kstribley r273538 : restore missing sdf files from base 2009-07-01 03:59:41 +0200 kstribley r273537 : restore missing sdf files from base 2009-06-29 10:16:51 +0200 kstribley r273456 : #i69129# fixes a bug which caused occasional incorrect linebreaking when graphite is asked to render a part of a cluster not containing a base 2009-06-27 10:43:58 +0200 kstribley r273445 : #i69129# added kashida support for justified RTL text 2009-06-01 12:57:06 +0200 kstribley r272476 : CWS-TOOLING: rebase CWS graphite01 to trunk@272291 (milestone: DEV300:m49) 2009-05-26 10:50:06 +0200 kstribley r272286 : #i69129# fixes a build error when NDEBUG is not defined 2009-05-25 13:14:06 +0200 kstribley r272237 : #i69129# enable debugging by fixing compile warnings 2009-05-25 13:07:47 +0200 kstribley r272234 : #i69129# added env variable to disable GRAPHITE at run time on linux and fixed a bug with a rare attachment sequence 2009-04-20 17:39:25 +0200 kstribley r271001 : CWS-TOOLING: rebase CWS graphite01 to trunk@270723 (milestone: DEV300:m46) 2009-04-18 07:11:33 +0200 kstribley r270957 : #i101178# attempt to fix buildbot builds by reordering configure.in 2009-04-14 17:37:07 +0200 kstribley r270801 : #i93645# tweak configure to enable graphite by default on windows and linux to assist testing with tinderbox build 2009-04-14 16:33:17 +0200 kstribley r270796 : #i96925# another fix for rtl fallback and add optional debug info in MultiSalLayout 2009-04-08 13:27:55 +0200 kstribley r270641 : #i69129# fix features after a bad merge 2009-04-08 13:26:34 +0200 kstribley r270640 : #i69129# add a patch for WinFont 2009-03-24 12:37:54 +0100 kstribley r269937 : #i69129# fix build error due to locale being included in method for features 2009-03-24 12:36:10 +0100 kstribley r269936 : #i93645# change patch variable and fix configure 2009-03-20 04:18:56 +0100 kstribley r269776 : CWS-TOOLING: rebase CWS graphite01 to trunk@269297 (milestone: DEV300:m43) 2009-03-01 13:10:59 +0100 kstribley r268622 : added a patch to improve handling of a font with bad graphite language feature tables #i93645# 2009-02-12 04:50:51 +0100 kstribley r267631 : #i93645# fix windows build for graphite 2.3.1 and remove unnecessary patch 2009-02-10 04:48:50 +0100 kstribley r267535 : #i93645# fix a build error with stlport on Ubuntu 8.10 x86 2009-02-10 03:51:10 +0100 kstribley r267534 : #i69129# remove legacy config_office 2009-02-07 19:12:54 +0100 kstribley r267482 : #i93645# upgrade to using silgraphite-2.3.1 2009-02-02 18:17:57 +0100 kstribley r267290 : #i69129# backout unwanted checkin 2009-02-02 17:44:03 +0100 kstribley r267281 : #i69129# backout erroneous update to aclocal.m4 2009-02-01 10:05:03 +0100 kstribley r267236 : #i69129# fix build error due to locale being added to set font attributes 2009-02-01 06:02:52 +0100 kstribley r267235 : #i69129# fix erroneous merge 2009-01-31 16:24:56 +0100 kstribley r267234 : #i69129# update configure.in solenv.in in their new locations with enable graphite 2009-01-31 10:53:18 +0100 kstribley r267232 : CWS-TOOLING: rebase CWS graphite01 to trunk@267171 (milestone: DEV300:m41) 2008-12-17 04:17:33 +0100 kstribley r265577 : #i93645# remove superfluous autoreconf check and autoconf patch 2008-12-16 10:07:20 +0100 rene r265529 : fix aclocal.m4 breakage 2008-12-16 05:13:29 +0100 kstribley r265520 : #i93645# change to autoconf && configure 2008-12-16 04:39:48 +0100 kstribley r265519 : #i93645# modified LD_FLAGS so that system graphite isn't pulled in by accident and fixed autoconf problem 2008-12-15 14:16:25 +0100 rene r265497 : check for working STL 2008-12-15 12:53:39 +0100 rene r265473 : revert broken check 2008-12-15 11:59:21 +0100 kstribley r265472 : #i93645# added check for system STL, since this is a requirement for system graphite to work correctly and moved the position of the check further down 2008-12-15 11:55:34 +0100 kstribley r265471 : #i93645# remove references to gr3ooo to allow system graphite to be used 2008-12-12 18:48:18 +0100 rene r265437 : fix link for system-graphite 2008-12-12 18:46:45 +0100 rene r265436 : the tarball is in graphite, remove obsolete check 2008-12-12 18:22:22 +0100 rene r265433 : typo; re-autoconf 2008-12-12 17:35:26 +0100 rene r265432 : actually implement SYSTEM_GRAPHIT checks (as already checked for in makefile.mks) but remove the checks in graphit itself and move to BUILD_TYPE 2008-12-12 08:08:33 +0100 kstribley r265387 : #i69129# 2 of the patched files need windows line endings so patch works on linux as well as windows 2008-12-12 08:04:41 +0100 kstribley r265386 : #i69129# rtl fallback fix which prevents caching of segments with fallback 2008-12-08 04:28:12 +0100 kstribley r264969 : results of running autoconf with graphite config changes #i69129# 2008-12-05 08:12:47 +0100 kstribley r264886 : backout unintential change at r264884 2008-12-05 06:26:33 +0100 kstribley r264884 : #i96925# fixes for uniscribe fallback 2008-12-05 06:11:37 +0100 kstribley r264883 : #i69129# improvements to windows graphite code, including caching of sila table lookup 2008-12-02 13:28:51 +0100 kstribley r264694 : #i93645# add graphite library and append to patch 2008-11-27 06:47:10 +0100 kstribley r264445 : #69129# fix rtl loop bug and rtl caching problem 2008-11-27 06:42:20 +0100 kstribley r264444 : add caching for GraphiteFontAdaptor 2008-11-14 15:57:03 +0100 kstribley r263681 : #69129# add graphite addtional files from cvs 2008-11-14 15:54:47 +0100 kstribley r263680 : #69129# fix for modified resolution api 2008-11-13 16:24:09 +0100 kstribley r263652 : #69129# add skeleton to build graphite module library 2008-11-13 16:22:19 +0100 kstribley r263651 : #69129# add skeleton to build graphite module library 2008-11-13 16:16:10 +0100 kstribley r263650 : #69129# migrate from cvs 2008-11-13 15:26:54 +0100 kstribley r263646 : #69129# add a module for the graphite library
2009-08-17 14:12:14 +00:00
fi
AC_SUBST(ENABLE_GRAPHITE)
AC_SUBST(SYSTEM_GRAPHITE)
AC_SUBST(GRAPHITE_LIBS)
AC_SUBST(GRAPHITE_CFLAGS)
dnl ===================================================================
2000-09-18 15:18:56 +00:00
dnl Checks for libraries.
dnl ===================================================================
dnl Check for Mac OS X native GUI, which may is now required; the X11 build is no longer supported
dnl See if we have the AppKit framework for building with Quartz graphics.
if test "$_os" = "Darwin"; then
2011-07-04 02:20:26 -05:00
if test "x$with_x" = "xyes"; then
AC_MSG_ERROR([X11 build is no longer supported on MacOSX, please use the native aqua build])
else
AC_MSG_CHECKING([for /System/Library/Frameworks/AppKit.framework])
if test -d "/System/Library/Frameworks/AppKit.framework/"; then
AC_MSG_RESULT([yes])
x_includes="no_x_includes"
x_libraries="no_x_libraries"
dnl disable some things used on other Unix versions but not on the aqua build
enable_gtk=no
else
AC_MSG_ERROR([No AppKit.framewrok found])
fi
fi
fi
if test $_os = iOS -o $_os = Android; then
2011-07-04 02:20:26 -05:00
enable_gtk=no
fi
2000-09-18 15:18:56 +00:00
dnl ***************************************
dnl testing for X libraries and includes...
dnl ***************************************
if test "$_os" = "Darwin" -a "x$x_includes" = "xno_x_includes"; then
2011-07-04 02:20:26 -05:00
dnl Mac OS X using Aqua graphics. Don't check for X11.
:
elif test "$_os" != "WINNT" -a "$_os" != "Android" -a "$_os" != "iOS"; then
2011-07-04 02:20:26 -05:00
AC_PATH_X
AC_PATH_XTRA
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
if test "x$x_includes" = "x"; then
x_includes="default_x_includes"
fi
if test "x$x_libraries" = "x"; then
x_libraries="default_x_libraries"
fi
dnl The variables $x_libraries and $x_includes are set.
if test -z "$x_libraries"; then
AC_MSG_ERROR([No X libraries found]) # Exit
fi
if test -z "$x_includes"; then
AC_MSG_ERROR([No X includes found]) # Exit
fi
CFLAGS="$CFLAGS $X_CFLAGS"
LDFLAGS="$LDFLAGS $X_LDFLAGS $X_LIBS"
AC_CHECK_LIB(X11, XOpenDisplay, x_libs="-lX11 $X_EXTRA_LIBS", [AC_MSG_ERROR([X Development libraries not found])])
dnl Check if the XauDisposeAuth symbol is provided by libXau.
AC_CHECK_LIB(Xau, XauDisposeAuth, XAU_LIBS="-lXau", [])
else
x_includes="no_x_includes"
x_libraries="no_x_libraries"
2000-09-18 15:18:56 +00:00
fi
if test -z "$x_includes"; then
2011-07-04 02:20:26 -05:00
x_includes="no_x_includes"
fi
if test -z "$x_libraries"; then
2011-07-04 02:20:26 -05:00
x_libraries="no_x_libraries"
fi
if test "$x_includes" = "default_x_includes"; then
2011-07-04 02:20:26 -05:00
XINC="/usr/include"
else
2011-07-04 02:20:26 -05:00
XINC="$x_includes"
fi
AC_SUBST(XINC)
if test "$x_libraries" = "default_x_libraries"; then
2011-07-04 02:20:26 -05:00
XLIB=`$PKG_CONFIG --variable=libdir x11`
if test "x$XLIB" = x; then
XLIB="/usr/lib"
fi
else
2011-07-04 02:20:26 -05:00
XLIB="$x_libraries"
fi
AC_SUBST(XLIB)
AC_SUBST(XAU_LIBS)
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$_os" != "Android" -a "$_os" != "iOS"; then
2011-07-04 02:20:26 -05:00
dnl ===================================================================
dnl Check for Composite.h for Mozilla plugin
dnl ===================================================================
AC_CHECK_HEADERS(X11/Composite.h,[],[AC_MSG_ERROR([Xt headers not found])],
2011-04-12 13:14:16 +01:00
[#include <X11/Intrinsic.h>])
fi
dnl ===================================================================
dnl Check for system Xrender
dnl ===================================================================
AC_MSG_CHECKING([whether to link to Xrender])
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
if test -n "$enable_xrender_link" -a "$enable_xrender_link" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
XRENDER_LINK=YES
with_system_xrender_headers=yes
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no, dynamically open it])
XRENDER_LINK=NO
fi
AC_MSG_CHECKING([which Xrender headers to use])
if test -n "$with_system_xrender_headers" -o -n "$with_system_headers" && \
2011-07-04 02:20:26 -05:00
test "$with_system_xrender_headers" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_XRENDER_HEADERS=YES
AC_CHECK_HEADER(X11/extensions/Xrender.h, [],
[AC_MSG_ERROR(Xrender not found. install X)], [])
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([internal])
SYSTEM_XRENDER_HEADERS=NO
BUILD_TYPE="$BUILD_TYPE X11_EXTENSIONS"
fi
if test "$XRENDER_LINK" = "YES"; then
2011-07-04 02:20:26 -05:00
AC_CHECK_LIB(Xrender, XRenderQueryVersion, [],
[AC_MSG_ERROR(libXrender not found or functional)], [])
fi
AC_SUBST(SYSTEM_XRENDER_HEADERS)
AC_SUBST(XRENDER_LINK)
dnl ===================================================================
dnl Check for XRandr
dnl ===================================================================
AC_MSG_CHECKING([whether to enable RandR support])
if test "$test_randr" = "yes" -a \( "$enable_randr" = "yes" -o "$enable_randr" = "TRUE" \) ; then
2011-07-04 02:20:26 -05:00
if test -z "$enable_randr_link" -o "$enable_randr_link" = "no"; then
XRANDR_DLOPEN="TRUE"
AC_MSG_RESULT([configured to dlopen libXrandr at runtime])
else
AC_MSG_RESULT([yes])
XRANDR_DLOPEN="FALSE"
PKG_CHECK_MODULES(XRANDR, xrandr >= 1.2, ENABLE_RANDR="TRUE", ENABLE_RANDR="")
if test "$ENABLE_RANDR" != "TRUE"; then
AC_CHECK_HEADER(X11/extensions/Xrandr.h, [],
[AC_MSG_ERROR([X11/extensions/Xrandr.h could not be found. X11 dev missing?])], [])
2011-07-04 02:20:26 -05:00
XRANDR_CFLAGS=" "
AC_CHECK_LIB(Xrandr, XRRQueryExtension, [],
[ AC_MSG_ERROR(libXrandr not found or functional) ], [])
2011-07-04 02:20:26 -05:00
XRANDR_LIBS="-lXrandr "
ENABLE_RANDR="TRUE"
fi
fi
else
2011-07-04 02:20:26 -05:00
ENABLE_RANDR=""
AC_MSG_RESULT([no])
fi
AC_SUBST(XRANDR_DLOPEN)
AC_SUBST(XRANDR_CFLAGS)
AC_SUBST(XRANDR_LIBS)
AC_SUBST(ENABLE_RANDR)
dnl ===================================================================
dnl Check for building neon
dnl ===================================================================
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_MSG_CHECKING([whether to use neon])
if test "$enable_neon" = "no"; then
AC_MSG_RESULT([no])
DISABLE_NEON=TRUE
AC_SUBST(DISABLE_NEON)
else
AC_MSG_RESULT([yes])
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
dnl ===================================================================
dnl Check for system neon
dnl ===================================================================
AC_MSG_CHECKING([which neon to use])
if test -n "$with_system_neon" -o -n "$with_system_libs" && \
2011-07-04 02:20:26 -05:00
test "$with_system_neon" != "no"; then
AC_MSG_RESULT([external])
PKG_CHECK_MODULES(NEON, neon >= 0.26.0, , AC_MSG_ERROR([you need neon >= 0.26.x for system-neon]))
NEON_VERSION="`$PKG_CONFIG --modversion neon | $SED 's/\.//g'`"
NEON_CFLAGS="$NEON_CFLAGS -DSYSTEM_NEON -DUSE_DAV_LOCKS=1"
SYSTEM_NEON=YES
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libtasn1-3.dll libgnutls-26.dll libneon-27.dll"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
else
AC_MSG_RESULT([internal])
SYSTEM_NEON=NO
NEON_LIBS=-lneon
NEON_CFLAGS=
BUILD_TYPE="$BUILD_TYPE NEON"
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
fi
2009-09-23 11:08:28 +00:00
AC_SUBST(SYSTEM_NEON)
AC_SUBST(NEON_VERSION)
AC_SUBST(NEON_LIBS)
AC_SUBST(NEON_CFLAGS)
fi
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
dnl ===================================================================
2009-09-23 11:08:28 +00:00
dnl Check for system openssl
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
dnl ===================================================================
2011-02-27 09:47:03 +01:00
if test "$_os" = "Darwin" -o "$_os" = "NetBSD" -o "$_os" = "OpenBSD" -o \
"$_os" = "DragonFly" && test "$with_system_openssl" != "no"; then
2011-07-04 02:20:26 -05:00
with_system_openssl=yes
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
fi
AC_MSG_CHECKING([which libssl to use])
if test -n "$with_system_openssl" -o -n "$with_system_libs" && \
test "$with_system_openssl" != "no"; then
AC_MSG_RESULT([external])
# Mac OS builds should get out without extra stuff is the Mac porters'
# wish. And pkg-config is although Xcode ships a .pc for openssl
if test "$_os" = "Darwin" -o "$_os" = "NetBSD" -o "$_os" = "OpenBSD" -o \
2011-02-27 09:47:03 +01:00
"$_os" = "DragonFly"; then
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
OPENSSL_CFLAGS=
OPENSSL_LIBS="-lssl -lcrypto"
else
PKG_CHECK_MODULES( OPENSSL, openssl )
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
fi
SYSTEM_OPENSSL=YES
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libssl-8.dll libcrypto-8.dll"
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
else
AC_MSG_RESULT([internal])
SYSTEM_OPENSSL=NO
BUILD_TYPE="$BUILD_TYPE OPENSSL"
fi
AC_SUBST(SYSTEM_OPENSSL)
AC_SUBST(OPENSSL_CFLAGS)
AC_SUBST(OPENSSL_LIBS)
dnl ===================================================================
dnl Check for system redland
dnl ===================================================================
AC_MSG_CHECKING([which redland library to use])
if test -n "$with_system_redland" -o -n "$with_system_libs" && \
2011-07-04 02:20:26 -05:00
test "$with_system_redland" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_REDLAND=YES
2011-07-04 02:20:26 -05:00
dnl versions before 1.0.8 write RDF/XML that is useless for ODF (@xml:base)
PKG_CHECK_MODULES(REDLAND, redland >= 1.0.8)
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libraptor-1.dll librasqal-2.dll libsqlite3-0.dll librdf-0.dll"
else
AC_MSG_RESULT([internal])
BUILD_TYPE="$BUILD_TYPE REDLAND"
SYSTEM_REDLAND=NO
fi
AC_SUBST(SYSTEM_REDLAND)
AC_SUBST(REDLAND_CFLAGS)
AC_SUBST(REDLAND_LIBS)
dnl ===================================================================
dnl Check for system hunspell
dnl ===================================================================
AC_MSG_CHECKING([which libhunspell to use])
if test -n "$with_system_hunspell" -o -n "$with_system_libs" && \
2011-07-04 02:20:26 -05:00
test "$with_system_hunspell" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_HUNSPELL=YES
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_LANG_PUSH([C++])
PKG_CHECK_MODULES(HUNSPELL, hunspell, HUNSPELL_PC="TRUE", HUNSPELL_PC="" )
if test "$HUNSPELL_PC" != "TRUE"; then
2011-07-04 02:20:26 -05:00
AC_CHECK_HEADER(hunspell.hxx, [],
[
AC_CHECK_HEADER(hunspell/hunspell.hxx, [ HUNSPELL_CFLAGS=-I/usr/include/hunspell ],
[AC_MSG_ERROR(hunspell headers not found.)], [])
], [])
AC_CHECK_LIB(hunspell, main, [],
[ AC_MSG_ERROR(hunspell library not found.) ], [])
2011-07-04 02:20:26 -05:00
HUNSPELL_LIBS=-lhunspell
fi
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_LANG_POP([C++])
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libhunspell-1.3-0.dll"
else
AC_MSG_RESULT([internal])
SYSTEM_HUNSPELL=NO
BUILD_TYPE="$BUILD_TYPE HUNSPELL"
fi
AC_SUBST(SYSTEM_HUNSPELL)
AC_SUBST(HUNSPELL_CFLAGS)
AC_SUBST(HUNSPELL_LIBS)
dnl ===================================================================
dnl Checking for altlinuxhyph
dnl ===================================================================
AC_MSG_CHECKING([which altlinuxhyph to use])
if test -n "$with_system_altlinuxhyph" -o -n "$with_system_libs" && \
2011-07-04 02:20:26 -05:00
test "$with_system_altlinuxhyph" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_HYPH=YES
AC_CHECK_HEADER(hyphen.h, [],
[ AC_MSG_ERROR(altlinuxhyph headers not found.)], [])
AC_CHECK_MEMBER(struct _HyphenDict.cset, [],
[ AC_MSG_ERROR(no. You are sure you have altlinuyhyph headers?)],
[#include <hyphen.h>])
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_CHECK_LIB(hyphen, hnj_hyphen_hyphenate2, [HYPHEN_LIB=-lhyphen],
[ AC_MSG_ERROR(altlinuxhyph library not found or too old.)], [])
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
if test -z "$HYPHEN_LIB"; then
2011-07-04 02:20:26 -05:00
AC_CHECK_LIB(hyph, hnj_hyphen_hyphenate2, [HYPHEN_LIB=-lhyph],
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
[ AC_MSG_ERROR(altlinuxhyph library not found or too old.)], [])
fi
if test -z "$HYPHEN_LIB"; then
2011-07-04 02:20:26 -05:00
AC_CHECK_LIB(hnj, hnj_hyphen_hyphenate2, [HYPHEN_LIB=-lhnj],
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
[ AC_MSG_ERROR(altlinuxhyph library not found or too old.)], [])
fi
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libhyphen-0.dll"
else
AC_MSG_RESULT([internal])
SYSTEM_HYPH=NO
2010-01-28 16:19:59 +01:00
BUILD_TYPE="$BUILD_TYPE HYPHEN"
fi
AC_SUBST(SYSTEM_HYPH)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_SUBST(HYPHEN_LIB)
dnl ===================================================================
dnl Checking for mythes
dnl ===================================================================
AC_MSG_CHECKING([which mythes to use])
if test -n "$with_system_mythes" -o -n "$with_system_libs" && \
2011-07-04 02:20:26 -05:00
test "$with_system_mythes" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_MYTHES=YES
AC_LANG_PUSH([C++])
PKG_CHECK_MODULES(MYTHES, mythes, MYTHES_PKGCONFIG=yes, MYTHES_PKGCONFIG=no)
if test "$MYTHES_PKGCONFIG" = "no"; then
AC_CHECK_HEADER(mythes.hxx, [],
[ AC_MSG_ERROR(mythes.hxx headers not found.)], [])
AC_CHECK_LIB(mythes-1.2, main, [],
[ MYTHES_FOUND=no], [])
2011-07-04 02:20:26 -05:00
if test "$MYTHES_FOUND" = "no"; then
AC_CHECK_LIB(mythes, main, [MYTHES_FOUND=yes],
[ MYTHES_FOUND=no], [])
fi
if test "$MYTHES_FOUND" = "no"; then
AC_MSG_ERROR([mythes library not found!.])
fi
fi
AC_LANG_POP([C++])
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libmythes-1.2-0.dll"
else
AC_MSG_RESULT([internal])
SYSTEM_MYTHES=NO
BUILD_TYPE="$BUILD_TYPE MYTHES"
fi
AC_SUBST(SYSTEM_MYTHES)
AC_SUBST(MYTHES_CFLAGS)
AC_SUBST(MYTHES_LIBS)
dnl ===================================================================
dnl Checking for lpsolve
dnl ===================================================================
AC_MSG_CHECKING([which lpsolve to use])
if test -n "$with_system_lpsolve" -o -n "$with_system_libs" && \
2011-07-04 02:20:26 -05:00
test "$with_system_lpsolve" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_LPSOLVE=YES
AC_CHECK_HEADER(lpsolve/lp_lib.h, [],
[ AC_MSG_ERROR(lpsolve headers not found.)], [])
# some systems need this. Like Ubuntu....
AC_CHECK_LIB(m, floor)
AC_CHECK_LIB(dl, dlopen)
AC_CHECK_LIB(lpsolve55, make_lp, ,
[ AC_MSG_ERROR(lpsolve library not found or too old.)], [])
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS lpsolve55.dll"
else
AC_MSG_RESULT([internal])
SYSTEM_LPSOLVE=NO
BUILD_TYPE="$BUILD_TYPE LPSOLVE"
fi
AC_SUBST(SYSTEM_LPSOLVE)
2010-07-16 08:47:44 +01:00
dnl ===================================================================
dnl Checking for libexttextcat
2010-07-16 08:47:44 +01:00
dnl ===================================================================
AC_MSG_CHECKING([which libexttextcat to use])
if test -n "$with_system_libexttextcat" -o -n "$with_system_libs" && \
test "$with_system_libexttextcat" != "no"; then
2010-07-16 08:47:44 +01:00
AC_MSG_RESULT([external])
SYSTEM_LIBEXTTEXTCAT=YES
PKG_CHECK_MODULES([LIBEXTTEXTCAT], [libexttextcat])
SYSTEM_LIBEXTTEXTCAT_DATA=file://`$PKG_CONFIG --variable=pkgdatadir libexttextcat`
else
2010-07-16 14:44:32 +01:00
AC_MSG_RESULT([internal])
SYSTEM_LIBEXTTEXTCAT=NO
BUILD_TYPE="$BUILD_TYPE LIBEXTTEXTCAT"
fi
AC_SUBST(SYSTEM_LIBEXTTEXTCAT)
AC_SUBST(SYSTEM_LIBEXTTEXTCAT_DATA)
AC_SUBST(LIBEXTTEXTCAT_CFLAGS)
AC_SUBST(LIBEXTTEXTCAT_LIBS)
2010-07-16 14:44:32 +01:00
2000-09-18 15:18:56 +00:00
dnl ***************************************
dnl testing libc version for Linux...
dnl ***************************************
if test "$_os" = "Linux"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([whether libc is >= 2.1.1])
exec 6>/dev/null # no output
AC_CHECK_LIB(c, gnu_get_libc_version, HAVE_LIBC=yes; export HAVE_LIBC)
exec 6>&1 # output on again
if test "$HAVE_LIBC"; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no, upgrade libc])
fi
2000-09-18 15:18:56 +00:00
fi
2010-12-08 18:56:12 +01:00
if test "$_os" != "WINNT"; then
2011-07-04 02:20:26 -05:00
AC_CHECK_FUNCS(getopt, HAVE_GETOPT=YES, [HAVE_GETOPT=NO])
AC_CHECK_FUNCS(readdir_r, HAVE_READDIR_R=YES, [HAVE_READDIR_R=NO])
if test "$HAVE_GETOPT" = "YES" -a "$HAVE_READDIR_R" = "YES"; then
SYSTEM_LIBC=YES
fi
else
2011-07-04 02:20:26 -05:00
HAVE_GETOPT=NO
HAVE_READDIR_R=NO
SYSTEM_LIBC=YES
fi
AC_SUBST(HAVE_GETOPT)
AC_SUBST(HAVE_READDIR_R)
AC_SUBST(SYSTEM_LIBC)
2002-10-02 08:18:56 +00:00
dnl =========================================
dnl Check for the Windows SDK.
2002-10-02 08:18:56 +00:00
dnl =========================================
dnl FIXME: I don't know yet if the Windows SDK works with MinGW, keep it until I know better,
dnl and add "-a \( "$WITH_MINGW" != "yes" \)" then
if test "$_os" = "WINNT"; then
AC_MSG_CHECKING([for Windows SDK])
if test "$build_os" = "cygwin"; then
if test -z "$with_windows_sdk_home"; then
# This first line will detect a February 2003 Microsoft Platform SDK
WINDOWS_SDK_HOME=`./oowintool --windows-sdk-home`
# But there might be also an April 2005 PSDK, unfortunately MS changed
# the registry entry. (we prefer the old version!?)
if test -z "$WINDOWS_SDK_HOME"; then
WINDOWS_SDK_HOME=`cat /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDK/InstalledSDKs/*/Install\ Dir 2> /dev/null | tr '\000' '\n' | head -n 1`
fi
# normalize if found
if test -n "$WINDOWS_SDK_HOME"; then
WINDOWS_SDK_HOME=`cygpath -d "$WINDOWS_SDK_HOME"`
WINDOWS_SDK_HOME=`cygpath -u "$WINDOWS_SDK_HOME"`
fi
else
WINDOWS_SDK_HOME=`cygpath -u "$with_windows_sdk_home"`
fi
fi
if test -n "$WINDOWS_SDK_HOME"; then
# Remove a possible trailing backslash
WINDOWS_SDK_HOME=`echo $WINDOWS_SDK_HOME | $SED 's/\/$//'`
# Problem with current PSDK (iz 49865)
# (What "current" does that mean?)
if test -f "$WINDOWS_SDK_HOME/Lib/libcp.lib"; then
AC_MSG_ERROR([
Some modules do not build correctly with MS Platform SDK - April 2005
Edition if the library ($WINDOWS_SDK_HOME/Lib/libcp.lib) is found.
Remove/rename/backup that file and restart configure. Details about this
problem can be found in issue 49856.])
fi
if test -f "$WINDOWS_SDK_HOME/Include/adoint.h" \
-a -f "$WINDOWS_SDK_HOME/Include/SqlUcode.h" \
-a -f "$WINDOWS_SDK_HOME/Include/usp10.h"; then
HAVE_PSDK_H="yes"
else
HAVE_PSDK_H="no"
fi
if test -f "$WINDOWS_SDK_HOME/lib/user32.lib"; then
HAVE_PSDK_LIB="yes"
else
HAVE_PSDK_LIB="no"
fi
if test "$HAVE_PSDK_H" = "no" -o "$HAVE_PSDK_LIB" = "no"; then
AC_MSG_ERROR([Some (all?) Windows SDK files not found, please check if all needed parts of
the Windows SDK are installed.])
fi
if test ! -x "$WINDOWS_SDK_HOME/bin/msiinfo.exe" \
-o ! -x "$WINDOWS_SDK_HOME/bin/msidb.exe" \
-o ! -x "$WINDOWS_SDK_HOME/bin/uuidgen.exe" \
-o ! -x "$WINDOWS_SDK_HOME/bin/msitran.exe" ; then
AC_MSG_ERROR([Some (all) files of the Windows Installer SDK are missing, please install.])
fi
fi
if test -z "$WINDOWS_SDK_HOME"; then
AC_MSG_RESULT([no, hoping the necessary headers and libraries will be found anyway])
elif echo $WINDOWS_SDK_HOME | grep "v6.1" >/dev/null 2>/dev/null; then
AC_MSG_RESULT([found Windows SDK 6.1 ($WINDOWS_SDK_HOME)])
elif echo $WINDOWS_SDK_HOME | grep "v6.0" >/dev/null 2>/dev/null; then
AC_MSG_RESULT([found Windows SDK 6.0 ($WINDOWS_SDK_HOME)])
elif echo $WINDOWS_SDK_HOME | grep "v7" >/dev/null 2>/dev/null; then
AC_MSG_RESULT([found Windows SDK 7 ($WINDOWS_SDK_HOME)])
else
AC_MSG_ERROR([Found legacy Windows Platform SDK ($WINDOWS_SDK_HOME)])
fi
2002-10-02 08:18:56 +00:00
fi
AC_SUBST(WINDOWS_SDK_HOME)
dnl =========================================
dnl Check for the Microsoft DirectX SDK.
dnl =========================================
if test -n "$ENABLE_DIRECTX" -a "$_os" = "WINNT"; then
AC_MSG_CHECKING([for DirectX SDK])
if test "$build_os" = "cygwin"; then
if test -z "$with_directx_home"; then
dnl A standard installation of the DirectX SDK sets $DXSDK_DIR
if test -n "$DXSDK_DIR"; then
DIRECTXSDK_HOME=`cygpath -d "$DXSDK_DIR"`
DIRECTXSDK_HOME=`cygpath -u "$DIRECTXSDK_HOME"`
fi
# At this point $DIRECTXSDK_HOME might still be undefined. This will lead to
# the "DirectX SDK not found" error later
else
DIRECTXSDK_HOME=`cygpath -u "$with_directx_home"`
fi
# Remove a possible trailing backslash
DIRECTXSDK_HOME=`echo $DIRECTXSDK_HOME | $SED 's/\/$//'`
elif test -n "$with_directx_home"; then
DIRECTXSDK_HOME="$with_directx_home"
fi
if test -f "$DIRECTXSDK_HOME/Include/ddraw.h" -o -f "$DIRECTXSDK_HOME/Include/d3d9.h" ; then
HAVE_DIRECTXSDK_H="yes"
else
HAVE_DIRECTXSDK_H="no"
fi
# MS changed the location of the libraries with Dec 2004 DirectX SDK
if test -d "$DIRECTXSDK_HOME/lib/x86" ; then
DIRECTXSDK_LIB="$DIRECTXSDK_HOME/lib/x86"
else
DIRECTXSDK_LIB="$DIRECTXSDK_HOME/lib"
fi
if test -f "$DIRECTXSDK_LIB/ddraw.lib" -o -f "$DIRECTXSDK_LIB/d3d9.lib" ; then
HAVE_DIRECTXSDK_LIB="yes"
else
HAVE_DIRECTXSDK_LIB="no"
fi
if test "$HAVE_DIRECTXSDK_H" = "yes" -a "$HAVE_DIRECTXSDK_LIB" = "yes"; then
AC_MSG_RESULT([found])
else
AC_MSG_RESULT([no, hoping the necessary headers and libraries will be found anyway])
fi
fi
AC_SUBST(DIRECTXSDK_HOME)
AC_SUBST(DIRECTXSDK_LIB)
dnl ============================================
dnl Check for Nullsoft Scriptable Install System
dnl ============================================
NSIS_PATH=""
if test "$_os" = "WINNT" ; then
if test -z "$with_nsis_path"; then
AC_PATH_PROG(NSIS_PATH, makensis)
if test -n "$NSIS_PATH"; then
NSIS_PATH=`dirname "$NSIS_PATH"`
2011-05-19 19:20:19 +03:00
elif test "$build_os" = "cygwin"; then
AC_MSG_CHECKING([for NSIS])
nsistest=`./oowintool --nsis-dir`;
nsistest=`cygpath -d -m "$nsistest"`
nsistest=`cygpath -u "$nsistest"`
if test -x "$nsistest/nsis.exe"; then
NSIS_PATH="$nsistest"
AC_MSG_RESULT([found ($NSIS_PATH)])
else
AC_MSG_RESULT([no, no self-contained installer will be built.])
fi
fi
else
2011-05-19 19:20:19 +03:00
AC_MSG_CHECKING([for NSIS])
if test "$build_os" = "cygwin"; then
with_nsis_path=`cygpath -u "$with_nsis_path"`
fi
if test -e "$with_nsis_path/makensis$EXEEXT_FOR_BUILD"; then
NSIS_PATH="$with_nsis_path"
fi
if test -z "$NSIS_PATH"; then
AC_MSG_RESULT([no, no self-contained installer will be built.])
else
2011-05-19 19:20:19 +03:00
if test "$build_os" = "cygwin"; then
NSIS_PATH=`cygpath -d "$NSIS_PATH"`
NSIS_PATH=`cygpath -u "$NSIS_PATH"`
fi
AC_MSG_RESULT([found ($NSIS_PATH)])
fi
fi
fi
AC_SUBST(NSIS_PATH)
2000-09-18 15:18:56 +00:00
dnl ***************************************
dnl Checking for bison and flex
2000-09-18 15:18:56 +00:00
dnl ***************************************
AC_PATH_PROG(BISON, bison)
if test -z "$BISON"; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([no bison found in \$PATH, install it])
else
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([the bison version])
_bison_version=`$BISON --version | grep GNU | $SED -e 's@^[[^0-9]]*@@' -e 's@ .*@@' -e 's@,.*@@'`;
_bison_longver=`echo $_bison_version | $AWK -F. '{ print \$1*1000+\$2}'`
INTEGRATION: CWS ooo20040704 (1.64.2); FILE MERGED 2004/08/09 14:29:37 vg 1.64.2.19: RESYNC MERGED 1.65 1.66 Everything below this line will be added to the revision comment. 2004/07/14 14:42:51 vq 1.64.2.18: #i31446# Increase the required cygwin version to 1.5.x and remove some cruft. 2004/07/13 13:21:14 rodarvus 1.64.2.17: #i31369# Checking for gcc 3.4 optimisation bug Issue number: 31369 Reviewed by: waratah 2004/07/09 21:39:47 rene 1.64.2.16: #i23779# Patch to use system libs - remove unneeded AC_MSG_CHECKING's - rename system{_,-}odbc / SYSTEM_ODBC to system{_,-}odbc{_,-}headers / SYSTEM_ODBC_HEADERS - regenerate configure 2004/07/09 15:10:31 cmc 1.64.2.15: #i30891# warn future like-minded persons about ABI incompatability with the system stl 2004/07/07 14:47:07 rene 1.64.2.14: #i31195# beautify exception check message Issue number: Submitted by: Reviewed by: 2004/07/06 12:50:53 rene 1.64.2.13: fix typo, regenerate configure Issue number: Submitted by: Reviewed by: 2004/07/06 12:48:41 rene 1.64.2.12: #i23779# Patch to use system libs - add missing curl configure help - add system-nas and system-neon + checks - check for headers with AC_CHECK_HEADER not AC_TRY_COMPILE Issue number: Submitted by: Reviewed by: 2004/07/06 01:28:52 vq 1.64.2.11: #i26396# Configure check for bison to ensure version <= 1.75 OR >= 1.875 2004/07/05 23:27:54 vq 1.64.2.10: #i30915# Fix detection of localized MS compiler versions. Contributed by Ken Foskey, but slightly changed verson committed. 2004/07/05 14:01:23 cmc 1.64.2.9: #i30801# make curl an optional compile 2004/07/04 12:59:51 waratah 1.64.2.8: #i28835# remove extra space 2004/07/04 03:04:05 waratah 1.64.2.7: #i28835# Implement a switch for non-product builds without full debugging 2004/07/02 16:52:24 cmc 1.64.2.6: #i30801# restrict to db3 2004/06/29 00:52:19 svesik 1.64.2.5: RESYNC: (1.64-1.65); FILE MERGED 2004/06/28 15:15:52 cmc 1.64.2.4: #i30801# allow using system stl if possible 2004/06/28 07:14:23 cmc 1.64.2.3: #i30801 allow using system libs if possible 2004/06/26 13:18:14 waratah 1.64.2.2: Correct message regarding cups 2004/06/26 13:16:07 waratah 1.64.2.1: Remove USE_GCC3 macro, no longer needed
2004-09-08 14:23:49 +00:00
# Accept newer than 1.875 or older(equal) than 1.75
if test "$_bison_longver" -ge 1875 -o "$_bison_longver" -le 1075; then
2011-07-04 02:20:26 -05:00
if test "$_bison_version" = "1.875" ; then
AC_MSG_WARN([suspect ($BISON $_bison_version)])
echo "Suspect ($BISON $_bison_version) suggest upgrade" >> warn
else
AC_MSG_RESULT([checked ($BISON $_bison_version)])
fi
else
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([failed ($BISON $_bison_version need 1.875+ (or 1.75 and older))])
fi
2000-09-18 15:18:56 +00:00
fi
AC_PATH_PROG(FLEX, flex)
if test -z "$FLEX"; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([no flex found in \$PATH, install it])
2000-09-18 15:18:56 +00:00
fi
dnl ***************************************
dnl Checking for patch
dnl ***************************************
AC_PATH_PROG(PATCH, patch)
if test -z "$PATCH"; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([\"patch\" not found in \$PATH, install it])
fi
dnl On Solaris, FreeBSD or MacOS X, check if --with-gnu-patch was used
if test "$_os" = "SunOS" -o "$_os" = "FreeBSD" -o "$_os" = "Darwin"; then
2011-07-04 02:20:26 -05:00
if test -z "$with_gnu_patch"; then
GNUPATCH=$PATCH
else
if test -x "$with_gnu_patch"; then
GNUPATCH=$with_gnu_patch
else
AC_MSG_ERROR([--with-gnu-patch did not point to an executable])
fi
fi
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([whether $GNUPATCH is GNU patch])
if $GNUPATCH --version | grep "Free Software Foundation" >/dev/null 2>/dev/null; then
AC_MSG_RESULT([yes])
else
AC_MSG_ERROR([no, GNU patch needed. install or specify with --with-gnu-patch=/path/to/it])
fi
fi
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
dnl We also need to check for --with-gnu-cp
if test -z "$with_gnu_cp"; then
2011-07-04 02:20:26 -05:00
# check the place where the good stuff is hidden on Solaris...
if test -x /usr/gnu/bin/cp; then
GNUCP=/usr/gnu/bin/cp
else
AC_PATH_PROGS(GNUCP, gnucp cp)
fi
if test -z $GNUCP; then
AC_MSG_ERROR([Neither gnucp nor cp found. Install GNU cp and/or specify --with-gnu-cp=/path/to/it])
fi
else
if test -x "$with_gnu_cp"; then
GNUCP=$with_gnu_cp
else
AC_MSG_ERROR([--with-gnu-cp did not point to an executable])
fi
fi
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([whether $GNUCP is GNU cp from coreutils with preserve= support])
if $GNUCP --version 2>/dev/null | grep "coreutils" >/dev/null 2>/dev/null; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
elif $GNUCP --version 2>/dev/null | grep "GNU fileutils" >/dev/null 2>/dev/null; then
AC_MSG_RESULT([yes])
else
case "$build_os" in
darwin*|netbsd*|openbsd*|freebsd*|dragonfly*|aix*)
2011-07-04 02:20:26 -05:00
GNUCP=''
AC_MSG_RESULT([no gnucp found - using the system's cp command])
;;
*)
AC_MSG_ERROR([no, GNU cp needed. install or specify with --with-gnu-cp=/path/to/it])
;;
esac
fi
AC_SUBST(GNUPATCH)
AC_SUBST(GNUCP)
dnl ***************************************
dnl testing assembler path
dnl ***************************************
ML_EXE=""
if test "$_os" = "WINNT" -a "$WITH_MINGW" != "yes"; then
2011-07-04 02:20:26 -05:00
if test "$CL_X64" = ""; then
assembler=ml.exe
assembler_bin=bin
else
2011-07-04 02:20:26 -05:00
assembler=ml64.exe
assembler_bin=bin/amd64
fi
if test -n "$with_asm_home"; then
with_asm_home=`cygpath -u "$with_asm_home"`
fi
if test -x "$with_asm_home/$assembler"; then
AC_MSG_CHECKING([$assembler assembler path])
AC_MSG_RESULT([$with_asm_home/$assembler])
ML_EXE="$with_asm_home/$assembler"
2011-07-04 02:20:26 -05:00
else
AC_PATH_PROG(ML_EXE, $assembler)
if test -z "$ML_EXE"; then
AC_MSG_CHECKING([$with_cl_home/$assembler_bin/$assembler])
if test -x "$with_cl_home/$assembler_bin/$assembler"; then
with_asm_home=$with_cl_home/$assembler_bin
AC_MSG_RESULT([found])
ML_EXE="$with_cl_home/$assembler_bin/$assembler"
2011-07-04 02:20:26 -05:00
else
AC_MSG_ERROR([Configure did not find $assembler assembler.])
fi
else
with_asm_home="ASM_IN_PATH"
ML_EXE="$assembler"
2011-07-04 02:20:26 -05:00
fi
fi
else
2011-07-04 02:20:26 -05:00
with_asm_home="NO_ASM_HOME"
fi
ASM_HOME="$with_asm_home"
AC_SUBST(ASM_HOME)
AC_SUBST(ML_EXE)
dnl ===================================================================
2011-06-02 02:40:32 +03:00
dnl We need zip and unzip
dnl ===================================================================
2011-06-02 02:40:32 +03:00
AC_PATH_PROG(ZIP, zip)
test -z "$ZIP" && AC_MSG_ERROR([zip is required])
2011-07-25 13:30:32 +02:00
if ! "$ZIP" --filesync < /dev/null 2>/dev/null > /dev/null; then
AC_MSG_ERROR([Zip version 3.0 or newer is required to build, please install or use --with-zip-home],,)
fi
AC_PATH_PROG(UNZIP, unzip)
test -z "$UNZIP" && AC_MSG_ERROR([unzip is required])
dnl ===================================================================
dnl Zip must be a specific type for different build types.
dnl ===================================================================
2011-06-02 02:40:32 +03:00
if test $build_os = cygwin; then
if test -n "`$ZIP -h | grep -i WinNT`" ; then
2011-06-02 02:40:32 +03:00
AC_MSG_ERROR([$ZIP is not the required Cygwin version of Info-ZIP's zip.exe.])
fi
fi
dnl ===================================================================
dnl Test which vclplugs have to be built.
dnl ===================================================================
R=""
GTK3_CFLAGS=""
GTK3_LIBS=""
ENABLE_GTK3=""
if test "x$enable_gtk3" = "xyes"; then
2011-07-04 02:20:26 -05:00
if test "$with_system_cairo" != yes; then
echo "System cairo required for gtk3 support, please use --system-cairo"
fi
PKG_CHECK_MODULES(GTK3, gtk+-3.0 >= 3.0 cairo, ENABLE_GTK3="TRUE", ENABLE_GTK3="")
if test "x$ENABLE_GTK3" = "xTRUE"; then
R="gtk3"
fi
fi
AC_SUBST(GTK3_LIBS)
AC_SUBST(GTK3_CFLAGS)
AC_SUBST(ENABLE_GTK3)
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([which VCLplugs shall be built])
ENABLE_GTK=""
if test "x$enable_gtk" = "xyes"; then
ENABLE_GTK="TRUE"
R="gtk $R"
fi
AC_SUBST(ENABLE_GTK)
ENABLE_KDE=""
if test "x$enable_kde" = "xyes"; then
ENABLE_KDE="TRUE"
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
R="$R kde"
fi
AC_SUBST(ENABLE_KDE)
ENABLE_KDE4=""
if test "x$enable_kde4" = "xyes"; then
ENABLE_KDE4="TRUE"
R="$R kde4"
fi
AC_SUBST(ENABLE_KDE4)
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
if test -z "$R"; then
AC_MSG_RESULT([none])
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
else
AC_MSG_RESULT([$R])
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
fi
dnl ===================================================================
dnl GCONF check
dnl ===================================================================
ENABLE_GCONF=""
AC_MSG_CHECKING([whether to enable GConf support])
2011-04-15 13:36:58 +03:00
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_gconf" = "yes"; then
ENABLE_GCONF="TRUE"
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES( GCONF, gconf-2.0 )
else
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_GCONF)
dnl ===================================================================
dnl Gnome VFS check
dnl ===================================================================
ENABLE_GNOMEVFS=""
AC_MSG_CHECKING([whether to enable GNOME VFS support])
INTEGRATION: CWS configure9 (1.111.2); FILE MERGED 2005/04/08 15:43:49 rene 1.111.2.16: #i46873# don't use sed -r in java check.... 2005/04/07 21:15:38 rene 1.111.2.15: fix cut'n'paste errors and also add x_libraries to to check. 2005/04/06 23:04:25 rene 1.111.2.14: move fi to right place... 2005/04/05 12:51:42 rene 1.111.2.13: more help whitespace improvements, and make help not exceed 80 lines where possible, 2005/04/05 10:10:12 rene 1.111.2.12: more test -n fixes don't emit a warning when PKGFORMAT is rpm / pkg and we don't have external EPM, in which case EPM_VERSION isn't set. Disable that check completely when using internal EPM since we know our epm is patched. 2005/04/04 20:37:32 rene 1.111.2.11: #i46624# whitespace fixes (alignment of help options) 2005/04/04 13:19:49 rene 1.111.2.10: RESYNC: (1.111-1.112); FILE MERGED 2005/04/04 12:51:19 rene 1.111.2.9: more crashup/symbol help fixes 2005/04/04 10:21:18 rene 1.111.2.8: don't enable Gtk/GNOME VFS per default for Mac OS X 2005/04/04 10:13:14 rene 1.111.2.7: more option help improvements 2005/04/04 10:01:55 rene 1.111.2.6: #i46572# make java check work if path contains space, as in Windows, thanks vq 2005/03/31 14:40:43 rene 1.111.2.5: #i46018# fix crashdump check output and change help test to say --disable-foo when the option is enabled per default... 2005/03/31 14:23:59 rene 1.111.2.4: fix more checks wrt test -n and --disable-foo 2005/03/31 14:06:38 rene 1.111.2.3: #i45934# fix PASF check to make --disable-pasf work 2005/03/30 18:40:39 rene 1.111.2.2: #i46310# check for moc 2005/03/30 08:43:05 rene 1.111.2.1: #i46081# check for fontconfig version
2005-04-11 07:52:24 +00:00
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_gnome_vfs" = "yes"; then
ENABLE_GNOMEVFS="TRUE"
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES( GNOMEVFS, gnome-vfs-2.0 >= 2.6.0 )
if test "$ENABLE_GCONF" != "TRUE"; then
PKG_CHECK_MODULES( GCONF, gconf-2.0 )
fi
else
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_GNOMEVFS)
dnl ===================================================================
dnl Check whether the gtk 2.0 libraries are available.
dnl ===================================================================
GTK_CFLAGS=""
GTK_LIBS=""
ENABLE_SYSTRAY_GTK=""
ENABLE_DBUS=""
if test "$test_gtk" = "yes"; then
2011-07-04 02:20:26 -05:00
if test "$ENABLE_GTK" = "TRUE" ; then
PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.4 gdk-pixbuf-xlib-2.0 >= 2.2 ,,AC_MSG_ERROR([requirements to build the gtk-plugin not met. Use --disable-gtk or install the missing packages]))
PKG_CHECK_MODULES(GTHREAD, gthread-2.0,,AC_MSG_ERROR([requirements to build the gtk-plugin not met. Use --disable-gtk or install the missing packages]))
BUILD_TYPE="$BUILD_TYPE GTK"
if test "x$enable_systray" = "xyes"; then
PKG_CHECK_MODULES( GTK210, gtk+-2.0 >= 2.10.0,
[ ENABLE_SYSTRAY_GTK="TRUE" ],
[ ENABLE_SYSTRAY_GTK="" ])
fi
AC_MSG_CHECKING([whether to enable DBUS support])
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_dbus" = "yes"; then
ENABLE_DBUS="TRUE"
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES( DBUS, dbus-glib-1 >= 0.70 )
else
AC_MSG_RESULT([no])
fi
AC_MSG_CHECKING([whether to enable GIO support])
if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$enable_gio" = "yes"; then
if test "$ENABLE_GNOMEVFS" = "TRUE" ; then
AC_MSG_ERROR([please use --enable-gio only together with --disable-gnome-vfs.])
fi
ENABLE_GIO="TRUE"
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES( GIO, gio-2.0 )
else
AC_MSG_RESULT([no])
fi
fi
fi
AC_SUBST(ENABLE_GIO)
AC_SUBST(ENABLE_DBUS)
AC_SUBST(ENABLE_SYSTRAY_GTK)
AC_SUBST(GTK_CFLAGS)
AC_SUBST(GTK_LIBS)
AC_SUBST(GTHREAD_CFLAGS)
AC_SUBST(GTHREAD_LIBS)
PKG_CHECK_MODULES( LIBPNG, libpng, ENABLE_QUICKSTART_LIBPNG="TRUE", ENABLE_QUICKSTART_LIBPNG="" )
AC_SUBST(LIBPNG_LIBS)
AC_SUBST(LIBPNG_CFLAGS)
AC_MSG_CHECKING([whether to enable libpng linking in quickstarter])
if test "x$enable_unix_libpng" = "xyes"; then
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
2011-07-04 02:20:26 -05:00
ENABLE_QUICKSTART_LIBPNG=""
fi
AC_SUBST(ENABLE_QUICKSTART_LIBPNG)
SPLIT_APP_MODULES=""
if test "$enable_split_app_modules" = "yes"; then
SPLIT_APP_MODULES="YES"
fi
AC_SUBST(SPLIT_APP_MODULES)
SPLIT_OPT_FEATURES=""
if test "$enable_split_opt_features" = "yes"; then
SPLIT_OPT_FEATURES="YES"
fi
AC_SUBST(SPLIT_OPT_FEATURES)
ENABLE_CAIRO_CANVAS="FALSE"
if test "$enable_cairo_canvas" = "yes" ; then
ENABLE_CAIRO_CANVAS="TRUE"
fi
AC_SUBST(ENABLE_CAIRO_CANVAS)
dnl ===================================================================
dnl Check whether the GStreamer libraries are available.
dnl ===================================================================
ENABLE_GSTREAMER=""
if test "$build_gstreamer" = "yes"; then
AC_MSG_CHECKING([whether to enable the GStreamer avmedia backend])
if test "x$enable_gstreamer" != "xno" ; then
ENABLE_GSTREAMER="TRUE"
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES( GSTREAMER, gstreamer-0.10 gstreamer-plugins-base-0.10 )
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
fi
fi
AC_SUBST(ENABLE_GSTREAMER)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
dnl ===================================================================
dnl Check whether the OpenGL libraries are available
dnl ===================================================================
AC_MSG_CHECKING([whether to build the OpenGL Transitions component])
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
ENABLE_OPENGL=
if test "$_os" = "Darwin" ; then
2011-07-04 02:20:26 -05:00
# We use frameworks on Mac OS X, no need for detail checks
ENABLE_OPENGL=TRUE
SYSTEM_MESA_HEADERS=YES
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
else
2011-07-04 02:20:26 -05:00
if test "x$enable_opengl" != "xno" ; then
if test "$_os" != "WINNT"; then
save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS -lm"
AC_MSG_RESULT([yes])
AC_CHECK_LIB(GL, main, [],
[AC_MSG_ERROR(libGL not installed or functional)], [])
2011-07-04 02:20:26 -05:00
AC_CHECK_LIB(GLU, main, [],
[AC_MSG_ERROR(libGLU not installed or functional)], [])
2011-07-04 02:20:26 -05:00
ENABLE_OPENGL=TRUE
LDFLAGS=$save_LDFLAGS
dnl ===================================================================
dnl Check for system Mesa
dnl ===================================================================
AC_MSG_CHECKING([which Mesa headers to use])
if test -n "$with_system_mesa_headers" -o -n "$with_system_headers" && \
test "$with_system_mesa_headers" != "no"; then
AC_MSG_RESULT([external])
SYSTEM_MESA_HEADERS=YES
AC_LANG_PUSH(C)
AC_CHECK_HEADER(GL/glxext.h, [],
[ AC_MSG_ERROR(mesa headers not found.)], [#include <GL/glx.h>])
AC_MSG_CHECKING([whether GL/glxext.h defines PFNGLXBINDTEXIMAGEEXTPROC])
AC_EGREP_HEADER(PFNGLXBINDTEXIMAGEEXTPROC, GL/glxext.h, [AC_MSG_RESULT([yes])], AC_MSG_ERROR(no))
AC_LANG_POP(C)
else
AC_MSG_RESULT([internal])
SYSTEM_MESA_HEADERS=NO
BUILD_TYPE="$BUILD_TYPE MESA"
fi
else
AC_MSG_RESULT([not on Windows])
fi
2011-07-04 02:20:26 -05:00
else
AC_MSG_RESULT([no])
fi
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
fi
AC_SUBST(SYSTEM_MESA_HEADERS)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_SUBST(ENABLE_OPENGL)
# presenter minimizer extension?
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_MSG_CHECKING([whether to build the Presentation Minimizer extension])
if test "x$enable_ext_presenter_minimizer" != "xno" -a "x$enable_extension_integration" != "xno"; then
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_MSG_RESULT([yes])
ENABLE_MINIMIZER=YES
else
AC_MSG_RESULT([no])
ENABLE_MINIMIZER=NO
SCPDEFS="$SCPDEFS -DWITHOUT_EXTENSION_MINIMIZER"
fi
AC_SUBST(ENABLE_MINIMIZER)
# presenter console extension?
AC_MSG_CHECKING([whether to build the Presenter Console extension])
if test "x$enable_ext_presenter_console" != "xno" -a "x$enable_extension_integration" != "xno"; then
AC_MSG_RESULT([yes])
ENABLE_PRESENTER_SCREEN=YES
else
AC_MSG_RESULT([no])
ENABLE_PRESENTER_SCREEN=NO
SCPDEFS="$SCPDEFS -DWITHOUT_EXTENSION_PRESENTER_SCREEN"
fi
AC_SUBST(ENABLE_PRESENTER_SCREEN)
# pdf import extension?
AC_MSG_CHECKING([whether to build the PDF Import extension])
if test "x$enable_ext_pdfimport" != "xno" -a "x$enable_extension_integration" != "xno"; then
AC_MSG_RESULT([yes])
ENABLE_PDFIMPORT=YES
2008-10-10 13:02:43 +00:00
dnl ===================================================================
dnl Check for system poppler
dnl ===================================================================
AC_MSG_CHECKING([which pdf backend to use])
if test -n "$with_system_poppler" -o -n "$with_system_libs" && \
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
test "$with_system_poppler" != "no"; then
2008-10-10 13:02:43 +00:00
AC_MSG_RESULT([external])
SYSTEM_POPPLER=YES
PKG_CHECK_MODULES( POPPLER, poppler >= 0.8.0 )
AC_LANG_PUSH([C++])
save_CXXFLAGS=$CXXFLAGS
save_CPPFLAGS=$CPPFLAGS
CXXFLAGS="$CXXFLAGS $POPPLER_CFLAGS"
CPPFLAGS="$CPPFLAGS $POPPLER_CFLAGS"
AC_CHECK_HEADER([cpp/poppler-version.h], [],
[AC_MSG_ERROR([cpp/poppler-version.h not found. Install poppler])], [])
CXXFLAGS=$save_CXXFLAGS
CPPFLAGS=$save_CPPFLAGS
AC_LANG_POP([C++])
2008-10-10 13:02:43 +00:00
else
AC_MSG_RESULT([internal])
SYSTEM_POPPLER=NO
BUILD_TYPE="$BUILD_TYPE XPDF"
fi
else
AC_MSG_RESULT([no])
ENABLE_PDFIMPORT=NO
SCPDEFS="$SCPDEFS -DWITHOUT_EXTENSION_PDFIMPORT"
fi
AC_SUBST(ENABLE_PDFIMPORT)
2008-10-10 13:02:43 +00:00
AC_SUBST(SYSTEM_POPPLER)
AC_SUBST(POPPLER_CFLAGS)
AC_SUBST(POPPLER_LIBS)
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
if test "$ENABLE_PRESENTER_SCREEN" = "YES" -o "$ENABLE_MINIMIZER" = "YES" -o "$ENABLE_PDFIMPORT" = "YES"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([for sdext module])
BUILD_TYPE="$BUILD_TYPE SDEXT"
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
fi
AC_MSG_CHECKING([whether to build the Wiki Publisher extension])
if test "x$enable_ext_wiki_publisher" = "xyes" -a "x$enable_extension_integration" != "xno" -a "$with_java" != "no"; then
AC_MSG_RESULT([yes])
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
AC_MSG_CHECKING([for swext module])
ENABLE_MEDIAWIKI=YES
BUILD_TYPE="$BUILD_TYPE SWEXT"
2011-05-21 02:45:18 +03:00
if test "x$with_java" = "xno"; then
2011-05-15 02:11:48 +03:00
AC_MSG_ERROR([Wiki Publisher requires Java! Enable Java if you want to build it.])
fi
else
AC_MSG_RESULT([no])
ENABLE_MEDIAWIKI=NO
SCPDEFS="$SCPDEFS -DWITHOUT_EXTENSION_MEDIAWIKI"
fi
AC_SUBST(ENABLE_MEDIAWIKI)
2010-06-22 17:07:12 +02:00
if test "$ENABLE_MEDIAWIKI" = "YES"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([which Servlet API Jar to use])
if test -n "$with_system_servlet_api"; then
AC_MSG_RESULT([external])
SYSTEM_SERVLETAPI=YES
if test -z "$SERVLETAPI_JAR"; then
SERVLETAPI_JAR=/usr/share/java/servlet-api.jar
fi
AC_CHECK_FILE($SERVLETAPI_JAR, [],
[AC_MSG_ERROR(servlet-api.jar not found.)], [])
else
AC_MSG_RESULT([internal])
SYSTEM_SERVLETAPI=NO
BUILD_TYPE="$BUILD_TYPE TOMCAT"
fi
fi
AC_SUBST(SYSTEM_SERVLETAPI)
AC_SUBST(SERVLETAPI_JAR)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_MSG_CHECKING([whether to build the Report Builder extension])
if test "$enable_ext_report_builder" != "no" -a "x$enable_extension_integration" != "xno" -a "$with_java" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
ENABLE_REPORTBUILDER=YES
AC_MSG_CHECKING([for reportbuilder module])
AC_MSG_CHECKING([which jfreereport libs to use])
if test "$with_system_jfreereport" = "yes" -o "x$with_system_jars" = "xyes"; then
2011-07-04 02:20:26 -05:00
SYSTEM_JFREEREPORT=YES
AC_MSG_RESULT([external])
if test -z $SAC_JAR; then
SAC_JAR=/usr/share/java/sac.jar
fi
AC_CHECK_FILE($SAC_JAR, [],
[AC_MSG_ERROR(sac.jar not found.)], [])
2011-07-04 02:20:26 -05:00
if test -z $LIBXML_JAR; then
AC_CHECK_FILE(/usr/share/java/libxml-1.0.0.jar,
[ LIBXML_JAR=/usr/share/java/libxml-1.0.0.jar ],
[
AC_CHECK_FILE(/usr/share/java/libxml.jar,
[ LIBXML_JAR=/usr/share/java/libxml.jar ],
[AC_MSG_ERROR(libxml.jar replacement not found.)]
)
]
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($LIBXML_JAR, [],
[AC_MSG_ERROR(libxml.jar not found.)], [])
fi
if test -z $FLUTE_JAR; then
AC_CHECK_FILE(/usr/share/java/flute-1.3.0.jar,
[ FLUTE_JAR=/usr/share/java/flute-1.3.0.jar ],
[
AC_CHECK_FILE(/usr/share/java/flute.jar,
[ FLUTE_JAR=/usr/share/java/flute.jar ],
[ AC_MSG_ERROR(flute-1.3.0.jar replacement not found.)]
)
]
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($FLUTE_JAR, [],
[AC_MSG_ERROR(flute-1.3.0.jar not found.)], [])
fi
if test -z $JFREEREPORT_JAR; then
AC_CHECK_FILE(/usr/share/java/flow-engine-0.9.2.jar,
[ JFREEREPORT_JAR=/usr/share/java/flow-engine-0.9.2.jar ],
[
AC_CHECK_FILE(/usr/share/java/flow-engine.jar,
[ JFREEREPORT_JAR=/usr/share/java/flow-engine.jar ],
[AC_MSG_ERROR(jfreereport.jar replacement not found.)]
)
]
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($JFREEREPORT_JAR, [],
[AC_MSG_ERROR(jfreereport.jar not found.)], [])
fi
if test -z $LIBLAYOUT_JAR; then
AC_CHECK_FILE(/usr/share/java/liblayout-0.2.9.jar,
[ LIBLAYOUT_JAR=/usr/share/java/liblayout-0.2.9.jar ],
[
AC_CHECK_FILE(/usr/share/java/liblayout.jar,
[ LIBLAYOUT_JAR=/usr/share/java/liblayout.jar ],
[AC_MSG_ERROR(liblayout.jar replacement not found.)]
)
]
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($LIBLAYOUT_JAR, [],
[AC_MSG_ERROR(liblayout.jar not found.)], [])
fi
if test -z $LIBLOADER_JAR; then
AC_CHECK_FILE(/usr/share/java/libloader-1.0.0.jar,
[ LIBLOADER_JAR=/usr/share/java/libloader-1.0.0.jar ],
[
AC_CHECK_FILE(/usr/share/java/libloader.jar,
[ LIBLOADER_JAR=/usr/share/java/libloader.jar ],
[AC_MSG_ERROR(libloader.jar replacement not found.)]
)
]
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($LIBLOADER_JAR, [],
[AC_MSG_ERROR(libloader.jar not found.)], [])
fi
if test -z $LIBFORMULA_JAR; then
AC_CHECK_FILE(/usr/share/java/libformula-0.2.0.jar,
[ LIBFORMULA_JAR=/usr/share/java/libformula-0.2.0.jar ],
[
AC_CHECK_FILE(/usr/share/java/libformula.jar,
[ LIBFORMULA_JAR=/usr/share/java/libformula.jar ],
[AC_MSG_ERROR(libformula.jar replacement not found.)]
)
]
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($LIBFORMULA_JAR, [],
[AC_MSG_ERROR(libformula.jar not found.)], [])
fi
if test -z $LIBREPOSITORY_JAR; then
AC_CHECK_FILE(/usr/share/java/librepository-1.0.0.jar,
[ LIBREPOSITORY_JAR=/usr/share/java/librepository-1.0.0.jar ],
[
AC_CHECK_FILE(/usr/share/java/librepository.jar,
[ LIBREPOSITORY_JAR=/usr/share/java/librepository.jar ],
[AC_MSG_ERROR(librepository.jar replacement not found.)]
)
]
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($LIBREPOSITORY_JAR, [],
[AC_MSG_ERROR(librepository.jar not found.)], [])
fi
if test -z $LIBFONTS_JAR; then
AC_CHECK_FILE(/usr/share/java/libfonts-1.0.0.jar,
[ LIBFONTS_JAR=/usr/share/java/libfonts-1.0.0.jar ],
[
AC_CHECK_FILE(/usr/share/java/libfonts.jar,
[ LIBFONTS_JAR=/usr/share/java/libfonts.jar ],
[AC_MSG_ERROR(libfonts.jar replacement not found.)]
)
]
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($LIBFONTS_JAR, [],
[AC_MSG_ERROR(libfonts.jar not found.)], [])
fi
if test -z $LIBSERIALIZER_JAR; then
AC_CHECK_FILE(/usr/share/java/libserializer-1.0.0.jar,
[ LIBSERIALIZER_JAR=/usr/share/java/libserializer-1.0.0.jar ],
[
AC_CHECK_FILE(/usr/share/java/libserializer.jar,
[ LIBSERIALIZER_JAR=/usr/share/java/libserializer.jar ],
[AC_MSG_ERROR(libserializer.jar replacement not found.)]
)
]
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($LIBSERIALIZER_JAR, [],
[AC_MSG_ERROR(libserializer.jar not found.)], [])
fi
if test -z $LIBBASE_JAR; then
AC_CHECK_FILE(/usr/share/java/libbase-1.0.0.jar,
[ LIBBASE_JAR=/usr/share/java/libbase-1.0.0.jar ],
[
AC_CHECK_FILE(/usr/share/java/libbase.jar,
[ LIBBASE_JAR=/usr/share/java/libbase.jar ],
[AC_MSG_ERROR(libbase.jar replacement not found.)]
)
]
CWS-TOOLING: integrate CWS rptfix04 2009-02-23 01:59:54 +0100 rene r268341 : #i10000# fix system-jfreereport build 2009-02-13 10:17:16 +0100 oj r267696 : #i98549# integrate zip form pentaho package 2009-02-03 14:48:34 +0100 oj r267330 : set formula locale to doc locale 2009-02-03 14:45:54 +0100 oj r267329 : set formula locale to doc locale 2009-02-03 11:50:03 +0100 oj r267311 : set formula locale to doc locale 2009-02-03 08:55:02 +0100 oj r267297 : unix line ends 2009-01-28 11:21:24 +0100 rene r267043 : #i98549# s/DESIGN/BUILDER/ also for Sun 2009-01-27 17:17:50 +0100 rene r267012 : merge builfix from trunk 2009-01-27 14:16:30 +0100 rene r266991 : #i10000# fix rebase which left out the whole changes in former config_office; sync variable names (s/LIB_//) and some other things 2009-01-27 10:01:09 +0100 oj r266959 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266944 (milestone: DEV300:m40) 2009-01-27 08:00:16 +0100 oj r266951 : conflict in mergeinfo 2009-01-26 12:23:03 +0100 oj r266914 : #i98383# fix grouping 2009-01-23 22:03:03 +0100 rene r266852 : fix --enable-report-builder description 2009-01-23 10:37:27 +0100 oj r266778 : set escape processing when set at query 2009-01-23 09:17:16 +0100 fs r266770 : add CWS name to version 2009-01-21 13:57:35 +0100 oj r266669 : merge for build bots 2009-01-20 09:07:24 +0100 oj r266552 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-20 08:34:16 +0100 oj r266551 : rebase 2009-01-20 08:33:59 +0100 oj r266550 : rebase 2009-01-20 08:32:50 +0100 oj r266549 : rebase 2009-01-20 08:30:13 +0100 oj r266548 : rebase 2009-01-20 08:29:30 +0100 oj r266547 : rebase 2009-01-20 08:22:33 +0100 oj r266546 : merge short cuts from dba31g 2009-01-19 21:04:08 +0100 rene r266525 : #i10000# we need officecfg for component-update.dtd 2009-01-19 21:01:26 +0100 rene r266524 : #i10000# fix import 2009-01-19 20:26:20 +0100 rene r266523 : #i10000# remove svn conflicts markers; fix build 2009-01-19 14:23:56 +0100 rene r266496 : libbase depends on apache-commons.. 2009-01-19 14:00:42 +0100 oj r266495 : merge from m39 2009-01-19 12:39:00 +0100 oj r266489 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-16 11:47:04 +0100 oj r266410 : #i97560# add , between expressions 2009-01-09 17:11:38 +0100 rene r266103 : don't show "checking which Apache commons-* libs to use" when we neither build the wiki editor nor the SRB 2009-01-09 16:48:02 +0100 rene r266099 : #i10000# reportbuilder needs apache-commons 2009-01-09 15:43:35 +0100 oj r266093 : use of new nspaces 2009-01-09 15:41:34 +0100 oj r266092 : use of new nspaces 2009-01-09 14:44:15 +0100 rene r266088 : fix typo/description 2009-01-09 12:48:51 +0100 rene r266074 : #i10000# fix install 2009-01-09 11:52:53 +0100 rene r266070 : #i10000# more build fixes 2009-01-09 10:53:13 +0100 rene r266062 : #i10000# ENABLE_REPORTBUILDER also in set_soenv.in, fix typo 2009-01-09 10:40:24 +0100 rene r266060 : #i10000# configure fix for new reportbuilder module, typo fix at libfonts 2009-01-09 10:01:52 +0100 rene r266055 : #i10000# adapt to current configure.in 2009-01-09 09:59:32 +0100 oj r266054 : add new pentaho jars 2009-01-09 09:47:54 +0100 oj r266049 : merge changes from DEV300_m39 2009-01-09 09:14:08 +0100 oj r266048 : merge from DEV300_m39 2009-01-09 08:28:43 +0100 oj r266045 : merge changes from dba31g 2009-01-09 07:58:10 +0100 oj r266044 : replace JCOMMON with LIB 2009-01-08 13:42:24 +0100 oj r266005 : move ext to reportbuilder 2009-01-08 13:41:38 +0100 oj r266004 : add dep for license 2009-01-08 13:27:56 +0100 oj r266001 : new module for Sun report Builder extension 2009-01-07 12:58:13 +0100 oj r265960 : CWS-TOOLING: rebase CWS rptfix04 to trunk@265758 (milestone: DEV300:m38) 2008-12-15 13:47:18 +0100 oj r265481 : new pentaho resources 2008-12-15 10:04:01 +0100 oj r265462 : integrate new pentaho sources 2008-12-15 10:02:54 +0100 oj r265461 : #i96888# fix date time function 2008-12-12 09:23:29 +0100 oj r265389 : #97174# check of res < 0 removed 2008-12-12 09:15:54 +0100 oj r265388 : #i9716# fix for DayFunction 2008-12-11 12:24:24 +0100 oj r265281 : integrate new pentaho sources 2008-12-11 11:49:16 +0100 oj r265273 : integrate new pentaho sources 2008-12-11 09:34:07 +0100 oj r265248 : integrate new pentaho sources 2008-12-10 18:58:06 +0100 oj r265227 : introduce new pentaho sources 2008-12-10 18:56:43 +0100 oj r265226 : introduce new pentaho sources 2008-12-10 18:54:26 +0100 oj r265225 : introduce new pentaho sources 2008-12-10 18:42:59 +0100 oj r265221 : introduce new pentaho sources 2008-12-10 17:24:23 +0100 oj r265212 : introduce new pentaho sources 2008-12-10 17:24:07 +0100 oj r265211 : new pentaho sources 2008-12-10 17:23:00 +0100 oj r265210 : introduce new pentaho sources
2009-03-04 15:27:10 +00:00
)
2011-07-04 02:20:26 -05:00
else
AC_CHECK_FILE($LIBBASE_JAR, [],
[AC_MSG_ERROR(libbase.jar not found.)], [])
fi
2011-07-04 02:20:26 -05:00
else
AC_MSG_RESULT([internal])
AC_MSG_CHECKING([for jfreereport module])
SYSTEM_JFREEREPORT=NO
BUILD_TYPE="$BUILD_TYPE JFREEREPORT"
fi
BUILD_TYPE="$BUILD_TYPE REPORTBUILDER"
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
ENABLE_REPORTBUILDER=NO
SCPDEFS="$SCPDEFS -DWITHOUT_EXTENSION_REPORTDESIGN"
SYSTEM_JFREEREPORT=NO
fi
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
AC_SUBST(ENABLE_REPORTBUILDER)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_SUBST(SYSTEM_JFREEREPORT)
AC_SUBST(SAC_JAR)
AC_SUBST(LIBXML_JAR)
AC_SUBST(FLUTE_JAR)
AC_SUBST(JFREEREPORT_JAR)
CWS-TOOLING: integrate CWS rptfix04 2009-02-23 01:59:54 +0100 rene r268341 : #i10000# fix system-jfreereport build 2009-02-13 10:17:16 +0100 oj r267696 : #i98549# integrate zip form pentaho package 2009-02-03 14:48:34 +0100 oj r267330 : set formula locale to doc locale 2009-02-03 14:45:54 +0100 oj r267329 : set formula locale to doc locale 2009-02-03 11:50:03 +0100 oj r267311 : set formula locale to doc locale 2009-02-03 08:55:02 +0100 oj r267297 : unix line ends 2009-01-28 11:21:24 +0100 rene r267043 : #i98549# s/DESIGN/BUILDER/ also for Sun 2009-01-27 17:17:50 +0100 rene r267012 : merge builfix from trunk 2009-01-27 14:16:30 +0100 rene r266991 : #i10000# fix rebase which left out the whole changes in former config_office; sync variable names (s/LIB_//) and some other things 2009-01-27 10:01:09 +0100 oj r266959 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266944 (milestone: DEV300:m40) 2009-01-27 08:00:16 +0100 oj r266951 : conflict in mergeinfo 2009-01-26 12:23:03 +0100 oj r266914 : #i98383# fix grouping 2009-01-23 22:03:03 +0100 rene r266852 : fix --enable-report-builder description 2009-01-23 10:37:27 +0100 oj r266778 : set escape processing when set at query 2009-01-23 09:17:16 +0100 fs r266770 : add CWS name to version 2009-01-21 13:57:35 +0100 oj r266669 : merge for build bots 2009-01-20 09:07:24 +0100 oj r266552 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-20 08:34:16 +0100 oj r266551 : rebase 2009-01-20 08:33:59 +0100 oj r266550 : rebase 2009-01-20 08:32:50 +0100 oj r266549 : rebase 2009-01-20 08:30:13 +0100 oj r266548 : rebase 2009-01-20 08:29:30 +0100 oj r266547 : rebase 2009-01-20 08:22:33 +0100 oj r266546 : merge short cuts from dba31g 2009-01-19 21:04:08 +0100 rene r266525 : #i10000# we need officecfg for component-update.dtd 2009-01-19 21:01:26 +0100 rene r266524 : #i10000# fix import 2009-01-19 20:26:20 +0100 rene r266523 : #i10000# remove svn conflicts markers; fix build 2009-01-19 14:23:56 +0100 rene r266496 : libbase depends on apache-commons.. 2009-01-19 14:00:42 +0100 oj r266495 : merge from m39 2009-01-19 12:39:00 +0100 oj r266489 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-16 11:47:04 +0100 oj r266410 : #i97560# add , between expressions 2009-01-09 17:11:38 +0100 rene r266103 : don't show "checking which Apache commons-* libs to use" when we neither build the wiki editor nor the SRB 2009-01-09 16:48:02 +0100 rene r266099 : #i10000# reportbuilder needs apache-commons 2009-01-09 15:43:35 +0100 oj r266093 : use of new nspaces 2009-01-09 15:41:34 +0100 oj r266092 : use of new nspaces 2009-01-09 14:44:15 +0100 rene r266088 : fix typo/description 2009-01-09 12:48:51 +0100 rene r266074 : #i10000# fix install 2009-01-09 11:52:53 +0100 rene r266070 : #i10000# more build fixes 2009-01-09 10:53:13 +0100 rene r266062 : #i10000# ENABLE_REPORTBUILDER also in set_soenv.in, fix typo 2009-01-09 10:40:24 +0100 rene r266060 : #i10000# configure fix for new reportbuilder module, typo fix at libfonts 2009-01-09 10:01:52 +0100 rene r266055 : #i10000# adapt to current configure.in 2009-01-09 09:59:32 +0100 oj r266054 : add new pentaho jars 2009-01-09 09:47:54 +0100 oj r266049 : merge changes from DEV300_m39 2009-01-09 09:14:08 +0100 oj r266048 : merge from DEV300_m39 2009-01-09 08:28:43 +0100 oj r266045 : merge changes from dba31g 2009-01-09 07:58:10 +0100 oj r266044 : replace JCOMMON with LIB 2009-01-08 13:42:24 +0100 oj r266005 : move ext to reportbuilder 2009-01-08 13:41:38 +0100 oj r266004 : add dep for license 2009-01-08 13:27:56 +0100 oj r266001 : new module for Sun report Builder extension 2009-01-07 12:58:13 +0100 oj r265960 : CWS-TOOLING: rebase CWS rptfix04 to trunk@265758 (milestone: DEV300:m38) 2008-12-15 13:47:18 +0100 oj r265481 : new pentaho resources 2008-12-15 10:04:01 +0100 oj r265462 : integrate new pentaho sources 2008-12-15 10:02:54 +0100 oj r265461 : #i96888# fix date time function 2008-12-12 09:23:29 +0100 oj r265389 : #97174# check of res < 0 removed 2008-12-12 09:15:54 +0100 oj r265388 : #i9716# fix for DayFunction 2008-12-11 12:24:24 +0100 oj r265281 : integrate new pentaho sources 2008-12-11 11:49:16 +0100 oj r265273 : integrate new pentaho sources 2008-12-11 09:34:07 +0100 oj r265248 : integrate new pentaho sources 2008-12-10 18:58:06 +0100 oj r265227 : introduce new pentaho sources 2008-12-10 18:56:43 +0100 oj r265226 : introduce new pentaho sources 2008-12-10 18:54:26 +0100 oj r265225 : introduce new pentaho sources 2008-12-10 18:42:59 +0100 oj r265221 : introduce new pentaho sources 2008-12-10 17:24:23 +0100 oj r265212 : introduce new pentaho sources 2008-12-10 17:24:07 +0100 oj r265211 : new pentaho sources 2008-12-10 17:23:00 +0100 oj r265210 : introduce new pentaho sources
2009-03-04 15:27:10 +00:00
AC_SUBST(LIBBASE_JAR)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
AC_SUBST(LIBLAYOUT_JAR)
AC_SUBST(LIBLOADER_JAR)
AC_SUBST(LIBFORMULA_JAR)
AC_SUBST(LIBREPOSITORY_JAR)
AC_SUBST(LIBFONTS_JAR)
CWS-TOOLING: integrate CWS rptfix04 2009-02-23 01:59:54 +0100 rene r268341 : #i10000# fix system-jfreereport build 2009-02-13 10:17:16 +0100 oj r267696 : #i98549# integrate zip form pentaho package 2009-02-03 14:48:34 +0100 oj r267330 : set formula locale to doc locale 2009-02-03 14:45:54 +0100 oj r267329 : set formula locale to doc locale 2009-02-03 11:50:03 +0100 oj r267311 : set formula locale to doc locale 2009-02-03 08:55:02 +0100 oj r267297 : unix line ends 2009-01-28 11:21:24 +0100 rene r267043 : #i98549# s/DESIGN/BUILDER/ also for Sun 2009-01-27 17:17:50 +0100 rene r267012 : merge builfix from trunk 2009-01-27 14:16:30 +0100 rene r266991 : #i10000# fix rebase which left out the whole changes in former config_office; sync variable names (s/LIB_//) and some other things 2009-01-27 10:01:09 +0100 oj r266959 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266944 (milestone: DEV300:m40) 2009-01-27 08:00:16 +0100 oj r266951 : conflict in mergeinfo 2009-01-26 12:23:03 +0100 oj r266914 : #i98383# fix grouping 2009-01-23 22:03:03 +0100 rene r266852 : fix --enable-report-builder description 2009-01-23 10:37:27 +0100 oj r266778 : set escape processing when set at query 2009-01-23 09:17:16 +0100 fs r266770 : add CWS name to version 2009-01-21 13:57:35 +0100 oj r266669 : merge for build bots 2009-01-20 09:07:24 +0100 oj r266552 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-20 08:34:16 +0100 oj r266551 : rebase 2009-01-20 08:33:59 +0100 oj r266550 : rebase 2009-01-20 08:32:50 +0100 oj r266549 : rebase 2009-01-20 08:30:13 +0100 oj r266548 : rebase 2009-01-20 08:29:30 +0100 oj r266547 : rebase 2009-01-20 08:22:33 +0100 oj r266546 : merge short cuts from dba31g 2009-01-19 21:04:08 +0100 rene r266525 : #i10000# we need officecfg for component-update.dtd 2009-01-19 21:01:26 +0100 rene r266524 : #i10000# fix import 2009-01-19 20:26:20 +0100 rene r266523 : #i10000# remove svn conflicts markers; fix build 2009-01-19 14:23:56 +0100 rene r266496 : libbase depends on apache-commons.. 2009-01-19 14:00:42 +0100 oj r266495 : merge from m39 2009-01-19 12:39:00 +0100 oj r266489 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-16 11:47:04 +0100 oj r266410 : #i97560# add , between expressions 2009-01-09 17:11:38 +0100 rene r266103 : don't show "checking which Apache commons-* libs to use" when we neither build the wiki editor nor the SRB 2009-01-09 16:48:02 +0100 rene r266099 : #i10000# reportbuilder needs apache-commons 2009-01-09 15:43:35 +0100 oj r266093 : use of new nspaces 2009-01-09 15:41:34 +0100 oj r266092 : use of new nspaces 2009-01-09 14:44:15 +0100 rene r266088 : fix typo/description 2009-01-09 12:48:51 +0100 rene r266074 : #i10000# fix install 2009-01-09 11:52:53 +0100 rene r266070 : #i10000# more build fixes 2009-01-09 10:53:13 +0100 rene r266062 : #i10000# ENABLE_REPORTBUILDER also in set_soenv.in, fix typo 2009-01-09 10:40:24 +0100 rene r266060 : #i10000# configure fix for new reportbuilder module, typo fix at libfonts 2009-01-09 10:01:52 +0100 rene r266055 : #i10000# adapt to current configure.in 2009-01-09 09:59:32 +0100 oj r266054 : add new pentaho jars 2009-01-09 09:47:54 +0100 oj r266049 : merge changes from DEV300_m39 2009-01-09 09:14:08 +0100 oj r266048 : merge from DEV300_m39 2009-01-09 08:28:43 +0100 oj r266045 : merge changes from dba31g 2009-01-09 07:58:10 +0100 oj r266044 : replace JCOMMON with LIB 2009-01-08 13:42:24 +0100 oj r266005 : move ext to reportbuilder 2009-01-08 13:41:38 +0100 oj r266004 : add dep for license 2009-01-08 13:27:56 +0100 oj r266001 : new module for Sun report Builder extension 2009-01-07 12:58:13 +0100 oj r265960 : CWS-TOOLING: rebase CWS rptfix04 to trunk@265758 (milestone: DEV300:m38) 2008-12-15 13:47:18 +0100 oj r265481 : new pentaho resources 2008-12-15 10:04:01 +0100 oj r265462 : integrate new pentaho sources 2008-12-15 10:02:54 +0100 oj r265461 : #i96888# fix date time function 2008-12-12 09:23:29 +0100 oj r265389 : #97174# check of res < 0 removed 2008-12-12 09:15:54 +0100 oj r265388 : #i9716# fix for DayFunction 2008-12-11 12:24:24 +0100 oj r265281 : integrate new pentaho sources 2008-12-11 11:49:16 +0100 oj r265273 : integrate new pentaho sources 2008-12-11 09:34:07 +0100 oj r265248 : integrate new pentaho sources 2008-12-10 18:58:06 +0100 oj r265227 : introduce new pentaho sources 2008-12-10 18:56:43 +0100 oj r265226 : introduce new pentaho sources 2008-12-10 18:54:26 +0100 oj r265225 : introduce new pentaho sources 2008-12-10 18:42:59 +0100 oj r265221 : introduce new pentaho sources 2008-12-10 17:24:23 +0100 oj r265212 : introduce new pentaho sources 2008-12-10 17:24:07 +0100 oj r265211 : new pentaho sources 2008-12-10 17:23:00 +0100 oj r265210 : introduce new pentaho sources
2009-03-04 15:27:10 +00:00
AC_SUBST(LIBSERIALIZER_JAR)
2011-05-15 02:11:48 +03:00
# this has to be here because both the Wiki Publisher and the SRB use
CWS-TOOLING: integrate CWS rptfix04 2009-02-23 01:59:54 +0100 rene r268341 : #i10000# fix system-jfreereport build 2009-02-13 10:17:16 +0100 oj r267696 : #i98549# integrate zip form pentaho package 2009-02-03 14:48:34 +0100 oj r267330 : set formula locale to doc locale 2009-02-03 14:45:54 +0100 oj r267329 : set formula locale to doc locale 2009-02-03 11:50:03 +0100 oj r267311 : set formula locale to doc locale 2009-02-03 08:55:02 +0100 oj r267297 : unix line ends 2009-01-28 11:21:24 +0100 rene r267043 : #i98549# s/DESIGN/BUILDER/ also for Sun 2009-01-27 17:17:50 +0100 rene r267012 : merge builfix from trunk 2009-01-27 14:16:30 +0100 rene r266991 : #i10000# fix rebase which left out the whole changes in former config_office; sync variable names (s/LIB_//) and some other things 2009-01-27 10:01:09 +0100 oj r266959 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266944 (milestone: DEV300:m40) 2009-01-27 08:00:16 +0100 oj r266951 : conflict in mergeinfo 2009-01-26 12:23:03 +0100 oj r266914 : #i98383# fix grouping 2009-01-23 22:03:03 +0100 rene r266852 : fix --enable-report-builder description 2009-01-23 10:37:27 +0100 oj r266778 : set escape processing when set at query 2009-01-23 09:17:16 +0100 fs r266770 : add CWS name to version 2009-01-21 13:57:35 +0100 oj r266669 : merge for build bots 2009-01-20 09:07:24 +0100 oj r266552 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-20 08:34:16 +0100 oj r266551 : rebase 2009-01-20 08:33:59 +0100 oj r266550 : rebase 2009-01-20 08:32:50 +0100 oj r266549 : rebase 2009-01-20 08:30:13 +0100 oj r266548 : rebase 2009-01-20 08:29:30 +0100 oj r266547 : rebase 2009-01-20 08:22:33 +0100 oj r266546 : merge short cuts from dba31g 2009-01-19 21:04:08 +0100 rene r266525 : #i10000# we need officecfg for component-update.dtd 2009-01-19 21:01:26 +0100 rene r266524 : #i10000# fix import 2009-01-19 20:26:20 +0100 rene r266523 : #i10000# remove svn conflicts markers; fix build 2009-01-19 14:23:56 +0100 rene r266496 : libbase depends on apache-commons.. 2009-01-19 14:00:42 +0100 oj r266495 : merge from m39 2009-01-19 12:39:00 +0100 oj r266489 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-16 11:47:04 +0100 oj r266410 : #i97560# add , between expressions 2009-01-09 17:11:38 +0100 rene r266103 : don't show "checking which Apache commons-* libs to use" when we neither build the wiki editor nor the SRB 2009-01-09 16:48:02 +0100 rene r266099 : #i10000# reportbuilder needs apache-commons 2009-01-09 15:43:35 +0100 oj r266093 : use of new nspaces 2009-01-09 15:41:34 +0100 oj r266092 : use of new nspaces 2009-01-09 14:44:15 +0100 rene r266088 : fix typo/description 2009-01-09 12:48:51 +0100 rene r266074 : #i10000# fix install 2009-01-09 11:52:53 +0100 rene r266070 : #i10000# more build fixes 2009-01-09 10:53:13 +0100 rene r266062 : #i10000# ENABLE_REPORTBUILDER also in set_soenv.in, fix typo 2009-01-09 10:40:24 +0100 rene r266060 : #i10000# configure fix for new reportbuilder module, typo fix at libfonts 2009-01-09 10:01:52 +0100 rene r266055 : #i10000# adapt to current configure.in 2009-01-09 09:59:32 +0100 oj r266054 : add new pentaho jars 2009-01-09 09:47:54 +0100 oj r266049 : merge changes from DEV300_m39 2009-01-09 09:14:08 +0100 oj r266048 : merge from DEV300_m39 2009-01-09 08:28:43 +0100 oj r266045 : merge changes from dba31g 2009-01-09 07:58:10 +0100 oj r266044 : replace JCOMMON with LIB 2009-01-08 13:42:24 +0100 oj r266005 : move ext to reportbuilder 2009-01-08 13:41:38 +0100 oj r266004 : add dep for license 2009-01-08 13:27:56 +0100 oj r266001 : new module for Sun report Builder extension 2009-01-07 12:58:13 +0100 oj r265960 : CWS-TOOLING: rebase CWS rptfix04 to trunk@265758 (milestone: DEV300:m38) 2008-12-15 13:47:18 +0100 oj r265481 : new pentaho resources 2008-12-15 10:04:01 +0100 oj r265462 : integrate new pentaho sources 2008-12-15 10:02:54 +0100 oj r265461 : #i96888# fix date time function 2008-12-12 09:23:29 +0100 oj r265389 : #97174# check of res < 0 removed 2008-12-12 09:15:54 +0100 oj r265388 : #i9716# fix for DayFunction 2008-12-11 12:24:24 +0100 oj r265281 : integrate new pentaho sources 2008-12-11 11:49:16 +0100 oj r265273 : integrate new pentaho sources 2008-12-11 09:34:07 +0100 oj r265248 : integrate new pentaho sources 2008-12-10 18:58:06 +0100 oj r265227 : introduce new pentaho sources 2008-12-10 18:56:43 +0100 oj r265226 : introduce new pentaho sources 2008-12-10 18:54:26 +0100 oj r265225 : introduce new pentaho sources 2008-12-10 18:42:59 +0100 oj r265221 : introduce new pentaho sources 2008-12-10 17:24:23 +0100 oj r265212 : introduce new pentaho sources 2008-12-10 17:24:07 +0100 oj r265211 : new pentaho sources 2008-12-10 17:23:00 +0100 oj r265210 : introduce new pentaho sources
2009-03-04 15:27:10 +00:00
# commons-logging
if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([which Apache commons-* libs to use])
if test "x$with_system_apache_commons" = "xyes" -o "x$with_system_jars" = "xyes"; then
2011-07-04 02:20:26 -05:00
SYSTEM_APACHE_COMMONS=YES
AC_MSG_RESULT([external])
if test "$ENABLE_MEDIAWIKI" = "YES"; then
if test -z $COMMONS_CODEC_JAR; then
AC_CHECK_FILE(/usr/share/java/commons-codec-1.3.jar,
[ COMMONS_CODEC_JAR=/usr/share/java/commons-codec-1.3.jar ],
[
AC_CHECK_FILE(/usr/share/java/commons-codec.jar,
[ COMMONS_CODEC_JAR=/usr/share/java/commons-codec.jar ],
[AC_MSG_ERROR(commons-codec.jar replacement not found.)]
)
]
)
else
AC_CHECK_FILE($COMMONS_CODEC_JAR, [],
[AC_MSG_ERROR(commons-codec.jar not found.)], [])
fi
if test -z $COMMONS_LANG_JAR; then
AC_CHECK_FILE(/usr/share/java/commons-lang-2.3.jar,
[ COMMONS_LANG_JAR=/usr/share/java/commons-lang-2.3.jar ],
[
AC_CHECK_FILE(/usr/share/java/commons-lang.jar,
[ COMMONS_LANG_JAR=/usr/share/java/commons-lang.jar ],
[AC_MSG_ERROR(commons-lang.jar replacement not found.)]
)
]
)
else
AC_CHECK_FILE($COMMONS_LANG_JAR, [],
[AC_MSG_ERROR(commons-lang.jar not found.)], [])
fi
if test -z $COMMONS_HTTPCLIENT_JAR; then
AC_CHECK_FILE(/usr/share/java/commons-httpclient-3.1.jar,
[ COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient-3.1.jar ],
[
AC_CHECK_FILE(/usr/share/java/commons-httpclient.jar,
[ COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient.jar ],
[AC_MSG_ERROR(commons-httpclient.jar replacement not found.)]
)
]
)
else
AC_CHECK_FILE($COMMONS_HTTPCLIENT_JAR, [],
[AC_MSG_ERROR(commons-httpclient.jar not found.)], [])
fi
fi
if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then
if test -z $COMMONS_LOGGING_JAR; then
AC_CHECK_FILE(/usr/share/java/commons-logging-1.1.1.jar,
[ COMMONS_LOGGING_JAR=/usr/share/java/commons-logging-1.1.1.jar ],
[
AC_CHECK_FILE(/usr/share/java/commons-logging.jar,
[ COMMONS_LOGGING_JAR=/usr/share/java/commons-logging.jar ],
[AC_MSG_ERROR(commons-logging.jar replacement not found.)]
)
]
)
else
AC_CHECK_FILE($COMMONS_LOGGING_JAR, [],
[AC_MSG_ERROR(commons-logging.jar not found.)], [])
fi
fi
else
AC_MSG_RESULT([internal])
SYSTEM_APACHE_COMMONS=NO
BUILD_TYPE="$BUILD_TYPE APACHE_COMMONS TOMCAT"
CWS-TOOLING: integrate CWS rptfix04 2009-02-23 01:59:54 +0100 rene r268341 : #i10000# fix system-jfreereport build 2009-02-13 10:17:16 +0100 oj r267696 : #i98549# integrate zip form pentaho package 2009-02-03 14:48:34 +0100 oj r267330 : set formula locale to doc locale 2009-02-03 14:45:54 +0100 oj r267329 : set formula locale to doc locale 2009-02-03 11:50:03 +0100 oj r267311 : set formula locale to doc locale 2009-02-03 08:55:02 +0100 oj r267297 : unix line ends 2009-01-28 11:21:24 +0100 rene r267043 : #i98549# s/DESIGN/BUILDER/ also for Sun 2009-01-27 17:17:50 +0100 rene r267012 : merge builfix from trunk 2009-01-27 14:16:30 +0100 rene r266991 : #i10000# fix rebase which left out the whole changes in former config_office; sync variable names (s/LIB_//) and some other things 2009-01-27 10:01:09 +0100 oj r266959 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266944 (milestone: DEV300:m40) 2009-01-27 08:00:16 +0100 oj r266951 : conflict in mergeinfo 2009-01-26 12:23:03 +0100 oj r266914 : #i98383# fix grouping 2009-01-23 22:03:03 +0100 rene r266852 : fix --enable-report-builder description 2009-01-23 10:37:27 +0100 oj r266778 : set escape processing when set at query 2009-01-23 09:17:16 +0100 fs r266770 : add CWS name to version 2009-01-21 13:57:35 +0100 oj r266669 : merge for build bots 2009-01-20 09:07:24 +0100 oj r266552 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-20 08:34:16 +0100 oj r266551 : rebase 2009-01-20 08:33:59 +0100 oj r266550 : rebase 2009-01-20 08:32:50 +0100 oj r266549 : rebase 2009-01-20 08:30:13 +0100 oj r266548 : rebase 2009-01-20 08:29:30 +0100 oj r266547 : rebase 2009-01-20 08:22:33 +0100 oj r266546 : merge short cuts from dba31g 2009-01-19 21:04:08 +0100 rene r266525 : #i10000# we need officecfg for component-update.dtd 2009-01-19 21:01:26 +0100 rene r266524 : #i10000# fix import 2009-01-19 20:26:20 +0100 rene r266523 : #i10000# remove svn conflicts markers; fix build 2009-01-19 14:23:56 +0100 rene r266496 : libbase depends on apache-commons.. 2009-01-19 14:00:42 +0100 oj r266495 : merge from m39 2009-01-19 12:39:00 +0100 oj r266489 : CWS-TOOLING: rebase CWS rptfix04 to trunk@266428 (milestone: DEV300:m39) 2009-01-16 11:47:04 +0100 oj r266410 : #i97560# add , between expressions 2009-01-09 17:11:38 +0100 rene r266103 : don't show "checking which Apache commons-* libs to use" when we neither build the wiki editor nor the SRB 2009-01-09 16:48:02 +0100 rene r266099 : #i10000# reportbuilder needs apache-commons 2009-01-09 15:43:35 +0100 oj r266093 : use of new nspaces 2009-01-09 15:41:34 +0100 oj r266092 : use of new nspaces 2009-01-09 14:44:15 +0100 rene r266088 : fix typo/description 2009-01-09 12:48:51 +0100 rene r266074 : #i10000# fix install 2009-01-09 11:52:53 +0100 rene r266070 : #i10000# more build fixes 2009-01-09 10:53:13 +0100 rene r266062 : #i10000# ENABLE_REPORTBUILDER also in set_soenv.in, fix typo 2009-01-09 10:40:24 +0100 rene r266060 : #i10000# configure fix for new reportbuilder module, typo fix at libfonts 2009-01-09 10:01:52 +0100 rene r266055 : #i10000# adapt to current configure.in 2009-01-09 09:59:32 +0100 oj r266054 : add new pentaho jars 2009-01-09 09:47:54 +0100 oj r266049 : merge changes from DEV300_m39 2009-01-09 09:14:08 +0100 oj r266048 : merge from DEV300_m39 2009-01-09 08:28:43 +0100 oj r266045 : merge changes from dba31g 2009-01-09 07:58:10 +0100 oj r266044 : replace JCOMMON with LIB 2009-01-08 13:42:24 +0100 oj r266005 : move ext to reportbuilder 2009-01-08 13:41:38 +0100 oj r266004 : add dep for license 2009-01-08 13:27:56 +0100 oj r266001 : new module for Sun report Builder extension 2009-01-07 12:58:13 +0100 oj r265960 : CWS-TOOLING: rebase CWS rptfix04 to trunk@265758 (milestone: DEV300:m38) 2008-12-15 13:47:18 +0100 oj r265481 : new pentaho resources 2008-12-15 10:04:01 +0100 oj r265462 : integrate new pentaho sources 2008-12-15 10:02:54 +0100 oj r265461 : #i96888# fix date time function 2008-12-12 09:23:29 +0100 oj r265389 : #97174# check of res < 0 removed 2008-12-12 09:15:54 +0100 oj r265388 : #i9716# fix for DayFunction 2008-12-11 12:24:24 +0100 oj r265281 : integrate new pentaho sources 2008-12-11 11:49:16 +0100 oj r265273 : integrate new pentaho sources 2008-12-11 09:34:07 +0100 oj r265248 : integrate new pentaho sources 2008-12-10 18:58:06 +0100 oj r265227 : introduce new pentaho sources 2008-12-10 18:56:43 +0100 oj r265226 : introduce new pentaho sources 2008-12-10 18:54:26 +0100 oj r265225 : introduce new pentaho sources 2008-12-10 18:42:59 +0100 oj r265221 : introduce new pentaho sources 2008-12-10 17:24:23 +0100 oj r265212 : introduce new pentaho sources 2008-12-10 17:24:07 +0100 oj r265211 : new pentaho sources 2008-12-10 17:23:00 +0100 oj r265210 : introduce new pentaho sources
2009-03-04 15:27:10 +00:00
fi
fi
AC_SUBST(SYSTEM_APACHE_COMMONS)
AC_SUBST(COMMONS_CODEC_JAR)
AC_SUBST(COMMONS_LANG_JAR)
AC_SUBST(COMMONS_HTTPCLIENT_JAR)
AC_SUBST(COMMONS_LOGGING_JAR)
INTEGRATION: CWS configure22 (1.221.4); FILE MERGED 2007/12/10 11:55:05 rene 1.221.4.24: #i10000# fix --disable-reportdesign 2007/12/04 23:46:26 rene 1.221.4.23: logic fixes 2007/12/04 20:49:23 rene 1.221.4.22: no + 2007/12/04 20:22:20 rene 1.221.4.21: typos 2007/12/04 20:15:10 rene 1.221.4.20: no pkg-config on Mac OS X... 2007/12/03 15:39:28 rene 1.221.4.19: fix build. jar names are hardcoded in the manifest. If people want to change them, they have to patch manifest #i10000# we need a dep on readlicense_oo 2007/12/02 23:21:55 rene 1.221.4.18: #i84181# openssl only needed when neon used 2007/12/02 12:34:14 rene 1.221.4.17: #i84165# --enable-sdext, --disable-reportdesign and --with-system-jfreereport 2007/12/02 12:14:19 rene 1.221.4.16: #i84165# support hyphen 2007/12/01 19:13:40 rene 1.221.4.15: RESYNC: (1.228-1.232); FILE MERGED 2007/12/01 14:53:06 rene 1.221.4.14: #i84144# LDFLAGS -> LIBS 2007/11/28 10:37:38 rene 1.221.4.13: check for bzip2 2007/11/22 14:25:37 rene 1.221.4.12: allow db 4.6.x 2007/11/22 14:24:52 rene 1.221.4.11: #i83872# configure flag for OGLTrans 2007/11/18 18:05:00 rene 1.221.4.10: #i83731# system openssl 2007/11/18 00:13:11 rene 1.221.4.9: move bigendian and long checks up 2007/11/14 21:11:24 rene 1.221.4.8: RESYNC: (1.221-1.228); FILE MERGED 2007/10/31 21:04:53 rene 1.221.4.7: #i83090# mozilla options fixes 2007/10/31 21:02:40 rene 1.221.4.6: #i83088# fix --disable-{pam,crypt,xrender}-link options 2007/10/22 23:13:33 rene 1.221.4.5: default to dynamic Xinerama if both types present, still overridable using --with-static-xinerama. See i#80816 2007/10/22 23:04:35 rene 1.221.4.4: i#72150# 2007/10/22 20:38:57 rene 1.221.4.3: #i81131# ICU tools can be in /usr/sbin 2007/10/15 22:54:39 rene 1.221.4.2: #i81615# allow ICU 3.8 2007/10/15 22:46:21 rene 1.221.4.1: #i79874# STLport5 support for configure
2007-12-12 12:24:44 +00:00
# scripting provider for BeanShell extension?
AC_MSG_CHECKING([whether to build extension for support of scripts in BeanShell])
if test "x$enable_ext_scripting_beanshell" = "xyes" -a "x$enable_extension_integration" != "xno"; then
AC_MSG_RESULT([yes])
ENABLE_SCRIPTING_BEANSHELL=YES
else
AC_MSG_RESULT([no])
ENABLE_SCRIPTING_BEANSHELL=NO
SCPDEFS="$SCPDEFS -DWITHOUT_EXTENSION_SCRIPTING_BEANSHELL"
fi
AC_SUBST(ENABLE_SCRIPTING_BEANSHELL)
# scripting provider for JavaScript extension?
AC_MSG_CHECKING([whether to build extension for support of scripts in JavaScript])
if test "x$enable_ext_scripting_javascript" = "xyes" -a "x$enable_extension_integration" != "xno"; then
AC_MSG_RESULT([yes])
ENABLE_SCRIPTING_JAVASCRIPT=YES
else
AC_MSG_RESULT([no])
ENABLE_SCRIPTING_JAVASCRIPT=NO
SCPDEFS="$SCPDEFS -DWITHOUT_EXTENSION_SCRIPTING_JAVASCRIPT"
fi
AC_SUBST(ENABLE_SCRIPTING_JAVASCRIPT)
dnl Scripting provider for Python extension?
dnl We always provide this unless we have disabled Python completely
if test $enable_python = no; then
2011-07-04 02:20:26 -05:00
ENABLE_SCRIPTING_PYTHON=NO
else
2011-07-04 02:20:26 -05:00
ENABLE_SCRIPTING_PYTHON=YES
fi
AC_SUBST(ENABLE_SCRIPTING_PYTHON)
supports_multilib=
case "$host_cpu" in
2011-07-04 02:20:26 -05:00
x86_64 | powerpc64 | s390x)
if test "$SIZEOF_LONG" = "8"; then
supports_multilib="yes"
fi
;;
*)
;;
esac
dnl ===================================================================
dnl Check whether the Qt3 and KDE3 libraries are available.
dnl ===================================================================
KDE_CFLAGS=""
KDE_LIBS=""
if test "$_os" != "OpenBSD"; then
MOC="moc"
fi
if test "$test_kde" = "yes" -a "$ENABLE_KDE" = "TRUE" ; then
dnl Search paths for Qt3 and KDE3
if test -z "$supports_multilib" ; then
qt_incdirs="$QTINC /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/lib/qt3/include /usr/lib/qt/include /usr/share/qt3/include /usr/local/include/X11/qt3 $x_includes"
qt_libdirs="$QTLIB /usr/local/qt/lib /usr/lib/qt /usr/lib /usr/X11R6/lib/X11/qt /usr/X11R6/lib/qt /usr/lib/qt3/lib /usr/lib/qt/lib /usr/share/qt3/lib /usr/local/lib/qt3 $x_libraries"
else
qt_incdirs="$QTINC /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/lib64/qt3/include /usr/lib64/qt/include /usr/share/qt3/include /usr/lib/qt3/include /usr/lib/qt/include /usr/local/include/X11/qt3 $x_includes"
qt_libdirs="$QTLIB /usr/local/qt/lib64 /usr/lib64/qt /usr/lib64 /usr/X11R6/lib64/X11/qt /usr/X11R6/lib64/qt /usr/lib64/qt3/lib64 /usr/lib64/qt/lib64 /usr/share/qt3/lib64 /usr/local/qt/lib /usr/lib/qt /usr/lib /usr/X11R6/lib/X11/qt /usr/X11R6/lib/qt /usr/lib/qt3/lib /usr/lib/qt/lib /usr/share/qt3/lib /usr/local/lib/qt3 $x_libraries"
fi
if test -n "$QTDIR" ; then
qt_incdirs="$QTDIR/include $qt_incdirs"
if test -z "$supports_multilib" ; then
qt_libdirs="$QTDIR/lib $qt_libdirs"
else
qt_libdirs="$QTDIR/lib64 $QTDIR/lib $qt_libdirs"
fi
fi
if test -z "$supports_multilib" ; then
kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /opt/kde3/include /opt/kde/include $x_includes"
kde_libdirs="/usr/lib/kde/lib /usr/local/kde/lib /usr/kde/lib /usr/lib/kde /usr/lib/kde3 /usr/X11R6/lib /usr/local/lib /opt/kde3/lib /opt/kde/lib /usr/X11R6/kde/lib /usr/lib $x_libraries"
else
kde_incdirs="/usr/lib64/kde/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /opt/kde3/include /opt/kde/include $x_includes"
kde_libdirs="/usr/lib64/kde/lib64 /usr/local/kde/lib64 /usr/kde/lib64 /usr/lib64/kde /usr/lib64/kde3 /usr/X11R6/lib64 /usr/local/lib64 /opt/kde3/lib64 /opt/kde/lib64 /usr/X11R6/kde/lib64 /usr/lib/kde/lib /usr/local/kde/lib /usr/kde/lib /usr/lib/kde /usr/lib/kde3 /usr/lib /usr/X11R6/lib /usr/local/lib /opt/kde3/lib /opt/kde/lib /usr/X11R6/kde/lib /usr/lib64 $x_libraries"
fi
if test -n "$KDEDIR" ; then
kde_incdirs="$KDEDIR/include $kde_incdirs"
if test -z "$supports_multilib" ; then
kde_libdirs="$KDEDIR/lib $kde_libdirs"
else
kde_libdirs="$KDEDIR/lib64 $KDEDIR/lib $kde_libdirs"
fi
fi
dnl What to test
qt_test_include="qstyle.h"
kde_test_include="kapp.h"
if test "$_os" != "OpenBSD"; then
qt_test_library="libqt-mt.so"
kde_test_library="libDCOP.so"
else
qt_test_library="libqt-mt.so*"
kde_test_library="libDCOP.so*"
fi
dnl Check for Qt3 headers
AC_MSG_CHECKING([for Qt3 headers])
qt_incdir="no"
for kde_check in $qt_incdirs ; do
if test -r "$kde_check/$qt_test_include" ; then
qt_incdir="$kde_check"
break
fi
done
AC_MSG_RESULT([$qt_incdir])
if test "x$qt_incdir" = "xno" ; then
AC_MSG_ERROR([Qt3 headers not found. Please specify the root of
your Qt3 installation by exporting QTDIR before running "configure".])
fi
dnl Check for Qt3 libraries
AC_MSG_CHECKING([for Qt3 libraries])
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
qt_libdir="no"
for qt_check in $qt_libdirs ; do
if test -r "`ls $qt_check/$qt_test_library 2>/dev/null | head -1`" ; then
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
qt_libdir="$qt_check"
break
fi
done
AC_MSG_RESULT([$qt_libdir])
if test "x$qt_libdir" = "xno" ; then
AC_MSG_ERROR([Qt3 libraries not found. Please specify the root of
your Qt3 installation by exporting QTDIR before running "configure".])
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
fi
dnl Check for Meta Object Compiler
AC_PATH_PROG( MOC, moc, no, [`dirname $qt_libdir`/bin:$QTDIR/bin:$PATH] )
INTEGRATION: CWS configure9 (1.111.2); FILE MERGED 2005/04/08 15:43:49 rene 1.111.2.16: #i46873# don't use sed -r in java check.... 2005/04/07 21:15:38 rene 1.111.2.15: fix cut'n'paste errors and also add x_libraries to to check. 2005/04/06 23:04:25 rene 1.111.2.14: move fi to right place... 2005/04/05 12:51:42 rene 1.111.2.13: more help whitespace improvements, and make help not exceed 80 lines where possible, 2005/04/05 10:10:12 rene 1.111.2.12: more test -n fixes don't emit a warning when PKGFORMAT is rpm / pkg and we don't have external EPM, in which case EPM_VERSION isn't set. Disable that check completely when using internal EPM since we know our epm is patched. 2005/04/04 20:37:32 rene 1.111.2.11: #i46624# whitespace fixes (alignment of help options) 2005/04/04 13:19:49 rene 1.111.2.10: RESYNC: (1.111-1.112); FILE MERGED 2005/04/04 12:51:19 rene 1.111.2.9: more crashup/symbol help fixes 2005/04/04 10:21:18 rene 1.111.2.8: don't enable Gtk/GNOME VFS per default for Mac OS X 2005/04/04 10:13:14 rene 1.111.2.7: more option help improvements 2005/04/04 10:01:55 rene 1.111.2.6: #i46572# make java check work if path contains space, as in Windows, thanks vq 2005/03/31 14:40:43 rene 1.111.2.5: #i46018# fix crashdump check output and change help test to say --disable-foo when the option is enabled per default... 2005/03/31 14:23:59 rene 1.111.2.4: fix more checks wrt test -n and --disable-foo 2005/03/31 14:06:38 rene 1.111.2.3: #i45934# fix PASF check to make --disable-pasf work 2005/03/30 18:40:39 rene 1.111.2.2: #i46310# check for moc 2005/03/30 08:43:05 rene 1.111.2.1: #i46081# check for fontconfig version
2005-04-11 07:52:24 +00:00
if test "$MOC" = "no" ; then
AC_MSG_ERROR([Qt3 Meta Object Compiler not found. Please specify
the root of your Qt3 installation by exporting QTDIR before running "configure".])
fi
dnl Check for KDE3 headers
AC_MSG_CHECKING([for KDE3 headers])
kde_incdir="no"
for kde_check in $kde_incdirs ; do
if test -r "$kde_check/$kde_test_include" ; then
kde_incdir="$kde_check"
break
fi
done
AC_MSG_RESULT([$kde_incdir])
if test "x$kde_incdir" = "xno" ; then
AC_MSG_ERROR([KDE3 headers not found. Please specify the root of
your KDE3 installation by exporting KDEDIR before running "configure".])
fi
dnl Check for KDE3 libraries
AC_MSG_CHECKING([for KDE3 libraries])
kde_libdir="no"
for kde_check in $kde_libdirs ; do
if test -r "`ls $kde_check/$kde_test_library 2>/dev/null | head -1`" ; then
kde_libdir="$kde_check"
break
fi
done
AC_MSG_RESULT([$kde_libdir])
if test "x$kde_libdir" = "xno" ; then
AC_MSG_ERROR([KDE3 libraries not found. Please specify the root of
your KDE3 installation by exporting KDEDIR before running "configure".])
fi
dnl Set the variables
KDE_CFLAGS="-I$qt_incdir -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT"
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
KDE_LIBS="-L$kde_libdir -L$qt_libdir -lkdeui -lkdecore -lqt-mt"
fi
AC_SUBST(KDE_CFLAGS)
AC_SUBST(KDE_LIBS)
INTEGRATION: CWS configure9 (1.111.2); FILE MERGED 2005/04/08 15:43:49 rene 1.111.2.16: #i46873# don't use sed -r in java check.... 2005/04/07 21:15:38 rene 1.111.2.15: fix cut'n'paste errors and also add x_libraries to to check. 2005/04/06 23:04:25 rene 1.111.2.14: move fi to right place... 2005/04/05 12:51:42 rene 1.111.2.13: more help whitespace improvements, and make help not exceed 80 lines where possible, 2005/04/05 10:10:12 rene 1.111.2.12: more test -n fixes don't emit a warning when PKGFORMAT is rpm / pkg and we don't have external EPM, in which case EPM_VERSION isn't set. Disable that check completely when using internal EPM since we know our epm is patched. 2005/04/04 20:37:32 rene 1.111.2.11: #i46624# whitespace fixes (alignment of help options) 2005/04/04 13:19:49 rene 1.111.2.10: RESYNC: (1.111-1.112); FILE MERGED 2005/04/04 12:51:19 rene 1.111.2.9: more crashup/symbol help fixes 2005/04/04 10:21:18 rene 1.111.2.8: don't enable Gtk/GNOME VFS per default for Mac OS X 2005/04/04 10:13:14 rene 1.111.2.7: more option help improvements 2005/04/04 10:01:55 rene 1.111.2.6: #i46572# make java check work if path contains space, as in Windows, thanks vq 2005/03/31 14:40:43 rene 1.111.2.5: #i46018# fix crashdump check output and change help test to say --disable-foo when the option is enabled per default... 2005/03/31 14:23:59 rene 1.111.2.4: fix more checks wrt test -n and --disable-foo 2005/03/31 14:06:38 rene 1.111.2.3: #i45934# fix PASF check to make --disable-pasf work 2005/03/30 18:40:39 rene 1.111.2.2: #i46310# check for moc 2005/03/30 08:43:05 rene 1.111.2.1: #i46081# check for fontconfig version
2005-04-11 07:52:24 +00:00
AC_SUBST(MOC)
dnl ===================================================================
dnl KDE4 Integration
dnl ===================================================================
KDE4_CFLAGS=""
KDE4_LIBS=""
MOC4="moc"
KDE_GLIB_CFLAGS=""
KDE_GLIB_LIBS=""
KDE_HAVE_GLIB=""
if test "$test_kde4" = "yes" -a "$ENABLE_KDE4" = "TRUE" ; then
2011-07-04 02:20:26 -05:00
qt_incdirs="$QT4INC /usr/include/qt4 /usr/include $x_includes"
qt_libdirs="$QT4LIB /usr/lib/qt4 /usr/lib $x_libraries"
2011-07-04 02:20:26 -05:00
kde_incdirs="/usr/include /usr/include/kde4 $x_includes"
kde_libdirs="/usr/lib /usr/lib/kde4 /usr/lib/kde4/devel $x_libraries"
2011-07-04 02:20:26 -05:00
if test -n "$supports_multilib" ; then
qt_libdirs="$qt_libdirs /usr/lib64/qt4 /usr/lib64/qt /usr/lib64"
kde_libdirs="$kde_libdirs /usr/lib64 /usr/lib64/kde4 /usr/lib64/kde4/devel"
fi
2011-07-04 02:20:26 -05:00
if test -n "$QTDIR" ; then
qt_incdirs="$QTDIR/include $qt_incdirs"
if test -z "$supports_multilib" ; then
qt_libdirs="$QTDIR/lib $qt_libdirs"
else
qt_libdirs="$QTDIR/lib64 $QTDIR/lib $qt_libdirs"
fi
fi
if test -n "$QT4DIR" ; then
qt_incdirs="$QT4DIR/include $qt_incdirs"
if test -z "$supports_multilib" ; then
qt_libdirs="$QT4DIR/lib $qt_libdirs"
else
qt_libdirs="$QT4DIR/lib64 $QT4DIR/lib $qt_libdirs"
fi
fi
2011-07-04 02:20:26 -05:00
if test -n "$KDEDIR" ; then
kde_incdirs="$KDEDIR/include $kde_incdirs"
if test -z "$supports_multilib" ; then
kde_libdirs="$KDEDIR/lib $kde_libdirs"
else
kde_libdirs="$KDEDIR/lib64 $KDEDIR/lib $kde_libdirs"
fi
fi
if test -n "$KDE4DIR" ; then
kde_incdirs="$KDE4DIR/include $KDE4DIR/include/kde4 $kde_incdirs"
if test -z "$supports_multilib" ; then
kde_libdirs="$KDE4DIR/lib $kde_libdirs"
else
kde_libdirs="$KDE4DIR/lib64 $KDE4DIR/lib $kde_libdirs"
fi
fi
qt_test_include="Qt/qobject.h"
qt_test_library="libQtCore.so"
kde_test_include="kwindowsystem.h"
kde_test_library="libsolid.so"
AC_MSG_CHECKING([for Qt4 headers])
qt_header_dir="no"
for inc_dir in $qt_incdirs ; do
if test -r "$inc_dir/$qt_test_include" ; then
qt_header_dir="$inc_dir"
break
fi
done
AC_MSG_RESULT([$qt_header_dir])
if test "x$qt_header_dir" = "xno" ; then
AC_MSG_ERROR([Qt4 headers not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running "configure".])
fi
AC_MSG_CHECKING([for Qt4 libraries])
qt_lib_dir="no"
for lib_dir in $qt_libdirs ; do
if test -r "$lib_dir/$qt_test_library" ; then
qt_lib_dir="$lib_dir"
PKG_CONFIG_PATH="$qt_lib_dir"/pkgconfig:$PKG_CONFIG_PATH
break
fi
done
AC_MSG_RESULT([$qt_lib_dir])
if test "x$qt_lib_dir" = "xno" ; then
AC_MSG_ERROR([Qt4 libraries not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running "configure".])
fi
dnl Check for Meta Object Compiler
AC_PATH_PROG( MOCQT4, moc-qt4, no, [`dirname $qt_lib_dir`/bin:$QT4DIR/bin:$PATH] )
MOC4="$MOCQT4"
if test "$MOC4" = "no" ; then
AC_PATH_PROG( MOC4, moc, no, [`dirname $qt_lib_dir`/bin:$QT4DIR/bin:$PATH] )
if test "$MOC4" = "no" ; then
AC_MSG_ERROR([Qt Meta Object Compiler not found. Please specify
2009-09-18 14:30:31 +00:00
the root of your Qt installation by exporting QT4DIR before running "configure".])
2011-07-04 02:20:26 -05:00
fi
fi
dnl Check for KDE4 headers
AC_MSG_CHECKING([for KDE4 headers])
kde_incdir="no"
for kde_check in $kde_incdirs ; do
if test -r "$kde_check/$kde_test_include" ; then
kde_incdir="$kde_check"
break
fi
done
AC_MSG_RESULT([$kde_incdir])
if test "x$kde_incdir" = "xno" ; then
AC_MSG_ERROR([KDE4 headers not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running "configure".])
fi
dnl Check for KDE4 libraries
AC_MSG_CHECKING([for KDE4 libraries])
kde_libdir="no"
for kde_check in $kde_libdirs ; do
if test -r "$kde_check/$kde_test_library" ; then
kde_libdir="$kde_check"
break
fi
done
AC_MSG_RESULT([$kde_libdir])
if test "x$kde_libdir" = "xno" ; then
AC_MSG_ERROR([KDE4 libraries not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running "configure".])
fi
KDE4_CFLAGS="`pkg-config --cflags QtCore` `pkg-config --cflags QtGui` -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT"
KDE4_LIBS="-L$kde_libdir -L$qt_lib_dir -lkdeui -lkdecore -lQtCore -lQtGui"
AC_LANG_PUSH([C++])
save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS $KDE4_CFLAGS"
AC_MSG_CHECKING([whether KDE is >= 4.2])
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <kdeversion.h>
int main(int argc, char **argv) {
if (KDE_VERSION_MAJOR == 4 && KDE_VERSION_MINOR >= 2) return 0;
else return 1;
}
]])],[AC_MSG_RESULT([yes])],[AC_MSG_ERROR([KDE version too old])],[])
2011-07-04 02:20:26 -05:00
CXXFLAGS=$save_CXXFLAGS
AC_LANG_POP([C++])
# Glib is needed for properly handling Qt event loop with Qt's Glib integration enabled
2011-07-04 02:20:26 -05:00
PKG_CHECK_MODULES(KDE_GLIB,[glib-2.0 >= 2.4],
[KDE_HAVE_GLIB=1],
AC_MSG_WARN([[No Glib found, KDE4 support will not integrate with Qt's Glib event loop support]]))
fi
AC_SUBST(KDE4_CFLAGS)
AC_SUBST(KDE4_LIBS)
AC_SUBST(MOC4)
AC_SUBST(KDE_GLIB_CFLAGS)
AC_SUBST(KDE_GLIB_LIBS)
AC_SUBST(KDE_HAVE_GLIB)
dnl ===================================================================
dnl Test for the enabling the lockdown pieces
dnl ===================================================================
AC_MSG_CHECKING([whether to enable the lockdown pieces])
ENABLE_LOCKDOWN=""
if test -n "$enable_lockdown" && test "$enable_lockdown" != "no"; then
2011-07-04 02:20:26 -05:00
ENABLE_LOCKDOWN=YES
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_LOCKDOWN)
dnl ===================================================================
dnl Test whether to include Evolution 2 support
dnl ===================================================================
AC_MSG_CHECKING([whether to enable evolution 2 support])
if test "$enable_evolution2" = "yes" -o "$enable_evolution2" = "TRUE"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES(GOBJECT, gobject-2.0)
ENABLE_EVOAB2="TRUE"
else
2011-07-04 02:20:26 -05:00
ENABLE_EVOAB2=""
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_EVOAB2)
AC_SUBST(GOBJECT_CFLAGS)
AC_SUBST(GOBJECT_LIBS)
dnl ===================================================================
dnl Test whether to include KDE AB support
dnl ===================================================================
AC_MSG_CHECKING([whether to enable KDE address book support])
if test "$enable_kdeab" = "yes" && test "$enable_kde" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
AC_LANG_PUSH([C++])
save_CXXFLAGS=$CXXFLAGS
CXXFLAGS="$CXXFLAGS $KDE_CFLAGS"
AC_MSG_CHECKING([whether KDE is between 3.2 and 3.6])
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <kdeversion.h>
int main(int argc, char **argv) {
if (KDE_VERSION_MAJOR == 3 && 2 <= KDE_VERSION_MINOR && KDE_VERSION_MINOR <= 6) return 0;
else return 1;
}
]])],[AC_MSG_RESULT([yes])],[AC_MSG_ERROR([KDE version too old or too recent, please use another version of KDE or disable KDE address book support])],[])
2011-07-04 02:20:26 -05:00
CXXFLAGS=$save_CXXFLAGS
AC_LANG_POP([C++])
ENABLE_KAB=TRUE
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
ENABLE_KAB=
fi
AC_SUBST(ENABLE_KAB)
dnl ===================================================================
dnl Test whether to include MathMLDTD
dnl ===================================================================
AC_MSG_CHECKING([whether to include MathMLDTD])
if test -n "$enable_mathmldtd"; then
2011-07-04 02:20:26 -05:00
if test "$enable_mathmldtd" = "no"; then
AC_MSG_RESULT([no])
SCPDEFS="$SCPDEFS -DWITHOUT_MATHMLDTD"
else
AC_MSG_RESULT([yes])
BUILD_TYPE="$BUILD_TYPE MATHMLDTD"
fi
else
AC_MSG_RESULT([no])
SCPDEFS="$SCPDEFS -DWITHOUT_MATHMLDTD"
fi
dnl ===================================================================
dnl Test which themes to include
dnl ===================================================================
AC_MSG_CHECKING([which themes to include])
# if none given, use all available themes
if test "x$with_theme" = "x" -o "x$with_theme" = "xyes"; then
with_theme="default crystal hicontrast oxygen tango"
fi
2011-07-04 02:20:26 -05:00
WITH_THEMES=""
2011-09-17 12:46:21 +02:00
for theme in $with_theme; do
case $theme in
default|crystal|hicontrast|oxygen|tango) : ;;
*) AC_MSG_ERROR([Unknown value for --with-themes: $theme]) ;;
esac
WITH_THEMES="$WITH_THEMES $theme"
SCPDEFS="$SCPDEFS -DTHEME_`echo $theme|tr '[[:lower:]]' '[[:upper:]]'`"
2011-07-04 02:20:26 -05:00
done
AC_MSG_RESULT([$WITH_THEMES])
AC_SUBST([WITH_THEMES])
dnl ===================================================================
dnl Test whether to integrate helppacks into the product's installer
dnl ===================================================================
AC_MSG_CHECKING([for helppack integration])
2010-12-17 23:09:16 +01:00
if test "z$with_helppack_integration" = "zno" ; then
2011-07-04 02:20:26 -05:00
WITH_HELPPACK_INTEGRATION=NO
AC_MSG_RESULT([no integration])
else
2011-07-04 02:20:26 -05:00
WITH_HELPPACK_INTEGRATION=YES
SCPDEFS="$SCPDEFS -DWITH_HELPPACK_INTEGRATION"
AC_MSG_RESULT([integration])
fi
AC_SUBST(WITH_HELPPACK_INTEGRATION)
###############################################################################
# Extensions checking
###############################################################################
dnl ===================================================================
dnl Test whether to integrate extensions into the product's installer
dnl ===================================================================
AC_MSG_CHECKING([for extensions integration])
if test "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
WITH_EXTENSION_INTEGRATION=YES
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_INTEGRATION"
AC_MSG_RESULT([yes, use integration])
else
WITH_EXTENSION_INTEGRATION=NO
AC_MSG_RESULT([no, do not integrate])
fi
AC_SUBST(WITH_EXTENSION_INTEGRATION)
dnl ===================================================================
dnl Test whether to include Lightproof extensions
dnl ===================================================================
AC_MSG_CHECKING([for Lightproof extensions integration (only supported languages displayed)])
LIGHTPROOF_LANG=
LIGHTPROOF_HU_PACK=
LIGHTPROOF_RU_PACK=
LIGHTPROOF_EN_US_PACK=
if test "x$enable_ext_lightproof" = "xno" -o "x$enable_extension_integration" = "xno"; then
AC_MSG_RESULT([no integration])
else
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_LIGHTPROOF"
if test "x$enable_ext_lightproof" = "xyes" -o "x$enable_ext_lightproof" = "x"; then
wanted_lightproof="en-US hu ru"
else
for lang in $enable_ext_lightproof ; do
case $lang in
en-US|hu|ru)
wanted_lightproof="$wanted_lightproof $lang"
;;
*)
AC_MSG_ERROR([Unknown value for --enable-ext-lightproof: $lang])
;;
esac
done
fi
for lang in $wanted_lightproof ; do
LIGHTPROOF_LANG="$LIGHTPROOF_LANG $lang"
case $lang in
en-US) LIGHTPROOF_EN_US_PACK="0ab55ac8e88f04258f1d3e79e984382f-lightproof-en_US-0.1.oxt" ;;
hu) LIGHTPROOF_HU_PACK="76345f925e34fef2d29bade4f29108e9-lightproof-hu_1.3.oxt" ;;
ru) LIGHTPROOF_RU_PACK="673860e8649cff2ebdc68bd46f2f7f1a-lightproof-ru_0.1.oxt" ;;
*) AC_MSG_ERROR([Unknown value for --enable-ext-lightproof: $lang]) ;;
esac
done
AC_MSG_RESULT([$LIGHTPROOF_LANG])
fi
AC_SUBST(LIGHTPROOF_LANG)
AC_SUBST(LIGHTPROOF_HU_PACK)
AC_SUBST(LIGHTPROOF_RU_PACK)
AC_SUBST(LIGHTPROOF_EN_US_PACK)
dnl ===================================================================
dnl Test whether to include Watch Window extension
dnl ===================================================================
AC_MSG_CHECKING([for Watch Window extension integration])
WATCH_WINDOW_EXTENSION_PACK=
if test "x$enable_ext_watch_window" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_WATCH_WINDOW"
WATCH_WINDOW_EXTENSION_PACK="23bd75552206dfcd8fd4e29137dcac84-WatchWindow_1.2.0.0.oxt"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(WATCH_WINDOW_EXTENSION_PACK)
dnl ===================================================================
dnl Test whether to include SmART Gallery (Diagram) extension
dnl ===================================================================
AC_MSG_CHECKING([for SmART Gallery (Diagram) extension integration])
DIAGRAM_EXTENSION_PACK=
if test "x$enable_ext_diagram" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_DIAGRAM"
DIAGRAM_EXTENSION_PACK="4a433efb6d385264ebc1d5513782d51c-SmART_0.9.4.oxt"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(DIAGRAM_EXTENSION_PACK)
2010-10-31 04:50:14 +01:00
dnl ===================================================================
dnl Test whether to include Validator extension
dnl ===================================================================
AC_MSG_CHECKING([for Validator extension integration])
VALIDATOR_EXTENSION_PACK=
if test "x$enable_ext_validator" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_VALIDATOR"
VALIDATOR_EXTENSION_PACK="bbdd5639ada63e3130761daaecae1a10-Validator_1.1.0.0.oxt"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(VALIDATOR_EXTENSION_PACK)
2010-10-31 04:50:14 +01:00
2010-10-31 05:15:17 +01:00
dnl ===================================================================
dnl Test whether to include Barcode extension
dnl ===================================================================
AC_MSG_CHECKING([for Barcode extension integration])
BARCODE_EXTENSION_PACK=
if test "x$enable_ext_barcode" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_BARCODE"
BARCODE_EXTENSION_PACK="7e7efc5d4a03126bb9ae3ae9aa2c4e87-Barcode_1.3.1.0.oxt"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST([BARCODE_EXTENSION_PACK])
2010-10-31 05:15:17 +01:00
dnl ===================================================================
dnl Test whether to include ConvertTextToNumber extension
dnl ===================================================================
AC_MSG_CHECKING([for ConvertTextToNumber extension integration])
CT2N_EXTENSION_PACK=
if test "x$enable_ext_ct2n" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
BUILD_TYPE="$BUILD_TYPE CT2N"
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_CT2N"
CT2N_EXTENSION_PACK="451ccf439a36a568653b024534669971-ConvertTextToNumber_1.3.2.oxt"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(CT2N_EXTENSION_PACK)
dnl ===================================================================
dnl Test whether to include Numbertext extension
dnl ===================================================================
AC_MSG_CHECKING([for Numbertext extension integration])
NUMBERTEXT_EXTENSION_PACK=
if test "x$enable_ext_numbertext" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_NUMBERTEXT"
NUMBERTEXT_EXTENSION_PACK="b8cbca7b3363e6ca2d02bc0ba2b63904-numbertext_0.9.4.oxt"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(NUMBERTEXT_EXTENSION_PACK)
dnl ===================================================================
dnl Test whether to include Hungarian Cross-reference Toolbar extension
dnl ===================================================================
AC_MSG_CHECKING([for Hungarian Cross-reference Toolbar extension integration])
HUNART_EXTENSION_PACK=
if test "x$enable_ext_hunart" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_HUNART"
HUNART_EXTENSION_PACK="b632bdd25649cc4067bcb410bae23d2b-hunart_0.3.oxt"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(HUNART_EXTENSION_PACK)
dnl ===================================================================
dnl Test whether to include Typography Toolbar extension
dnl ===================================================================
AC_MSG_CHECKING([for Typography Toolbar extension integration])
TYPO_EXTENSION_PACK=
if test "x$enable_ext_typo" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_TYPO"
TYPO_EXTENSION_PACK="9d60b6cfa3ef1926848710bbcd11115b-typo_0.4.2.oxt"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(TYPO_EXTENSION_PACK)
dnl ===================================================================
dnl Test whether to include Google Docs extension
dnl ===================================================================
AC_MSG_CHECKING([for Google Docs extension integration])
GOOGLE_DOCS_EXTENSION_PACK=
if test "x$enable_ext_google_docs" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_GOOGLE_DOCS"
GOOGLE_DOCS_EXTENSION_PACK="cea0f63d5985ba4fcbd882031df44346-gdocs_3.0.0_modified.oxt"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(GOOGLE_DOCS_EXTENSION_PACK)
dnl ===================================================================
dnl Test whether to include NLPSolver extension
dnl ===================================================================
AC_MSG_CHECKING([for NLPSolver extension integration])
if test "x$enable_ext_nlpsolver" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
BUILD_TYPE="$BUILD_TYPE NLPSOLVER"
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_NLPSOLVER"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
dnl ===================================================================
dnl Test whether to include LanguageTool extension
dnl ===================================================================
AC_MSG_CHECKING([for LanguageTool extension integration])
if test "x$enable_ext_languagetool" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
BUILD_TYPE="$BUILD_TYPE LANGUAGETOOL"
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_LANGUAGETOOL"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
dnl ===================================================================
dnl Test whether to include oooblogger extension
dnl ===================================================================
AC_MSG_CHECKING([for oooblogger extension integration])
OOOBLOGGER_EXTENSION_PACK=
if test "x$enable_ext_oooblogger" = "xyes" -a "x$enable_extension_integration" != "xno"; then
2011-07-04 02:20:26 -05:00
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_OOOBLOGGER"
OOOBLOGGER_EXTENSION_PACK="b7b2d0e04e142f26dd96119c80757d1f-oooblogger_0.1.oxt"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(OOOBLOGGER_EXTENSION_PACK)
###############################################################################
dnl ===================================================================
dnl Test whether to include Sun Professional Template Pack
dnl ===================================================================
AC_MSG_CHECKING([for Sun Professional Template Pack integration (only supported languages displayed)])
if test "z$with_sun_templates" = "z" -o "z$with_sun_templates" = "zno" ; then
SUNTEMPLATES_LANG=""
AC_MSG_RESULT([no integration])
else
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_SUN_TEMPLATE_PACK"
sun_supported_langs="en-US de it fr es hu"
if test "z$with_sun_templates" = "zyes" ; then
2011-07-04 02:20:26 -05:00
wanted_sun_templates="$sun_supported_langs"
else
2011-07-04 02:20:26 -05:00
# check whether the langs are supported by Sun
wanted_sun_templates=
for lang in $with_sun_templates ; do
if test -n "`echo $sun_supported_langs | grep "$lang"`" ; then
wanted_sun_templates="$wanted_sun_templates $lang"
fi
done
fi
SUNTEMPLATES_LANG=
SUNTEMPLATES_DE_PACK=
SUNTEMPLATES_EN_US_PACK=
SUNTEMPLATES_ES_PACK=
SUNTEMPLATES_FR_PACK=
SUNTEMPLATES_HU_PACK=
SUNTEMPLATES_IT_PACK=
# check whether the langs are requested at all
for lang in $wanted_sun_templates ; do
if test "$with_lang" = "ALL" -o -n "`echo $with_lang | grep "$lang"`" ; then
SUNTEMPLATES_LANG="$SUNTEMPLATES_LANG $lang"
2011-07-04 02:20:26 -05:00
case $lang in
"de") SUNTEMPLATES_DE_PACK="53ca5e56ccd4cab3693ad32c6bd13343-Sun-ODF-Template-Pack-de_1.0.0.oxt";;
"en-US") SUNTEMPLATES_EN_US_PACK="472ffb92d82cf502be039203c606643d-Sun-ODF-Template-Pack-en-US_1.0.0.oxt";;
"es") SUNTEMPLATES_ES_PACK="4ad003e7bbda5715f5f38fde1f707af2-Sun-ODF-Template-Pack-es_1.0.0.oxt";;
"fr") SUNTEMPLATES_FR_PACK="a53080dc876edcddb26eb4c3c7537469-Sun-ODF-Template-Pack-fr_1.0.0.oxt";;
"hu") SUNTEMPLATES_HU_PACK="09ec2dac030e1dcd5ef7fa1692691dc0-Sun-ODF-Template-Pack-hu_1.0.0.oxt";;
"it") SUNTEMPLATES_IT_PACK="b33775feda3bcf823cad7ac361fd49a6-Sun-ODF-Template-Pack-it_1.0.0.oxt";;
esac
fi
done
AC_MSG_RESULT([$SUNTEMPLATES_LANG])
fi
AC_SUBST(SUNTEMPLATES_LANG)
AC_SUBST(SUNTEMPLATES_DE_PACK)
AC_SUBST(SUNTEMPLATES_EN_US_PACK)
AC_SUBST(SUNTEMPLATES_ES_PACK)
AC_SUBST(SUNTEMPLATES_FR_PACK)
AC_SUBST(SUNTEMPLATES_HU_PACK)
AC_SUBST(SUNTEMPLATES_IT_PACK)
dnl ===================================================================
dnl Test whether to include fonts
dnl ===================================================================
AC_MSG_CHECKING([whether to include third-party fonts])
if test "$with_fonts" != "no" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
WITH_FONTS=YES
BUILD_TYPE="$BUILD_TYPE MORE_FONTS"
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITH_FONTS=NO
SCPDEFS="$SCPDEFS -DWITHOUT_FONTS"
fi
AC_SUBST(WITH_FONTS)
AC_MSG_CHECKING([whether to include Agfa Monotype fonts])
if test "$with_agfa_monotype_fonts" = "yes" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
WITH_AGFA_MONOTYPE_FONTS=YES
SCPDEFS="$SCPDEFS -DWITH_AGFA_MONOTYPE_FONTS"
BUILD_TYPE="$BUILD_TYPE AGFA_MONOTYPE_FONTS"
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITH_AGFA_MONOTYPE_FONTS=NO
fi
AC_SUBST(WITH_AGFA_MONOTYPE_FONTS)
dnl ===================================================================
dnl Test whether to include ppds
dnl ===================================================================
AC_MSG_CHECKING([whether to include PPDs])
if test "$with_ppds" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITHOUT_PPDS=YES
SCPDEFS="$SCPDEFS -DWITHOUT_PPDS"
fi
AC_SUBST(WITHOUT_PPDS)
dnl ===================================================================
dnl Test whether to include afms
dnl ===================================================================
AC_MSG_CHECKING([whether to include AFMs])
if test "$with_afms" != "no"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
BUILD_TYPE="$BUILD_TYPE AFMS"
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITHOUT_AFMS=YES
SCPDEFS="$SCPDEFS -DWITHOUT_AFMS"
fi
AC_SUBST(WITHOUT_AFMS)
dnl ===================================================================
dnl Test whether to include extra galleries
dnl ===================================================================
AC_MSG_CHECKING([whether to include extra galleries])
if test "z$enable_extra_gallery" = "z" -o "z$enable_extra_gallery" = "zno" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITH_EXTRA_GALLERY=NO
OOOP_GALLERY_PACK=""
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
WITH_EXTRA_GALLERY=YES
BUILD_TYPE="$BUILD_TYPE EXTRA_GALLERY"
SCPDEFS="$SCPDEFS -DWITH_EXTRA_GALLERY"
OOOP_GALLERY_PACK="af9314c5972d95a5d6da23ffad818f68-OOOP-gallery-pack-2.8.0.0.zip"
fi
AC_SUBST(WITH_EXTRA_GALLERY)
AC_SUBST(OOOP_GALLERY_PACK)
dnl ===================================================================
dnl Test whether to include extra templates
dnl ===================================================================
AC_MSG_CHECKING([whether to include extra templates])
if test "z$enable_extra_template" = "z" -o "z$enable_extra_template" = "zno" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITH_EXTRA_TEMPLATE=NO
OOOP_TEMPLATES_PACK=""
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
WITH_EXTRA_TEMPLATE=YES
BUILD_TYPE="$BUILD_TYPE EXTRA_TEMPLATE"
SCPDEFS="$SCPDEFS -DWITH_EXTRA_TEMPLATE"
OOOP_TEMPLATES_PACK="1be202fbbbc13f10592a98f70a4a87fb-OOOP-templates-pack-2.9.0.0.zip"
fi
AC_SUBST(WITH_EXTRA_TEMPLATE)
AC_SUBST(OOOP_TEMPLATES_PACK)
dnl ===================================================================
dnl Test whether to include extra samples
dnl ===================================================================
AC_MSG_CHECKING([whether to include extra samples])
if test "z$enable_extra_sample" = "z" -o "z$enable_extra_sample" = "zno" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITH_EXTRA_SAMPLE=NO
OOOP_SAMPLES_PACK=""
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
WITH_EXTRA_SAMPLE=YES
BUILD_TYPE="$BUILD_TYPE EXTRA_SAMPLE"
SCPDEFS="$SCPDEFS -DWITH_EXTRA_SAMPLE"
OOOP_SAMPLES_PACK="a6bccacf44914969e6e7b2f8faf4132c-OOOP-samples-pack-2.7.0.0.zip"
fi
AC_SUBST(WITH_EXTRA_SAMPLE)
AC_SUBST(OOOP_SAMPLES_PACK)
dnl ===================================================================
dnl Test whether to include extra fonts
dnl ===================================================================
AC_MSG_CHECKING([whether to include extra fonts])
if test "z$enable_extra_font" = "z" -o "z$enable_extra_font" = "zno" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
WITH_EXTRA_FONT=NO
OOOP_FONTS_PACK=""
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
WITH_EXTRA_FONT=YES
BUILD_TYPE="$BUILD_TYPE EXTRA_FONT"
SCPDEFS="$SCPDEFS -DWITH_EXTRA_FONT"
OOOP_FONTS_PACK="a10aa597411643326e27d7fc128af12d-OOOP-fonts-pack-2.9.0.0.zip"
fi
AC_SUBST(WITH_EXTRA_FONT)
AC_SUBST(OOOP_FONTS_PACK)
dnl ===================================================================
dnl Test whether to build global menu support
dnl ===================================================================
AC_MSG_CHECKING([whether to build global menu support])
if test "z$enable_lomenubar" = "z" -o "z$enable_lomenubar" = "zno" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
ENABLE_LOMENUBAR="FALSE"
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
2011-07-26 16:04:01 +02:00
PKG_CHECK_MODULES(DBUSMENUGTK, dbusmenu-gtk-0.4,, AC_MSG_ERROR([requirements to build lo-menubar not met. Use --disable-lomenubar or install the missing packages]))
2011-07-04 02:20:26 -05:00
ENABLE_LOMENUBAR="TRUE"
fi
AC_SUBST(ENABLE_LOMENUBAR)
dnl ===================================================================
dnl Test whether to enable online update service
dnl ===================================================================
AC_MSG_CHECKING([whether to enable online update])
ENABLE_ONLINE_UPDATE=
if test "z$enable_online_update" = "z" ; then
2011-07-04 02:20:26 -05:00
if test "$_os" = "WINNT" -o "$_os" = "Darwin" ; then
AC_MSG_RESULT([yes])
ENABLE_ONLINE_UPDATE="TRUE"
else
AC_MSG_RESULT([no])
fi
else
2011-07-04 02:20:26 -05:00
if test "z$enable_online_update" = "zyes" ; then
AC_MSG_RESULT([yes])
ENABLE_ONLINE_UPDATE="TRUE"
else
AC_MSG_RESULT([no])
fi
fi
AC_SUBST(ENABLE_ONLINE_UPDATE)
dnl ===================================================================
dnl Test whether build target is Release Build
dnl ===================================================================
AC_MSG_CHECKING([whether build target is Release Build])
if test "z$enable_release_build" = "z" -o "z$enable_release_build" = "zno" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([no])
ENABLE_RELEASE_BUILD="FALSE"
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
ENABLE_RELEASE_BUILD="TRUE"
fi
AC_SUBST(ENABLE_RELEASE_BUILD)
dnl ===================================================================
dnl Test whether to enable ActiveX embedding
dnl ===================================================================
if test "$_os" = "WINNT"; then
2011-07-04 02:20:26 -05:00
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_MSG_CHECKING([whether and how to use Xinerama])
if test "$_os" = "Darwin"; then
2011-07-04 02:20:26 -05:00
USE_XINERAMA=YES
XINERAMA_LINK=dynamic
AC_MSG_RESULT([yes])
elif test "$_os" = "Linux" -o "$_os" = "FreeBSD"; then
2011-07-04 02:20:26 -05:00
if test -e "$XLIB/libXinerama.so" -a -e "$XLIB/libXinerama.a"; then
# we have both versions, let the user decide but use the dynamic one
# per default
USE_XINERAMA=YES
if test -z "$with_static_xinerama" -o -n "$with_system_libs"; then
XINERAMA_LINK=dynamic
else
XINERAMA_LINK=static
fi
elif test -e "$XLIB/libXinerama.so" -a ! -e "$XLIB/libXinerama.a"; then
# we have only the dynamic version
USE_XINERAMA=YES
XINERAMA_LINK=dynamic
elif test -e "$XLIB/libXinerama.a"; then
# static version
if echo $host_cpu | grep -E 'i[[3456]]86' 2>/dev/null >/dev/null; then
USE_XINERAMA=YES
XINERAMA_LINK=static
else
USE_XINERAMA=NO
XINERAMA_LINK=none
fi
else
# no Xinerama
USE_XINERAMA=NO
XINERAMA_LINK=none
fi
if test "$USE_XINERAMA" = "YES"; then
AC_MSG_RESULT([yes, with $XINERAMA_LINK linking])
AC_CHECK_HEADER(X11/extensions/Xinerama.h, [],
[AC_MSG_ERROR(Xinerama header not found.)], [])
XINERAMA_EXTRA_LIBS="-L$XLIB -lXext"
if test "$_os" = "FreeBSD"; then
XINERAMA_EXTRA_LIBS="$XINERAMA_EXTRA_LIBS -lXt"
fi
if test "$_os" = "Linux"; then
XINERAMA_EXTRA_LIBS="$XINERAMA_EXTRA_LIBS -ldl"
fi
AC_CHECK_LIB(Xinerama, XineramaIsActive, [],
[AC_MSG_ERROR(Xinerama not functional?)], [$XINERAMA_EXTRA_LIBS])
else
AC_MSG_RESULT([no, libXinerama not found or wrong architecture.])
fi
else
USE_XINERAMA=NO
XINERAMA_LINK=none
AC_MSG_RESULT([no])
fi
AC_SUBST(USE_XINERAMA)
AC_SUBST(XINERAMA_LINK)
2011-03-09 18:12:52 +01:00
dnl ===================================================================
dnl Checks for librsvg
2011-03-09 18:12:52 +01:00
dnl ===================================================================
dnl ENABLE_LIBRSVG is set to "" (for NO), SYSTEM or INTERNAL. The
dnl SYSTEM_LIBRSVG, SYSTEM_GDKPIXBUF etc are redundant.
ENABLE_LIBRSVG=""
LIBRSVG_CFLAGS=""
LIBRSVG_LIBS=""
AC_MSG_CHECKING([what librsvg to use])
case "$enable_librsvg" in
no|disable)
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([none])
enable_librsvg=no
;;
""|yes|auto)
2011-07-04 02:20:26 -05:00
if test $build_os = cygwin -o \
$_os = Darwin; then
2011-07-04 02:20:26 -05:00
dnl When building on/for these OSes always use the internal one,
dnl if at all. Add more OSes above as needed.
AC_MSG_RESULT([internal])
enable_librsvg=internal
elif test $_os = iOS -o $_os = Android; then
AC_MSG_RESULT([none])
enable_librsvg=no
else
if test "$with_system_libs" = yes; then
AC_MSG_RESULT([system])
PKG_CHECK_MODULES(LIBRSVG, librsvg-2.0 >= 2.14)
enable_librsvg=system
2011-07-04 02:20:26 -05:00
elif test "$with_system_libs" = no; then
AC_MSG_RESULT([internal])
enable_librsvg=internal
2011-07-04 02:20:26 -05:00
else
AC_MSG_RESULT([checking further])
PKG_CHECK_MODULES(LIBRSVG, librsvg-2.0 >= 2.14,, [:])
if test -z "$LIBRSVG_PKG_ERRORS"; then
enable_librsvg=system
else
enable_librsvg=internal
fi
fi
fi
;;
internal)
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([internal])
;;
system)
2011-07-04 02:20:26 -05:00
if test $_os = WINNT -a "$WITH_MINGW" != yes; then
AC_MSG_ERROR([Must use internal librsvg when building with MSVC])
fi
AC_MSG_RESULT([system])
PKG_CHECK_MODULES(LIBRSVG, librsvg-2.0 >= 2.14)
;;
*)
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([Incorrect --enable-librsvg option])
;;
esac
dnl By now enable_librsvg should be "system", "internal" or "no"
case $enable_librsvg in
system)
2011-07-04 02:20:26 -05:00
ENABLE_LIBRSVG=SYSTEM
SYSTEM_LIBRSVG=YES
;;
internal)
2011-07-04 02:20:26 -05:00
ENABLE_LIBRSVG=INTERNAL
SYSTEM_LIBRSVG=NO
BUILD_TYPE="$BUILD_TYPE LIBRSVG"
;;
no)
2011-07-04 02:20:26 -05:00
ENABLE_LIBRSVG=NO
SYSTEM_LIBRSVG=NO
;;
*)
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([Internal configure script error, invalid enable_librsvg value "$enable_librsvg"])
;;
2011-03-09 18:12:52 +01:00
esac
AC_SUBST(ENABLE_LIBRSVG)
AC_SUBST(LIBRSVG_CFLAGS)
AC_SUBST(LIBRSVG_LIBS)
2011-03-09 18:12:52 +01:00
AC_SUBST(SYSTEM_LIBRSVG)
dnl ===================================================================
dnl Test whether to build cairo or rely on the system version
dnl ===================================================================
SYSTEM_CAIRO=""
AC_MSG_CHECKING([whether to use the system cairo])
if test "$with_system_cairo" = yes -o \( "$with_system_libs" = yes -a "$with_system_cairo" != no \); then
SYSTEM_CAIRO=YES
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES( CAIRO, cairo >= 1.0.2 )
if test "$with_system_xrender_headers" = "yes"; then
AC_MSG_CHECKING([whether Xrender.h defines PictStandardA8])
AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <X11/extensions/Xrender.h>
int main(int argc, char **argv) {
#ifdef PictStandardA8
return 0;
#else
return 1;
#endif
}
]])],[AC_MSG_RESULT([yes])],[AC_MSG_ERROR([no, X headers too old.])
],[])
fi
MINGW_EXTERNAL_DLLS="$MINGW_EXTERNAL_DLLS libfontconfig-1.dll libfreetype-6.dll libpixman-1-0.dll libpng15-15.dll libcairo-2.dll"
else
AC_MSG_RESULT([no])
2011-07-05 23:10:56 +03:00
if test $_os = Android; then
dnl For Android cairo isn't
dnl buildable yet.
:
elif test $_os = WINNT; then
dnl We only need cairo for Windows if we
dnl build librsvg or directx disabled
if test "$ENABLE_LIBRSVG" != NO -o -z "$ENABLE_DIRECTX"; then
2011-07-05 23:10:56 +03:00
BUILD_TYPE="$BUILD_TYPE CAIRO"
fi
else
BUILD_TYPE="$BUILD_TYPE CAIRO"
fi
fi
AC_SUBST(SYSTEM_CAIRO)
AC_SUBST(CAIRO_CFLAGS)
AC_SUBST(CAIRO_LIBS)
2011-03-09 18:12:52 +01:00
dnl ===================================================================
dnl Test whether to build gdk-pixbuf or rely on the system version
dnl ===================================================================
AC_MSG_CHECKING([whether to use the system gdk-pixbuf])
dnl As long as the only thing we need gdk-pixbuf for is below
dnl librsvg, use the same --enable-librsvg (possibly implied
dnl by --with-system-libs) to override this.
if test "$SYSTEM_LIBRSVG" = YES; then
SYSTEM_GDKPIXBUF=YES
AC_MSG_RESULT([yes])
else
case "$_os" in
2011-07-04 02:20:26 -05:00
WINNT|Darwin|iOS|Android)
SYSTEM_GDKPIXBUF=NO
AC_MSG_RESULT([no])
;;
*)
SYSTEM_GDKPIXBUF=YES
AC_MSG_RESULT([yes])
;;
esac
fi
2011-03-09 18:12:52 +01:00
AC_SUBST(SYSTEM_GDKPIXBUF)
dnl ===================================================================
dnl Test whether to build GLib or rely on the system version
2011-03-09 18:12:52 +01:00
dnl ===================================================================
AC_MSG_CHECKING([whether to use the system GLib])
dnl As long as the only thing we need GLib for is below
dnl librsvg, use the same --enable-librsvg (possibly implied
dnl by --with-system-libs) to override this.
if test "$SYSTEM_LIBRSVG" = YES; then
SYSTEM_GLIB=YES
AC_MSG_RESULT([yes])
else
case "$_os" in
2011-07-04 02:20:26 -05:00
WINNT|Darwin|iOS|Android)
SYSTEM_GLIB=NO
AC_MSG_RESULT([no])
;;
*)
SYSTEM_GLIB=YES
AC_MSG_RESULT([yes])
;;
esac
fi
2011-03-09 18:12:52 +01:00
AC_SUBST(SYSTEM_GLIB)
dnl ===================================================================
dnl Test whether to build gettext runtime (libintl) or rely on the
dnl system version
2011-03-09 18:12:52 +01:00
dnl ===================================================================
AC_MSG_CHECKING([whether to use the system gettext runtime])
if test "$with_system_gettext" = yes -o \( "$with_system_libs" = yes -a "$with_system_gettext" != no \); then
SYSTEM_GETTEXT=YES
AC_MSG_RESULT([yes])
else
case "$_os" in
2011-07-04 02:20:26 -05:00
WINNT|Darwin|iOS|Android)
SYSTEM_GETTEXT=NO
AC_MSG_RESULT([no])
;;
*)
SYSTEM_GETTEXT=YES
AC_MSG_RESULT([yes])
;;
esac
fi
2011-03-09 18:12:52 +01:00
AC_SUBST(SYSTEM_GETTEXT)
dnl ===================================================================
dnl Test whether to build libcroco or rely on the system version
dnl ===================================================================
AC_MSG_CHECKING([whether to use the system libcroco])
dnl As long as the only thing we need libcroco for is below
dnl librsvg, use the same --enable-librsvg (possibly implied
dnl by --with-system-libs) to override this.
if test "$SYSTEM_LIBRSVG" = YES; then
SYSTEM_LIBCROCO=YES
AC_MSG_RESULT([yes])
else
case "$_os" in
2011-07-04 02:20:26 -05:00
WINNT|Darwin|iOS|Android)
SYSTEM_LIBCROCO=NO
AC_MSG_RESULT([no])
;;
*)
SYSTEM_LIBCROCO=YES
AC_MSG_RESULT([yes])
;;
esac
fi
2011-03-09 18:12:52 +01:00
AC_SUBST(SYSTEM_LIBCROCO)
dnl ===================================================================
dnl Test whether to build Pango or rely on the system version
2011-03-09 18:12:52 +01:00
dnl ===================================================================
AC_MSG_CHECKING([whether to use the system pango])
dnl As long as the only thing we need Pango for is below
dnl librsvg, use the same --enable-librsvg (possibly implied
dnl by --with-system-libs) to override this.
if test "$SYSTEM_LIBRSVG" = YES; then
SYSTEM_PANGO=YES
AC_MSG_RESULT([yes])
else
case "$_os" in
2011-07-04 02:20:26 -05:00
WINNT|Darwin|iOS|Android)
SYSTEM_PANGO=NO
AC_MSG_RESULT([no])
;;
*)
SYSTEM_PANGO=YES
AC_MSG_RESULT([yes])
;;
esac
fi
2011-03-09 18:12:52 +01:00
AC_SUBST(SYSTEM_PANGO)
2011-03-29 14:37:15 +02:00
dnl ===================================================================
dnl Test whether to build libgsf or rely on the system version
dnl ===================================================================
AC_MSG_CHECKING([whether to use the system libgsf])
dnl As long as the only thing we need libgsf for is below librsvg (is
dnl it?), use the same --enable-librsvg (possibly implied by
dnl --with-system-libs) to override this.
if test "$SYSTEM_LIBRSVG" = YES; then
SYSTEM_LIBGSF=YES
AC_MSG_RESULT([yes])
else
case "$_os" in
2011-07-04 02:20:26 -05:00
WINNT|Darwin|iOS|Android)
SYSTEM_LIBGSF=NO
AC_MSG_RESULT([no])
;;
*)
SYSTEM_LIBGSF=YES
AC_MSG_RESULT([yes])
;;
esac
fi
2011-03-29 14:37:15 +02:00
AC_SUBST(SYSTEM_LIBGSF)
2011-03-09 18:12:52 +01:00
dnl ===================================================================
dnl Test whether to build libpng or rely on the system version
dnl ===================================================================
AC_MSG_CHECKING([whether to use the system libpng])
dnl How should and does this interact with the checks for libpng
dnl related to use of libpng in the quickstarter above? This needs to
dnl be unified.
if test "$with_system_libpng" = yes -o \( "$with_system_libs" = yes -a "$with_system_libpng" != no \); then
SYSTEM_LIBPNG=YES
AC_MSG_RESULT([yes])
else
case "$_os" in
2011-07-04 02:20:26 -05:00
WINNT|Darwin|iOS|Android)
SYSTEM_LIBPNG=NO
AC_MSG_RESULT([no])
;;
*)
SYSTEM_LIBPNG=YES
AC_MSG_RESULT([no])
;;
esac
fi
2011-03-09 18:12:52 +01:00
AC_SUBST(SYSTEM_LIBPNG)
dnl ===================================================================
dnl Test whether to build libjpeg or rely on the system version
dnl ===================================================================
dnl FIXME: this is currently because we have jpeg-6b for our filters
dnl and jpeg-8 as dependency for librsvg
dnl this should be unified into using only one version for both
AC_MSG_CHECKING([whether to use the system libjpeg])
2011-03-09 18:12:52 +01:00
if test "$SYSTEM_JPEG" == "YES"; then
SYSTEM_LIBJPEG=YES
AC_MSG_RESULT([yes])
2011-03-09 18:12:52 +01:00
else
case "$_os" in
2011-07-04 02:20:26 -05:00
WINNT|Darwin|iOS|Android)
SYSTEM_LIBJPEG=NO
AC_MSG_RESULT([no])
;;
*)
SYSTEM_LIBJPEG=YES
AC_MSG_RESULT([yes])
;;
esac
2011-03-09 18:12:52 +01:00
fi
AC_SUBST(SYSTEM_LIBJPEG)
dnl ===================================================================
dnl Check for runtime JVM search path
dnl ===================================================================
if test "$SOLAR_JAVA" != ""; then
2011-07-04 02:20:26 -05:00
AC_MSG_CHECKING([whether to use specific JVM search path at runtime])
if test -n "$with_jvm_path" && test "$with_jvm_path" != "no"; then
AC_MSG_RESULT([yes])
if ! test -d "$with_jvm_path"; then
AC_MSG_ERROR(["$with_jvm_path" not a directory])
fi
if ! test -d "$with_jvm_path"jvm; then
AC_MSG_ERROR(["$with_jvm_path"jvm not found, point with_jvm_path to \[/path/to/\]jvm])
fi
JVM_ONE_PATH_CHECK="$with_jvm_path"
AC_SUBST(JVM_ONE_PATH_CHECK)
else
AC_MSG_RESULT([no])
fi
fi
2011-03-09 18:12:52 +01:00
dnl ===================================================================
dnl Test for the presence of Ant and that it works
dnl ===================================================================
if test "$SOLAR_JAVA" != ""; then
2011-07-04 02:20:26 -05:00
ANT_HOME=; export ANT_HOME
WITH_ANT_HOME=; export WITH_ANT_HOME
if test -z "$with_ant_home"; then
AC_PATH_PROGS(ANT, [jakarta-ant ant ant.sh ant.bat ant.cmd])
else
if test "$_os" = "WINNT"; then
with_ant_home=`cygpath -u "$with_ant_home"`
fi
AC_PATH_PROGS(ANT, [jakarta-ant ant ant.sh ant.bat ant.cmd],,$with_ant_home/bin:$PATH)
WITH_ANT_HOME=$with_ant_home
ANT_HOME=$with_ant_home
fi
if test -z "$ANT"; then
AC_MSG_ERROR([Ant not found - Make sure it's in the path or use --with-ant-home])
else
# resolve relative or absolute symlink
while test -h "$ANT"; do
a_cwd=`pwd`
a_basename=`basename "$ANT"`
a_script=`ls -l "$ANT" | $SED "s/.*${a_basename} -> //g"`
cd "`dirname "$ANT"`"
cd "`dirname "$a_script"`"
ANT="`pwd`"/"`basename "$a_script"`"
cd "$a_cwd"
done
AC_MSG_CHECKING([if $ANT works])
cat > conftest.java << EOF
public class conftest {
int testmethod(int a, int b) {
return a + b;
}
}
EOF
2011-07-04 02:20:26 -05:00
cat > conftest.xml << EOF
<project name="conftest" default="conftest">
<target name="conftest">
<javac srcdir="." includes="conftest.java">
2011-07-04 02:20:26 -05:00
</javac>
</target>
</project>
EOF
2011-07-04 02:20:26 -05:00
oldJAVA_HOME=$JAVA_HOME
if test "$JAVACISGCJ" = "yes"; then
JAVA_HOME=; export JAVA_HOME
ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
else
ant_cmd="$ANT -buildfile conftest.xml 1>&2"
fi
2011-07-04 02:20:26 -05:00
AC_TRY_EVAL(ant_cmd)
if test $? = 0 && test -f ./conftest.class ; then
AC_MSG_RESULT([Ant works])
if test -z "$WITH_ANT_HOME"; then
ANT_HOME=`$ANT -diagnostics | $EGREP "ant.home :" | $SED -e "s#ant.home : ##g"`
if test -z "$ANT_HOME"; then
ANT_HOME=`echo $ANT | $SED -n "s/\/bin\/ant.*\$//p"`
fi
else
ANT_HOME="$WITH_ANT_HOME"
fi
else
echo "configure: Ant test failed" >&5
cat conftest.java >&5
cat conftest.xml >&5
AC_MSG_WARN([Ant does not work - Some Java projects will not build!])
ANT_HOME=""
echo "Ant does not work - Some Java projects will not build!" >>warn
fi
JAVA_HOME=$oldJAVA_HOME
rm -f conftest* core core.* *.core
fi
2011-07-04 02:20:26 -05:00
if test -z "$ANT_HOME"; then
ANT_HOME="NO_ANT_HOME"
fi
AC_SUBST(ANT_HOME)
dnl Checking for ant.jar
if test "$ANT_HOME" != "NO_ANT_HOME"; then
AC_MSG_CHECKING([Ant lib directory])
if test -f $ANT_HOME/lib/ant.jar; then
ANT_LIB="$ANT_HOME/lib"
else
if test -f $ANT_HOME/ant.jar; then
ANT_LIB="$ANT_HOME"
else
if test -f /usr/share/java/ant.jar; then
ANT_LIB=/usr/share/java
else
2011-07-04 02:20:26 -05:00
if test -f /usr/share/ant-core/lib/ant.jar; then
ANT_LIB=/usr/share/ant-core/lib
else
if test -f $ANT_HOME/lib/ant/ant.jar; then
ANT_LIB="$ANT_HOME/lib/ant"
else
if test -f /usr/share/lib/ant/ant.jar; then
ANT_LIB=/usr/share/lib/ant
else
AC_MSG_ERROR([Ant libraries not found!])
fi
fi
fi
fi
2011-07-04 02:20:26 -05:00
fi
fi
AC_MSG_RESULT([Ant lib directory found.])
fi
AC_SUBST(ANT_LIB)
ant_minver=1.6.0
ant_minminor1=`echo $ant_minver | cut -d"." -f2`
AC_MSG_CHECKING([whether Ant is >= $ant_minver])
ant_version=`$ANT -version | $AWK '{ print $4; }'`
ant_version_major=`echo $ant_version | cut -d. -f1`
ant_version_minor=`echo $ant_version | cut -d. -f2`
echo "configure: ant_version $ant_version " >&5
echo "configure: ant_version_major $ant_version_major " >&5
echo "configure: ant_version_minor $ant_version_minor " >&5
if test "$ant_version_major" -ge "2"; then
AC_MSG_RESULT([yes, $ant_version])
elif test "$ant_version_major" = "1" && test "$ant_version_minor" -ge "$ant_minminor1"; then
AC_MSG_RESULT([yes, $ant_version])
else
AC_MSG_ERROR([no, you need at least Ant >= $ant_minver])
fi
2011-07-04 02:20:26 -05:00
if test "$ENABLE_MEDIAWIKI" = "YES"; then
AC_MSG_CHECKING([whether Ant supports mapper type="regexp"])
rm -rf confdir
mkdir confdir
cat > conftest.java << EOF
public class conftest {
int testmethod(int a, int b) {
return a + b;
}
}
EOF
2011-07-04 02:20:26 -05:00
cat > conftest.xml << EOF
<project name="conftest" default="conftest">
<target name="conftest" depends="copytest">
<javac srcdir="." includes="conftest.java">
</javac>
</target>
<target name="copytest">
<copy todir="confdir">
<fileset dir="confdir" includes="**/*.abc" casesensitive="yes"/>
<filterset/>
<mapper type="regexp" from="^(.*[/\\])foo([/\\].*)" to="\1baa\2"/>
2011-07-04 02:20:26 -05:00
</copy>
</target>
</project>
EOF
2011-07-04 02:20:26 -05:00
if test "$JAVACISGCJ" = "yes"; then
JAVA_HOME=; export JAVA_HOME
ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
else
ant_cmd="$ANT -buildfile conftest.xml 1>&2"
fi
AC_TRY_EVAL(ant_cmd)
if test $? = 0 && test -f ./conftest.class ; then
AC_MSG_RESULT([yes])
rm -rf confdir
else
echo "configure: Ant test failed" >&5
cat conftest.java >&5
cat conftest.xml >&5
rm -rf confdir
AC_MSG_ERROR([no. Did you install ant-apache-regexp?])
fi
fi
rm -f conftest* core core.* *.core
fi
2010-02-15 18:28:00 +01:00
OOO_JUNIT_JAR=
if test "$SOLAR_JAVA" != "" && test "$with_junit" != "no"; then
AC_MSG_CHECKING([for JUnit 4])
if test "$with_junit" = "yes"; then
if test -e /usr/share/java/junit4.jar; then
OOO_JUNIT_JAR=/usr/share/java/junit4.jar
else
if test -e /usr/share/lib/java/junit.jar; then
OOO_JUNIT_JAR=/usr/share/lib/java/junit.jar
else
OOO_JUNIT_JAR=/usr/share/java/junit.jar
fi
fi
2010-02-15 18:28:00 +01:00
else
OOO_JUNIT_JAR=$with_junit
fi
if test "$_os" = "WINNT"; then
OOO_JUNIT_JAR=`cygpath -m "$OOO_JUNIT_JAR"`
fi
"$JAVA_HOME/bin/jar" tf "$OOO_JUNIT_JAR" 2>&5 | \
grep org/junit/Before.class > /dev/null 2>&5
if test $? -eq 0; then
# check if either class-path entry is available for hamcrest or
# it's bundled
2011-09-06 17:32:15 -04:00
if "$JAVA_HOME/bin/jar" tf "$OOO_JUNIT_JAR" |grep -q hamcrest || \
"$UNZIP" -c "$OOO_JUNIT_JAR" META-INF/MANIFEST.MF |grep -q 'Class-Path: hamcrest'; then
AC_MSG_RESULT([$OOO_JUNIT_JAR])
else
AC_MSG_ERROR([your junit jar neither sets a classpath nor includes hamcrest; please
provide a full junit jar or use --without-junit])
fi
2010-02-15 18:28:00 +01:00
else
AC_MSG_RESULT([no])
AC_MSG_ERROR([cannot find JUnit 4 jar; please install one in the default
location (/usr/share/java), specify its pathname via
--with-junit=..., or disable it via --without-junit])
2010-02-15 18:28:00 +01:00
fi
fi
AC_SUBST(OOO_JUNIT_JAR)
dnl ===================================================================
dnl Product version
dnl ===================================================================
AC_MSG_CHECKING([for product version])
PRODUCTVERSION=AC_PACKAGE_VERSION
AC_MSG_RESULT([$PRODUCTVERSION])
AC_SUBST(PRODUCTVERSION)
dnl ===================================================================
dnl Dealing with l10n options
dnl ===================================================================
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([which languages to be built])
# get list of all languages
2011-05-01 22:15:34 +02:00
# generate shell variable from completelangiso= from solenv/inc/langlist.mk
# the sed command does the following:
# + if a line ends with a backslash, append the next line to it
# + adds " on the beginning of the value (after =)
# + adds " at the end of the value
# + removes en-US; we want to put it on the beginning
# + prints just the section starting with 'completelangiso=' and ending with the " at the end of line
2011-05-01 22:15:34 +02:00
[eval $(sed -e :a -e '/\\$/N; s/\\\n//; ta' -n -e 's/=/="/;s/\([^\\]\)$/\1"/;s/en-US//;/^completelangiso/p' solenv/inc/langlist.mk)]
ALL_LANGS="en-US $completelangiso"
# check the configured localizations
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
WITH_LANG="$with_lang"
if test -z "$WITH_LANG"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([en-US])
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([$WITH_LANG])
GIT_REPO_NAMES="$GIT_REPO_NAMES translations"
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
fi
# check that the list is valid
for lang in $WITH_LANG ; do
2011-07-04 02:20:26 -05:00
test "$lang" = "ALL" && continue;
# need to check for the exact string, so add space before and after the list of all languages
for vl in $ALL_LANGS ; do
if test "$vl" = "$lang" ; then
break;
fi
done
if test "$vl" != "$lang" ; then
AC_MSG_ERROR([invalid language: $lang; supported languages are: $ALL_LANGS])
fi
done
# list with substituted ALL
WITH_LANG_LIST=`echo $WITH_LANG | sed "s/ALL/$ALL_LANGS/"`
# this variable is used only by bin/distro-install-* helper scripts
# they need a real list of languages
test -z "$WITH_LANG_LIST" && WITH_LANG_LIST="en-US"
AC_SUBST(ALL_LANGS)
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_SUBST(WITH_LANG)
AC_SUBST(WITH_LANG_LIST)
AC_SUBST(GIT_REPO_NAMES)
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([for another 'intro' bitmap])
INTRO_BITMAP=
if test -z "$with_intro_bitmap" -o "$with_intro_bitmap" = "no" ; then
2011-07-04 02:20:26 -05:00
INTRO_BITMAP=
AC_MSG_RESULT([none])
else
2011-07-04 02:20:26 -05:00
case "$with_intro_bitmap" in
*.png) INTRO_BITMAP="$with_intro_bitmap" ;;
*) AC_MSG_WARN([Intro bitmap should be a .png file!]) ;;
esac
AC_MSG_RESULT([$INTRO_BITMAP])
fi
AC_SUBST(INTRO_BITMAP)
2011-09-01 09:39:11 +02:00
AC_MSG_CHECKING([for custom 'intro' progress bar color])
PROGRESSBARCOLOR=
if test -z "$with_intro_progressbar_color" ; then
PROGRESSBARCOLOR="126,170,23"
AC_MSG_RESULT([none])
else
PROGRESSBARCOLOR="$with_intro_progressbar_color"
AC_MSG_RESULT([$PROGRESSBARCOLOR])
fi
AC_SUBST(PROGRESSBARCOLOR)
AC_MSG_CHECKING([for custom 'intro' progress bar size])
PROGRESSSIZE=
if test -z "$with_intro_progressbar_size" ; then
PROGRESSSIZE="319,10"
AC_MSG_RESULT([none])
else
PROGRESSSIZE="$with_intro_progressbar_size"
AC_MSG_RESULT([$PROGRESSSIZE])
fi
AC_SUBST(PROGRESSSIZE)
AC_MSG_CHECKING([for custom 'intro' progress bar position])
PROGRESSPOSITION=
if test -z "$with_intro_progressbar_position" ; then
PROGRESSPOSITION="164,225"
AC_MSG_RESULT([none])
else
PROGRESSPOSITION="$with_intro_progressbar_position"
AC_MSG_RESULT([$PROGRESSPOSITION])
fi
AC_SUBST(PROGRESSPOSITION)
AC_MSG_CHECKING([for custom 'intro' progress bar frame color])
PROGRESSFRAMECOLOR=
if test -z "$with_intro_progressbar_frame_color" ; then
PROGRESSFRAMECOLOR="207,208,211"
AC_MSG_RESULT([none])
else
PROGRESSFRAMECOLOR="$with_intro_progressbar_frame_color"
AC_MSG_RESULT([$PROGRESSFRAMECOLOR])
fi
AC_SUBST(PROGRESSFRAMECOLOR)
AC_MSG_CHECKING([for another 'about' bitmap])
ABOUT_BITMAP=
if test -z "$with_about_bitmap" -o "$with_about_bitmap" = "no" ; then
2011-07-04 02:20:26 -05:00
ABOUT_BITMAP=
AC_MSG_RESULT([none])
else
case "$with_about_bitmap" in
2011-07-04 02:20:26 -05:00
*.png) ABOUT_BITMAP="$with_about_bitmap" ;;
*) AC_MSG_WARN([About bitmap should be a .png file!]) ;;
esac
AC_MSG_RESULT([$ABOUT_BITMAP])
fi
AC_SUBST(ABOUT_BITMAP)
2011-09-01 09:39:11 +02:00
AC_MSG_CHECKING([for another 'start center left' bitmap])
STARTCENTER_LEFT_BITMAP=
if test -z "$with_startcenter_left_bitmap" -o "$with_startcenter_left_bitmap" = "no" ; then
STARTCENTER_LEFT_BITMAP=
AC_MSG_RESULT([none])
else
case "$with_startcenter_left_bitmap" in
*.png) STARTCENTER_LEFT_BITMAP="$with_startcenter_left_bitmap" ;;
*) AC_MSG_WARN([Startcenter left bitmap should be a .png file!]) ;;
esac
AC_MSG_RESULT([$STARTCENTER_LEFT_BITMAP])
fi
AC_SUBST(STARTCENTER_LEFT_BITMAP)
AC_MSG_CHECKING([for another 'start center right' bitmap])
STARTCENTER_RIGHT_BITMAP=
if test -z "$with_startcenter_right_bitmap" -o "$with_startcenter_right_bitmap" = "no" ; then
STARTCENTER_RIGHT_BITMAP=
AC_MSG_RESULT([none])
else
case "$with_startcenter_right_bitmap" in
*.png) STARTCENTER_RIGHT_BITMAP="$with_startcenter_right_bitmap" ;;
*) AC_MSG_WARN([Startcenter right bitmap should be a .png file!]) ;;
esac
AC_MSG_RESULT([$STARTCENTER_RIGHT_BITMAP])
fi
AC_SUBST(STARTCENTER_RIGHT_BITMAP)
AC_MSG_CHECKING([for another 'start center rtl left' bitmap])
STARTCENTER_RTL_LEFT_BITMAP=
if test -z "$with_startcenter_rtl_left_bitmap" -o "$with_startcenter_rtl_left_bitmap" = "no" ; then
STARTCENTER_RTL_LEFT_BITMAP=
AC_MSG_RESULT([none])
else
case "$with_startcenter_rtl_left_bitmap" in
*.png) STARTCENTER_RTL_LEFT_BITMAP="$with_startcenter_rtl_left_bitmap" ;;
*) AC_MSG_WARN([Startcenter rtl left bitmap should be a .png file!]) ;;
esac
AC_MSG_RESULT([$STARTCENTER_RTL_LEFT_BITMAP])
fi
AC_SUBST(STARTCENTER_RTL_LEFT_BITMAP)
AC_MSG_CHECKING([for another 'start center rtl right' bitmap])
STARTCENTER_RTL_RIGHT_BITMAP=
if test -z "$with_startcenter_rtl_right_bitmap" -o "$with_startcenter_rtl_right_bitmap" = "no" ; then
STARTCENTER_RTL_RIGHT_BITMAP=
AC_MSG_RESULT([none])
else
case "$with_startcenter_rtl_right_bitmap" in
*.png) STARTCENTER_RTL_RIGHT_BITMAP="$with_startcenter_rtl_right_bitmap" ;;
*) AC_MSG_WARN([Startcenter rtl right bitmap should be a .png file!]) ;;
esac
AC_MSG_RESULT([$STARTCENTER_RTL_RIGHT_BITMAP])
fi
AC_SUBST(STARTCENTER_RTL_RIGHT_BITMAP)
AC_MSG_CHECKING([for another 'start center space' bitmap])
STARTCENTER_SPACE_BITMAP=
if test -z "$with_startcenter_space_bitmap" -o "$with_startcenter_space_bitmap" = "no" ; then
STARTCENTER_SPACE_BITMAP=
AC_MSG_RESULT([none])
else
case "$with_startcenter_space_bitmap" in
*.png) STARTCENTER_SPACE_BITMAP="$with_startcenter_space_bitmap" ;;
*) AC_MSG_WARN([Startcenter left bitmap should be a .png file!]) ;;
esac
AC_MSG_RESULT([$STARTCENTER_SPACE_BITMAP])
fi
AC_SUBST(STARTCENTER_SPACE_BITMAP)
OOO_VENDOR=
AC_MSG_CHECKING([for vendor])
if test -z "$with_vendor" -o "$with_vendor" = "no" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([not set])
else
2011-07-04 02:20:26 -05:00
OOO_VENDOR="$with_vendor"
AC_MSG_RESULT([$OOO_VENDOR])
fi
AC_SUBST(OOO_VENDOR)
UNIXWRAPPERNAME=
AC_MSG_CHECKING([for UNIX wrapper name])
if test -z "$with_unix_wrapper" -o "$with_unix_wrapper" = "no" -o "$with_unix_wrapper" = "yes" ; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([not set])
else
2011-07-04 02:20:26 -05:00
UNIXWRAPPERNAME="$with_unix_wrapper"
AC_MSG_RESULT([$UNIXWRAPPERNAME])
fi
AC_SUBST(UNIXWRAPPERNAME)
AC_MSG_CHECKING([whether to install the compat oo* wrappers])
if test "$with_compat_oowrappers" = "yes" ; then
WITH_COMPAT_OOWRAPPERS=YES
AC_MSG_RESULT(yes)
else
WITH_COMPAT_OOWRAPPERS=
AC_MSG_RESULT(no)
fi
AC_SUBST(WITH_COMPAT_OOWRAPPERS)
AC_MSG_CHECKING([for product name])
PRODUCTNAME=AC_PACKAGE_NAME
AC_MSG_RESULT([$PRODUCTNAME])
AC_SUBST(PRODUCTNAME)
2011-10-04 10:05:28 -04:00
INSTALLDIRNAME=`echo AC_PACKAGE_NAME | tr '[[:upper:]]' '[[:lower:]]'`
AC_MSG_CHECKING([for install dirname])
if test -n "$with_install_dirname" -a "$with_install_dirname" != "no" -a "$with_install_dirname" != "yes" ; then
INSTALLDIRNAME="$with_install_dirname"
fi
AC_MSG_RESULT([$INSTALLDIRNAME])
AC_SUBST(INSTALLDIRNAME)
AC_MSG_CHECKING([for prefix])
test "x$prefix" = xNONE && prefix=$ac_default_prefix
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
PREFIXDIR="$prefix"
AC_MSG_RESULT([$PREFIXDIR])
AC_SUBST(PREFIXDIR)
AC_MSG_CHECKING([for libdir])
LIBDIR=[$(eval echo $(eval echo $libdir))]
AC_MSG_RESULT([$LIBDIR])
AC_SUBST(LIBDIR)
AC_MSG_CHECKING([for data dir])
DATADIR=[$(eval echo $(eval echo $datadir))]
AC_MSG_RESULT([$DATADIR])
AC_SUBST(DATADIR)
AC_MSG_CHECKING([for man dir])
MANDIR=[$(eval echo $(eval echo $mandir))]
AC_MSG_RESULT([$MANDIR])
AC_SUBST(MANDIR)
AC_MSG_CHECKING([for doc dir])
DOCDIR=[$(eval echo $(eval echo $docdir))]
AC_MSG_RESULT([$DOCDIR])
AC_SUBST(DOCDIR)
AC_MSG_CHECKING([for install dir])
INSTALLDIR="$LIBDIR/$INSTALLDIRNAME"
AC_MSG_RESULT([$INSTALLDIR])
AC_SUBST(INSTALLDIR)
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([whether to statically link to Gtk])
INTEGRATION: CWS configure9 (1.111.2); FILE MERGED 2005/04/08 15:43:49 rene 1.111.2.16: #i46873# don't use sed -r in java check.... 2005/04/07 21:15:38 rene 1.111.2.15: fix cut'n'paste errors and also add x_libraries to to check. 2005/04/06 23:04:25 rene 1.111.2.14: move fi to right place... 2005/04/05 12:51:42 rene 1.111.2.13: more help whitespace improvements, and make help not exceed 80 lines where possible, 2005/04/05 10:10:12 rene 1.111.2.12: more test -n fixes don't emit a warning when PKGFORMAT is rpm / pkg and we don't have external EPM, in which case EPM_VERSION isn't set. Disable that check completely when using internal EPM since we know our epm is patched. 2005/04/04 20:37:32 rene 1.111.2.11: #i46624# whitespace fixes (alignment of help options) 2005/04/04 13:19:49 rene 1.111.2.10: RESYNC: (1.111-1.112); FILE MERGED 2005/04/04 12:51:19 rene 1.111.2.9: more crashup/symbol help fixes 2005/04/04 10:21:18 rene 1.111.2.8: don't enable Gtk/GNOME VFS per default for Mac OS X 2005/04/04 10:13:14 rene 1.111.2.7: more option help improvements 2005/04/04 10:01:55 rene 1.111.2.6: #i46572# make java check work if path contains space, as in Windows, thanks vq 2005/03/31 14:40:43 rene 1.111.2.5: #i46018# fix crashdump check output and change help test to say --disable-foo when the option is enabled per default... 2005/03/31 14:23:59 rene 1.111.2.4: fix more checks wrt test -n and --disable-foo 2005/03/31 14:06:38 rene 1.111.2.3: #i45934# fix PASF check to make --disable-pasf work 2005/03/30 18:40:39 rene 1.111.2.2: #i46310# check for moc 2005/03/30 08:43:05 rene 1.111.2.1: #i46081# check for fontconfig version
2005-04-11 07:52:24 +00:00
if test -n "$enable_static_gtk" && test "$enable_static_gtk" != "no"; then
2011-07-04 02:20:26 -05:00
ENABLE_STATIC_GTK="TRUE"
AC_MSG_RESULT([yes])
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
else
2011-07-04 02:20:26 -05:00
ENABLE_STATIC_GTK="FALSE"
AC_MSG_RESULT([no])
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
fi
AC_SUBST(ENABLE_STATIC_GTK)
AC_MSG_CHECKING([whether to use layout dialogs])
if test -n "$enable_layout" && test "$enable_layout" != "no"; then
2011-07-04 02:20:26 -05:00
ENABLE_LAYOUT="TRUE"
AC_MSG_RESULT([yes])
else
2011-07-04 02:20:26 -05:00
ENABLE_LAYOUT="FALSE"
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_LAYOUT)
# ===================================================================
# De- or increase default verbosity of build process
# ===================================================================
AC_MSG_CHECKING([build verbosity])
if test -n "$enable_verbose"; then
2011-07-04 02:20:26 -05:00
if test "$enable_verbose" = "yes"; then
VERBOSE="TRUE"
AC_MSG_RESULT([high])
fi
if test "$enable_verbose" = "no"; then
VERBOSE="FALSE"
AC_MSG_RESULT([low])
fi
else
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([not set])
fi
AC_SUBST(VERBOSE)
dnl ===================================================================
dnl Use zenity during build
dnl ===================================================================
AC_MSG_CHECKING([whether to use zenity during build])
if test "$enable_zenity" = "yes"; then
2011-07-04 02:20:26 -05:00
AC_MSG_RESULT([yes])
AC_PATH_PROGS( ZNTY, zenity )
if test -z "$ZNTY"; then
ENABLE_ZENITY=FALSE
else
ENABLE_ZENITY=TRUE
fi
else
ENABLE_ZENITY=FALSE
AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_ZENITY)
dnl ===================================================================
2011-05-15 02:11:48 +03:00
dnl Hook up LibreOffice's nodep environmental variable to automake's equivalent
dnl --enable-dependency-tracking configure option
dnl ===================================================================
AC_MSG_CHECKING([whether to enable dependency tracking])
if test "$enable_dependency_tracking" = "no"; then
nodep=TRUE
AC_MSG_RESULT([no])
else
AC_MSG_RESULT([yes])
fi
AC_SUBST(nodep)
dnl ===================================================================
dnl Number of CPUs to use during the build
dnl ===================================================================
AC_MSG_CHECKING([for number of processors to use])
if test -n "$with_num_cpus"; then
BUILD_NCPUS=$with_num_cpus
else
case `uname -s` in
Darwin|FreeBSD|NetBSD|OpenBSD)
BUILD_NCPUS=`sysctl -n hw.ncpu`
;;
*)
BUILD_NCPUS=`grep $'^processor\t*:' /proc/cpuinfo | wc -l`
;;
esac
# If we hit the catch-all case, but /proc/cpuinfo doesn't exist or has an
# unexpected format, 'wc -l' will have returned 0.
if test "$BUILD_NCPUS" -eq 0; then
BUILD_NCPUS=1
fi
fi
AC_MSG_RESULT([$BUILD_NCPUS])
AC_SUBST(BUILD_NCPUS)
# ===================================================================
# Creating bigger shared library to link against
# ===================================================================
AC_MSG_CHECKING([whether to create a big library for better performance])
MERGELIBS=
if test "$enable_mergelibs" = "yes"; then
MERGELIBS="TRUE"
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
fi
AC_SUBST(MERGELIBS)
dnl ===================================================================
dnl Number of parallel jobs to be executed by dmake
dnl ===================================================================
AC_MSG_CHECKING([for maximum of jobs per processor])
BUILD_MAX_JOBS="1"
if test "z$with_max_jobs" != "z"; then
BUILD_MAX_JOBS="$with_max_jobs"
else
if test "$enable_icecream" = "yes" ; then
2011-07-04 02:20:26 -05:00
BUILD_MAX_JOBS="10"
fi
fi
AC_MSG_RESULT([$BUILD_MAX_JOBS])
AC_SUBST(BUILD_MAX_JOBS)
# =====================================================================
# determine the parallelism for gnu make
# =====================================================================
AC_MSG_CHECKING([for maximum parallelism for gmake])
if test $BUILD_MAX_JOBS -gt $BUILD_NCPUS ; then
GMAKE_PARALLELISM="$BUILD_MAX_JOBS"
else
GMAKE_PARALLELISM="$BUILD_NCPUS"
fi
GMAKE_MODULE_PARALLELISM="$BUILD_MAX_JOBS"
if test "$no_parallelism_make" = "YES" ; then
if test -z "$with_num_cpus"; then
GMAKE_PARALLELISM="1";
if test $GMAKE_MODULE_PARALLELISM -gt 1 ; then
AC_MSG_WARN([gmake 3.81 crashes with parallelism > 1, reducing it to 1. upgrade to 3.82 to avoid this.])
if test -z "$with_num_cpus"; then
echo "gmake 3.81 crashes with parallelism > 1, reducing it to 1. upgrade to 3.82 to avoid this." >> warn
fi
GMAKE_MODULE_PARALLELISM="1"
fi
else
GMAKE_PARALLELISM="$BUILD_NCPUS";
2011-09-07 17:40:29 +09:00
echo "make 3.81 is prone to crashes with parallelism > 1. Since --with-num-cpus was explicitely given, it is honored, but do not complain when make segfault on you." >> warn
fi
fi
# GMAKE_PARALLELISM is used in tail_build
# GMAKE_MODULE_PARALLELISM is used when building individual gbuildified module
AC_MSG_RESULT([per module:$GMAKE_MODULE_PARALLELISM, for tail_build:$GMAKE_PARALLELISM])
AC_SUBST(GMAKE_PARALLELISM)
AC_SUBST(GMAKE_MODULE_PARALLELISM)
2000-09-18 15:18:56 +00:00
dnl ===================================================================
dnl Setting up the environment.
dnl ===================================================================
echo "setting up the build environment variables..."
2000-09-18 15:18:56 +00:00
if test -z "$COMPATH"; then
2011-07-04 02:20:26 -05:00
AC_MSG_ERROR([No compiler found.])
2000-09-18 15:18:56 +00:00
fi
AC_SUBST(COMPATH)
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_MSG_CHECKING([solver path])
if test -z "$with_local_solver"; then
2011-07-04 02:20:26 -05:00
LOCAL_SOLVER="DEFAULT"
AC_MSG_RESULT([default])
else
2011-07-04 02:20:26 -05:00
LOCAL_SOLVER=$with_local_solver
AC_MSG_RESULT([$with_local_solver])
fi
INTEGRATION: CWS configure4 (1.74.4); FILE MERGED 2005/01/24 00:43:02 vq 1.74.4.28: #i32066# Accept symlinks and real files. 2005/01/23 20:40:05 vq 1.74.4.27: #i10000# Fix comment. 2005/01/23 20:33:52 vq 1.74.4.26: #i39460# Fix typo and regenerate conofigure. 2005/01/19 18:04:24 rene 1.74.4.25: add AC_MSG_CHECKING/_RESULT to custom images check. move it up also 2005/01/19 17:52:53 rene 1.74.4.24: RESYNC: (1.82-1.85); FILE MERGED 2005/01/19 15:36:17 rene 1.74.4.23: move some checks up in configure, move the gcc home check to before where it is used and add AC_MSG_CHECKING/_RESULT for it; move AC_SUBST(WITH_MINGWIN) to where it is defined #i32066# Xinerama is linked even when dynamic is preferred fix tests (-L instead of -f and one missing -n) and set XINERAMA_LINK for Mac OS X 2005/01/18 15:12:53 rene 1.74.4.22: honour --with-local-solenv for the is-solenv-existing? check beautify language build check to show en-US if WITH_LANG is empty 2005/01/17 14:11:08 rene 1.74.4.21: #i38446# --enable-kde and WIDGETSET_KDE_CFLAGS vs KDE_CFLAGS, qt in configure add check for Qt library paths and add -L$qt_libdir and -lkdecore -lkdeui to KDE_LIBS 2005/01/14 10:12:22 rene 1.74.4.20: #i30501# make configure script accept solaris 10 and just check for -lt 6 2005/01/14 02:36:53 rene 1.74.4.19: more AC_MSG_{CHECKING,RESULT}s 2005/01/14 02:09:44 rene 1.74.4.18: #i37343# disable epm check ... 2005/01/14 02:02:26 rene 1.74.4.17: #i37244# check for existence of 'solenv/inc/minor.mk' 2005/01/14 01:42:38 rene 1.74.4.16: fix typo 2005/01/13 23:44:01 rene 1.74.4.15: traditional grep doesn't have -q, go for sure... 2005/01/13 23:14:05 rene 1.74.4.14: #i36052# configure needs to test for visibility 2005/01/13 22:32:26 rene 1.74.4.13: #i22159# Check for GNU versions of patch and cp in configure 2005/01/12 13:56:18 rene 1.74.4.12: quote properly 2005/01/12 13:48:49 rene 1.74.4.11: RESYNC: (1.75-1.82); FILE MERGED 2005/01/12 13:21:43 rene 1.74.4.10: - comment out system-dbd and system-icu, not working/incomplete - fix curl version check 2005/01/10 15:01:42 rene 1.74.4.9: #i40176# Correct PTHREAD_LIBS and PTHREAD_CFLAGS for FreeBSD Submitted by: maho@openoffice.org 2005/01/10 14:56:15 rene 1.74.4.8: #i40226# FreeBSD porting : enable cups support 2005/01/07 20:40:43 rene 1.74.4.7: fix typo 2004/12/22 14:35:28 rene 1.74.4.6: #i38460# patch to beautify configure script and its output 2004/11/17 10:32:51 rene 1.74.4.5: relax grep for dmake -V output to allow dmake 4.3, too 2004/11/16 15:38:12 rene 1.74.4.4: - Gentoo has some other epm, check if the epm we found is the right epm and check the $with_epm variable to let the user specific the path to the right epm - do not warn about invalid JAVA_HOME on no-Java builds 2004/11/15 11:43:29 rene 1.74.4.3: #i36561# configure needs to check for epm epm isn't needed on Windows 2004/11/15 11:15:57 rene 1.74.4.2: RESYNC: (1.74-1.75); FILE MERGED 2004/11/08 19:33:04 rodarvus 1.74.4.1: Issue number: i30357 - needs rpm to build sysui Submitted by: waratah Reviewed by: rodarvus
2005-01-25 11:42:58 +00:00
AC_SUBST(LOCAL_SOLVER)
2000-09-18 15:18:56 +00:00
AC_SUBST(BUILD_TYPE)
if test "$WITH_MINGW" != "yes" ; then
MINGW_EXTERNAL_DLLS=
else
for DLL in $MINGW_EXTERNAL_DLLS ; do
AC_MSG_CHECKING([for $DLL])
if ! test -f "/usr/i686-w64-mingw32/sys-root/mingw/bin/$DLL" ; then
AC_MSG_ERROR([Could not find $DLL, install the appropriate mingw32-<package>, not only mingw32-<package>-devel.])
fi
AC_MSG_RESULT([/usr/i686-w64-mingw32/sys-root/mingw/bin/$DLL])
done
fi
AC_SUBST(MINGW_EXTERNAL_DLLS)
# make sure config.guess is +x; we execute config.guess, so it has to be so;
CWS-TOOLING: integrate CWS configuretoplevel 2009-01-19 15:47:39 +0100 rene r266508 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@266428 (milestone: DEV300:m39) 2009-01-18 00:35:31 +0100 rene r266462 : #i10000# Mac OS X "of course" has other paths... 2009-01-16 13:24:23 +0100 rene r266415 : make OS2 use STLport... 2009-01-15 22:08:38 +0100 rene r266393 : STLport for FreeBSD 2009-01-15 01:23:51 +0100 rene r266333 : #i98048# harmonize STL default; default to *NOT* use STLport 2009-01-09 22:44:43 +0100 rene r266120 : #i97428# try to find out XLIB via pkg-config 2009-01-09 22:41:18 +0100 rene r266119 : #i97827# fail when we don't find make 2008-12-27 01:19:34 +0100 rene r265812 : add make (dis)clean; force /bin/sh as we source *Enc.Set.sh 2008-12-27 01:16:31 +0100 rene r265811 : fix makefile.rc for config.*/config_office move 2008-12-26 22:37:54 +0100 rene r265810 : #i91641# in some cases, we also need the -Xbootclasspath at the second javac call 2008-12-26 17:55:11 +0100 rene r265806 : actually commit Makefile.in 2008-12-25 19:24:24 +0100 rene r265803 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@265758 (milestone: DEV300:m38) 2008-12-10 22:51:06 +0100 rene r265232 : #i96912# revert, cws swffixes02 has the right fix 2008-12-08 18:47:10 +0100 rene r265014 : xulrunner has no /plugin or /nspr 2008-12-08 17:51:28 +0100 rene r265013 : i96912# fix --with-system-mozilla 2008-12-05 13:05:55 +0100 rene r264903 : #i95339# 2008-12-04 17:53:53 +0100 rene r264865 : fix merge error #i80238# add help for --with-epm 2008-12-04 17:44:28 +0100 rene r264864 : #i91641# fix build with JDKs already including a version of rhino which conflicts with our ancient one 2008-12-04 17:40:48 +0100 rene r264863 : i93429# check for sanity for expand.exe 2008-12-04 17:34:20 +0100 rene r264862 : config_office changes from m33 to m37 2008-12-04 17:28:55 +0100 rene r264861 : CWS-TOOLING: rebase CWS configuretoplevel to trunk@264807 (milestone: DEV300:m37) 2008-12-04 16:49:03 +0100 rene r264856 : fix cws. part 5 2008-12-04 16:45:06 +0100 rene r264855 : fix cws, part 4 2008-12-04 16:01:49 +0100 rene r264850 : fix cws, part 3 2008-12-04 15:14:12 +0100 rene r264848 : fix cws, part 2
2009-01-21 17:47:03 +00:00
chmod +x ./config.guess
INTEGRATION: CWS mozooo (1.55.6.4.8); FILE MERGED 2005/02/11 13:33:47 vq 1.55.6.4.8.21: RESYNC: (1.87-1.89); FILE MERGED 2005/01/27 19:44:47 rene 1.55.6.4.8.20: RESYNC: (1.82-1.87); FILE MERGED 2005/01/14 04:12:49 vq 1.55.6.4.8.19: #i11424# Change the version to be build by default to 1.7.5 and change the configure switch to enable the build to: --enable-build-mozilla 2005/01/11 20:00:21 rene 1.55.6.4.8.18: subsitute mozilla version also into error message since mozilla1.7.5 it's now source/ instead of src/ 2005/01/08 17:19:14 vq 1.55.6.4.8.17: RESYNC: (1.80-1.82); FILE MERGED 2005/01/08 12:55:11 rene 1.55.6.4.8.16: - add some more AC_MSG_CHECKINGs/_RESULTs to the mozilla checks - fix bash/test syntax errors 2005/01/06 21:05:05 vq 1.55.6.4.8.15: #i11424# Small cleanup. 2004/12/31 18:09:26 vq 1.55.6.4.8.14: #i11424# Fix inconsistency between $ENABLE_BUILD_MOZAB and $BUILD_MOZAB and regenerate configure. 2004/12/24 23:45:07 vq 1.55.6.4.8.13: RESYNC: (1.77-1.80); FILE MERGED 2004/12/02 02:27:12 windly 1.55.6.4.8.12: #i11424# fix name error for mozilla v1.7b source tarball 2004/11/30 17:23:16 vq 1.55.6.4.8.11: #i11424# Add more checks to configure. 2004/11/30 08:36:46 windly 1.55.6.4.8.10: #i11424# check libIDl 2004/11/30 07:50:40 windly 1.55.6.4.8.9: #i11424# choose mozilla version and default toolkit at configure time 2004/11/30 04:32:24 vq 1.55.6.4.8.8: RESYNC: (1.75-1.77); FILE MERGED 2004/11/27 00:22:28 vq 1.55.6.4.8.7: RESYNC: (1.72-1.75); FILE MERGED 2004/10/29 09:25:45 fs 1.55.6.4.8.6: RESYNC: (1.65-1.72); FILE MERGED 2004/07/07 10:13:53 fs 1.55.6.4.8.5: RESYNC: (1.63-1.65); FILE MERGED 2004/04/22 14:50:55 fs 1.55.6.4.8.4: RESYNC: (1.62-1.63); FILE MERGED 2004/03/15 14:52:40 fs 1.55.6.4.8.3: RESYNC: (1.55.6.5-1.62); FILE MERGED 2004/01/30 09:02:10 fs 1.55.6.4.8.2: RESYNC: (1.55.6.4-1.55.6.5); FILE MERGED 2004/01/07 09:02:45 fs 1.55.6.4.8.1: #i11424# allow for building Mozilla tarballs (needed for Mozilla Address Book integration) during an OOo build thanks to Wind Li (yl146652@openoffice.org)
2005-03-01 16:23:02 +00:00
dnl Setting up the post_download check script
dnl Using autoconf here, so that the migration from the previous state
dnl (checks for the additional Windows downloads were directly in
dnl configure.in) is as easy as possible
echo "setting up the post_download check script"
autoconf post_download.in > post_download
chmod +x post_download
# Generate a configuration timestamp we can use for deps
if test -f set_soenv; then
2011-07-04 02:20:26 -05:00
mv -f set_soenv set_soenv.last
else
2011-07-04 02:20:26 -05:00
echo > set_soenv.last
fi
AC_CONFIG_FILES([ooo.lst set_soenv Makefile bin/repo-list desktop/scripts/soffice.sh])
AC_OUTPUT
# make sure this is executable
chmod +x desktop/scripts/soffice.sh
# touch the config timestamp file set_soenv.stamp
if test ! -f set_soenv.stamp; then
2011-07-04 02:20:26 -05:00
echo > set_soenv.stamp
elif diff set_soenv set_soenv.last >/dev/null 2>&1; then
2011-07-04 02:20:26 -05:00
echo "Configuration unchanged - avoiding scp2 stamp update"
else
2011-07-04 02:20:26 -05:00
echo > set_soenv.stamp
fi
dnl Run the set_soenv script to setup the Env.Host.sh script that sets
dnl environment variables for the build.
chmod +x set_soenv
./set_soenv
dnl vim:set shiftwidth=4 softtabstop=4 expandtab: