Commit graph

56 commits

Author SHA1 Message Date
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
Norbert Thiebaud
9bbb628e1b oops use == not = in dmake conditional 2012-01-02 09:43:27 -06:00
Norbert Thiebaud
77b7bd9b36 ICU relying on undef is not viable in cross-compile scenario 2012-01-02 06:21:01 -06:00
Norbert Thiebaud
fdd753d1a9 GNUCOPY is one of these var that are defined-sensitive. 2012-01-01 18:38:31 -06:00
Norbert Thiebaud
ea5d18a1c7 move UDP and fix linkoo to look for INPATH and UPD in config_host.mk 2012-01-01 16:07:19 -06:00
Norbert Thiebaud
49319b288f migrate non-conditional straight from configure.in var out of set_soenv.in 2012-01-01 16:05:47 -06:00
Norbert Thiebaud
8bfd2b6af9 move mostly program locator variables out of set_soenv.in 2012-01-01 16:05:46 -06:00
Norbert Thiebaud
465b99f614 migrate *_JAR out of set_soenv.in 2012-01-01 16:05:46 -06:00
Norbert Thiebaud
004df8153c migrate XSLTPROC out of set_soenv.in 2012-01-01 16:05:46 -06:00
Norbert Thiebaud
804a696560 migrate ABOUT_BITMAP and INTRO_BITMAP out of set_soenv.in 2012-01-01 16:05:46 -06:00
Norbert Thiebaud
f1c44b848f argh, OS_FOR_BUILD was not set properly, killing X-compile 2011-12-31 14:18:42 -06:00
Norbert Thiebaud
d64bdc0f1e missed COM_FOR_BUILD in config_host.mk.in 2011-12-31 09:19:00 -06:00
Norbert Thiebaud
480b32d380 migrate COM,CPU,CPUNAME,GUI,GUIBASE,INPATH,OUTPATH,PATH_SEPARATOR 2011-12-30 19:34:34 -06:00
Norbert Thiebaud
e5bbb4ea87 move *_CFLAGS and *_LIBS to config_host.mk 2011-12-30 16:08:10 -06:00