Commit Graph

239 Commits

Author SHA1 Message Date
michi_cc
e583861798 (svn r17702) -Change: [OSX] Assure that the minimal OSX version is defined in all cases.
-Codechange: [OSX] Improve conditional defines for OS version dependant code.
2009-10-04 20:53:22 +00:00
rubidium
a8036a3584 (svn r17632) -Change: enable the uninitialized variables warning (or actually undisable) 2009-09-24 21:27:19 +00:00
rubidium
d579a9366a (svn r17606) -Add: initial support for Haiku; a dedicated server with zlib and libpng compiles and links (for me). Something's fishy with the network so it doesn't actually work (yet) 2009-09-21 18:36:33 +00:00
smatz
02777965da (svn r17599) -Fix: configure script didn't detect icc when CC included path to compiler 2009-09-21 15:47:28 +00:00
rubidium
9374f76574 (svn r17476) -Fix (r17475): Some icu-configs have the 'feature' of not adding a space where others do add the space 2009-09-08 15:42:14 +00:00
rubidium
1df5e6114a (svn r17474) -Fix: in some cases compilation failed because the search path for ICU wasn't added to the ldflags 2009-09-08 14:49:36 +00:00
smatz
df631ccdaa (svn r17468) -Fix (r17464): mingw compilation was broken 2009-09-07 21:45:26 +00:00
smatz
4c342c6f76 (svn r17464) -Codechange: use C++0x mode when compiling with gcc >= 4.3 or icc >= 11.0 2009-09-07 21:01:24 +00:00
smatz
fe8d571585 (svn r17462) -Cleanup: remove unused variables 2009-09-07 20:14:56 +00:00
smatz
10b446d2d5 (svn r17457) -Codechange: convert icc version to number so it can be compared more easily 2009-09-07 17:23:17 +00:00
rubidium
a595d3f8c3 (svn r17453) -Add: crash logger for all Unixy OSes; should work for all, but I don't have all exotic machines so it might break compilation on the more exotic configurations 2009-09-07 12:14:45 +00:00
glx
6adf9acd67 (svn r17249) -Fix: MinGW gcc 4.4.0 dynamically links with libgcc_s_dw2-1.dll by default. Prevent this so strgen.exe build with MinGW can be run on a system without MinGW installed. (Note: openttd.exe is not affected by this behaviour as -static is used by default for it) 2009-08-21 21:21:09 +00:00
rubidium
99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
2047887107 (svn r17026) -Fix [FS#3076]: "[bd]ash"-ism in configure 2009-08-01 16:57:30 +00:00
rubidium
6cf59514d1 (svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse... 2009-07-14 17:16:32 +00:00
rubidium
24f59f4eb0 (svn r16824) -Fix [FS#2989] (r16294): Mac OS X 10.4 with Xcode 2.5 wouldn't be detected as having Xcode 2.5 or newer. Based on a patch by ln. 2009-07-13 23:12:34 +00:00
rubidium
6aa101ee11 (svn r16823) -Cleanup: use cxx_host instead of cc_host where possible; cc_host is there only for working around a few stupid compilers. 2009-07-13 23:08:03 +00:00
rubidium
eda24142c9 (svn r16822) -Cleanup: remove the "a PPC bool is four bytes in C++ so it needs to be that big in C too" hack 2009-07-13 23:07:11 +00:00
rubidium
819f87e44f (svn r16626) -Change: split the part of config.lib that generates the 'warning' CFLAGS into a function and use that function to set the right 'warning' CFLAGS for both the host and build compiler, i.e. also let GCC warn for strgen, depend and endian_check. 2009-06-22 20:38:10 +00:00
rubidium
ca89673347 (svn r16623) -Change: remove CC_CFLAGS as we're not using a C compiler anywhere at all 2009-06-22 20:22:04 +00:00
smatz
d091c7d80f (svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed. 2009-06-01 11:49:46 +00:00
smatz
4f24725986 (svn r16424) -Codechange: warn about casting-out 'const' only when using gcc4+, older versions give many useless false positives 2009-05-25 19:30:37 +00:00
rubidium
2832d69272 (svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts. 2009-05-24 21:09:00 +00:00
rubidium
5d2b6f8474 (svn r16318) -Change: use !! instead of @@ in src/*.in too.
-Change: use @ instead of ~ in configure/Makefiles so Debian's build system(s) can also build RC binaries.
2009-05-16 12:36:33 +00:00
rubidium
7f21278984 (svn r16313) -Fix: also pass the minimum MacOSX version and some other binary type dependend flags to g++ to get the defines for (make)depend 2009-05-15 17:35:54 +00:00
glx
3cf9fc17f6 (svn r16307) -Fix: makedepend can't handle the amount of files we have and it also miss some dependencies. That's why we introduce our custom implementation of makedepend. 2009-05-14 21:59:24 +00:00
rubidium
c8f66f3986 (svn r16298) -Change: silence some pointless/unsolveable ICC warnings/remarks (multicharacter character literal potential unportable/autovectorised this loop) 2009-05-13 17:46:41 +00:00
rubidium
168a7b3353 (svn r16294) -Fix-ish [FS#2894]: check for a recent enough (supported) version of the XCode SDK, i.e. 2.5 or higher. Older XCode SDKs miss constants used by OpenTTD. 2009-05-13 12:57:17 +00:00
rubidium
6c1cf5e8b9 (svn r16293) -Fix: more uses of # in seds, which can cause trouble according to FS#2350. 2009-05-13 12:54:46 +00:00
rubidium
3490147666 (svn r16221) -Change: support building 64 bits OSX binaries and add optional support for 64 bits binaries in OSX universal binaries. However, do not default to adding 64 bits binaries because benchmarking has shown that they are slower than the 32 bits binaries. 2009-05-03 15:46:36 +00:00
glx
d94995609c (svn r16164) -Fix: make dependencies checking more accurate by using compiler's built-in defines 2009-04-26 16:03:50 +00:00
rubidium
aa62b91a0b (svn r16035) -Fix: dash wasn't able to run iconv detection 2009-04-12 01:10:06 +00:00
rubidium
2eebb52592 (svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular references (by enabling the GC). 2009-02-03 22:42:42 +00:00
rubidium
692aec71b1 (svn r15275) -Fix: SDL adds _GNU_SOURCE to the defined macros even when the compiler doesn't provide the functions promised when that define exists... 2009-01-25 22:51:59 +00:00
truebrain
8fd3539f7b (svn r15035) -Fix (r15027): if case people don't use SVN (which we advise), they do not receive src/3rdparty/squirrel automaticly. Warn when not found, and advise what to do (this to avoid stupid users like yorick get all confused and agressive) 2009-01-12 18:05:24 +00:00
truebrain
c2406cd42d (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to see.
NoAI is an API (a framework) to build your own AIs in. See:
   http://wiki.openttd.org/wiki/index.php/AI:Main_Page
 With many thanks to:
  - glx and Rubidium for their syncing, feedback and hard work
  - Yexo for his feedback, patches, and AIs which tested the system very deep
  - Morloth for his feedback and patches
  - TJIP for hosting a challenge which kept NoAI on track
  - All AI authors for testing our AI API, and all other people who helped in one way or another
-Remove: all old AIs and their cheats/hacks
2009-01-12 17:11:45 +00:00
rubidium
958e2cb9e4 (svn r14888) -Change/Fix: don't make makedepend look in whatever's included for headers; it takes ages *and* it will not find all headers anyways as they are placed in locations where only the compiler can easily find them 2009-01-07 13:25:10 +00:00
rubidium
f55995f1ef (svn r14772) -Codechange: make the "dump log of game to reproduce" desync debug stuff a runtime configurable debug option instead of a compile time option. 2008-12-29 21:50:25 +00:00
rubidium
9e95890507 (svn r14689) -Change: make configure die on commonly made user mistakes, like not having SDL development files or zlib headers installed; you can still compile a dedicated server or a binary without zlib, but you have to explicitly force it. 2008-12-18 12:23:08 +00:00
rubidium
b2a1e2a8c2 (svn r14688) -Change: silence the "command not found" error when trying to find the svn/git/hg binary. 2008-12-17 23:12:35 +00:00
rubidium
765c67622e (svn r14687) -Change: log all configure errors to config.log 2008-12-17 23:08:11 +00:00
truebrain
11a4f945a7 (svn r14661) -Fix r14659: oops, forgot to escape '?' ;) 2008-12-07 12:41:20 +00:00
truebrain
413bbd3dd1 (svn r14659) -Add: in case Thief^ (forum user) ever tries what he thinks he will try when he doesn't know it is --prefix-dir, make sure he also gets what he assumes he gets :) 2008-12-06 00:38:48 +00:00
glx
99467ff292 (svn r14644) -Fix: --with-direct-music handling could fail 2008-11-29 22:40:54 +00:00
rubidium
5dd4735da1 (svn r14636) -Add: DOS port of OpenTTD, without network support though. 2008-11-26 13:12:45 +00:00
rubidium
285d1846ae (svn r14630) -Add: support Allegro as video backend. 2008-11-25 19:32:12 +00:00
rubidium
53235a6c02 (svn r14515) -Fix (r7759): iconv is included in glibc-2.1 and higher, so we don't need to link to a most likely non-existing libiconv in those situations. 2008-10-22 20:20:08 +00:00
truebrain
92d4472bce (svn r14497) -Fix: if freetype was not detected or disabled, skip fontconfig detection, unless explicit requested (on request by Rubidium) 2008-10-19 21:32:29 +00:00
truebrain
fa1e746d2f (svn r14496) -Fix: give a clear warning when people disable zlib (or when it wasn't detected), but keep on going nevertheless (on request by Rubidium) 2008-10-19 21:29:12 +00:00
truebrain
692823be45 (svn r14495) -Change: don't use freetype, fontconfig and icu in case of building a dedicated server, unless explicit requested 2008-10-19 20:53:13 +00:00
rubidium
61546bef5c (svn r14480) -Add: warning when trying to use a right-to-left language without support for it in OpenTTD. 2008-10-17 17:42:51 +00:00
rubidium
8ee8e0fac5 (svn r14479) -Add: initial (optional) support for handling bidirectional scripts and connecting Arabic characters. 2008-10-17 17:14:09 +00:00
truebrain
799f73aa29 (svn r14476) -Fix r14475: (no comment) 2008-10-16 12:19:24 +00:00
truebrain
a4712a3323 (svn r14475) -Add: allow setting the name of the desktop item (follow-up on r14474) 2008-10-16 11:33:17 +00:00
truebrain
570c998c60 (svn r14474) -Add: allow --binary-name to set the name of the binary, icon, desktop file, etc. when installing. Useful to get a stable next to a trunk-nightly 2008-10-16 11:12:18 +00:00
smatz
ab00ea7393 (svn r14467) -Fix [FS#2350](r14443): use '~' instead of '#' as sed separator, it could be understood in a wrong way by shell 2008-10-14 19:47:28 +00:00
skidd13
91665fd7e4 (svn r14443) -Change: Unify the delimiters used in config* and make* 2008-10-06 17:05:44 +00:00
rubidium
d6802b0b5b (svn r14440) -Fix [FS#1802]: support for spaces in directories passed to ./configure.
NOTE: this does NOT support OpenTTD to be build in paths with a space in it as one cannot make "make" aware whether a space belongs to a file name or whether it's a separator between file names.
2008-10-05 11:52:24 +00:00
truebrain
d34da3cadb (svn r14413) -Fix: when no revision detected, the error didn't indicate 'mercurial' was accepted as source too (patch not by Sacro)
-Fix: that same message was slightly unclear in what it would mean for network joins
2008-09-28 17:20:31 +00:00
truebrain
113fbb8cb3 (svn r14244) -Fix: add 'Auto-generated' text when autogenerated, not in template (complain by blathijs ;)) 2008-09-04 19:15:52 +00:00
truebrain
ea19a10dd2 (svn r14227) -Fix [configure]: detect if we are in a new directory, and rerun configure in those cases. Should avoid confusion (idea by Eddi) 2008-09-02 16:28:31 +00:00
truebrain
33d3eedf56 (svn r14226) -Revert r13792: 'configure --help' failed when for example gcc wasn't detected .. not really what you expect. By the lack of imagination, a revert will have to do for now. 2008-09-02 15:59:21 +00:00
truebrain
67ebf79d2e (svn r14225) -Fix [configure]: make sure a dir exists if you want to write into it 2008-09-02 15:56:31 +00:00
truebrain
ee67c64c67 (svn r14224) -Fix: copy Makefile.bundle too to your working dir, so you don't need to run ./configure in the root of OpenTTD 2008-09-02 15:34:38 +00:00
peter1138
ab46663eed (svn r14183) -Fix: "optimalization" is not a word 2008-08-29 09:46:29 +00:00
rubidium
a8c9ba2ffe (svn r14088) -Fix (r5994): librt isn't needed to be linked against explicitly as we don't use any functionality of it. 2008-08-17 09:47:02 +00:00
glx
6957fbb5d0 (svn r14079) -Fix: misleading help in configure 2008-08-15 19:18:55 +00:00
bjarni
b52ce85021 (svn r13892) -Fix (r13863): [configure] now the SDK selection for OSX sets the default value as intended 2008-07-31 13:44:57 +00:00
smatz
d66a6ade5e (svn r13863) -Fix (r13852): make the nightly compile again 2008-07-28 23:10:26 +00:00
bjarni
3cbb345224 (svn r13852) -Fix (r13849): [OSX] fixed universal binary building without breaking anything this time 2008-07-27 20:43:21 +00:00
bjarni
81bf2c6010 (svn r13849) -Fix: [OSX] 10.5 appears to be more picky when setting up compiling of universal binaries 2008-07-27 14:16:24 +00:00
glx
352bcf8846 (svn r13819) -Fix (r13801): --man-dir=xxx was 'ignored' 2008-07-24 20:29:40 +00:00
skidd13
53cb07f80a (svn r13804) -Fix(r13801): a search after remove should help to find missed incarnations 2008-07-23 16:52:10 +00:00
skidd13
5514817cc8 (svn r13803) -Fix(r13801): Copy & paste mistakes 2008-07-23 16:44:04 +00:00
skidd13
f38d4f8570 (svn r13802) -Fix(r13801): a few small typos 2008-07-23 15:52:53 +00:00
skidd13
7a12a8c380 (svn r13801) -Add: further configuration options to make packaging more union
-Add: Unix man file gets now installed if necessary
2008-07-23 15:37:20 +00:00
skidd13
10c5086a5f (svn r13793) -Codechange: Unify the dir checking in config.lib 2008-07-22 23:11:40 +00:00
skidd13
2db30844eb (svn r13792) -Codechange: Display current values of the options in ./configre --help instead of static strings 2008-07-22 22:44:41 +00:00
skidd13
93dd80b201 (svn r13791) -Fix(r13790): Don refer to variables when their value isn't set as expected 2008-07-22 22:36:07 +00:00
skidd13
8183603e87 (svn r13790) -Fix: Enable to force the creation of freedesktop.org desktop entry files 2008-07-22 22:21:38 +00:00
rubidium
a26e816f77 (svn r13786) -Fix (r13785): reconfigure gave warnings on the newly introduced options. 2008-07-22 18:53:52 +00:00
skidd13
690e3ecb3f (svn r13785) -Add: support for freedesktop.org desktop entry files 2008-07-22 17:18:53 +00:00
smatz
7772e9e68f (svn r13609) -Codechange: silence warnings about unused variables for gcc2 builds without asserts 2008-06-22 18:44:28 +00:00
smatz
69ebefe1ac (svn r13351) -Codechange: disable warnings about unused variable for builds without asserts 2008-06-01 15:08:14 +00:00
rubidium
874d1ecfed (svn r12998) -Fix: -Wredundant_decls sees "friend" declarations as redundant declarations in GCC 2.95, so only use if for GCC >= 3. 2008-05-07 21:42:17 +00:00
rubidium
c27f3cfa62 (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 2008-05-06 22:17:12 +00:00
rubidium
1ed3ea4705 (svn r12969) -Codechange: remove a completely pointless file. 2008-05-06 14:24:33 +00:00
rubidium
41aeb7ffa0 (svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case. 2008-05-05 18:27:57 +00:00
rubidium
f1820a5708 (svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka. 2008-04-30 07:39:46 +00:00
rubidium
1474ca1dd4 (svn r12876) -Fix [FS#1928]: gcc on FreeBSD does not support -dumpmachine. As gcc is not necessary for FreeBSD compiles we 'just' use g++ as that support -dumpmachine. 2008-04-24 20:07:12 +00:00
rubidium
f6a30c20d8 (svn r12483) -Change: disable stripping of binaries by default so we have a (much) better chance of actually getting something useful out of OSX stacktraces. 2008-03-29 21:50:14 +00:00
smatz
1f13638d03 (svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script 2008-03-15 13:21:31 +00:00
smatz
c9d751a181 (svn r11980) -Fix: newer versions of cut do not accept field index 0 2008-01-24 23:56:43 +00:00
bjarni
224d7afe3d (svn r11853) -Fix [r11837]: [OSX] reconfigure killed the space in shared-dir
Thanks to TrueLight for finding the solution to this one
  Note: if the shared-dir setting is already broken due to this then you have to manually run configure again
2008-01-14 20:30:05 +00:00
bjarni
adf1e34ead (svn r11837) -Feature: [OSX] added "/Library/Application Support/OpenTTD" to the search paths (based on patch by pv2b)
It is possible to set this to something else setting shared-dir with config
  This works on other OSes as well but it's off by default (and not really tested)
2008-01-13 17:45:29 +00:00
bjarni
a6fa5dd124 (svn r11833) -Cleanup: changed save_params_array into one item for each line in config.lib
This should increase readability and conflict solving
2008-01-13 13:53:53 +00:00
rubidium
97d6e0e6c0 (svn r11811) -Fix: make compilation without networking work again (and thus move the debugdumpcommand stuff out of the network 'area'). 2008-01-11 00:30:32 +00:00
smatz
fb725dbb4c (svn r11808) -Fix: remember --with-ccache in config.cache
-Codechange: shuffle params a bit, sort params in save_params_array in the same order as the table above
2008-01-10 18:59:16 +00:00
skidd13
54edc19b19 (svn r11723) -Feature: add initial support for Intel C Compiler on linux
-Codechange: silence a few warnings of ICC
2007-12-30 19:32:09 +00:00
bjarni
47e78b3dc1 (svn r11709) -Fix [FS#1385 FS#1386]: [OSX] Compiles on Leopard with the default settings
-Change:                [OSX] configure will no longer enable static by default
   Turns out that Leopard can't handle static builds without the user installing extra libs
   The tradeoff is that now people might have to enable static manually if moving the binary around
2007-12-27 15:05:46 +00:00