Commit Graph

148 Commits

Author SHA1 Message Date
truelight
a8fde998dd (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
f414b1d8e2 (svn r8968) -Fix (win32): silent g++ 4.0+ warnings about breaking strict-aliasing 2007-03-02 00:45:08 +00:00
truelight
75006ed3be (svn r8816) [Config] -Fix: if you disable stripping, don't detect strip at all 2007-02-19 20:10:46 +00:00
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 2007-02-19 19:59:19 +00:00
truelight
8b97c5f240 (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
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. 2007-02-19 18:47:55 +00:00
truelight
8ac9f3a9b1 (svn r8811) [Configure] -Fix: [:lower:] for tr is GNU specific. Use [a-z] instead. (Celestar) 2007-02-19 16:24:10 +00:00
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 ;)) 2007-02-19 16:10:18 +00:00
truelight
50a0c2ff78 (svn r8776) [MorhpOS] -Fix: LDFLAGS needs -noixemul too 2007-02-17 13:29:11 +00:00
truelight
95d2ad7b73 (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
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!
2007-02-16 09:50:28 +00:00
truelight
c80f7fc587 (svn r8680) [Configure] -Codechange: allow a bit more flexible code in check_compiler 2007-02-11 17:39:28 +00:00
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'
2007-02-11 17:36:46 +00:00
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
2007-02-11 16:28:00 +00:00
truelight
54b07056f9 (svn r8633) [PSP] -Fix r8629: mixed psp-config and pspconfig, making ./configure --reconfig to fail 2007-02-08 12:54:23 +00:00
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
2007-02-08 12:52:25 +00:00
truelight
7f589f5029 (svn r8629) [PSP] -Add: added psp-config detection in configure for PSP target 2007-02-08 11:21:10 +00:00
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.
2007-02-08 11:04:39 +00:00
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)
2007-02-05 21:16:56 +00:00
maedhros
19c981b19e (svn r8551) -Fix (r7759): Use ${} instead of $() for variables. 2007-02-03 09:54:42 +00:00
truelight
5d4acb5906 (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
e6f033f692 (svn r8311) [WinCE] -Fix r8304: GDI wasn't enabled by default on WinCE 2007-01-21 14:44:25 +00:00
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
2007-01-21 14:14:27 +00:00
rubidium
a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 2007-01-10 18:56:51 +00:00
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'. 2007-01-10 10:39:45 +00:00
truelight
a9740d850e (svn r7961) [Configure] -Fix: "" in config params didn't survive --reconfig. They should now. 2007-01-07 13:13:01 +00:00
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? :)
2007-01-07 13:00:56 +00:00
tron
a259d64141 (svn r7942) Trim another 192 lines from the configure monster 2007-01-07 09:48:10 +00:00
tron
b67525dbb4 (svn r7941) Unbreak linking: FreeBSD is not Linux either 2007-01-07 09:24:18 +00:00
tron
fb6acfad38 (svn r7940) Add an empty line instead of overwriting the just written file 2007-01-07 08:26:45 +00:00
tron
9ad0d4cf1a (svn r7939) Fix useless use of cat 2007-01-07 08:17:56 +00:00
rubidium
2a596e09f1 (svn r7931) -Fix (r7759): multiple (different) -O flags made compilations with the wrong optimisations. 2007-01-06 22:58:01 +00:00
glx
44eaf0823c (svn r7922) -Fix: bad escaping in CFLAGS 2007-01-06 20:39:27 +00:00
tron
5753807d72 (svn r7883) It's spelled 'automatically' 2007-01-05 18:11:14 +00:00
truelight
73f40b9f6c (svn r7881) [Configure] -Fix: OS2 GCC indentifies itself with os2, not os/2 2007-01-05 17:49:46 +00:00
tron
63d1be8fec (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
8e4a1faf10 (svn r7878) Remove the long gone sdl11-config (again) 2007-01-05 17:29:35 +00:00
tron
1d332a5306 (svn r7877) Improve readability and shorten the configure script by 241 lines 2007-01-05 17:29:08 +00:00
rubidium
7bc9c3c9da (svn r7813) -Fix (r7799): it is $with_zlib, not $zlib. 2007-01-03 23:55:37 +00:00
rubidium
1e89d6e432 (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
20f12958d5 (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
191ec9855e (svn r7778) -Fix (r7777): intel -> Intel 2007-01-02 22:52:46 +00:00
truelight
8ba52007d5 (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
f6abafd89f (svn r7775) -Fix (r7759): make ./configure --help lines at most 80 characters 2007-01-02 22:28:15 +00:00
rubidium
5b050f8c86 (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
74ac517edc (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
5b057da1a3 (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
013df98f79 (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