Commit Graph

364 Commits

Author SHA1 Message Date
michi_cc
8ad28478a3 (svn r27727) -Fix(-or-not) [FS#6295]: [OSX] Out-of-the-box compilation on newer OSX versions (dunn). 2017-01-08 17:00:18 +00:00
frosch
4342798ff5 (svn r27709) -Fix-ish: Silence some warnings. (adf88) 2016-12-25 13:26:15 +00:00
frosch
41e5e7626e (svn r27703) -Change [FS#6532]: [gcc] Wnarrowing and Wfree-nonheap-object do no longer trigger in gcc 4.9.2, so reenable them. 2016-12-22 12:59:46 +00:00
frosch
ac6793dace (svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro) 2016-09-05 19:11:01 +00:00
frosch
b2fb19cc19 (svn r27623) -Fix (r27616) [FS#6492]: Missed two version checks, and messed one up. 2016-07-24 09:13:51 +00:00
frosch
1f4489c266 (svn r27616) -Codechange [FS#6487]: [Build] Change the GCC version detection so that it works with two-digit and truncated versions. 2016-07-17 11:10:21 +00:00
rubidium
e956422f48 (svn r27606) -Change/fix: GCC6 defaults to C++14, but our configure limits it to C++0x just because we want to use features from C++0x (which are also in C++14), so use the C++ standard that's the GCC6 default 2016-06-27 17:54:05 +00:00
smatz
4bd149d05a (svn r27595) -Fix: prevent GCC 6 over-optimization 2016-05-31 19:33:33 +00:00
rubidium
9ea3e42768 (svn r27557) -Fix: bashism that caused different CFLAGS with bash vs dash 2016-05-11 18:38:44 +00:00
planetmaker
e78ce08287 (svn r27472) -Change [FS#6401] (r20219): On Haiku use the appropriate system variable to obtain the include dir (aarroyoc) 2015-12-15 20:43:39 +00:00
rubidium
562c269770 (svn r27377) -Codechange: use the pkg-config files of ICU as well. Since they are split into separate libraries it becomes possible to split RTL support for natural sorting, although the effect will be minimal 2015-08-09 13:54:17 +00:00
rubidium
d45969779d (svn r27376) -Codechange: let libtimidity detection and configuration make use of pkg-config 2015-08-09 12:43:52 +00:00
rubidium
c7c93c68b7 (svn r27375) -Fix-ish: update help parameter for png configuration (it has used pkg-config for a long time) 2015-08-09 12:42:52 +00:00
rubidium
d5810e5d65 (svn r27374) -Codechange: make zlib detection and configuration make use of pkg-config 2015-08-09 12:42:21 +00:00
rubidium
95ccddd6fe (svn r27373) -Codechange: make sdl detection and configuration use pkg-config 2015-08-09 12:41:54 +00:00
rubidium
b8bb123580 (svn r27372) -Codechange: make allegro detection and configuration use pkg-config 2015-08-09 12:41:35 +00:00
rubidium
2f267b9207 (svn r27371) -Codechange: make freetype detection and configuration use pkg-config 2015-08-09 12:41:12 +00:00
rubidium
a00d2b8b3c (svn r27370) -Codechange: move the "dedicated server" check into the pkg-config check routine 2015-08-09 12:40:17 +00:00
rubidium
a6710b7ea9 (svn r27369) -Cleanup: there's no need to do dependency checking of libraries in OpenTTD; zlib should always be installed if libpng is because it links to zlib 2015-08-09 12:39:26 +00:00
rubidium
8585cdc6c6 (svn r27368) -Cleanup: undo the special case of OSX; it works fine without it 2015-08-09 12:37:20 +00:00
rubidium
69fac508c3 (svn r27367) -Codechange: make a distinction between the layouting part of ICU (lx) or the sorting/collation part of ICU (i18n) 2015-08-09 12:33:27 +00:00
rubidium
9cadc0e150 (svn r27361) -Fix-ish: when attempting to find a host, try gcc/g++ but also CC/CXX appended to the host triple. This to make cross compilation with clang alone easier 2015-08-08 08:54:49 +00:00
rubidium
b40f750243 (svn r27360) -Feature: allow configuring pkg-config in one go for all libraries 2015-08-08 08:52:21 +00:00
frosch
4fa052dd19 (svn r27250) -Fix [FS#6286]: Broken error message in configure. (NG) 2015-04-26 08:59:20 +00:00
planetmaker
5c80edb7ed (svn r27224) -Cleanup: Duplicate #ifdef for FreeBSD (AMDim3) 2015-04-11 10:47:20 +00:00
planetmaker
b1a9cf2ed8 (svn r27223) -Add [FS#6274]: Support for DragonflyBSD (AMDmi3) 2015-04-11 10:25:36 +00:00
planetmaker
bc371a2d9e (svn r27059) -Change: [Makefile] Make sure to use plain mercurial output unaltered by personal presets 2014-11-09 16:37:07 +00:00
rubidium
2361aaf601 (svn r26869) -Add: support for an all black palette to prevent the need of having a black tile of all different slopes (ic111) 2014-09-21 07:57:45 +00:00
planetmaker
a58b74f997 (svn r26850) -Fix: [Makefile] Compilation of strgen requires also defining variable in for platforms like Solaris 2014-09-19 09:28:23 +00:00
rubidium
d60b2d04e4 (svn r26737) -Fix (r26735): one = too many... why can't all languages use the same basic definition for comparisons? 2014-08-16 10:31:24 +00:00
rubidium
f4a381f991 (svn r26735) -Fix (rmakefilerewrite): for profiling CFLAGS got a -p (for prof) and LDFLAGS got -pg (for gprof), but in the end gprof would be used (via make run-prof). Furthermore -pg isn't compatible with -fomit-frame-pointer on certain architectures (most importantly x86(_64)), so simply don't enable that flag when profiling is enabled 2014-08-16 10:17:18 +00:00
planetmaker
ba42bcdf49 (svn r26458) -Doc: Correct a few spelling mistakes (__ln__) 2014-04-12 15:59:56 +00:00
rubidium
f24d941da1 (svn r26435) -Fix (r26434): linking issue on OS X 2014-03-28 19:18:36 +00:00
rubidium
67acc9d488 (svn r26433) -Codechange: use pkg-config for libpng as well 2014-03-28 18:19:48 +00:00
rubidium
e62c104169 (svn r26432) -Codechange: deduplicate code for checking pkg-config dependencies 2014-03-28 18:12:21 +00:00
rubidium
9ee447731a (svn r26198) -Fix (r26195): some platforms leave an .exe around... 2014-01-02 09:07:50 +00:00
rubidium
6b3c1aa036 (svn r26194) -Change: add SSE detection to the configure script with the possibility to disable it (based on patch by MJP) 2014-01-02 08:35:45 +00:00
rubidium
89a4455dbc (svn r26019) -Fix: copy-paste error in configure help 2013-11-16 22:17:02 +00:00
rubidium
f10d2417d8 (svn r26011) -Fix: --help text of ./configure for packages that require pkg-config 2013-11-16 13:16:38 +00:00
rubidium
ee137a5ced (svn r25975) -Feature [FS#5385]: XDG base directory support 2013-11-13 19:32:37 +00:00
rubidium
015d2b13b2 (svn r25960) -Fix-ish: make it less likely to trigger clang's hang with -D_FORTIFY_SOURCE=2 -O1 2013-11-09 07:15:01 +00:00
fonsinchen
94add80602 (svn r25706) -Fix: don't pass -mmacosx-version-min to compilers that don't support it 2013-08-10 12:47:08 +00:00
michi_cc
7422120014 (svn r25679) -Codechange: [Win32] Get the result string of an IME input directly without a trip through the window messaging system. 2013-08-05 20:37:06 +00:00
planetmaker
b7441b3a77 (svn r25642) -Fix (r25638): Compilation with static ICU 2013-07-31 18:09:21 +00:00
planetmaker
19d393bda1 (svn r25638) -Fix (r25470): Some icu_config are too stupid to separate two ldflags by spaces, thus only call it with one 2013-07-30 22:03:36 +00:00
michi_cc
0150ab1bb2 (svn r25480) -Codechange: [OSX] OS X SDK versions >= 10.5 always have a non-const iconv declaration. 2013-06-26 21:17:09 +00:00
rubidium
48c1e4f87e (svn r25470) -Feature-ish: use ICU's layout engine when that's available 2013-06-25 20:40:58 +00:00
glx
f9be533f9e (svn r25266) -Fix: gcc4.6 removed -mno-cygwin option 2013-05-19 15:44:09 +00:00
planetmaker
7609dc7fdf (svn r25209) -Doc: Mention --without-grfcodec in the help for configure and explain its use in the readme 2013-04-26 18:39:15 +00:00
frosch
df63cb6cef (svn r25205) -Feature: Translations of baseset descriptions via lang files. 2013-04-24 20:30:02 +00:00
rubidium
2661b5cfff (svn r25107) -Change: be slightly more lenient with trying to detect a subversion repository in case someone has a sparse tags checkout. In that case the .svn folder misses from the $ROOT_DIR because it is in the $ROOT_DIR/.. (i.e. tags) folder 2013-03-18 06:18:06 +00:00
rubidium
5b74415631 (svn r25054) -Document: the *FLAGS_BUILD in configure 2013-02-28 06:51:45 +00:00
rubidium
65ff2c1ce6 (svn r24889) -Fix-ish: extra GRF was built with "broken" grfcodec 2013-01-06 13:01:46 +00:00
smatz
75e20fd02b (svn r24701) -Fix [FS#5246]: Workaround an overoptimisation done by GCC 4.5 2012-11-11 17:39:54 +00:00
rubidium
1ba5d9ca6e (svn r24601) -Fix: _BUILD flags were not properly parsed when reconfiguring 2012-10-17 18:48:12 +00:00
rubidium
295c0b71ef (svn r24598) -Fix: configure script failed to detect libfontconfig 2.10 as newer than 2.3 2012-10-17 15:23:51 +00:00
rubidium
a023c9ae68 (svn r24573) -Fix: hopefully get packing right on Mingw's gcc 4.7 2012-10-04 15:44:09 +00:00
truebrain
ae5cd67bea (svn r24471) -Feature: unbreak multiparam configure settings (--setting value), which clearly nobody uses, as it has been broken .... for a while 2012-08-14 15:51:28 +00:00
truebrain
e4b8d41e76 (svn r24470) -Feature [FS#5270]: be a tiny bit GNU autotools compatible, for those who expect all software to follow GNU guidelines 2012-08-14 15:47:44 +00:00
rubidium
4dfe9379a0 (svn r24431) -Fix: some old compilers didn't like some flag that isn't really needed anyway 2012-07-22 18:55:12 +00:00
rubidium
990c9f8a7f (svn r24429) -Change: add some hardening flags to the compiler for release builds 2012-07-22 05:33:09 +00:00
rubidium
cc364d23a4 (svn r24427) -Change: allow passing C(XX)- and LDFLAGS to the compilation of helper binaries such as depend, strgen and settingsgen 2012-07-21 15:49:26 +00:00
rubidium
66d14c50f1 (svn r24365) -Fix-ish: add C(XX)FLAGS_BUILD to all the executables that are compiled for the build enviroment 2012-07-01 08:56:57 +00:00
planetmaker
640ff642ae (svn r24220) -Change: Adopt ICU version detection to also deal with the new versioning scheme since ICU 49 2012-05-09 19:13:34 +00:00
rubidium
7893ef7b1c (svn r23993) -Cleanup: remove some disable directives from the NFO as they aren't needed anymore with newer GRFCodec/NFORenum 2012-02-26 08:23:32 +00:00
rubidium
46b08db917 (svn r23981) -Codechange: reduce GRF size by a few percent by letting GRFCodec determine the best compression 2012-02-24 22:19:45 +00:00
michi_cc
2695bf0d53 (svn r23954) -Fix (r23952): Update required grfcodec version. 2012-02-15 21:39:10 +00:00
smatz
b5525fd33d (svn r23941) -Add: support for clang 2012-02-12 21:17:32 +00:00
rubidium
4f62472fd9 (svn r23817) -Fix [FS#4962]: desync due to different NewGRF version. So reduce the chance that it happens significantly with betas/RCs/nightlies by doing the same as is done for stable releases: check the NewGRF version of server vs client.
Previously this check was not done for nightlies/betas/RCs due to missing versioning information in the source tarballs, but they have that for a while now. So just force the NewGRF version check for all versions, and remove the broken --revision configure option
2012-01-17 17:27:38 +00:00
peter1138
e514ca39cc (svn r23661) -Fix (r23438): Remaining parts of configuration were skipped when grfcodec/nforenum were not usable. 2011-12-23 08:57:24 +00:00
truebrain
c53440c103 (svn r23455) -Fix (r23438): send the stderr in the right part to /dev/null 2011-12-09 15:06:14 +00:00
rubidium
d60ec55983 (svn r23438) -Fix [FS#4867]: perform checks for nforenum/grfcodec in configure, including a version check so a proper error can be given when a too old grfcodec or nforenum is used 2011-12-05 20:11:42 +00:00
truebrain
cc12942d70 (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 2011-12-01 12:03:34 +00:00
smatz
605bec0985 (svn r22832) -Codechange: add -Wno-free-nonheap-object to CFLAGS in order to prevent some invalid GCC warnings 2011-08-24 18:21:54 +00:00
smatz
6e99c40087 (svn r22728) -Codechange: add -Wno-narrowing to cxxflags in order to prevent many useless warnings with GCC 4.7 2011-08-07 11:18:33 +00:00
glx
ee1af659a9 (svn r22180) -Fix: when using -static-libgcc, also use -static-libstdc++ 2011-03-04 00:27:17 +00:00
alberth
91ddf07c80 (svn r22174) -Add: Generate the settings as part of the unix build process without using it (Rubidium) 2011-03-03 21:08:20 +00:00
smatz
7d40c99378 (svn r22137) -Codechange: enable -Wnon-virtual-dtor for all GCC versions 2011-02-24 16:39:04 +00:00
rubidium
264ed733e8 (svn r22008) -Add [FS#4470]: log the command that invocated configure in config.log 2011-02-07 09:55:09 +00:00
rubidium
4af28a3867 (svn r22003) -Document [FS#3447]: that SDL for Mac OS X might very well be unusable 2011-02-06 21:14:57 +00:00
smatz
c986325763 (svn r21662) -Codechange: use -flto=jobserver for GCC 4.6, it makes linking with LTO use number of processes passed to make -j 2010-12-29 20:46:35 +00:00
smatz
14d8ef9add (svn r21661) -Codechange: use -fwhole-program when linking in LTO mode so compiler can do more optimisations 2010-12-29 20:20:41 +00:00
rubidium
2c4c6b4fe1 (svn r21634) -Codechange: apparantly the "broken" iconv interface is the new official interface, so update the variable/definition naming slightly as it's not broken just different from the earlier iconv interface 2010-12-25 12:49:36 +00:00
smatz
aa4251b4ed (svn r21436) -Fix: LTO was no longer detected for GCC 4.6 2010-12-08 14:39:31 +00:00
rubidium
c0312e1011 (svn r21352) -Codechange: remove some unneeded code from config.lib 2010-11-29 13:09:35 +00:00
rubidium
4aa6a24d95 (svn r21351) -Change: read some metadata from (official) source tarballs so you'll more likely get the right version/revision out-of-the-box 2010-11-29 12:49:27 +00:00
terkhen
4b944cb13e (svn r21343) -Add: Function that compares strings using case insensitive natural sort. 2010-11-27 22:47:29 +00:00
smatz
6e0577ecfc (svn r21286) -Codechange: enable more warnings for ICC 2010-11-21 16:34:18 +00:00
planetmaker
89592772c3 (svn r21196) -Change: [OSX] Allow to select the build targets for universal builds 2010-11-14 22:57:32 +00:00
terkhen
c370f56bf3 (svn r21194) -Add: Configure option for compiling OpenTTD as a console application under MinGW. 2010-11-14 20:47:45 +00:00
planetmaker
b31543aa9a (svn r21149) -Fix [FS#4210]: [OSX] Unify compiler flags with other OS and work around a compiler bug in gcc-4.0.1 which breaks graphics display in x86_64 binaries (Rubidium) 2010-11-11 22:37:45 +00:00
smatz
1517997868 (svn r21062) -Codechange: append -Winit-self to compiler flags 2010-10-31 14:25:57 +00:00
rubidium
59519edd34 (svn r21044) -Feature: XZ/LZMA2 savegame support. New default reduces savegame size by 10 to 30% with slightly more CPU usage. With maximum settings it reduces savegame size by 20 to 30%, but that takes 7 to 14 times longer. Map saving + downloading takes, on average, 5% less. 2010-10-27 16:42:20 +00:00
smatz
3c66e1e9e8 (svn r20725) -Codechange: simplify make_compiler_cflags 2010-09-03 14:14:06 +00:00
smatz
f14be56a20 (svn r20724) -Fix: debug builds with LTO enabled didn't have debug information and were not optimised at all, causing many compile-time warnings 2010-09-03 13:23:29 +00:00
smatz
223fed5458 (svn r20723) -Fix: don't define _FORTIFY_SOURCE when not compiling with GCC, other compilers would likely barf on GLIBC code 2010-09-03 13:09:56 +00:00
rubidium
da4dc61f76 (svn r20603) -Codechange: silence some ICC warnings 2010-08-23 22:03:36 +00:00
rubidium
fa0b8573dc (svn r20554) -Fix [FS#4057]: typo in configure --help 2010-08-19 11:16:08 +00:00
rubidium
7d11c392a4 (svn r20490) -Change: merge the extra GRF sources so updating them becomes a bit easier.
The (prebuilt) grf will still remain, so if you don't have NFORenum and GRFCodec it will still work.
2010-08-14 14:50:06 +00:00
rubidium
b38c4f897a (svn r20219) -Fix: Haiku uses a "special" location for headers 2010-07-25 23:13:40 +00:00