Commit graph

93 commits

Author SHA1 Message Date
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
Stephan Bergmann
484b8cdf00 LO_PATH unused outside configure.in and config_host.mk.in
Change-Id: Ib349d9bf93ad59c4c171b87f10c4fe608cecb5fd
2012-06-05 14:18:40 +02:00
Fridrich Štrba
dc4b91d310 Adding Microsoft Publisher Import filter
Change-Id: Iec9c9c5419a40e7ad64af057f1bbb426ca3163b0
2012-06-05 14:04:07 +02:00
David Tardon
5ed1723390 add configure check for date_time lib
Change-Id: Ie04e4860363dd3db7c363408c6c8c9e80d9315c0
2012-06-05 11:31:07 +02:00
Luboš Luňák
b6526cfa90 do not export INCLUDE for MSVC, avoids problems long LO build path
INCLUDE is used by MSVC (http://msdn.microsoft.com/en-us/library/kezkeayy.aspx)
and make somehow (not sure why) exports the INCLUDE that gbuild uses,
which (again, not sure why) causes MSVC to report a misleading error about
incorrect argument. There actually does not appear to be any (unreasonably)
low path length limit on Windows.

Change-Id: I9329eb668f7a710ec69c8b5262b855f346ed01d2
2012-06-04 16:55:29 +02:00
Fridrich Štrba
086abe9edd Replace the module icc functionality by a use of lcms2
Change-Id: I989af1147711f0175bf889bc55043b2d84a49b38
2012-06-04 11:44:48 +02:00
Matúš Kukan
0d59b7bf1b deliver sane header only when it's being used
Change-Id: I38a3dfb14375bb4abee7beaa3127c3a4cce1b9a2
2012-06-02 23:38:00 +02:00
David Tardon
8931463a0c export ALL_LANGS 2012-05-29 07:34:13 +02:00
David Tardon
b4e3d59c00 these variables are never set by configure
Change-Id: I8ed3642aca7581cb50c4be1c519c6664296734b8
2012-05-29 07:24:51 +02:00
David Ostrovsky
eadcfa4e27 fdo#50162 merge rtlbootstrap.mk into configure.in
Change-Id: I241be2704a069ec1f6be5861084039569673cc12
2012-05-24 07:22:03 +02:00
Norbert Thiebaud
07b3d083b4 TDE integration
Change-Id: I6f468005c8d8d99d9251a9c4fe4629b98bc4aa5e
2012-05-14 20:09:41 -05:00
David Tardon
dd49c193de make build work again with older ICU
The recent addition of Hebrew line breaking rules apparently does not
work with genbrk from ICU 4.6. Maybe we should just require 4.x (where x
is the first version where it is implemented) as minimum ICU version?
IMHO it would be better than this insane (and fragile) filtering...

Change-Id: Ia2adad3621fa7a2f319a07fb569b1f1c1eb6db7c
2012-05-14 08:27:32 +02:00
Caolán McNamara
9ca02a663c duplicate SYSTEM_[LIBJPEG|JPEG] tests
we have both a SYSTEM_LIBJPEG and SYSTEM_JPEG but only SYSTEM_JPEG appears to
be used

Change-Id: Ib1a5da4c907222be33465ce06997f111c4fffe87
2012-05-13 09:50:42 +01:00
Tomas Chvatal
27abb730b2 Enable configure switch for cups
This allows us not to have cups during the build time of libreoffice.

Commit is inspired from patch from Dave Flogeras <dflogeras@gmail.com>.

Change-Id: I I32a14eb6e7bdd13de1a737d4798c852a830ae326
2012-05-09 17:41:30 +02:00
Michael Stahl
c8fa9bd884 dis-entangle --enable-symbols and --enable-debug:
OOo used to use debug level this way:
0 is default for product build
1 for --enable-dbgutil
2 for environment variable debug=t, regardless of dbgutil setting
in LO these have now morphed into:
0 is default for product build
1 for environment variable debug=t
2 for --enable-dbgutil (at some intermediate stage in the past)
1 for --enable-dbgutil (today)

This has caused a lot of confusion and some things were not converted
properly, including a check in LinkTarget.mk.

Developers should use --enable-debug to get useful information,
including full debug info and assertions.

--enable-symbols is not intended for developers, but for people
who need their builds to be able to produce useful stack traces;
--enable-symbols is for example set unconditionally in the Fedora RPM
spec, and for this purpose disabling of inlining is not wanted.
It is unlikely that somebody wants symbols for only part of the build,
and consequently a different mechanism is used to set the corresponding
flags: they are set into global gb_LinkTarget_C{,XX}FLAGS.

So move the selective symbol feature back to --enable-debug.

(this substantially reverts db8df57acd)
2012-05-08 11:30:25 +02:00
Tomas Chvatal
32af02b32f Allow usage of system rhino wrt fdo#42977
It is done the same way the beanshell is handled.
Currently it can't be enabled by default as internal version has
patched-in debug interface.
We can choose two paths, rewrite the code to the new rhino debug
interface or just strip the current one out.

Change-Id: I48af18c635816db8269f13a649b62e9c454ee1e6
2012-05-06 12:52:55 +02:00
Michael Stahl
f33ba93bad allow custom solver/workdir location: --with-solver-and-workdir-root 2012-05-02 19:51:38 +02:00
David Tardon
b9d0e597a7 export flex
Change-Id: I7d5d8e380e12cc66255ddc3ac3f70bab7713f8b6
2012-05-01 07:29:06 +02:00
David Ostrovsky
65840941ee fdo#39643: Remove --disable-strip-solver configure option
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-04-26 12:43:35 +02:00
Luboš Luňák
77f19d6e02 specific variable for where dev-install installs 2012-04-24 09:01:47 +02:00
Luboš Luňák
faa15bd23e configure checks for gcc options that clang does not support
Maybe they'll be supported somewhen in the future, so do not hardcode
them out. Also, gb_DEBUG_C(XX)FLAGS are apparently common GCC options,
not platform-specific.
2012-04-23 19:17:42 +02:00
Luboš Luňák
0341d7b972 more flexible --enable-symbols=<for>
the argument given now can
- be 'all', meaning everything
- start with -, meaning not to enable symbols for that item
- end with /, meaning everything in that toplevel directory
- be a target of the form targettype_name, e.g. Library_swui

Note that there is no ordering and removal takes precedence.
2012-04-23 19:17:41 +02:00
Luboš Luňák
db8df57acd fixes for debug flags handling
- move using optimization, symbols (i.e. debug) and environment
    cflags/cxxflags into one place
- --enable-dbgutils is independent from --enable-debug, and thus
    also --enable-symbols, so it should not set debuglevel
- setting -g flag is controlled by --enable-symbols, not --enable-debug,
    so it should be used also for selective -g enabling
- setting debug flags depending on debuglevel being 2 is certainly wrong
- do not let environment cflags/cxxflags disable optimization/symbols flags
  completely, if one wants, it's possible to explicitly specify e.g. -g0,
  but the current way does not make it easily possible to specify e.g.
  -fcolor-diagnostics
- do not set debug flag globally now that it can be done selectively
2012-04-23 19:17:41 +02:00
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