Commit Graph
48 Commits
Author SHA1 Message Date
Andrea Gelmini fa6ea25708 Fix typos
Change-Id: I09e511f35d32b25683811f3a39c833779f3b61fe
Reviewed-on: https://gerrit.libreoffice.org/46370
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-12-14 01:32:22 +01:00
Andrea Gelmini 0501869949 Fix typos
Change-Id: I795059109e23800987cda6f04c58ab18c488ad07
Reviewed-on: https://gerrit.libreoffice.org/41242
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-08-18 07:44:59 +02:00
Caolán McNamara c25eee4496 build boost::locale library
Change-Id: I40b89a0df483645fc743fb092d3d39ea682c510c
Reviewed-on: https://gerrit.libreoffice.org/37060
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-04-28 13:51:07 +02:00
Stephan Bergmann 8646ab97dc Remove MinGW support
In OOo times, there'd originally been efforts to allow building on Windows with
MinGW.  Later, in LO times, this has been shifted to an attempt of cross-
compiling for Windows on Linux.  That attempt can be considered abandoned, and
the relevant code rotting.

Due to this heritage, there are now three kinds of MinGW-specific code in LO:

* Code from the original OOo native Windows effort that is no longer relevant
  for the LO cross-compilation effort, but has never been removed properly.

* Code from the original OOo native Windows effort that is re-purposed for the
  LO cross-compilation effort.

* Code that has been added specifially for the LO cross-compilation effort.

All three kinds of code are removed.

(An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing
--with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.)

Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568
Reviewed-on: https://gerrit.libreoffice.org/34127
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-10 18:01:27 +00:00
Tor Lillqvist f12b13103e Display a summary of fuzzing in command-line form at the end of configure
Makes it easier to reproduce a fuzzed configuration manually.

Change-Id: Ief4df847f1f17c64607e6e5eaf402737bd50704b
2016-12-08 17:48:39 +02:00
Tor Lillqvist 472c07ca0d Introduce configure option fuzzing
When --enable-fuzz-options is given, those --enable or --with options
that are separately so marked, and have not been specified explicitly
at the configure command line (i.e. typically from autogen.input), are
randomly set to either yes or no.

This functionality is useful to make sure configure options don't
bit-rot by randomly exercising uncommon settings and combinations.

To enable fuzzing for an option, use libo_FUZZ_ARG_WITH instead of
AC_ARG_WITH, or libo_FUZZ_ARG_ENABLE instead of AC_ARG_ENABLE.

Also handle two cases of incompatibilty of options discovered by using
--enable-fuzz-options. In general using incompatible options should
cause an AC_MSG_ERROR(), but when one of the options in question has
been set by fuzzing, it's simplest to just reset it to the compatible
value.

Obviously this is highly experimental.

Change-Id: I76d250c148892951a7fda25ba4164de8bc693a26
2016-12-08 00:09:47 +02:00
Riccardo Magliocchetti 42869757fc m4: make explicit what boost library we are not finding
Change-Id: Icd4e926a6e73ea1147419a9190d7888b6ac3e4c7
Reviewed-on: https://gerrit.libreoffice.org/28312
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-08-24 18:16:43 +00:00
David Tardon ed41a33ca2 detect Boost.Filesystem
Change-Id: I86c268f49f44bd1e208a9de781a16bf19450c64c
2016-03-08 06:24:27 +01:00
coypu 1ee9765bef Pull newer m4/ax_boost_system.m4 from upstream.
Does not require tac, which is not available on *BSD/OS X.

Change-Id: I54c90e249fb99ce03cc2ff134f200de283159052
Reviewed-on: https://gerrit.libreoffice.org/22083
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2016-02-04 12:53:44 +00:00
David Tardon bc0f3f0df2 add support for version detection of libs
Change-Id: Id5f84306926b6c28bef0d213aba151d8834b7b2d
2015-12-17 23:03:14 +01:00
Michael Stahl 29215619ed configure: filter -L/usr/lib etc. out of *_LIBS
The goal is to avoid build breakage by pkg-config or whatever helpfully
putting default paths like -L/usr/lib64 into *_LIBS, which is entirely
useless since ld searches there anyway but may override other -L that
occur later on the command line for LO bundled externals.

On a Fedora 22 system, at least these variales were affected:
 CLUCENE_LIBS FIREBIRD_LIBS KDE4_LIBS POSTGRESQL_LIB BOOST_LDFLAGS

Change-Id: Ie55f65c3ae29a125f16871d95ad8b716abf5c982
Reviewed-on: https://gerrit.libreoffice.org/19784
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-04 16:58:26 +00:00
Andrea Gelmini ecf5384f75 Fix typos
Change-Id: I04d1bc3a9f38ff7871d3192563cd1f649fdc6cea
Reviewed-on: https://gerrit.libreoffice.org/18960
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-01 11:37:50 +00:00
Pranav Kant 8f2aace934 create_tree.sh: Generate g-i files
Change-Id: I1749b5b02018cfe6f85a13aed8de4b31a09788e3
Reviewed-on: https://gerrit.libreoffice.org/18494
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-09-14 07:58:16 +00:00
Caolán McNamara 2d48c52da7 need to accept ppc64le as a lib64 using platform in ax_boost_base.m4
Change-Id: I86ef068661082addbd165629d3d6905695090a6b
2014-08-21 11:59:57 +01:00
David Tardon 227d07ecd2 add autoconf macro for Boost.Iostreams
... fixing build with system boost

Change-Id: I50eee3e349e99f751439893c577d66ebb46107c2
2014-03-04 15:47:58 +01:00
Michael Stahl 935b30c0ab normalize values of WITH_EXTRA_EXTENSIONS
Change-Id: I9f084a363bdeab800f0039f9be19d03225a1a8ce
2014-02-27 18:09:02 +01:00
Michael Stahl e3abec3f07 fdo#74825: fix missing lcms2/libxslt/curl in installation sets
The assumption that all configure variables had been normalized to
TRUE/<empty> turned out not to hold; convert a bit more in that
direction.

(regression from 4af38b099c)

Change-Id: I2127c515e8a833a07c9b26ed9d693ce5a1853fe4
2014-02-12 09:53:08 +01:00
Jan Holesovsky ad7b757a25 'ist' -> 'is' here and there.
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
2013-10-04 20:27:30 +02:00
Stephan Bergmann daaaaf7dcd More systematic *_CFLAGS s/-I/-isystem/
...to avoid compiler warnings in external headers.

Change-Id: Ibd7fcb0400bfd8ffa49cc8db77956e443551ebb3
2013-06-10 11:18:21 +02:00
Fridrich Štrba cdabc886f6 Revert "Rename Boost libraries when built internally to match conventions"
This reverts commit 3aeecc525c.
2013-05-24 14:46:28 +02:00
Tor Lillqvist 3aeecc525c Rename Boost libraries when built internally to match conventions
The standard Boost convention is for them to be called libboost_date_time and
libboost_system (with apropriate suffix then depending on type).

Did not touch the libboostthread library we build for Windows.

Add the ax_boost_thread.m4 file for completeness and possible use.

Document where the ax_boost*.m4 files come from.

Change-Id: Ib49bee71398d62c9760a1f8fd5c46be9f3400430
2013-05-24 15:03:45 +03:00
Caolán McNamara 403bfea10f aarch64 will be a 64bit multilib platform too
Change-Id: I6b0932ecd304e661e3331b22e6993b856b686982
2013-05-23 11:55:26 +01:00
Michael Meeks 62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
Andres Gomez 48d49759a4 neon: honor --disable-openssl and use GNUTLS
On --disable-openssl, the bundled neon library
will link against GNUTLS + gcrypt instead of
OpenSSL.

Change-Id: I5b3f09cd1003aefde0478aaab026536c962212c4
Reviewed-on: https://gerrit.libreoffice.org/3330
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-13 10:49:46 +00:00
David Tardon 19d263f095 one variable to rule them all
one variable to find them,
one variable to deliver them all and into filelist put them,
in $INSTDIR where the installer searches.

Change-Id: I989f578f0ed6f9ef9167522249b36d95c15bfd1b
2013-04-10 17:05:44 +02:00
Bjoern Michaelsen a289355d9b also move --enable swiches to m4/ for extensions
Change-Id: I72df67fae5fd78cd9d3f69d4be218c866b4b881d
2013-02-27 15:37:38 +01:00
Michael Stahl 5e5b7e431e m4: improve help message of libo_CHECK_SYSTEM_MODULE
Change-Id: I784823b27108671e6bb549f60725f21abd47451e
2013-02-25 19:14:10 +01:00
Bjoern Michaelsen 8968d6d664 some more external check work on configure.ac
- all in libo_PUBLISH_MODULE is affecting global state, so no need to
  separate
- add in AC_ARG_WITH

Change-Id: I609cd03c9208448e6883f5347da3019e0d3aea51
Reviewed-on: https://gerrit.libreoffice.org/2366
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-02-24 20:12:55 +00:00
Michael Stahl 722c84c136 m4: replace silly makefile modelines
Change-Id: I148941dfbf3c9c75cd07148b08646e85887846e1
2013-02-20 13:18:59 +01:00
Michael Stahl 039a1dcc9f configure: fix WPD/WPS/WPG when no explicit option given:
Consistently set WPD_CFLAGS/WPD_LIBS etc. in that case, with luck not
breaking anything else in the process due to newly set FOO_CFLAGS/LIBS.

Change-Id: I56bc6b86821b77c0c376d06b629646ada1ea0339
2013-02-20 13:18:59 +01:00
Bjoern Michaelsen 43682489c1 Re-Revert "simplify external module check with macro" modulo expat/clucene
This reverts commit 324d2f9474.

Change-Id: I0c1c3412554de2093c9c94de89ff74a89869fa6d
2013-02-19 13:23:04 +01:00
Fridrich Štrba 324d2f9474 Revert "simplify external module check with macro"
Reverting this because it breaks a lot of stuff

This reverts commit a2dbcf1e72.
2013-02-19 12:33:28 +01:00
Bjoern Michaelsen a2dbcf1e72 simplify external module check with macro
- a >12.000 LOC configure.ac is more than enough for everybody
- removing some 100 lines cant hurt
- the SYSTEM_LIBCDR=$SYSTEM_CDR stuff should be removed in a later step,
  by renaming them in the build

Change-Id: I5c065c5c341561258800a124b0fc1f40b3d59211
2013-02-19 11:02:30 +01:00
Bjoern Michaelsen 9243d3e23e simplify extension logic in configure
Change-Id: I1b255f9da925501449d7a41ce5914595da582e40
2013-02-18 16:46:14 +01:00
Luboš Luňák dc277bc6a1 use MINGW_SYSROOT consistently
Restore all cases to expect /mingw/ included in the path.
2013-01-02 17:05:10 +01:00
David Tardon fe367205f5 configure only looks in $MINGW_SYSROOT
Change-Id: I8882525ae6ae24957d9e34fc1ab8d5525251889c
2012-12-31 11:02:32 +01:00
David Tardon f1035c1660 fdo#55435 orcus needs Boost.System with recent Boost
Change-Id: I2df230e0ca6293131ceaf9211fb301165981ab86
2012-11-23 06:51:17 +01:00
Michael Meeks ed7d5822c0 cleanup README files.
Convert DOS -> unix newlines.
Cleanup and clarify several files.
2012-11-05 12:30:34 +00:00
Alia Almusaireae 4aed4f436c add a README files
Change-Id: I4bd9a7d00df220e2a3deae3cc1b7b0f4a1098e24
Reviewed-on: https://gerrit.libreoffice.org/989
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-11-05 11:53:53 +00:00
David Tardon 0f6919cf55 better test for system boost date_time lib
This reverts commit 4c2e9fc655.

Change-Id: Iea84991ee689240fe6e6ddbc47f44b444f582dde
2012-06-13 06:06:43 +02:00
Jan Holesovsky 4c2e9fc655 Revert "add configure check for date_time lib"
This commit breaks MinGW builds; the m4 macros probably need some
improvements there.

This reverts commit 5ed1723390.
2012-06-06 15:43:42 +02:00
David Tardon 5ed1723390 add configure check for date_time lib
Change-Id: Ie04e4860363dd3db7c363408c6c8c9e80d9315c0
2012-06-05 11:31:07 +02:00
Andras Timar 44d470c717 fdo#47584 add yet another MinGW dll filename pattern 2012-05-01 17:27:15 +02: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
David Tardon 743a56fcce allow to pass default dll list 2012-02-21 14:01:01 +01:00
David Tardon bcf1edba4e expect sed has already been detected
Reportedly AC_PROG_SED does not exist on XCode 2.5 .
2012-02-20 14:28:11 +01:00
David Tardon 12c35f511e add macro for extracting mingw dll names from libtool files
Hardcoding dll names from SuSE Linux in configure.in is not good,
because they might be slightly different on other systems (notably
Fedora :-), or the libraries might be compiled with different
dependencies.
2012-02-17 15:53:58 +01:00
Norbert Thiebaud 4c8c8751e5 building rawbuild on mac should not depend on pkg-config being installed 2010-11-30 20:25:20 -06:00