Commit Graph

1018 Commits

Author SHA1 Message Date
Stephan Bergmann
fa545023ad Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}
...replacing hard-coded GCC version checks.  Those checks that guard

  #pragma GCC diagnostic ignored "-Wnon-virtual-dtor"

appear relevant only for GCC itself, not Clang (which used to fail the old
guards because it typically announces itself with a rather low
__GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0
"Enable -Wnon-virtual-dtor for GCC 4.6"

Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
2013-03-25 08:52:54 +01:00
Peter Foley
02ed260819 add configure option to use clang
Change-Id: Ide63ef8bde7ed739b9bf29e936c01e156e8e3de4
2013-03-24 18:25:04 -04:00
Tor Lillqvist
43fe205a77 Don't turn on DISABLE_EXPORT automatically for Android and iOS
Eventually we want to be able to save documents, too.

Change-Id: Ib971163163f78d304deaac2d87db40c8438a34e9
2013-03-23 18:50:50 +02:00
Mathias Hasselmann
7d48d67b06 Use the make binary that configure found in PATH
When auto-detecting the GNU make binary from PATH store its absolute
path in the GNUMAKE variable to ensure to keep using exactly the same
GNU make binary even when the PATH settings change. This is needed
because the gbuild system relies on the GNU make features detected and
reported by the configure script.

Change-Id: I05916f0ad7f2e98e4e908455ed72758ebf396863
Reviewed-on: https://gerrit.libreoffice.org/2924
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-03-23 10:08:16 +00:00
Tor Lillqvist
40fd922ecf Another blind fix for using the x86 NDK tool-chain
Change-Id: Id4abf40d4965c015baf7a4213cd6dde8871a2474
2013-03-23 08:53:42 +02:00
Tor Lillqvist
0fddd7aa82 The x86 NDK toolchain uses a different naming convention for its root
Blind fix attempt for the Android-X86 tinderbox.

Change-Id: Ib7ae0d077aad149d27c19f1b0137bb87062d0f60
2013-03-23 08:03:57 +02:00
Tor Lillqvist
27a9a0d167 Start on supporting also the Clang tool-chain in the Android NDK
Not everything compiles yet. As normal whenever trying to build LibreOffice
with some new tool-chain, it's the C++/UNO bridge that is most fun. The NDK
Clang tool-chain doesn't define _Unwind_Exception.

Change-Id: If828f4f5b5788a4abede1aaca0844bf37e97a701
2013-03-22 22:51:55 +02:00
Fridrich Štrba
9f78c8ed2c Removing some old HH crack
Change-Id: I4b9b24444db500af6cff2cfb1bc17002baf08715
2013-03-22 15:36:34 +01:00
Stephan Bergmann
1939c8c89b Our internal (static) zlib library is called "zlib", not "z"
Change-Id: Ied4b734a412546558b049b1fc627c421b61a0629
2013-03-22 10:06:51 +01:00
Tor Lillqvist
8f53d0d09e Update comment for NDK r8e
Change-Id: I7eab3392c7441ea5ddda59055beedc53b7c5e46c
2013-03-22 07:58:22 +02:00
Peter Foley
4f601291da do not add non-existant dirs to JAVAINC
Change-Id: I7b4498b21b5c003cf03af0ab897d59c1c604bfb8
2013-03-21 17:27:02 -04:00
Tor Lillqvist
4dcef36904 Adapt to amd64/x64 terminology change
Change-Id: I9746559dcf001672906472bcdeaf49b9b20cd449
2013-03-21 13:07:40 +02:00
Tor Lillqvist
4ea5752984 Use -isystem for NPAPI CFLAGS when available and necessary
Change-Id: I1b5c2182762d8a5272ae495f0ada01e81bf38cf5
2013-03-20 16:03:17 +02:00
Stephan Bergmann
c499fb240c Work around -Werror,-Wundef
...from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers/jni.h

Change-Id: I2ae814f0491fe8a24a91504f7f14cc7416437d0f
2013-03-20 13:52:15 +01:00
Luboš Luňák
0e6cbfe0b1 remove leftover from copy&paste 2013-03-20 13:40:17 +01:00
Luboš Luňák
151abb8b2b use -isystem instead of -I for 3rd party headers
This should avoid gcc warnings in external code we don't care about,
so there'll be no need to fix them for WaE.

Change-Id: I629dc2672c075908294609249183f27ad2984325
2013-03-20 11:34:18 +01:00
Christian Lohmaier
f44f1719ef lowering baseline for python used during building
builds fine when using system python for building on Mac OSX 10.5
(comes with python 2.5 only). Note that python 2.5 is not enough
for pyuno/python scripting at runtime, so for that internal python is
built nevertheless.

Change-Id: I51a4450cad1e09aecd12f192db1fb797313cf322
Reviewed-on: https://gerrit.libreoffice.org/2862
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-20 06:37:19 +00:00
David Ostrovsky
90a326c702 fdo#61950 move report builder from bundled extensions to plain code
For test sample report from fdo#61726 can be used.

Change-Id: Iacf8ddc4cf8ad0a408d72e18ecb7237476afeffe
Reviewed-on: https://gerrit.libreoffice.org/2718
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-18 15:30:44 +00:00
Rene Engelhard
df2e3d29a4 check for krb5/gssapi only when we use internal libpq
Change-Id: I654b4bd7dbd3cb6b6e09196a80097eae2a5787a1
2013-03-18 11:37:04 +01:00
Matúš Kukan
40f92a3cbe use only internal python on cygwin
Change-Id: Ibcfa5030a245e1bbc00c01c4d42a5bba01ec9aa9
2013-03-18 12:12:23 +01:00
Christian Lohmaier
96ad8c2ac5 allow openssl in the check-for-broken-make check als sha1sum variant
Mac OS X 10.5 doesn't come with a dedicated sha1sum, but has make 3.81.
Allow openssl as alternative for the makefile, after all it isn't sha1
that matters. (also XCode's make is not affected by that specific bug)

Change-Id: Id212fca588980f7e151120cdfe281f7b5d8ac5a4
Reviewed-on: https://gerrit.libreoffice.org/2804
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-18 06:55:02 +00:00
Lionel Elie Mamane
fcc4b3c3ec configure.ac: Check for mdds version >= 0.7.0
Change-Id: I183d01d1884f67701523b88064b0dde6f496f67d
2013-03-16 08:44:19 +01:00
Tor Lillqvist
1d559d9e38 Add some comments
Change-Id: I3cc92e3fe471fa92a9de339c7677d866e46ab185
2013-03-14 09:29:37 +02:00
Matúš Kukan
0c9f4dcd83 do not use icu-config when cross-compiling, except for MinGW
It's not possible to run the executable for host platform in general.
Just accept system version without checking it.

Change-Id: I5ca3da1aca09b5bc3a6d25f0cdcb816f36498623
2013-03-13 22:49:49 +01:00
Matúš Kukan
54e6159aae fix typo in JAVAINC for cygwin
Change-Id: I926763620779c08bce658dc1c2a565823539dd41
2013-03-13 18:33:07 +01:00
Matúš Kukan
3909015f5d fix system python check for cross-compiling
Change-Id: Icdf66eaed992e3b3e7c75c1082ac61c392c125d6
2013-03-13 16:26:10 +01:00
Matúš Kukan
44dc1e8463 configure: accept JAVALIB and new JAVAINC to allow cross-compile with java
Surely this should be done better, this is only to make it work somehow.
There is too much going on with java in configure to easily make this nice.

Change-Id: I9212a2cecd16964d50d6ee0f848f5cd2935a7ca3
2013-03-13 16:26:10 +01:00
Matúš Kukan
994d964285 we don't need to build with java for build platform anymore
Since 17b2ace79b
"filter: use python version of FCFGMerge"

Change-Id: Ie66be9c126d0d1a9adf28abb6b399a5219bf4dda
2013-03-13 16:26:09 +01:00
Fridrich Štrba
790a36d299 Creating a libmwaw module for library parsing various old Mac file-formats
Change-Id: I367dfa309a30a5b55de1d59e632d0dbcf5dc6dbb
Reviewed-on: https://gerrit.libreoffice.org/2662
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-13 09:16:06 +00:00
Matúš Kukan
133fbbcbd3 solenv: remove versionlist.hrc
Change-Id: Iddbfcacd17c1022293357ff5240ab7a52b1a390e
Reviewed-on: https://gerrit.libreoffice.org/2677
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-12 22:57:46 +00:00
Kohei Yoshida
4613d78e6a Updated mdds to 0.7.0.
Change-Id: I5e4a4b80a0f83aefcd85cf5e76ccd52906d39f83
2013-03-12 15:48:23 -04:00
Luboš Luňák
6fbd871135 re-add support for KDE4 Qt+glib eventloop intergration
The necessary build stuff was apparently silently dropped during gbuild
conversion and never noticed.

Change-Id: Ib1f530b92618a9d4f11c54818e984f737abaa283
2013-03-12 20:05:56 +01:00
Matúš Kukan
7062b4e0df configure: clean unused _FOR_BUILD variables
Change-Id: Ie236bbe4122fa5686a8d4c6050b5e14f354a5bb3
2013-03-12 11:36:54 +01:00
Matúš Kukan
e482672b58 use system python for building if possible
Also simplifies configure, hopefully without any mistake;)

Change-Id: I5c6c53fbee06cd1ecccf878a5c080274bfd950c1
Reviewed-on: https://gerrit.libreoffice.org/2563
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-12 08:10:49 +00:00
Fridrich Štrba
3e4835a107 Declare MARIADBCONFIG precious, so that it can be overriden
Change-Id: I585e57cc7eb15016374c284aa2295df0ebe799ad
2013-03-11 13:52:21 +01:00
Fridrich Štrba
3e736d50b9 Don't change the mysql/mariadb connector version
Change-Id: Iaec9ca5ae588c2a82a823475fecde28519aa3b2f
2013-03-11 13:44:06 +01:00
Peter Foley
bda2003485 add pch support to gcc
Change-Id: I58c11477c1ce48185528db3a8013b5dccf3947c6
Reviewed-on: https://gerrit.libreoffice.org/2653
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11 09:48:32 +00:00
Peter Foley
e9c6338f1b Do not add empty path to SOLARINC on windows
Change-Id: I6c53e999b9921dff4338815a48b8c97b4fe25059
2013-03-06 13:52:41 -05:00
Fridrich Štrba
cad422afb7 Adding libmariadb module for internal mariadb (work in progress)
Change-Id: If2cf9ff21120e29a149903e8eab849d97fa0c2c9
2013-03-06 16:33:25 +01:00
Matúš Kukan
a8ba50d2c0 XINC and XLIB are never used
Change-Id: I242153584dd8e50e8163c4534acf8d8a66423b02
Reviewed-on: https://gerrit.libreoffice.org/2545
Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz>
Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2013-03-06 14:25:52 +00:00
Matúš Kukan
be46157bb2 clean SOLARLIB post dmake removal
I think it should die completely but openbsd and solaris still use it.
Probably just setting LDFLAGS should be enough for them ?

Also SOLARINC_FOR_BUILD and SOLARLIB_FOR_BUILD are not used anywhere.

Change-Id: I1c11981f859876af8b90e8ba60fce2820b354022
2013-03-06 12:39:23 +01:00
Fridrich Štrba
1bf4306c39 Switch from libmysqlc library to mariadb-native-client
Change-Id: I867918bbb61b289e1ad8752e6f46705af6e85b7c
2013-03-06 11:46:04 +01:00
Fridrich Štrba
8ecb2c52a6 If Mozab is built, look for VS2005 dlls
Change-Id: Id5585ff27af8e743adbecbdad3587db9224a394b
2013-03-04 17:29:52 +01:00
Peter Foley
6398cf9f87 do not require cygwin gcc
Change-Id: I29de91f2eeb5c9317271aecf861f64a3c8eff73f
Reviewed-on: https://gerrit.libreoffice.org/2521
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-03-04 12:52:00 +00:00
Fridrich Štrba
3677953fc3 Revert the VS2005 dll fix. We will need a separate rule for that.
This reverts commit 2c9d381742.

Change-Id: Id2f0eca9f487920cdb4f36e99c776475bcde4721
2013-03-04 02:37:32 +01:00
Fridrich Štrba
2c9d381742 Better to add those ones after the check
Change-Id: If9acef1f2b25f94521ce1ff903eaaca7ea90b4cd
2013-03-04 02:18:06 +01:00
Fridrich Štrba
e0a3eba0c0 If enabling mozab on windows, package the needed dlls and manifest
Change-Id: I3152ba166c2ea22bd740d85a89d2b6a0c073279e
2013-03-04 02:13:50 +01:00
Peter Foley
96017f081f fixup configure output
Change-Id: I1ec6261e1f5a34a9c1f00d874aa5191368034f4c
2013-03-03 16:08:04 -05:00
Peter Foley
d79bdca7e4 fix build on android with gcc 4.7
See https://code.google.com/p/android/issues/detail?id=41770

Change-Id: I555c1e9b8b15afd78b07b1c7b12a0b37d1112f9a
2013-03-02 13:01:04 -05:00
Matúš Kukan
ee0dd36715 remove minor.mk
Hopefully all stays the same except for vcl/unx/gtk/a11y/atkutil.cxx.

Change-Id: I49108007ee6d045f045de86c8654efc7ca5fd3d0
Reviewed-on: https://gerrit.libreoffice.org/2491
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-02 16:02:39 +00:00