Changeset - r3302:8eb316aa2bd2
[Not reviewed]
master
0 1 0
truelight - 19 years ago 2006-03-23 13:24:09
truelight@openttd.org
(svn r4059) -Fix: add --dedicated flag to configure
1 file changed with 4 insertions and 0 deletions:
0 comments (0 inline, 0 general)
configure
Show inline comments
 
@@ -3,24 +3,25 @@
 
# This 'configure' script is a very easy wrapper around 'make updateconf'
 
#  It allows cross-compilers to do their job much more easy.
 

	
 
function showhelp() {
 
	echo "Configure for OpenTTD"
 
	echo ""
 
	echo "Usage:"
 
	echo " $0 --your_options"
 
	echo ""
 
	echo "Params:"
 
	echo " --debug            Create debug-release                [no]"
 
	echo " --profile          Create profile-release              [no]"
 
	echo " --dedicated        Make a dedicated build              [no]"
 
	echo " --revision         Set the revision of the compilation [detected]"
 
	echo " --target-cc        Sets the target-compiler            [\$CC]"
 
	echo " --target-cxx       Sets the C++ target-compiler        []"
 
	echo " --host-cc          Sets the host-compiler              [\$CC]"
 
	echo " --os               Sets the OS. Listens to:            [detected]"
 
	echo "                       UNIX, OSX, FREEBSD, MORPHOS"
 
	echo "                       BEOS, SUNOS, CYGWIN, MINGW"
 
	echo " --windres          Sets the windres (Windows)          [windres]"
 
	echo " --force-le         Force LE platform                   [no]"
 
	echo " --force-be         Force BE platform                   [no]"
 
	echo ""
 
	echo "Params that can be used with --with or --without"
 
@@ -57,24 +58,27 @@ do
 
			;;
 

	
 
		--debug)
 
			DEBUG_SET=1
 
			ITEM="DEBUG"
 
			;;
 
		--debug=*)
 
			handle "DEBUG" $n
 
			;;
 
		--profile)
 
			PARAM="$PARAM PROFILE=1"
 
			;;
 
		--dedicated)
 
			PARAM="$PARAM DEDICATED=1"
 
			;;
 
		--revision=*)
 
			RELEASE=`awk 'BEGIN { FS="="; $0="'$n'"; print $2;}'`
 
			;;
 
		--revision)
 
			SITEM="RELEASE"
 
			;;
 
		--target-cc=*)
 
			handle "CC_TARGET" $n
 
			;;
 
		--target-cc)
 
			ITEM="CCTARGET"
 
			;;
0 comments (0 inline, 0 general)