Commit graph

69 commits

Author SHA1 Message Date
David Tardon
a420516af3 mingw: unbreak make check
Even if it does nothing because there is no installation available .-)
2012-04-16 20:24:23 +02:00
Bjoern Michaelsen
ebed42c38a introduce ENABLE_DEBUG_ONLY
with this you can now do:

 ./autogen.sh --enable-debug="sw sc"

and your build will have debug version of the libraries sw and sc, but a
non-debug build elsewhere. This currently only works for libraries. It would be
also possible to extend that to excutables, but that would need explicit in the
enable-debug switch then:

 ./autogen.sh --enable-debug="Library/sw Library/sc Executable/mkunroll"

so I dont know if it is worth it.
2012-04-16 11:59:42 +02:00
Andrew Higginson
8a3aae9b69 Resolves: fdo#31022 about dialog is suboptimal 2012-04-10 12:49:49 +01:00
David Tardon
22c60cbbfb add external for clucene 2012-04-07 16:18:25 +02:00
Eike Rathke
43084e8b30 only as of ICU 4.9 RBBI the Prepend property is empty
This reverts 0c08a84c04 and instead strips the
Prepend variable during build time.
2012-04-03 00:15:30 +02:00
Norbert Thiebaud
5dd7f9e468 typo in HAVE_GNUMAKE_FILE_FUNC, and var2file must return the filename 2012-03-26 14:06:16 -05:00
Norbert Thiebaud
fd83e6cb19 detect of gnumake support $(file function
$(file is a new function that landed in gnu-make cvs
it allow to write a makefile variable directly into a file
bypassing the usual command line size limitiation
2012-03-25 12:45:04 -05:00
Fridrich Štrba
a565276f66 Enable use of older tars that uses --strip-path to strip components 2012-03-23 13:16:20 +01:00
Tor Lillqvist
c3f36b0e47 Add separate switch for disabling of dynamic loading (iOS) for orthogonality 2012-03-21 00:00:04 +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
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
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
Fridrich Štrba
6b84f0d0c4 Export the LCMS2_CFLAGS and LCMS2_LIBS 2012-03-08 13:07:59 +01:00
Tor Lillqvist
fa65ff8b1d Check for Clang in configury and store and use result 2012-03-02 15:42:25 +02:00
Fridrich Štrba
8a0a25dba0 Creating a module lcms2 2012-03-02 10:16:30 +01: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
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
Caolán McNamara
15704e6319 bootstrap replacement c++ help component 2012-02-23 10:31:15 +00: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
Tor Lillqvist
f9a5c4cbc2 More --disable-database-connectivity work, still experimental 2012-02-21 14:19:49 +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
Matúš Kukan
7f267db9b3 SOLAREXTRALIB unused 2012-02-17 20:02:45 +01:00
Caolán McNamara
013076d6a8 add check for xmllint 2012-02-13 12:32:41 +00:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Norbert Thiebaud
909cd34b7b coup de grace for Env.Host.sh and associated files 2012-02-05 19:34:05 -06:00
Norbert Thiebaud
b5c7a1ea72 remove everything possible but PATH from set_soenv
only PATH and SOLARENV which is used as a trigger to call Env.Host.sh
are left...
2012-02-05 19:34:05 -06:00
Norbert Thiebaud
3f1e72dc70 migrate a bunch of mostly windows related variables + clean-up in set_soenv 2012-02-05 19:34:04 -06:00
Norbert Thiebaud
d5f31a603c migrate TARFILE_LOCATION out of set_soenv 2012-02-05 19:34:04 -06:00
Norbert Thiebaud
4a9526d59b migrate WITH_POOR_HELP_LOCALIZATIONS out of set_soenv 2012-02-05 19:34:03 -06:00
Norbert Thiebaud
8270885623 migrate ENABLE_DEBUG out of set_soenv 2012-02-05 19:34:03 -06:00
Norbert Thiebaud
a552c45af1 migrate SOLARINC/LIB[_FOR_BUILD] out of set_soenv 2012-02-05 19:34:03 -06:00
Norbert Thiebaud
7bf8521639 migrate SYSBASE out of set_soenv 2012-02-05 19:34:02 -06:00
Norbert Thiebaud
5bd28c6876 migrate EXTERNAL_WARNINGS_NOT_ERRORS out of set_soenv 2012-02-05 19:34:02 -06:00
Norbert Thiebaud
43b987e43f replace SOLARSRC by SRC_ROOT and get rid of SOLARDEFIMG uses 2012-02-05 19:34:02 -06:00
Norbert Thiebaud
45d211b599 migrate SYNAMIC_CRT and use_shl_version 2012-02-05 19:34:01 -06:00
Norbert Thiebaud
da8a424f9a move WORK_STAMP out of set_soenv.in 2012-02-05 19:34:00 -06:00
Norbert Thiebaud
4475360e5e Move MACOS related variable out of set_soenv.in 2012-02-05 19:34:00 -06:00
Norbert Thiebaud
47734215b4 move COMPATH,EPM_FLAGS and connex variables out of set_soenv.in 2012-02-05 19:34:00 -06:00
Tor Lillqvist
dd013e7a6f Improve Android configury
Add a --with-android-sdk switch, and make that and the
--with-android-ndk mandatory when building for Android. Automatically
create a proper android/sc/qa/local.properties file (which points to
the SDK) for Ant.

Restore the Android ARM code generation related flags that I think we
want to use (that used to be mentioned in README.cross but were
accidentally dropped) to the automated setting of CC and CXX.
2012-01-20 13:25:35 +02:00
Michael Meeks
453339cc22 android: add --with-android-ndk= option to simplify configure. 2012-01-18 17:07:55 +00:00
David Tardon
c475316c00 simplify handling of JITC_PROCESSOR_TYPE 2012-01-15 20:12:01 +01:00
Matúš Kukan
a107e4b5dd config*: add cflags for gio, gconf and gnomevfs 2012-01-15 16:11:31 +01:00
David Tardon
7ad72045d7 avoid generating a file in the source tree 2012-01-11 17:32:41 +01:00
Stephan Bergmann
58ab12acf5 Switch from autodoc to doxygen for SDK C++ documentation.
* New build prerequisite doxygen (controllable via --with-doxygen).
* Adapted various headers to slightly different doxygen documentation
  syntax, but much clean up still remains to be done (i.e., warnings
  emitted by doxygen fixed).
2012-01-05 19:43:14 +01:00
Norbert Thiebaud
7eea90d66d migrate JAVALIB out of set_soenv.in 2012-01-02 20:53:05 -06:00
Norbert Thiebaud
6894df1efb avoid conditional define, since they may cause troubles in x-comp case 2012-01-02 20:53:05 -06:00