Commit Graph

261 Commits (af74f3bb2d8bba27619d93c4a3b3ea40175c1d56)

Author SHA1 Message Date
rubidium 6c1cf5e8b9 (svn r16293) -Fix: more uses of # in seds, which can cause trouble according to FS#2350. 15 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. 15 years ago
glx d94995609c (svn r16164) -Fix: make dependencies checking more accurate by using compiler's built-in defines 15 years ago
rubidium aa62b91a0b (svn r16035) -Fix: dash wasn't able to run iconv detection 15 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 16 years ago
smatz 69ebefe1ac (svn r13351) -Codechange: disable warnings about unused variable for builds without asserts 16 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. 16 years ago
rubidium c27f3cfa62 (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 16 years ago
rubidium 1ed3ea4705 (svn r12969) -Codechange: remove a completely pointless file. 16 years ago
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. 16 years ago
rubidium f1820a5708 (svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka. 16 years ago
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. 16 years ago
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. 16 years ago
smatz 1f13638d03 (svn r12368) -Codechange: use explicit body for loops and conditions and remove -Wno-empty-body from the configure script 17 years ago
smatz c9d751a181 (svn r11980) -Fix: newer versions of cut do not accept field index 0 17 years ago
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
17 years ago
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)
17 years ago
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
17 years ago
rubidium 97d6e0e6c0 (svn r11811) -Fix: make compilation without networking work again (and thus move the debugdumpcommand stuff out of the network 'area'). 17 years ago
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
17 years ago
skidd13 54edc19b19 (svn r11723) -Feature: add initial support for Intel C Compiler on linux
-Codechange: silence a few warnings of ICC
17 years ago
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
17 years ago
smatz 9060dbdb04 (svn r11689) -Fix: compilation error and most of warnings for gcc 4.3 17 years ago
egladil 4c3186d2d0 (svn r11653) -Feature: [OSX] Allow windowed mode subdrivers to be disabled at compile time. 17 years ago
rubidium 38c25ab03b (svn r11641) -Add: configure time parameter to enable some desync debugging functionality. 17 years ago
bjarni 08d73eb696 (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
17 years ago
egladil 4e518e3ceb (svn r11389) -Fix [FS#1386]: Replace calls to deprecated API with newer ones and handle broken iconv declaration in OSX 10.5. 17 years ago
truelight 57b92e21ee (svn r11323) -Fix: GCC2.95 gave a lot of bogus 'might be uninitialized', so never show them for this compiler 17 years ago
maedhros 385a72feba (svn r11254) -Fix: Link with -lpthread on FreeBSD. 17 years ago
glx 2f702f8e41 (svn r11218) -Codechange: remove unused ENABLE_INSTALL in Makefile.in, and add --disable-unicode in configure help 17 years ago
rubidium 45357015a5 (svn r11148) -Codechange: add support for getting version numbers from Mercurial/HG instead of norev000 (when using a Mercurial/HG clone that is). 17 years ago
rubidium e9924421bf (svn r11089) -Codechange: add revision detection to MSVC. 17 years ago
truelight 106d5c3715 (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) 17 years ago
rubidium 80a5676783 (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. 17 years ago
rubidium 1ea5cba27b (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. 17 years ago
rubidium a045c22db0 (svn r10642) -Merge (from NoAI): ./configure flag for disabling threading. 17 years ago
rubidium b1ab5f3e1c (svn r10498) -Fix [FS#1008]: remove inconsistency between a warning and the actual behaviour. 17 years ago
rubidium 6baed14dfd (svn r10482) -Fix [FS#990]: Do not override the CFLAGS environment variable when configuring a non-debug makefile. Based on a patch by saggson. 17 years ago
orudge f0117974cd (svn r10310) -Fix: Trunk can now be built on OS/2 :) 17 years ago
maedhros 7fb6e8f11d (svn r10236) -Feature: Introduce a form of timetabling for vehicles. 17 years ago
rubidium 28f97c790a (svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits). 17 years ago
rubidium 926035497b (svn r10183) -Fix (r10182): some bashism sneaked in. 17 years ago
rubidium 3c7a85fe94 (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.
17 years ago
rubidium ed441c8003 (svn r10171) -Add: simple support for ccache (--with-ccache). 17 years ago
rubidium 251a8e36e3 (svn r10091) -Add: make time detection whether you are using -jN when having distcc enabled. 17 years ago
truelight 7f31589c62 (svn r10090) -Add: add --with-distcc to configure, to enable distcc compiles. Not used by default 17 years ago
rubidium 6f3c0dfb92 (svn r10051) -Add: git "version" detection so we've got at least some indication what version we're playing when using git ;) 17 years ago
rubidium 75f39b1995 (svn r10050) -Codechange: make it a little easier to force a version number (for releases). 17 years ago
peter1138 e2858120ff (svn r9904) -Codechange [FS#798]: Add OpenBSD support to configure (matthias) 17 years ago
truelight a1ebdb4768 (svn r9710) -Add: added support for GCC 2.95. This makes MorphOS target alive again. With a big thanks to tokai and Rubidium!! 17 years ago
rubidium 00e9a1672e (svn r9696) -Fix: --without-application-bundle did not disable the custom language/second data directory stuff that is used for application bundles. 17 years ago
rubidium 3a038ac2d8 (svn r9239) -Fix [FS#682]: PowerMac G5 CPU is not detected (oVRoM). 18 years ago
rubidium 48299a729f (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. 18 years ago
glx 1db73f1cda (svn r9053) -Change [Config]: removed unneeded stuff for windows 18 years ago
truelight 3e2fae03bd (svn r9049) -Fix [Config]: when running 'bash configure', make sure automated reconfigures run 'bash configure' too. 18 years ago
truelight a0df4f4b6e (svn r9047) -Fix [FS#651]: request static deps from fontconfig in OSX 18 years ago
truelight 26279df1ee (svn r9046) -Fix r9041: added a comment to make clear why we don't use --prefix here 18 years ago
truelight 14a83be171 (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) 18 years ago
truelight c273013b79 (svn r9044) -Fix [Config]: add fontconfig before freetype, as in static order is important 18 years ago
truelight 9eb62560df (svn r9041) -Fix [FS#650]: pkg-config doesn't know --prefix, but wants --variable=prefix (nicely spotted and fixed by stepancheg) 18 years ago
truelight 62c107558f (svn r9033) [Config] -Fix: GNU strip has -s, but Solaris strip doesn't. Detect this when system is SUNOS. 18 years ago
truelight c59146a710 (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) 18 years ago
truelight 8b887364a9 (svn r9017) [Config] -Fix: if 'solaris' is in gcc dumpmachine, we have SunOS 18 years ago
truelight a8fde998dd (svn r8970) -Fix (win32): suppress the warnings coming from the DirectX includes for GCC 4.0+. Also clearify commit r8968 in-code 18 years ago
truelight f414b1d8e2 (svn r8968) -Fix (win32): silent g++ 4.0+ warnings about breaking strict-aliasing 18 years ago
truelight 75006ed3be (svn r8816) [Config] -Fix: if you disable stripping, don't detect strip at all 18 years ago
truelight 788535debf (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 18 years ago
truelight 8b97c5f240 (svn r8813) -Fix r8812: fixed one GNU depending grep statement with an other ;) Switched to egrep, which should work just fine. 18 years ago
truelight b5cc9c5c56 (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. 18 years ago
truelight 8ac9f3a9b1 (svn r8811) [Configure] -Fix: [:lower:] for tr is GNU specific. Use [a-z] instead. (Celestar) 18 years ago
truelight 4ee0518ed2 (svn r8810) [Configure] -Fix: "" variables if you test them, else if they are empty they return lovely errors (tnx to Celester for finding thisone ;)) 18 years ago
truelight 50a0c2ff78 (svn r8776) [MorhpOS] -Fix: LDFLAGS needs -noixemul too 18 years ago
truelight 95d2ad7b73 (svn r8758) -Fix r8757: wrong variable to check libtimidity on if it is found or not 18 years ago
truelight 1f9fdc8bc1 (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!
18 years ago
truelight c80f7fc587 (svn r8680) [Configure] -Codechange: allow a bit more flexible code in check_compiler 18 years ago
truelight a85c238f40 (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'
18 years ago
truelight 4b88663f31 (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
18 years ago
truelight 54b07056f9 (svn r8633) [PSP] -Fix r8629: mixed psp-config and pspconfig, making ./configure --reconfig to fail 18 years ago
truelight a07cb5ad97 (svn r8632) [PSP] -Add: added include and lib to CFLAGS / LDFLAGS based on the SDK dir from psp-config
-Fix: disabled pthread for PSP
18 years ago
truelight 7f589f5029 (svn r8629) [PSP] -Add: added psp-config detection in configure for PSP target 18 years ago
truelight 8c6198d03a (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.
18 years ago
bjarni 5ebab4089a (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)
18 years ago
maedhros 19c981b19e (svn r8551) -Fix (r7759): Use ${} instead of $() for variables. 18 years ago
truelight 5d4acb5906 (svn r8313) [WinCE] -Fix: -lws2 wasn't included in libraries, so network couldn't be linked 18 years ago
truelight e6f033f692 (svn r8311) [WinCE] -Fix r8304: GDI wasn't enabled by default on WinCE 18 years ago
truelight 3a8024597d (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
18 years ago
rubidium a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
rubidium 752aeecac2 (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'. 18 years ago
truelight a9740d850e (svn r7961) [Configure] -Fix: "" in config params didn't survive --reconfig. They should now. 18 years ago
truelight b1aea88bf0 (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? :)
18 years ago
tron a259d64141 (svn r7942) Trim another 192 lines from the configure monster 18 years ago
tron b67525dbb4 (svn r7941) Unbreak linking: FreeBSD is not Linux either 18 years ago
tron fb6acfad38 (svn r7940) Add an empty line instead of overwriting the just written file 18 years ago
tron 9ad0d4cf1a (svn r7939) Fix useless use of cat 18 years ago
rubidium 2a596e09f1 (svn r7931) -Fix (r7759): multiple (different) -O flags made compilations with the wrong optimisations. 18 years ago
glx 44eaf0823c (svn r7922) -Fix: bad escaping in CFLAGS 18 years ago
tron 5753807d72 (svn r7883) It's spelled 'automatically' 18 years ago
truelight 73f40b9f6c (svn r7881) [Configure] -Fix: OS2 GCC indentifies itself with os2, not os/2 18 years ago
tron 63d1be8fec (svn r7880) Simplify regular expressions and fix that exactly OS2 is matched, not any string beginning with OS2 18 years ago
tron 8e4a1faf10 (svn r7878) Remove the long gone sdl11-config (again) 18 years ago