Commit Graph

261 Commits (af74f3bb2d8bba27619d93c4a3b3ea40175c1d56)

Author SHA1 Message Date
tron 1d332a5306 (svn r7877) Improve readability and shorten the configure script by 241 lines 18 years ago
rubidium 7bc9c3c9da (svn r7813) -Fix (r7799): it is $with_zlib, not $zlib. 18 years ago
rubidium 1e89d6e432 (svn r7799) -Fix (r7759): gracefully handle cases where the directory libz.a is in is given via --with-libz. 18 years ago
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.
18 years ago
truelight 191ec9855e (svn r7778) -Fix (r7777): intel -> Intel 18 years ago
truelight 8ba52007d5 (svn r7777) [Configure] -Fix: call intel builds on OSX universal compiles intel, not i386 (that is just silly) 18 years ago
rubidium f6abafd89f (svn r7775) -Fix (r7759): make ./configure --help lines at most 80 characters 18 years ago
rubidium 5b050f8c86 (svn r7769) -Fix (r7759): the strgen -t flag (todo) was set when it shouldn't be set and vice-versa. 18 years ago
truelight 74ac517edc (svn r7763) [Configure] -Fix: all -z tests were protected with "", but of course we forgot one...... :( 18 years ago
truelight 5b057da1a3 (svn r7761) [Configure] -Fix: a != should be a =, gave funny warnings with dedicated and network enabled 18 years ago
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.
18 years ago