michi_cc
48106b817a
(svn r17703) -Change: [OSX] Rework the configure OSX SDK detection to actually try different SDK versions and use the best SDK for each universal target.
...
-Change: [OSX] Improve the configure checks for QuickDraw and QuickTime.
2009-10-04 20:53:26 +00:00
michi_cc
10ca710e98
(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
bc2edd2604
(svn r17632) -Change: enable the uninitialized variables warning (or actually undisable)
2009-09-24 21:27:19 +00:00
rubidium
01ab1c6001
(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
905092b443
(svn r17599) -Fix: configure script didn't detect icc when CC included path to compiler
2009-09-21 15:47:28 +00:00
rubidium
436fa19781
(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
cf5f70a1c1
(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
2926611dd2
(svn r17468) -Fix (r17464): mingw compilation was broken
2009-09-07 21:45:26 +00:00
smatz
434693b838
(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
cbc1fdeee1
(svn r17462) -Cleanup: remove unused variables
2009-09-07 20:14:56 +00:00
smatz
f104e018c4
(svn r17457) -Codechange: convert icc version to number so it can be compared more easily
2009-09-07 17:23:17 +00:00
rubidium
d916400521
(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
dd1a442aaa
(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
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
144a84a348
(svn r17026) -Fix [FS#3076]: "[bd]ash"-ism in configure
2009-08-01 16:57:30 +00:00
rubidium
6f0d8acf55
(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
0e1dc88b9b
(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
f7c4711012
(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
64cc21855f
(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
0a03b9becf
(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
952f740866
(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
c03ce4b1c7
(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
9355d1d169
(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
168ae6f7e2
(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
a34d5bb6ab
(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
61400466ed
(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
b3a539b016
(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
5bffbcdeca
(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
1c98cf370d
(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
46928b9d72
(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
5f4eeee5f0
(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
779640b53a
(svn r16164) -Fix: make dependencies checking more accurate by using compiler's built-in defines
2009-04-26 16:03:50 +00:00
rubidium
af37375e11
(svn r16035) -Fix: dash wasn't able to run iconv detection
2009-04-12 01:10:06 +00:00
rubidium
1c30c8c801
(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
450b9b7900
(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
324e256dfd
(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
a3dd7506d3
(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
bfc840f436
(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
3c6add5293
(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
7f4683a811
(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
ade1802e04
(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
b85eb5da8f
(svn r14687) -Change: log all configure errors to config.log
2008-12-17 23:08:11 +00:00
truebrain
c3f96f8377
(svn r14661) -Fix r14659: oops, forgot to escape '?' ;)
2008-12-07 12:41:20 +00:00
truebrain
ab8e24e332
(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
25ec47e2ac
(svn r14644) -Fix: --with-direct-music handling could fail
2008-11-29 22:40:54 +00:00
rubidium
a614dd7174
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
2008-11-26 13:12:45 +00:00
rubidium
3aacd0a3d5
(svn r14630) -Add: support Allegro as video backend.
2008-11-25 19:32:12 +00:00
rubidium
fcb6f0bafe
(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
122ce41f78
(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
29ea45fc02
(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
f609a26929
(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
65404674a4
(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
ae0715e8c3
(svn r14479) -Add: initial (optional) support for handling bidirectional scripts and connecting Arabic characters.
2008-10-17 17:14:09 +00:00
truebrain
098c3b817e
(svn r14476) -Fix r14475: (no comment)
2008-10-16 12:19:24 +00:00
truebrain
266dfc019c
(svn r14475) -Add: allow setting the name of the desktop item (follow-up on r14474)
2008-10-16 11:33:17 +00:00
truebrain
1fc852cb31
(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
14d8689e66
(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
5b8af7db3b
(svn r14443) -Change: Unify the delimiters used in config* and make*
2008-10-06 17:05:44 +00:00
rubidium
568ab254ca
(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
a25d9bcc8b
(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
2f350316b6
(svn r14244) -Fix: add 'Auto-generated' text when autogenerated, not in template (complain by blathijs ;))
2008-09-04 19:15:52 +00:00
truebrain
aaf1d78220
(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
4cd3f2a72e
(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
ec8962a599
(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
ded6434502
(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
06777f7efc
(svn r14183) -Fix: "optimalization" is not a word
2008-08-29 09:46:29 +00:00
rubidium
f7ce9339ba
(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
7672cd43d5
(svn r14079) -Fix: misleading help in configure
2008-08-15 19:18:55 +00:00
bjarni
53fc140db4
(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
01b4ee1664
(svn r13863) -Fix (r13852): make the nightly compile again
2008-07-28 23:10:26 +00:00
bjarni
78730d4c71
(svn r13852) -Fix (r13849): [OSX] fixed universal binary building without breaking anything this time
2008-07-27 20:43:21 +00:00
bjarni
62c053729a
(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
679a6db391
(svn r13819) -Fix (r13801): --man-dir=xxx was 'ignored'
2008-07-24 20:29:40 +00:00
skidd13
e9ea5dec05
(svn r13804) -Fix(r13801): a search after remove should help to find missed incarnations
2008-07-23 16:52:10 +00:00
skidd13
79295afcc6
(svn r13803) -Fix(r13801): Copy & paste mistakes
2008-07-23 16:44:04 +00:00
skidd13
856c9e14b1
(svn r13802) -Fix(r13801): a few small typos
2008-07-23 15:52:53 +00:00
skidd13
f9d15a6baf
(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
7cb5bf9c12
(svn r13793) -Codechange: Unify the dir checking in config.lib
2008-07-22 23:11:40 +00:00
skidd13
317207ce0c
(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
9db4ea6230
(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
1b60a3522e
(svn r13790) -Fix: Enable to force the creation of freedesktop.org desktop entry files
2008-07-22 22:21:38 +00:00
rubidium
e3d5000424
(svn r13786) -Fix (r13785): reconfigure gave warnings on the newly introduced options.
2008-07-22 18:53:52 +00:00
skidd13
2710144452
(svn r13785) -Add: support for freedesktop.org desktop entry files
2008-07-22 17:18:53 +00:00
smatz
a2b0b13c6f
(svn r13609) -Codechange: silence warnings about unused variables for gcc2 builds without asserts
2008-06-22 18:44:28 +00:00
smatz
ed462507b2
(svn r13351) -Codechange: disable warnings about unused variable for builds without asserts
2008-06-01 15:08:14 +00:00
rubidium
5e1516e486
(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
402a1e24ba
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
2008-05-06 22:17:12 +00:00
rubidium
fb1db90cc6
(svn r12969) -Codechange: remove a completely pointless file.
2008-05-06 14:24:33 +00:00
rubidium
f200fc3b99
(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
4097d81323
(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.
2008-04-30 07:39:46 +00:00
rubidium
4ac6655bad
(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
667aa5d957
(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
bfae49aeb2
(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
e99c34bef4
(svn r11980) -Fix: newer versions of cut do not accept field index 0
2008-01-24 23:56:43 +00:00
bjarni
57ecf117c9
(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
e281180d06
(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
2f9aab3217
(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
04f936c2c6
(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
40ef636f43
(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
566a24d6ee
(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
2ecb31ae3f
(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
smatz
17d1b522bc
(svn r11689) -Fix: compilation error and most of warnings for gcc 4.3
2007-12-23 21:02:40 +00:00
egladil
2885c66060
(svn r11653) -Feature: [OSX] Allow windowed mode subdrivers to be disabled at compile time.
2007-12-17 07:47:21 +00:00
rubidium
cbcfcb3bf4
(svn r11641) -Add: configure time parameter to enable some desync debugging functionality.
2007-12-15 22:42:12 +00:00
bjarni
58b4a981e1
(svn r11602) -Change: [OSX] changed default PPC SDK to 10.4 (from 10.3) when building universal binaries
...
10.5 support needs this and it will not break 10.3 support
2007-12-08 18:53:49 +00:00
egladil
cd5597dddf
(svn r11389) -Fix [FS#1386]: Replace calls to deprecated API with newer ones and handle broken iconv declaration in OSX 10.5.
2007-11-07 21:35:33 +00:00
truelight
6934188e65
(svn r11323) -Fix: GCC2.95 gave a lot of bogus 'might be uninitialized', so never show them for this compiler
2007-10-21 10:41:04 +00:00
maedhros
9e3d19e392
(svn r11254) -Fix: Link with -lpthread on FreeBSD.
2007-10-13 12:04:07 +00:00
glx
1771089d04
(svn r11218) -Codechange: remove unused ENABLE_INSTALL in Makefile.in, and add --disable-unicode in configure help
2007-10-06 13:20:27 +00:00
rubidium
aec2d03c72
(svn r11148) -Codechange: add support for getting version numbers from Mercurial/HG instead of norev000 (when using a Mercurial/HG clone that is).
2007-09-23 10:26:20 +00:00
rubidium
9e7931f6ea
(svn r11089) -Codechange: add revision detection to MSVC.
2007-09-12 07:11:48 +00:00
truelight
fcf9130ee5
(svn r10822) -Fix: OSX makes --endian set to PREPROCESSOR, which wasn't an allowed value, making reconfigures to fail (special commit for Bjarni, now he should fix things too :p)
2007-08-07 20:42:02 +00:00
rubidium
8037a1cc2d
(svn r10779) -Fix: GCC 4.2 makes (by default for -O2, -O3 and -Os) an assumption that signed integers do not overflow, whereas it is very likely that some of the legacy code does so. It furthermore breaks with the assumed standard (the behaviour is not actually defined in the standard) about the behaviour when signed integers wrap.
2007-08-04 00:45:53 +00:00
rubidium
6f12d2997c
(svn r10693) -Fix: --enable-install should have been removed from the configure parameters to save a long time ago. Now it is only causing warnings.
2007-07-26 09:11:19 +00:00
rubidium
7aa6d30922
(svn r10642) -Merge (from NoAI): ./configure flag for disabling threading.
2007-07-20 18:34:21 +00:00
rubidium
e1bdad1e57
(svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the actual behaviour.
2007-07-10 07:46:58 +00:00
rubidium
101722039e
(svn r10482) -Fix [FS#990]: Do not override the CFLAGS environment variable when configuring a non-debug makefile. Based on a patch by saggson.
2007-07-08 18:57:00 +00:00
orudge
0bad65bf78
(svn r10310) -Fix: Trunk can now be built on OS/2 :)
2007-06-24 20:41:24 +00:00
maedhros
cf0118ee63
(svn r10236) -Feature: Introduce a form of timetabling for vehicles.
2007-06-20 19:17:22 +00:00
rubidium
6680a6a0e6
(svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits).
2007-06-17 20:36:14 +00:00
rubidium
4e75c8c181
(svn r10183) -Fix (r10182): some bashism sneaked in.
2007-06-17 15:55:52 +00:00
rubidium
347c28b71a
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
2007-06-17 15:48:57 +00:00
rubidium
03c1ecb17a
(svn r10171) -Add: simple support for ccache (--with-ccache).
2007-06-16 21:57:30 +00:00
rubidium
68c369ea98
(svn r10091) -Add: make time detection whether you are using -jN when having distcc enabled.
2007-06-11 10:29:07 +00:00
truelight
719395f216
(svn r10090) -Add: add --with-distcc to configure, to enable distcc compiles. Not used by default
2007-06-11 10:01:03 +00:00
rubidium
463093d0ae
(svn r10051) -Add: git "version" detection so we've got at least some indication what version we're playing when using git ;)
2007-06-07 00:25:49 +00:00
rubidium
94b2dc3f8a
(svn r10050) -Codechange: make it a little easier to force a version number (for releases).
2007-06-07 00:15:00 +00:00
peter1138
22c3337071
(svn r9904) -Codechange [FS#798]: Add OpenBSD support to configure (matthias)
2007-05-23 16:40:40 +00:00
truelight
2f188272af
(svn r9710) -Add: added support for GCC 2.95. This makes MorphOS target alive again. With a big thanks to tokai and Rubidium!!
2007-04-21 13:19:43 +00:00
rubidium
ba5b663e1f
(svn r9696) -Fix: --without-application-bundle did not disable the custom language/second data directory stuff that is used for application bundles.
2007-04-20 19:41:19 +00:00
rubidium
e4e90ee1dd
(svn r9239) -Fix [FS#682]: PowerMac G5 CPU is not detected (oVRoM).
2007-03-15 23:26:47 +00:00
rubidium
f19dc97e1a
(svn r9131) -Codechange: move the OSX application bundle resource directories so they comply (better) to Apple's guidelines and to our naming 'scheme' for the lang and data directories.
2007-03-12 15:54:19 +00:00
glx
0105aac04b
(svn r9053) -Change [Config]: removed unneeded stuff for windows
2007-03-07 16:46:13 +00:00
truelight
a69e3b1c45
(svn r9049) -Fix [Config]: when running 'bash configure', make sure automated reconfigures run 'bash configure' too.
2007-03-06 23:42:30 +00:00
truelight
d0dd95d0cb
(svn r9047) -Fix [FS#651]: request static deps from fontconfig in OSX
2007-03-06 22:55:18 +00:00
truelight
94ddae188a
(svn r9046) -Fix r9041: added a comment to make clear why we don't use --prefix here
2007-03-06 22:45:30 +00:00
truelight
350a53760f
(svn r9045) -Fix [Config]: libpng-config --ldflags returns --libs and -L_opts too, no need to call it an extra time (double -lpng12 in LDFLAGS)
2007-03-06 22:41:50 +00:00
truelight
bfcc794f70
(svn r9044) -Fix [Config]: add fontconfig before freetype, as in static order is important
2007-03-06 22:40:45 +00:00
truelight
524b60226d
(svn r9041) -Fix [FS#650]: pkg-config doesn't know --prefix, but wants --variable=prefix (nicely spotted and fixed by stepancheg)
2007-03-06 22:15:57 +00:00
truelight
5bb9aed844
(svn r9033) [Config] -Fix: GNU strip has -s, but Solaris strip doesn't. Detect this when system is SUNOS.
2007-03-06 20:37:46 +00:00
truelight
429c41ea51
(svn r9030) [Config] -Add: added --enable-unicode, which enables unicode (mostly for windows). Enabled by default on WIN32 (makes win9x fail, so use --disable-unicode if you produce binaries for win9x)
2007-03-06 19:14:15 +00:00
truelight
65b0e2b521
(svn r9017) [Config] -Fix: if 'solaris' is in gcc dumpmachine, we have SunOS
2007-03-05 15:24:17 +00:00
truelight
9181572f0f
(svn r8970) -Fix (win32): suppress the warnings coming from the DirectX includes for GCC 4.0+. Also clearify commit r8968 in-code
2007-03-02 01:18:12 +00:00
truelight
89d8f5f7b5
(svn r8968) -Fix (win32): silent g++ 4.0+ warnings about breaking strict-aliasing
2007-03-02 00:45:08 +00:00
truelight
3b9a8d6201
(svn r8816) [Config] -Fix: if you disable stripping, don't detect strip at all
2007-02-19 20:10:46 +00:00
truelight
b528cede6d
(svn r8814) [Config] -Add: added --awk and detect_awk. We now try to find an awk on the user system which allows gsub(). If not found, you can define one yourself, or it tells you versions you might want to install
2007-02-19 19:59:19 +00:00
truelight
67c3b649d8
(svn r8813) -Fix r8812: fixed one GNU depending grep statement with an other ;) Switched to egrep, which should work just fine.
2007-02-19 18:58:28 +00:00
truelight
25b7ff3d3b
(svn r8812) -Revert r7880: those changes assumed a GNU-grep, which isn't always available. Reverted back to a bit more ugly way of writing greps, but at least they are not bound to the laws of GNU.
2007-02-19 18:47:55 +00:00
truelight
246ea5b195
(svn r8811) [Configure] -Fix: [:lower:] for tr is GNU specific. Use [a-z] instead. (Celestar)
2007-02-19 16:24:10 +00:00
truelight
f5cffcc1fc
(svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;))
2007-02-19 16:10:18 +00:00
truelight
d71a8f6ac4
(svn r8776) [MorhpOS] -Fix: LDFLAGS needs -noixemul too
2007-02-17 13:29:11 +00:00
truelight
5adb5315bb
(svn r8758) -Fix r8757: wrong variable to check libtimidity on if it is found or not
2007-02-16 10:08:38 +00:00
truelight
ee9f17844d
(svn r8757) -Add: added libtimidity music driver (it is a nice small library simular to timidity via extmidi)
...
[PSP] -Add: added PSP specific code for libtimidity. libtimidity code is based on the work of Turulo. Tnx a bunch!
2007-02-16 09:50:28 +00:00
truelight
ff8a82f749
(svn r8680) [Configure] -Codechange: allow a bit more flexible code in check_compiler
2007-02-11 17:39:28 +00:00
truelight
6afa186e7c
(svn r8679) [Configure] -Fix: 'checking for' and 'checking' was used mixed, now only 'checking' is used
...
-Fix: 'checking host g++/gcc' is silly, changed it to 'checking host c++/cc'
2007-02-11 17:36:46 +00:00
truelight
53785810c8
(svn r8678) [PSP] -Add: added LIBS and CFLAGS needed to compile PSP
...
-Fix: PSP needs to link with gcc, not with g++ (don't ask)
-Fix: PSP doens't support threads
2007-02-11 16:28:00 +00:00
truelight
26f5a156dc
(svn r8633) [PSP] -Fix r8629: mixed psp-config and pspconfig, making ./configure --reconfig to fail
2007-02-08 12:54:23 +00:00
truelight
7c1a538910
(svn r8632) [PSP] -Add: added include and lib to CFLAGS / LDFLAGS based on the SDK dir from psp-config
...
-Fix: disabled pthread for PSP
2007-02-08 12:52:25 +00:00
truelight
2a7682be79
(svn r8629) [PSP] -Add: added psp-config detection in configure for PSP target
2007-02-08 11:21:10 +00:00
truelight
062ee7d9eb
(svn r8628) [PSP] -Add: added configure support for the PlayStation Portable target
...
In the coming days/weeks there will be an attempt to port OpenTTD for
this target. This is a very small step towards that.
2007-02-08 11:04:39 +00:00
bjarni
ca1a88f6c4
(svn r8605) -Codechange: [OSX] changed all objective C to objective C++
...
This will permanently solve the issue where compilation on OSX broke because C++ code was added to some header files
-Note: (important if you develop mac specific code)
taken from http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html
gdb lacks an integrated C++ with Objective-C parser. This means that gdb won't be able to evaluate expressions that contain both C++ and Objective-C constructs.
gdb assumes that the language for ".mm" files is C++.
you can change it to objective C by typing: (gdb) set language objc
Mixing C++ and objective C has some limitation (see link for all of them)
2007-02-05 21:16:56 +00:00
maedhros
2e30da531b
(svn r8551) -Fix (r7759): Use ${} instead of $() for variables.
2007-02-03 09:54:42 +00:00
truelight
9e9d5905f3
(svn r8313) [WinCE] -Fix: -lws2 wasn't included in libraries, so network couldn't be linked
2007-01-21 15:18:36 +00:00
truelight
58b547b4e1
(svn r8311) [WinCE] -Fix r8304: GDI wasn't enabled by default on WinCE
2007-01-21 14:44:25 +00:00
truelight
805246015f
(svn r8304) [WinCE] -Add: added configure detection for WinCE.
...
Compiling doesn't work, neither does running, but it is a first step in developing an official WinCE port
2007-01-21 14:14:27 +00:00
rubidium
f35ed4bbc2
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
2007-01-10 18:56:51 +00:00
rubidium
e35fdd699b
(svn r8019) -Fix (r7759): if libfreetype was not found (and not forced to be used), the configure script aborted instead of marking it a 'not found'.
2007-01-10 10:39:45 +00:00
truelight
025d8dd224
(svn r7961) [Configure] -Fix: "" in config params didn't survive --reconfig. They should now.
2007-01-07 13:13:01 +00:00
truelight
c6da059f7b
(svn r7959) [Configure] -Fix: OS2-gcc needs to get stripping via gcc, because it needs to be feed to emxbind at link-time.
...
emxbind changes 'emx a.out' format to 'LX for OS/2 (MS-DOS)'. After this, all gcc and binutils tools for emx can no longer read the binary.
Therefor emxbind needs to do the stripping while converting it. Logic, aint it? :)
2007-01-07 13:00:56 +00:00
tron
98f0c0f428
(svn r7942) Trim another 192 lines from the configure monster
2007-01-07 09:48:10 +00:00
tron
a80c269951
(svn r7941) Unbreak linking: FreeBSD is not Linux either
2007-01-07 09:24:18 +00:00
tron
45572b5c14
(svn r7940) Add an empty line instead of overwriting the just written file
2007-01-07 08:26:45 +00:00
tron
d76ed433f7
(svn r7939) Fix useless use of cat
2007-01-07 08:17:56 +00:00
rubidium
8d41fe225e
(svn r7931) -Fix (r7759): multiple (different) -O flags made compilations with the wrong optimisations.
2007-01-06 22:58:01 +00:00
glx
c36db990a0
(svn r7922) -Fix: bad escaping in CFLAGS
2007-01-06 20:39:27 +00:00
tron
92c70cd5b7
(svn r7883) It's spelled 'automatically'
2007-01-05 18:11:14 +00:00
truelight
63b3620b9b
(svn r7881) [Configure] -Fix: OS2 GCC indentifies itself with os2, not os/2
2007-01-05 17:49:46 +00:00
tron
16e3c938ba
(svn r7880) Simplify regular expressions and fix that exactly OS2 is matched, not any string beginning with OS2
2007-01-05 17:42:01 +00:00
tron
9b78606d06
(svn r7878) Remove the long gone sdl11-config (again)
2007-01-05 17:29:35 +00:00
tron
63341d85d4
(svn r7877) Improve readability and shorten the configure script by 241 lines
2007-01-05 17:29:08 +00:00
rubidium
825eb245c4
(svn r7813) -Fix (r7799): it is $with_zlib, not $zlib.
2007-01-03 23:55:37 +00:00
rubidium
98be57246e
(svn r7799) -Fix (r7759): gracefully handle cases where the directory libz.a is in is given via --with-libz.
2007-01-03 16:36:36 +00:00
rubidium
21a1aa7c2c
(svn r7796) -Fix (r7759): cygwin does not need to rewrite the paths for strgen.
...
-Fix (r7759): supply the correct flags to cygwin to make it compile.
Note: cygwin itself is 'broken'. Known issues with cygwin are:
- bash does not work when including files that have dos line ending (\r\n).
This causes the strange errors in config.lib. The solution is running:
dos2unix config.lib
- the windows-native svn does not work (though it previously did). The
solution for this is to install the cygwin svn.
- libfreetype2's freetype-config --cflags does not have ft2build.h in the
path include search path. The workaround for this is to copy
/usr/include/ft2build.h to /usr/include/freetype2/. Also linking does
not work for static builds as freetype-config does not support that.
You have to add the '--disable-static' flag when running './configure'.
- libpng12 does not work with static building either. You have to add
the '--disable-static' flag when running './configure' too.
2007-01-03 13:55:25 +00:00
truelight
9dfec8b72b
(svn r7778) -Fix (r7777): intel -> Intel
2007-01-02 22:52:46 +00:00
truelight
83c136ed51
(svn r7777) [Configure] -Fix: call intel builds on OSX universal compiles intel, not i386 (that is just silly)
2007-01-02 22:45:20 +00:00
rubidium
71a0357ee0
(svn r7775) -Fix (r7759): make ./configure --help lines at most 80 characters
2007-01-02 22:28:15 +00:00
rubidium
566f437bfa
(svn r7769) -Fix (r7759): the strgen -t flag (todo) was set when it shouldn't be set and vice-versa.
2007-01-02 21:30:33 +00:00
truelight
3792865a48
(svn r7763) [Configure] -Fix: all -z tests were protected with "", but of course we forgot one...... :(
2007-01-02 20:26:48 +00:00
truelight
ad53fe0d75
(svn r7761) [Configure] -Fix: a != should be a =, gave funny warnings with dedicated and network enabled
2007-01-02 20:06:44 +00:00
rubidium
66bbf336c6
(svn r7759) -Merge: makefile rewrite. This merge features:
...
- A proper ./configure, so everything needs to be configured only once, not for every make.
- Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
- A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
- Proper support for OSX universal binaries.
- Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
- Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.
Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
2007-01-02 19:19:48 +00:00