summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)AuthorFilesLines
2017-04-28build boost::locale libraryCaolán McNamara1-0/+119
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-02-10Remove MinGW supportStephan Bergmann1-90/+0
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>
2016-12-08Display a summary of fuzzing in command-line form at the end of configureTor Lillqvist1-2/+11
Makes it easier to reproduce a fuzzed configuration manually. Change-Id: Ief4df847f1f17c64607e6e5eaf402737bd50704b
2016-12-08Introduce configure option fuzzingTor Lillqvist1-0/+42
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-08-24m4: make explicit what boost library we are not findingRiccardo Magliocchetti4-4/+4
Change-Id: Icd4e926a6e73ea1147419a9190d7888b6ac3e4c7 Reviewed-on: https://gerrit.libreoffice.org/28312 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-03-08detect Boost.FilesystemDavid Tardon1-0/+118
Change-Id: I86c268f49f44bd1e208a9de781a16bf19450c64c
2016-02-04Pull newer m4/ax_boost_system.m4 from upstream.coypu1-4/+5
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>
2015-12-17add support for version detection of libsDavid Tardon1-0/+48
Change-Id: Id5f84306926b6c28bef0d213aba151d8834b7b2d
2015-11-04configure: filter -L/usr/lib etc. out of *_LIBSMichael Stahl1-0/+2
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-10-01Fix typosAndrea Gelmini1-1/+1
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-09-14create_tree.sh: Generate g-i filesPranav Kant1-0/+94
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>
2014-08-21need to accept ppc64le as a lib64 using platform in ax_boost_base.m4Caolán McNamara1-1/+1
Change-Id: I86ef068661082addbd165629d3d6905695090a6b
2014-03-04add autoconf macro for Boost.IostreamsDavid Tardon1-0/+116
... fixing build with system boost Change-Id: I50eee3e349e99f751439893c577d66ebb46107c2
2014-02-27normalize values of WITH_EXTRA_EXTENSIONSMichael Stahl1-1/+1
Change-Id: I9f084a363bdeab800f0039f9be19d03225a1a8ce
2014-02-12fdo#74825: fix missing lcms2/libxslt/curl in installation setsMichael Stahl1-2/+2
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 4af38b099c741c3676aefeb20c515913aaeed666) Change-Id: I2127c515e8a833a07c9b26ed9d693ce5a1853fe4
2013-10-04'ist' -> 'is' here and there.Jan Holesovsky1-1/+1
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
2013-06-10More systematic *_CFLAGS s/-I/-isystem/Stephan Bergmann1-0/+1
...to avoid compiler warnings in external headers. Change-Id: Ibd7fcb0400bfd8ffa49cc8db77956e443551ebb3
2013-05-24Revert "Rename Boost libraries when built internally to match conventions"Fridrich Štrba2-152/+1
This reverts commit 3aeecc525c76797801e9e2b24c2ebff6ac81adac.
2013-05-24Rename Boost libraries when built internally to match conventionsTor Lillqvist2-1/+152
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-23aarch64 will be a 64bit multilib platform tooCaolán McNamara1-1/+1
Change-Id: I6b0932ecd304e661e3331b22e6993b856b686982
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-22/+4
2013-04-13neon: honor --disable-openssl and use GNUTLSAndres Gomez1-0/+123
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-10one variable to rule them allDavid Tardon1-24/+25
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-02-27also move --enable swiches to m4/ for extensionsBjoern Michaelsen1-2/+6
Change-Id: I72df67fae5fd78cd9d3f69d4be218c866b4b881d
2013-02-25m4: improve help message of libo_CHECK_SYSTEM_MODULEMichael Stahl1-1/+1
Change-Id: I784823b27108671e6bb549f60725f21abd47451e
2013-02-24some more external check work on configure.acBjoern Michaelsen1-9/+7
- 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-20m4: replace silly makefile modelinesMichael Stahl2-4/+6
Change-Id: I148941dfbf3c9c75cd07148b08646e85887846e1
2013-02-20configure: fix WPD/WPS/WPG when no explicit option given:Michael Stahl1-0/+2
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-19Re-Revert "simplify external module check with macro" modulo expat/cluceneBjoern Michaelsen1-0/+30
This reverts commit 324d2f94749dfd94c7f09d1923310e145bb64deb. Change-Id: I0c1c3412554de2093c9c94de89ff74a89869fa6d
2013-02-19Revert "simplify external module check with macro"Fridrich Štrba1-30/+0
Reverting this because it breaks a lot of stuff This reverts commit a2dbcf1e723e082a76ad1a7ef275f693dab34c98.
2013-02-19simplify external module check with macroBjoern Michaelsen1-0/+30
- 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-18simplify extension logic in configureBjoern Michaelsen1-0/+23
Change-Id: I1b255f9da925501449d7a41ce5914595da582e40
2013-01-02use MINGW_SYSROOT consistentlyLuboš Luňák1-1/+1
Restore all cases to expect /mingw/ included in the path.
2012-12-31configure only looks in $MINGW_SYSROOTDavid Tardon1-2/+1
Change-Id: I8882525ae6ae24957d9e34fc1ab8d5525251889c
2012-11-23fdo#55435 orcus needs Boost.System with recent BoostDavid Tardon1-0/+120
Change-Id: I2df230e0ca6293131ceaf9211fb301165981ab86
2012-11-05cleanup README files.Michael Meeks1-1/+2
Convert DOS -> unix newlines. Cleanup and clarify several files.
2012-11-05add a README filesAlia Almusaireae1-0/+2
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-06-13better test for system boost date_time libDavid Tardon2-0/+379
This reverts commit 4c2e9fc655b6480ffc7f0feb5d07b8106b6b8e22. Change-Id: Iea84991ee689240fe6e6ddbc47f44b444f582dde
2012-06-06Revert "add configure check for date_time lib"Jan Holesovsky2-371/+0
This commit breaks MinGW builds; the m4 macros probably need some improvements there. This reverts commit 5ed17233908c7f87b08b0964b55e4504d964ed71.
2012-06-05add configure check for date_time libDavid Tardon2-0/+371
Change-Id: Ie04e4860363dd3db7c363408c6c8c9e80d9315c0
2012-05-01fdo#47584 add yet another MinGW dll filename patternAndras Timar1-0/+4
2012-03-18mingw: avoid hardcoded dll versions and depsDavid Tardon1-74/+96
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-02-21allow to pass default dll listDavid Tardon1-34/+56
2012-02-20expect sed has already been detectedDavid Tardon1-4/+3
Reportedly AC_PROG_SED does not exist on XCode 2.5 .
2012-02-17add macro for extracting mingw dll names from libtool filesDavid Tardon1-0/+61
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.
2010-11-30building rawbuild on mac should not depend on pkg-config being installedNorbert Thiebaud1-0/+154