rubidium
a3f56875c1
(svn r24429) -Change: add some hardening flags to the compiler for release builds
12 years ago
rubidium
12279e0aae
(svn r24427) -Change: allow passing C(XX)- and LDFLAGS to the compilation of helper binaries such as depend, strgen and settingsgen
12 years ago
rubidium
762922e956
(svn r24365) -Fix-ish: add C(XX)FLAGS_BUILD to all the executables that are compiled for the build enviroment
12 years ago
planetmaker
f50de50aee
(svn r24220) -Change: Adopt ICU version detection to also deal with the new versioning scheme since ICU 49
13 years ago
rubidium
3fb929005b
(svn r23993) -Cleanup: remove some disable directives from the NFO as they aren't needed anymore with newer GRFCodec/NFORenum
13 years ago
rubidium
a28614d6d1
(svn r23981) -Codechange: reduce GRF size by a few percent by letting GRFCodec determine the best compression
13 years ago
michi_cc
a643719996
(svn r23954) -Fix (r23952): Update required grfcodec version.
13 years ago
smatz
bb9b240a86
(svn r23941) -Add: support for clang
13 years ago
rubidium
82a3783fdd
(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
13 years ago
peter1138
ab969f3369
(svn r23661) -Fix (r23438): Remaining parts of configuration were skipped when grfcodec/nforenum were not usable.
13 years ago
truebrain
f9f4a120b2
(svn r23455) -Fix (r23438): send the stderr in the right part to /dev/null
13 years ago
rubidium
8ffe63764b
(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
13 years ago
truebrain
bf803e40cc
(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
13 years ago
smatz
24063de586
(svn r22832) -Codechange: add -Wno-free-nonheap-object to CFLAGS in order to prevent some invalid GCC warnings
13 years ago
smatz
ce83a32f9c
(svn r22728) -Codechange: add -Wno-narrowing to cxxflags in order to prevent many useless warnings with GCC 4.7
13 years ago
glx
ede7ddfce5
(svn r22180) -Fix: when using -static-libgcc, also use -static-libstdc++
14 years ago
alberth
8f73cf52ec
(svn r22174) -Add: Generate the settings as part of the unix build process without using it (Rubidium)
14 years ago
smatz
fb7a9be91d
(svn r22137) -Codechange: enable -Wnon-virtual-dtor for all GCC versions
14 years ago
rubidium
4f7ccbe708
(svn r22008) -Add [FS#4470]: log the command that invocated configure in config.log
14 years ago
rubidium
d8728b7c24
(svn r22003) -Document [FS#3447]: that SDL for Mac OS X might very well be unusable
14 years ago
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
14 years ago
smatz
450f80ef74
(svn r21661) -Codechange: use -fwhole-program when linking in LTO mode so compiler can do more optimisations
14 years ago
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
14 years ago
smatz
5421592c36
(svn r21436) -Fix: LTO was no longer detected for GCC 4.6
14 years ago
rubidium
232d7b190a
(svn r21352) -Codechange: remove some unneeded code from config.lib
14 years ago
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
14 years ago
terkhen
5139fa9a23
(svn r21343) -Add: Function that compares strings using case insensitive natural sort.
14 years ago
smatz
c4848d0719
(svn r21286) -Codechange: enable more warnings for ICC
14 years ago
planetmaker
a1bd81fb00
(svn r21196) -Change: [OSX] Allow to select the build targets for universal builds
14 years ago
terkhen
fb033c5a28
(svn r21194) -Add: Configure option for compiling OpenTTD as a console application under MinGW.
14 years ago
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)
14 years ago
smatz
a1a2335f41
(svn r21062) -Codechange: append -Winit-self to compiler flags
14 years ago
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.
14 years ago
smatz
6825c2b725
(svn r20725) -Codechange: simplify make_compiler_cflags
14 years ago
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
14 years ago
smatz
474480799f
(svn r20723) -Fix: don't define _FORTIFY_SOURCE when not compiling with GCC, other compilers would likely barf on GLIBC code
14 years ago
rubidium
c370ab2f27
(svn r20603) -Codechange: silence some ICC warnings
14 years ago
rubidium
9090353137
(svn r20554) -Fix [FS#4057]: typo in configure --help
14 years ago
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.
14 years ago
rubidium
757f80c2b4
(svn r20219) -Fix: Haiku uses a "special" location for headers
14 years ago
smatz
a5ba605772
(svn r19805) -Codechange: disable warnings about unused but set variables when building with asserts disabled
15 years ago
rubidium
a06b3c0646
(svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille)
15 years ago
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!
15 years ago
rubidium
d6d0e90f13
(svn r19626) -Fix: mention libtimidity in ./configure --help (planetmaker)
15 years ago
smatz
258b128a56
(svn r19614) -Codechange: "it's" => "its" where appropriate
15 years ago
glx
3b86a64858
(svn r19290) -Fix (r19285): wrong path in log
15 years ago
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
15 years ago
rubidium
55c0318748
(svn r19159) -Fix (r19151): configure gave a warning about a broken expression
15 years ago
rubidium
dd714d1e96
(svn r19151) -Codechange [FS#3625]: Move home directory to a better place in Haiku (jrepan)
15 years ago
rubidium
9be55c7dac
(svn r19116) -Fix [FS#3615]: enabling ccache via environment variables failed to properly detect/set a compiler
15 years ago
rubidium
733a0bc08f
(svn r19115) -Document: --with-ccache and --with-distcc in configure
15 years ago
rubidium
63bd9ee375
(svn r19110) -Fix (r19107): if GCC 3.2 has the trouble, then don't allow it
15 years ago
rubidium
d48c78fa39
(svn r19107) -Change: GCC 3.2 seems to be having trouble with some templates too
15 years ago
rubidium
1c494c6f71
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
15 years ago
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.
15 years ago
rubidium
163339b0d6
(svn r18847) -Fix [FS#3541] (r18769): configure didn't properly detect libtimidity anymore (hannibal218bc)
15 years ago
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.
15 years ago
smatz
73e88e6494
(svn r18451) -Fix (r18360): LDFLAGS could contain different compiler flags than CFLAGS when compiling strgen (Rubidium)
15 years ago
rubidium
45bb34425a
(svn r18360) -Add: configure 'support' for GCC's LTO and ICC's IPO
15 years ago
rubidium
32c2497dbc
(svn r18147) -Add: experimental option to try to statically link to libicu
15 years ago
rubidium
6b9c2af377
(svn r18055) -Fix (r18045): ICC warning
15 years ago
rubidium
c27ee70ddc
(svn r17923) -Feature: "port" OpenTTD to GNU/Hurd
15 years ago
michi_cc
685a7752f2
(svn r17794) -Feature: [OSX] Implement automatic fallback font selection for OSX.
15 years ago
michi_cc
5517e5371c
(svn r17710) -Feature [FS#3223]: [OSX] Add a MIDI driver using Cocoa/CoreAudio.
15 years ago
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.
15 years ago
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.
15 years ago
rubidium
a8036a3584
(svn r17632) -Change: enable the uninitialized variables warning (or actually undisable)
15 years ago
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)
15 years ago
smatz
02777965da
(svn r17599) -Fix: configure script didn't detect icc when CC included path to compiler
15 years ago
rubidium
9374f76574
(svn r17476) -Fix (r17475): Some icu-configs have the 'feature' of not adding a space where others do add the space
15 years ago
rubidium
1df5e6114a
(svn r17474) -Fix: in some cases compilation failed because the search path for ICU wasn't added to the ldflags
15 years ago
smatz
df631ccdaa
(svn r17468) -Fix (r17464): mingw compilation was broken
15 years ago
smatz
4c342c6f76
(svn r17464) -Codechange: use C++0x mode when compiling with gcc >= 4.3 or icc >= 11.0
15 years ago
smatz
fe8d571585
(svn r17462) -Cleanup: remove unused variables
15 years ago
smatz
10b446d2d5
(svn r17457) -Codechange: convert icc version to number so it can be compared more easily
15 years ago
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
15 years ago
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)
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
2047887107
(svn r17026) -Fix [FS#3076]: "[bd]ash"-ism in configure
15 years ago
rubidium
6cf59514d1
(svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse...
15 years ago
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.
15 years ago
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.
15 years ago
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
15 years ago
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.
16 years ago
rubidium
ca89673347
(svn r16623) -Change: remove CC_CFLAGS as we're not using a C compiler anywhere at all
16 years ago
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.
16 years ago
smatz
4f24725986
(svn r16424) -Codechange: warn about casting-out 'const' only when using gcc4+, older versions give many useless false positives
16 years ago
rubidium
2832d69272
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
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.
16 years ago
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
16 years ago
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.
16 years ago
rubidium
c8f66f3986
(svn r16298) -Change: silence some pointless/unsolveable ICC warnings/remarks (multicharacter character literal potential unportable/autovectorised this loop)
16 years ago
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.
16 years ago
rubidium
6c1cf5e8b9
(svn r16293) -Fix: more uses of # in seds, which can cause trouble according to FS#2350.
16 years ago
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.
16 years ago
glx
d94995609c
(svn r16164) -Fix: make dependencies checking more accurate by using compiler's built-in defines
16 years ago
rubidium
aa62b91a0b
(svn r16035) -Fix: dash wasn't able to run iconv detection
16 years ago
rubidium
2eebb52592
(svn r15330) -Fix [FS#2597]: leaking of Squirrel when using circular references (by enabling the GC).
16 years ago
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...
16 years ago
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)
16 years ago
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
16 years ago
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
16 years ago
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.
16 years ago
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.
16 years ago
rubidium
b2a1e2a8c2
(svn r14688) -Change: silence the "command not found" error when trying to find the svn/git/hg binary.
16 years ago
rubidium
765c67622e
(svn r14687) -Change: log all configure errors to config.log
16 years ago
truebrain
11a4f945a7
(svn r14661) -Fix r14659: oops, forgot to escape '?' ;)
16 years ago
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 :)
16 years ago
glx
99467ff292
(svn r14644) -Fix: --with-direct-music handling could fail
16 years ago
rubidium
5dd4735da1
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
16 years ago
rubidium
285d1846ae
(svn r14630) -Add: support Allegro as video backend.
16 years ago
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.
16 years ago
truebrain
92d4472bce
(svn r14497) -Fix: if freetype was not detected or disabled, skip fontconfig detection, unless explicit requested (on request by Rubidium)
16 years ago
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)
16 years ago
truebrain
692823be45
(svn r14495) -Change: don't use freetype, fontconfig and icu in case of building a dedicated server, unless explicit requested
16 years ago
rubidium
61546bef5c
(svn r14480) -Add: warning when trying to use a right-to-left language without support for it in OpenTTD.
16 years ago
rubidium
8ee8e0fac5
(svn r14479) -Add: initial (optional) support for handling bidirectional scripts and connecting Arabic characters.
16 years ago
truebrain
799f73aa29
(svn r14476) -Fix r14475: (no comment)
16 years ago
truebrain
a4712a3323
(svn r14475) -Add: allow setting the name of the desktop item (follow-up on r14474)
16 years ago
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
16 years ago
smatz
ab00ea7393
(svn r14467) -Fix [FS#2350](r14443): use '~' instead of '#' as sed separator, it could be understood in a wrong way by shell
16 years ago
skidd13
91665fd7e4
(svn r14443) -Change: Unify the delimiters used in config* and make*
16 years ago
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.
16 years ago
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
16 years ago
truebrain
113fbb8cb3
(svn r14244) -Fix: add 'Auto-generated' text when autogenerated, not in template (complain by blathijs ;))
16 years ago
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)
16 years ago
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.
16 years ago
truebrain
67ebf79d2e
(svn r14225) -Fix [configure]: make sure a dir exists if you want to write into it
16 years ago
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
16 years ago
peter1138
ab46663eed
(svn r14183) -Fix: "optimalization" is not a word
16 years ago
rubidium
a8c9ba2ffe
(svn r14088) -Fix (r5994): librt isn't needed to be linked against explicitly as we don't use any functionality of it.
16 years ago
glx
6957fbb5d0
(svn r14079) -Fix: misleading help in configure
16 years ago
bjarni
b52ce85021
(svn r13892) -Fix (r13863): [configure] now the SDK selection for OSX sets the default value as intended
16 years ago
smatz
d66a6ade5e
(svn r13863) -Fix (r13852): make the nightly compile again
16 years ago
bjarni
3cbb345224
(svn r13852) -Fix (r13849): [OSX] fixed universal binary building without breaking anything this time
16 years ago
bjarni
81bf2c6010
(svn r13849) -Fix: [OSX] 10.5 appears to be more picky when setting up compiling of universal binaries
16 years ago
glx
352bcf8846
(svn r13819) -Fix (r13801): --man-dir=xxx was 'ignored'
16 years ago
skidd13
53cb07f80a
(svn r13804) -Fix(r13801): a search after remove should help to find missed incarnations
16 years ago
skidd13
5514817cc8
(svn r13803) -Fix(r13801): Copy & paste mistakes
16 years ago
skidd13
f38d4f8570
(svn r13802) -Fix(r13801): a few small typos
16 years ago
skidd13
7a12a8c380
(svn r13801) -Add: further configuration options to make packaging more union
...
-Add: Unix man file gets now installed if necessary
16 years ago
skidd13
10c5086a5f
(svn r13793) -Codechange: Unify the dir checking in config.lib
16 years ago
skidd13
2db30844eb
(svn r13792) -Codechange: Display current values of the options in ./configre --help instead of static strings
16 years ago
skidd13
93dd80b201
(svn r13791) -Fix(r13790): Don refer to variables when their value isn't set as expected
16 years ago
skidd13
8183603e87
(svn r13790) -Fix: Enable to force the creation of freedesktop.org desktop entry files
16 years ago
rubidium
a26e816f77
(svn r13786) -Fix (r13785): reconfigure gave warnings on the newly introduced options.
16 years ago
skidd13
690e3ecb3f
(svn r13785) -Add: support for freedesktop.org desktop entry files
16 years ago
smatz
7772e9e68f
(svn r13609) -Codechange: silence warnings about unused variables for gcc2 builds without asserts
17 years ago
smatz
69ebefe1ac
(svn r13351) -Codechange: disable warnings about unused variable for builds without asserts
17 years ago
rubidium
874d1ecfed
(svn r12998) -Fix: -Wredundant_decls sees "friend" declarations as redundant declarations in GCC 2.95, so only use if for GCC >= 3.
17 years ago