smatz
24063de586
(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
ce83a32f9c
(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
ede7ddfce5
(svn r22180) -Fix: when using -static-libgcc, also use -static-libstdc++
2011-03-04 00:27:17 +00:00
alberth
8f73cf52ec
(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
fb7a9be91d
(svn r22137) -Codechange: enable -Wnon-virtual-dtor for all GCC versions
2011-02-24 16:39:04 +00:00
rubidium
4f7ccbe708
(svn r22008) -Add [FS#4470]: log the command that invocated configure in config.log
2011-02-07 09:55:09 +00:00
rubidium
d8728b7c24
(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
23bb300721
(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
450f80ef74
(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
676354040c
(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
5421592c36
(svn r21436) -Fix: LTO was no longer detected for GCC 4.6
2010-12-08 14:39:31 +00:00
rubidium
232d7b190a
(svn r21352) -Codechange: remove some unneeded code from config.lib
2010-11-29 13:09:35 +00:00
rubidium
8b4d080817
(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
5139fa9a23
(svn r21343) -Add: Function that compares strings using case insensitive natural sort.
2010-11-27 22:47:29 +00:00
smatz
c4848d0719
(svn r21286) -Codechange: enable more warnings for ICC
2010-11-21 16:34:18 +00:00
planetmaker
a1bd81fb00
(svn r21196) -Change: [OSX] Allow to select the build targets for universal builds
2010-11-14 22:57:32 +00:00
terkhen
fb033c5a28
(svn r21194) -Add: Configure option for compiling OpenTTD as a console application under MinGW.
2010-11-14 20:47:45 +00:00
planetmaker
0577104065
(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
a1a2335f41
(svn r21062) -Codechange: append -Winit-self to compiler flags
2010-10-31 14:25:57 +00:00
rubidium
a9fc9b2e9a
(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
6825c2b725
(svn r20725) -Codechange: simplify make_compiler_cflags
2010-09-03 14:14:06 +00:00
smatz
b4c4767bb6
(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
474480799f
(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
c370ab2f27
(svn r20603) -Codechange: silence some ICC warnings
2010-08-23 22:03:36 +00:00
rubidium
9090353137
(svn r20554) -Fix [FS#4057]: typo in configure --help
2010-08-19 11:16:08 +00:00
rubidium
36c1c1bdb5
(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
757f80c2b4
(svn r20219) -Fix: Haiku uses a "special" location for headers
2010-07-25 23:13:40 +00:00
smatz
a5ba605772
(svn r19805) -Codechange: disable warnings about unused but set variables when building with asserts disabled
2010-05-13 05:29:25 +00:00
rubidium
a06b3c0646
(svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille)
2010-05-10 17:11:24 +00:00
rubidium
87097a8fb2
(svn r19627) -Fix [OSX]: mark the macports default include directory as a system include directory so our -W flags don't cause warnings on headers in there (planetmaker)
...
As this is a OS X patch... I have not and cannot test it, so if it breaks your system: do not blame me!
2010-04-14 10:00:57 +00:00
rubidium
d6d0e90f13
(svn r19626) -Fix: mention libtimidity in ./configure --help (planetmaker)
2010-04-14 09:55:36 +00:00
smatz
258b128a56
(svn r19614) -Codechange: "it's" => "its" where appropriate
2010-04-12 14:12:47 +00:00
glx
3b86a64858
(svn r19290) -Fix (r19285): wrong path in log
2010-02-28 15:01:57 +00:00
rubidium
b4e575e290
(svn r19285) -Change [FS#3638]: add the default installation directory of lzo/zlib for Mac OS X/MinGW to the paths where (the headers of) those libraries are searched
2010-02-28 00:22:23 +00:00
rubidium
55c0318748
(svn r19159) -Fix (r19151): configure gave a warning about a broken expression
2010-02-18 01:10:55 +00:00
rubidium
dd714d1e96
(svn r19151) -Codechange [FS#3625]: Move home directory to a better place in Haiku (jrepan)
2010-02-17 16:45:55 +00:00
rubidium
9be55c7dac
(svn r19116) -Fix [FS#3615]: enabling ccache via environment variables failed to properly detect/set a compiler
2010-02-13 00:20:19 +00:00
rubidium
733a0bc08f
(svn r19115) -Document: --with-ccache and --with-distcc in configure
2010-02-13 00:00:47 +00:00
rubidium
63bd9ee375
(svn r19110) -Fix (r19107): if GCC 3.2 has the trouble, then don't allow it
2010-02-12 18:45:34 +00:00
rubidium
d48c78fa39
(svn r19107) -Change: GCC 3.2 seems to be having trouble with some templates too
2010-02-12 18:41:46 +00:00
rubidium
1c494c6f71
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
2010-02-10 16:24:05 +00:00
rubidium
1d6bfd2a6c
(svn r19018) -Change: [Makefile] Make test an alias for regression, distclean an alias for mrproper and update mrproper to really delete all generated files/directories.
2010-02-05 16:20:04 +00:00
rubidium
163339b0d6
(svn r18847) -Fix [FS#3541] (r18769): configure didn't properly detect libtimidity anymore (hannibal218bc)
2010-01-17 16:39:58 +00:00
rubidium
36df94ddb0
(svn r18769) -Codechange: replace MiniLZO with the real library. If you're using MSVC update openttd-useful, otherwise make sure you've got liblzo2 and it's development files installed.
2010-01-10 13:12:34 +00:00
smatz
73e88e6494
(svn r18451) -Fix (r18360): LDFLAGS could contain different compiler flags than CFLAGS when compiling strgen (Rubidium)
2009-12-10 00:17:00 +00:00
rubidium
45bb34425a
(svn r18360) -Add: configure 'support' for GCC's LTO and ICC's IPO
2009-12-01 20:53:13 +00:00
rubidium
32c2497dbc
(svn r18147) -Add: experimental option to try to statically link to libicu
2009-11-17 18:01:05 +00:00
rubidium
6b9c2af377
(svn r18055) -Fix (r18045): ICC warning
2009-11-12 21:07:55 +00:00
rubidium
c27ee70ddc
(svn r17923) -Feature: "port" OpenTTD to GNU/Hurd
2009-10-31 15:26:07 +00:00
michi_cc
685a7752f2
(svn r17794) -Feature: [OSX] Implement automatic fallback font selection for OSX.
2009-10-17 22:36:43 +00:00
michi_cc
5517e5371c
(svn r17710) -Feature [FS#3223]: [OSX] Add a MIDI driver using Cocoa/CoreAudio.
2009-10-04 21:24:09 +00:00
michi_cc
6db8927ecc
(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
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