config.lib
changeset 5742 d9948762e08b
parent 5736 e54edfb4577a
child 5744 ca6dd7a04889
equal deleted inserted replaced
5741:291292fc42af 5742:d9948762e08b
  2143 	echo "Configuration:"
  2143 	echo "Configuration:"
  2144 	echo "  -h, --help                     display this help and exit"
  2144 	echo "  -h, --help                     display this help and exit"
  2145 	echo ""
  2145 	echo ""
  2146 	echo "System types:"
  2146 	echo "System types:"
  2147 	echo "  --build=BUILD                  configure for building on BUILD [guessed]"
  2147 	echo "  --build=BUILD                  configure for building on BUILD [guessed]"
  2148 	echo "  --host=HOST                    cross-compile to build programs to run on HOST [BUILD]"
  2148 	echo "  --host=HOST                    cross-compile to build programs to run"
       
  2149 	echo "                                 on HOST [BUILD]"
  2149 	echo "  --windres=WINDRES              the windres to use [HOST-windres]"
  2150 	echo "  --windres=WINDRES              the windres to use [HOST-windres]"
  2150 	echo "  --strip=STRIP                  the strip to use [HOST-strip]"
  2151 	echo "  --strip=STRIP                  the strip to use [HOST-strip]"
  2151 	echo "  --lipo=LIPO                    the lipo to use (OSX ONLY) [HOST-lipo]"
  2152 	echo "  --lipo=LIPO                    the lipo to use (OSX ONLY) [HOST-lipo]"
  2152 	echo "  --os=OS                        the OS we are compiling for [DETECT]"
  2153 	echo "  --os=OS                        the OS we are compiling for [DETECT]"
  2153 	echo "                                 DETECT/UNIX/OSX/FREEBSD/MORPHOS/BEOS/SUNOS/CYGWIN/MINGW"
  2154 	echo "                                 DETECT/UNIX/OSX/FREEBSD/MORPHOS/BEOS/"
  2154 	echo "  --endian=ENDIAN                set the endian of the HOST (AUTO/LE/BE) [AUTO]"
  2155 	echo "                                 SUNOS/CYGWIN/MINGW"
  2155 	echo "  --revision=rXXXX               overwrite the revision detection. Use with care!"
  2156 	echo "  --endian=ENDIAN                set the endian of the HOST (AUTO/LE/BE)"
       
  2157 	echo "  --revision=rXXXX               overwrite the revision detection."
       
  2158 	echo "                                 Use with care!"
  2156 	echo ""
  2159 	echo ""
  2157 	echo "Paths:"
  2160 	echo "Paths:"
  2158 	echo "  --prefix-dir=dir               specifies the prefix for all installed files [/usr/local]"
  2161 	echo "  --prefix-dir=dir               specifies the prefix for all installed"
  2159 	echo "  --binary-dir=dir               location of the binary. Will be prefixed with the"
  2162 	echo "                                 files [/usr/local]"
  2160 	echo "                                 prefix-dir [games]"
  2163 	echo "  --binary-dir=dir               location of the binary. Will be prefixed"
  2161 	echo "  --data-dir=dir                 location of data files (lang, data, gm, scenario)."
  2164 	echo "                                 with the prefix-dir [games]"
  2162 	echo "                                 Will be prefixed with the prefix-dir [share/games/openttd]"
  2165 	echo "  --data-dir=dir                 location of data files (lang, data, gm)."
  2163 	echo "  --icon-dir=dir                 location of icons. Will be prefixed with the"
  2166 	echo "                                 Will be prefixed with the prefix-dir"
  2164 	echo "                                 prefix-dir [share/pixmaps]"
  2167 	echo "                                 [share/games/openttd]"
       
  2168 	echo "  --icon-dir=dir                 location of icons. Will be prefixed"
       
  2169 	echo "                                 with the prefix-dir [share/pixmaps]"
  2165 	echo "  --personal-dir=dir             location of the personal directory []"
  2170 	echo "  --personal-dir=dir             location of the personal directory []"
  2166 	echo "  --install-dir=dir              specifies the root to install to. Useful to install"
  2171 	echo "  --install-dir=dir              specifies the root to install to."
  2167 	echo "                                 into jails [/]"
  2172 	echo "                                 Useful to install into jails [/]"
  2168 	echo ""
  2173 	echo ""
  2169 # TODO: The Following 3 tags will be removed when the 'search path patch' is applied
  2174 # TODO: The Following 3 tags will be removed when the 'search path patch' is applied
  2170 	echo "  --second-data-dir=dir          specifies a second directory for the data files"
  2175 	echo "  --second-data-dir=dir          specifies a second directory for the"
  2171 	echo "  --custom-lang-dir=dir          specifies a custom directory for the language files"
  2176 	echo "                                 data files"
  2172 	echo "  --enable-install               make a binary that uses the specified data-dir and icon-dir"
  2177 	echo "  --custom-lang-dir=dir          specifies a custom directory for the"
       
  2178 	echo "                                 language files"
       
  2179 	echo "  --enable-install               make a binary that uses the specified"
       
  2180 	echo "                                 data-dir and icon-dir"
  2173 	echo ""
  2181 	echo ""
  2174 	echo "Features and packages:"
  2182 	echo "Features and packages:"
  2175 	echo "  --enable-debug[=LVL]           enable debug-mode (LVL=[0123], 0 is release) [LVL=0]"
  2183 	echo "  --enable-debug[=LVL]           enable debug-mode (LVL=[0123], 0 is release)"
  2176 	echo "  --enable-profiling             enables profiling (can be mixed with --enable-debug)"
  2184 	echo "  --enable-profiling             enables profiling"
  2177 	echo "  --enable-dedicated             compile a dedicated server (without video-drivers)"
  2185 	echo "  --enable-dedicated             compile a dedicated server (without video)"
  2178 	echo "  --enable-static                enable static compile (doesn't work for all HOSTs)"
  2186 	echo "  --enable-static                enable static compile (doesn't work for"
       
  2187 	echo "                                 all HOSTs)"
  2179 	echo "  --enable-translator            enable extra output for translators"
  2188 	echo "  --enable-translator            enable extra output for translators"
  2180 	echo "  --enable-universal             enable universal builds (OSX ONLY)"
  2189 	echo "  --enable-universal             enable universal builds (OSX ONLY)"
  2181 	echo "  --enable-osx-g5                enables optimalizations for G5 (OSX ONLY)"
  2190 	echo "  --enable-osx-g5                enables optimalizations for G5 (OSX ONLY)"
  2182 	echo "  --disable-network              disable network support"
  2191 	echo "  --disable-network              disable network support"
  2183 	echo "  --disable-assert               disable asserts (on error, program just continues)"
  2192 	echo "  --disable-assert               disable asserts (continue on errors)"
  2184 	echo "  --disable-strip                disable any possible stripping"
  2193 	echo "  --disable-strip                disable any possible stripping"
  2185 	echo "  --without-osx-sysroot          disable the automatic adding of sysroot (OSX ONLY)"
  2194 	echo "  --without-osx-sysroot          disable the automatic adding of sysroot "
  2186 	echo "  --without-application-bundle   disable generation of application bundle (OSX ONLY)"
  2195 	echo "                                 (OSX ONLY)"
       
  2196 	echo "  --without-application-bundle   disable generation of application bundle"
       
  2197 	echo "                                 (OSX ONLY)"
  2187 	echo "  --with-direct-music            enable direct music support (Win32 ONLY)"
  2198 	echo "  --with-direct-music            enable direct music support (Win32 ONLY)"
  2188 	echo "  --with-sort=sort               define a non-default location for sort"
  2199 	echo "  --with-sort=sort               define a non-default location for sort"
  2189 	echo "  --with-midi=midi               define which midi-player to use"
  2200 	echo "  --with-midi=midi               define which midi-player to use"
  2190 	echo "  --with-midi-arg=arg            define which args to use for the midi-player"
  2201 	echo "  --with-midi-arg=arg            define which args to use for the"
  2191 	echo "  --with-cocoa                   enables COCOA video driver (OSX ONLY) support"
  2202 	echo "                                 midi-player"
       
  2203 	echo "  --with-cocoa                   enables COCOA video driver (OSX ONLY)"
  2192 	echo "  --with-sdl[=sdl-config]        enables SDL video driver support"
  2204 	echo "  --with-sdl[=sdl-config]        enables SDL video driver support"
  2193 	echo "  --with-zlib[=zlib.a]           enables zlib support"
  2205 	echo "  --with-zlib[=zlib.a]           enables zlib support"
  2194 	echo "  --with-png[=libpng-config]     enables libpng support"
  2206 	echo "  --with-png[=libpng-config]     enables libpng support"
  2195 	echo "  --with-freetype[=freetype-config]"
  2207 	echo "  --with-freetype[=freetype-config]"
  2196 	echo "                                 enables libfreetype support"
  2208 	echo "                                 enables libfreetype support"
  2202 	echo "Some influential environment variables:"
  2214 	echo "Some influential environment variables:"
  2203 	echo "  CC                             C compiler command"
  2215 	echo "  CC                             C compiler command"
  2204 	echo "  CXX                            C++ compiler command"
  2216 	echo "  CXX                            C++ compiler command"
  2205 	echo "  CFLAGS                         C compiler flags"
  2217 	echo "  CFLAGS                         C compiler flags"
  2206 	echo "  WINDRES                        windres command"
  2218 	echo "  WINDRES                        windres command"
  2207 	echo "  LDFLAGS                        linker flags, e.g. -L<lib dir> if you have libraries"
  2219 	echo "  LDFLAGS                        linker flags, e.g. -L<lib dir> if you"
  2208 	echo "                                 in a nonstandard directory <lib dir>"
  2220 	echo "                                 have libraries in a nonstandard"
       
  2221 	echo "                                 directory <lib dir>"
  2209 	echo ""
  2222 	echo ""
  2210 	echo "Use these variables to override the choices made by 'configure' or to help"
  2223 	echo "Use these variables to override the choices made by 'configure' or to help"
  2211 	echo "it to find libraries and programs with nonstandard names/locations."
  2224 	echo "it to find libraries and programs with nonstandard names/locations."
  2212 }
  2225 }