Commit graph

1123 commits

Author SHA1 Message Date
Norbert Thiebaud
c0a99301f5 allow for the use of --enable-ccache on Windows 2012-03-23 02:02:53 -05:00
Tor Lillqvist
a3035495eb Make the DocumentLoader experimental app build again 2012-03-22 22:49:47 +02:00
Christian Lohmaier
7c4da6d519 Revert "AC_PROG_GREP (I'm pedantic, am I not?)" - XCode 2.5.x doesn't know it
This reverts commit 4762788eb4.
2012-03-22 14:11:01 +01:00
Luboš Luňák
d6e96d0a4e add missing AC_MSG_RESULT() else branch 2012-03-21 21:48:21 +01:00
Luboš Luňák
4762788eb4 AC_PROG_GREP (I'm pedantic, am I not?) 2012-03-21 20:20:49 +01:00
Christian Lohmaier
e065cfc674 checking for egrep doesn't necessarily set GREP as well 2012-03-21 18:27:26 +01:00
Tor Lillqvist
c3f36b0e47 Add separate switch for disabling of dynamic loading (iOS) for orthogonality 2012-03-21 00:00:04 +02:00
Stephan Bergmann
54fb699f0f Typo 2012-03-19 20:22:54 +01:00
Tor Lillqvist
4fa48a1190 Do AC_PROG_EGREP before using $GREP 2012-03-19 10:50:27 +02:00
David Tardon
28eaee81ac mingw: check for jpeg dll 2012-03-19 09:22:51 +01:00
David Tardon
9339da8659 mingw: check for system iconv dll
libxslt in Fedora mingw packages depends on it.
2012-03-19 09:22:51 +01:00
David Tardon
d1cc4bb69e mingw: allow forced use of system icu tools 2012-03-18 21:23:42 +01:00
David Tardon
11bf220b6a mingw: test system icu version 2012-03-18 21:23:42 +01:00
David Tardon
c8aa3d7563 mingw: use system icu tools when requested 2012-03-18 21:23:41 +01:00
David Tardon
aa1435b3c5 clean up after copy & paste 2012-03-18 21:23:41 +01:00
David Tardon
1f09f96e95 mingw: allow use of system zlib 2012-03-18 21:23:41 +01:00
David Tardon
1118f57582 mingw: avoid hardcoded dll versions and deps
The idea is to use libo_MINGW_CHECK_DLL for libs that must be available
(typically that would be the "main" library, e.g., libxml2 or libcurl)
and libo_MINGW_TRY_DLL for possible dependencies (that may not be the
same on different systems). All further references to the dlls are
exclusively through the configured variables or defines set from these
variables (e.g., instead of hardcoding libxml2-2.dll, use
$(MINGW_LIBXML2_DLL)).

The macros are documented in m4/mingw.m4 .

Files that must be changed when adding a new dll:
* configure.in
* config_host.mk.in
* external/mingw-dlls/makefile.mk
* scp2/source/ooo/makefile.mk
* scp2/source/ooo/mingw_dlls.scp
2012-03-18 21:23:40 +01:00
Tomas Chvatal
86793aeed9 Add check for hamcrest even if it is not first in classpath. 2012-03-18 12:29:27 +01:00
Luboš Luňák
4c231e4b7a fix wrong libpng check result text 2012-03-17 10:52:43 +01:00
Jonathan Adams
ede2421f5c configure.in: use $GREP for non-standard features 2012-03-16 22:18:41 +01:00
Luboš Luňák
9fea5d3c26 fix gcc bug 26905 detection with clang
it uses GOT instead of PLT on i386 with -02
2012-03-16 17:48:27 +01:00
Luboš Luňák
b1c472c702 do not leave temporary files after a configure check 2012-03-15 16:06:47 +01:00
Luboš Luňák
c5489e31b6 need to be afraid of empty quoted strings as test arguments
At least 07a841bc1a says so.
2012-03-15 14:22:58 +01:00
Luboš Luňák
3d9f5c856a make OString work even with old gcc that has SFINAE broken
Since OString already has a ctor accepting const char*, I cannot
find out a way to distinguish string literals other than using
a template, otherwise const char* somehow takes precedence
(all of gcc, clang, msvc). But the template requires
the Substitution Is Not A Failure Idiom to actually create
only wanted instances. And the compiler can try evaluate
the OString ctor as a possibility when comparing an int to
an anonymous enum, and anonymous enum as a type without linkage
cannot be a template argument before C++11. SFINAE should still
work, but not with gcc older than 4.0.2 (which we right now
use only on macs). So for that case disable the string literal
ctors, which means macs will have one extra strlen call,
and also that embedded \0's in string literals will be
inconsistent. The tiny performance problem shouldn't matter that
much and will eventually go away, the \0 problem should not
matter, since before string literal ctors were introduced
\0's had not been included anyway unless RTL_CONSTASCII_STRINGPARAM
was used. So we should be safe and when removing the CONSTASCII
macros \0 cases should be handled by explicitly mentioning
the length.
2012-03-13 16:21:04 +01:00
Bjoern Michaelsen
567a22f15a upstream pkgconfig-mozilla-plugin.diff from Ubuntu/Debian packaging 2012-03-13 14:53:02 +01:00
Tor Lillqvist
41b52a106f No need to be afraid of empty quoted strings as test arguments 2012-03-13 12:55:43 +02:00
Tor Lillqvist
4e384372a2 Be consistent in spacing before the ';' terminating a test or while expression 2012-03-13 12:55:42 +02:00
Tor Lillqvist
169a3f2fa5 Use test's -a and -o operators instead of shell && or || constructs 2012-03-13 12:55:41 +02:00
Tor Lillqvist
9a188e78b2 Don't usse -D_FILE_OFFSET_BITS=no 2012-03-13 02:44:01 +02:00
Luboš Luňák
305cfc116e clang has broken -fvisibility-inlines-hidden
http://llvm.org/bugs/show_bug.cgi?id=11250 , comment #4
2012-03-10 16:39:23 +01:00
Tor Lillqvist
8db978d3fa Add DISABLE_DBCONNECTIVITY and DISABLE_SCRIPTING to SCPDEFS when needed 2012-03-08 23:05:59 +02:00
Tor Lillqvist
703e7b390e Also set with_java=no in the disable-scripting case 2012-03-08 23:05:58 +02:00
Tor Lillqvist
41daea641b Make Emacs mode line consistent with the vim one 2012-03-07 07:35:27 +02:00
David Tardon
27eb7b93dc mingw: pass --disable-ccache to build's configure 2012-03-06 10:37:01 +01:00
Michael Meeks
0be7432f3b fix icecream check to not break on SUSE 2012-03-05 20:56:51 +00:00
Norbert Thiebaud
43f3b1fb5b build internal cairo if not with_system_cairo but enable_librsvg != NO 2012-03-04 21:12:46 -06:00
Tor Lillqvist
62025f7446 Hide a potential error message which we aren't interested in seeing 2012-03-02 16:29:28 +02:00
Tor Lillqvist
c70cedabd3 Clarify what --disable-extensions means 2012-03-02 15:42:27 +02:00
Tor Lillqvist
fa65ff8b1d Check for Clang in configury and store and use result 2012-03-02 15:42:25 +02:00
Tor Lillqvist
a871755e67 Reduce vertical whitespace a bit 2012-03-02 15:42:24 +02:00
Fridrich Štrba
8a0a25dba0 Creating a module lcms2 2012-03-02 10:16:30 +01:00
Tor Lillqvist
b9b8ae8a48 Don't generate Thumb code to avoid ld bug in NDK r7b 2012-02-29 20:20:10 +02:00
Stephan Bergmann
372199d4f1 Make some --without-system-XXX available on Linux, too
...in case that should ever become uesful.
2012-02-29 15:33:15 +01:00
Tor Lillqvist
44f3a76e97 libvisio depends on the LGPL libwpd and libwpg so bypass on iOS then 2012-02-28 00:38:48 +02:00
Fernando Governatore
207dbaaf83 fix icecc compile in ubuntu
In ubuntu the GCC_HOME of icecc is in /usr/lib/icecc
2012-02-27 21:31:49 +00:00
Tor Lillqvist
b553816722 libcdr depends on libwpd and libwpg so don't use it either on iOS then 2012-02-27 17:54:28 +02:00
Tor Lillqvist
143974d637 $_os is "iOS" for iOS, not "IOS" 2012-02-27 17:20:32 +02:00
Tor Lillqvist
651dcc29f4 Add --disable-extensions switch for future implementation 2012-02-27 17:02:59 +02:00
Tor Lillqvist
c16bc82637 s/interpreters/scripting/ 2012-02-27 16:51:56 +02:00
Tor Lillqvist
c35e81202c Wonder what "integration" means 2012-02-27 10:29:27 +02:00
Tor Lillqvist
e28c5b15d7 s/builded/built 2012-02-27 10:25:43 +02:00
Tor Lillqvist
190ff38183 Just call it "Windows" here, too 2012-02-27 10:13:25 +02:00
Tor Lillqvist
675cfeee6f Fix shell / test OR operator confusion 2012-02-27 10:12:34 +02:00
Tor Lillqvist
4c737b6470 Decouple disabling of scripting (BASIC &co) from OS being iOS 2012-02-27 10:06:22 +02:00
Stephan Bergmann
9cbef2656e Removed unused --enable-ugly 2012-02-24 17:41:51 +01:00
Luboš Luňák
1cf7ab61a7 use -std=gnu++0x rather than -std=c++0x
The gcc default for C++ is -std=gnu++98, and -std=c++98 is used
explicitly or with -ansi, so the C++0x "default" should be gnu++0x.
2012-02-24 14:06:19 +01:00
Caolán McNamara
561cbe2bd5 document how to enable contrib-libs for distro's system-clucene 2012-02-23 10:31:19 +00:00
Caolán McNamara
8f6321b775 use different OUString ctor for RTL_TEXTENCODING_UCS4 2012-02-23 10:31:19 +00:00
Caolán McNamara
15704e6319 bootstrap replacement c++ help component 2012-02-23 10:31:15 +00:00
Stephan Bergmann
b96b5aff2b Allow to override --with-python=system withh $PYTHON on Mac OS X 2012-02-22 10:51:31 +01:00
Luboš Luňák
e6d0daefbd build also with older npapi
They were apparently lame enough to make a source-incompatible
change without changing API version or anything similar.
2012-02-21 17:22:02 +01:00
David Tardon
0c128345ea reintroduce hardcoded dll names as defaults 2012-02-21 14:01:02 +01:00
Tor Lillqvist
f9a5c4cbc2 More --disable-database-connectivity work, still experimental 2012-02-21 14:19:49 +02:00
Riccardo Magliocchetti
e125c8fa82 Put HEADLESS definition under LIBO namespace
tml reminds us that use a generic and potentially clash-prone word
like HEADLESS as preprocessor defintion is pretty lame.
He suggests to put it under the already used LIBO namespace.
To sum it up let's do a s/HEADLESS/LIBO_HEADLESS/g.
2012-02-21 12:46:28 +02:00
Riccardo Magliocchetti
f8a120b0e4 headless: cleanup HEADLESS definition
Define HEADLESS globally as it is meant to be.
2012-02-20 22:42:14 +01:00
Stephan Bergmann
f78cb7da33 Improve check for broken -fthreadsafe-statics 2012-02-20 14:30:36 +01:00
Matúš Kukan
ee7f6aaa95 Add missing $ 2012-02-19 20:31:56 +01:00
Miklos Vajna
e34e95aef3 configure: also, --with-lang=en-US should not trigger TRANSLATIONS build type 2012-02-19 15:06:10 +01:00
Miklos Vajna
eb7cb5b61c configure: no need to fetch the translations repo for --with-lang=en-US 2012-02-19 14:35:12 +01:00
Norbert Thiebaud
4d0a05e939 build_env is obsolete now 2012-02-18 18:41:02 -06:00
Caolán McNamara
af75ceb873 fix build, WANT_X11 is a variable 2012-02-17 20:11:34 +00:00
Matúš Kukan
7f267db9b3 SOLAREXTRALIB unused 2012-02-17 20:02:45 +01:00
Riccardo Magliocchetti
2130deb2d1 Introduce headless switch for X / cairo / toolkit less build
The plan is to reduce dependencies to be easier to deploy
libreoffice server side in headless mode.
2012-02-17 16:44:56 +00:00
Tor Lillqvist
18f4ff2317 Recommend to use NDK r7b
Drop compiler options -fexceptions -frtti for Android, I hope they are
taken care of by the makefilery where needed. At least either
-fexceptions or -fno-exceptions is used for each C++ compilation as
far as I know. Not so sure about RTTI, let's see.
2012-02-17 18:08:15 +02:00
David Tardon
80b94e54d8 do not hardcode mingw path 2012-02-17 15:53:59 +01:00
David Tardon
41522fc775 avoid hardcoded dll names 2012-02-17 15:53:59 +01:00
David Tardon
1a1c6f8f8e allow using system icu in cross-compilation build 2012-02-17 15:53:58 +01:00
David Tardon
b60aedc17c allow using system expat in cross-compilation build 2012-02-17 15:53:58 +01:00
David Tardon
50c5c10ac3 allow using system db in cross-compilation build 2012-02-17 15:53:57 +01:00
David Tardon
2afa9317cd allow using system boost in cross-compilation build 2012-02-17 15:53:57 +01:00
David Tardon
e1462d24f4 allow using system cppunit in cross-compilation build 2012-02-17 15:53:56 +01:00
David Tardon
4b95a8f307 allow using system libxml in cross-compilation build
This uses the same pattern that is already used to discriminate env.
vars for host and build (i.e., the new option specific for build
platform has -for-build suffix).
2012-02-17 15:53:56 +01:00
David Tardon
6fcf0c9c6b pass --without-java to configure for build platform 2012-02-17 15:53:56 +01:00
Tor Lillqvist
f8e3ec2892 Bin obsolete comment 2012-02-17 14:42:40 +02:00
Tor Lillqvist
de9c3dcb76 Set SOLARLIB for Android 2012-02-15 17:01:32 +02:00
Tor Lillqvist
402fcdbdde Fix recognition of ccache in $CC and/or $CXX 2012-02-15 13:32:56 +02:00
Tor Lillqvist
c1f5475bd6 Do try to use ccache even if CC/CXX are set
For Android, they could have been set earlier in the configure script
even. We do want to use ccache also for Android cross-compilation.
2012-02-15 13:08:23 +02:00
Tor Lillqvist
c301199804 Merge branch 'feature/android' 2012-02-15 12:00:46 +02:00
Caolán McNamara
013076d6a8 add check for xmllint 2012-02-13 12:32:41 +00:00
Caolán McNamara
3d1f1c43a0 allow java 1.7, or any future version 2012-02-13 11:44:44 +00:00
Tor Lillqvist
5ba36c0e82 Say "MSVC build" as that is what build_os = cygwin means 2012-02-13 10:39:21 +02:00
Matúš Kukan
636564d9b0 fix ILIB: don't ask cygpath for directory which does not exist yet
By removing WinPath. The paths already have good format.
2012-02-11 16:57:52 +01:00
Matúš Kukan
19b33ca42f fdo#39491 remove a few nonexistent include paths from SOLARINC 2012-02-10 21:41:46 +01:00
Norbert Thiebaud
90d1c9ff82 the PATH must be set properly, even with java disabled ... 2012-02-10 10:18:53 -06:00
Petr Mladek
739100d0ab use system stdlibs by default (fdo#45074, fdo#45696)
this is second part of the fix for the two bugs
2012-02-10 15:31:19 +01:00
Caolán McNamara
21040f2288 hack around sdk installer breakage 2012-02-10 14:20:52 +00:00
Rene Engelhard
8f06cc4414 configure.in: readd arch-detection for kFreeBSD 2012-02-09 01:06:00 +01:00
David Tardon
7bca5b92d4 fix typo 2012-02-06 19:02:58 +01:00
Tor Lillqvist
f8d30ec82d Attempt to disable database connectivity for iOS for now 2012-02-06 16:57:40 +02:00
Tor Lillqvist
3a8a275d74 Clarify and simplify a bit as we don't have any X11 option on Mac OS X anyway 2012-02-06 16:57:39 +02:00