config.lib
branchgamebalance
changeset 9912 1ac8aac92385
parent 9911 0b8b245a2391
child 9913 e79cd19772dd
equal deleted inserted replaced
9911:0b8b245a2391 9912:1ac8aac92385
     3 	if [ $1 = "1" ]; then echo "$2"; fi
     3 	if [ $1 = "1" ]; then echo "$2"; fi
     4 	echo "$2" >> $config_log
     4 	echo "$2" >> $config_log
     5 }
     5 }
     6 
     6 
     7 set_default() {
     7 set_default() {
       
     8 	released_version=""
       
     9 
     8 	ignore_extra_parameters="0"
    10 	ignore_extra_parameters="0"
     9 	# We set all kinds of defaults for params. Later on the user can override
    11 	# We set all kinds of defaults for params. Later on the user can override
    10 	# most of them; but if they don't, this default is used.
    12 	# most of them; but if they don't, this default is used.
    11 	build=""
    13 	build=""
    12 	host=""
    14 	host=""
    40 	enable_assert="1"
    42 	enable_assert="1"
    41 	enable_strip="1"
    43 	enable_strip="1"
    42 	enable_universal="1"
    44 	enable_universal="1"
    43 	enable_osx_g5="0"
    45 	enable_osx_g5="0"
    44 	enable_unicode="1"
    46 	enable_unicode="1"
       
    47 	with_distcc="1"
    45 	with_osx_sysroot="1"
    48 	with_osx_sysroot="1"
    46 	with_application_bundle="1"
    49 	with_application_bundle="1"
    47 	with_sdl="1"
    50 	with_sdl="1"
    48 	with_cocoa="1"
    51 	with_cocoa="1"
    49 	with_zlib="1"
    52 	with_zlib="1"
    57 	with_libtimidity="1"
    60 	with_libtimidity="1"
    58 	with_freetype="1"
    61 	with_freetype="1"
    59 	with_fontconfig="1"
    62 	with_fontconfig="1"
    60 	with_psp_config="1"
    63 	with_psp_config="1"
    61 
    64 
    62 	save_params_array="build host cc_build cc_host cxx_build cxx_host windres strip awk lipo os revision endian config_log prefix_dir binary_dir data_dir icon_dir personal_dir install_dir custom_lang_dir second_data_dir enable_install enable_debug enable_profiling enable_dedicated enable_network enable_static enable_translator enable_assert enable_strip with_osx_sysroot enable_universal enable_osx_g5 enable_unicode with_application_bundle with_sdl with_cocoa with_zlib with_png with_makedepend with_direct_music with_sort with_iconv with_midi with_midi_arg with_libtimidity with_freetype with_fontconfig with_psp_config CC CXX CFLAGS LDFLAGS"
    65 	save_params_array="build host cc_build cc_host cxx_build cxx_host windres strip awk lipo os revision endian config_log prefix_dir binary_dir data_dir icon_dir personal_dir install_dir custom_lang_dir second_data_dir enable_install enable_debug enable_profiling enable_dedicated enable_network enable_static enable_translator enable_assert enable_strip with_distcc with_osx_sysroot enable_universal enable_osx_g5 enable_unicode with_application_bundle with_sdl with_cocoa with_zlib with_png with_makedepend with_direct_music with_sort with_iconv with_midi with_midi_arg with_libtimidity with_freetype with_fontconfig with_psp_config CC CXX CFLAGS LDFLAGS"
    63 }
    66 }
    64 
    67 
    65 detect_params() {
    68 detect_params() {
    66 	# Walk over all params from the user and override any default settings if
    69 	# Walk over all params from the user and override any default settings if
    67 	#  needed. This also handles any invalid option.
    70 	#  needed. This also handles any invalid option.
   231 			--with-iconv=*)               with_iconv="$optarg";;
   234 			--with-iconv=*)               with_iconv="$optarg";;
   232 
   235 
   233 			--with-midi=*)                with_midi="$optarg";;
   236 			--with-midi=*)                with_midi="$optarg";;
   234 			--with-midi-arg=*)            with_midi_arg="$optarg";;
   237 			--with-midi-arg=*)            with_midi_arg="$optarg";;
   235 
   238 
       
   239 			--without-distcc)             with_distcc="0";;
       
   240 			--with-distcc)                with_distcc="2";;
       
   241 			--with-distcc=*)              with_distcc="$optarg";;
       
   242 
   236 			--without-osx-sysroot)        with_osx_sysroot="0";;
   243 			--without-osx-sysroot)        with_osx_sysroot="0";;
   237 			--with-osx-sysroot)           with_osx_sysroot="2";;
   244 			--with-osx-sysroot)           with_osx_sysroot="2";;
   238 			--with-osx-sysroot=*)         with_osx_sysroot="$optarg";;
   245 			--with-osx-sysroot=*)         with_osx_sysroot="$optarg";;
   239 
   246 
   240 			--without-application-bundle) with_application_bundle="0";;
   247 			--without-application-bundle) with_application_bundle="0";;
   301 	if [ -z "`echo $endian | egrep '^(AUTO|LE|BE)$'`" ]; then
   308 	if [ -z "`echo $endian | egrep '^(AUTO|LE|BE)$'`" ]; then
   302 		echo "configure: error: invalid option --endian=$endian"
   309 		echo "configure: error: invalid option --endian=$endian"
   303 		echo " Available options are: --endian=[AUTO|LE|BE]"
   310 		echo " Available options are: --endian=[AUTO|LE|BE]"
   304 		exit 1
   311 		exit 1
   305 	fi
   312 	fi
   306 	# OS only allows DETECT, UNIX, OSX, FREEBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
   313 	# OS only allows DETECT, UNIX, OSX, FREEBSD, OPENBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
   307 	if [ -z "`echo $os | egrep '^(DETECT|UNIX|OSX|FREEBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP)$'`" ]; then
   314 	if [ -z "`echo $os | egrep '^(DETECT|UNIX|OSX|FREEBSD|OPENBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP)$'`" ]; then
   308 		echo "configure: error: invalid option --os=$os"
   315 		echo "configure: error: invalid option --os=$os"
   309 		echo " Available options are: --os=[DETECT|UNIX|OSX|FREEBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP]"
   316 		echo " Available options are: --os=[DETECT|UNIX|OSX|FREEBSD|OPENBSD|MORPHOS|BEOS|SUNOS|CYGWIN|MINGW|OS2|WINCE|PSP]"
   310 		exit 1
   317 		exit 1
   311 	fi
   318 	fi
   312 	# enable_debug should be between 0 and 4
   319 	# enable_debug should be between 0 and 4
   313 	if [ -z "`echo $enable_debug | grep '^[0123]$'`" ]; then
   320 	if [ -z "`echo $enable_debug | grep '^[0123]$'`" ]; then
   314 		echo "configure: error: invalid option --enable-debug=$enable_debug"
   321 		echo "configure: error: invalid option --enable-debug=$enable_debug"
   508 	else
   515 	else
   509 		strip=""
   516 		strip=""
   510 		log 1 "checking stripping... skipped"
   517 		log 1 "checking stripping... skipped"
   511 	fi
   518 	fi
   512 
   519 
       
   520 	if [ "$with_distcc" = "0" ]; then
       
   521 		log 1 "checking distcc... no"
       
   522 	elif [ "$with_distcc" = "1" ]; then
       
   523 		with_distcc="0"
       
   524 
       
   525 		log 1 "checking distcc... no (only used when forced)"
       
   526 	elif [ "$with_distcc" = "2" ]; then
       
   527 		distcc="distcc"
       
   528 	else
       
   529 		distcc="$with_distcc"
       
   530 	fi
       
   531 	if [ "$with_distcc" != "0" ]; then
       
   532 		res="`$distcc --version 2>/dev/null | head -n 1 | cut -b 0-6`"
       
   533 		if [ "$res" != "distcc" ]; then
       
   534 			distcc=""
       
   535 			log 1 "checking distcc... no"
       
   536 			if [ "$with_distcc" = "2" ]; then
       
   537 				log 1 "configure: error: no distcc detected, but was forced to be used"
       
   538 				exit 1
       
   539 			fi
       
   540 			if [ "$with_distcc" != "1" ]; then
       
   541 				log 1 "configure: error: '$with_distcc' doesn't seem a distcc to me"
       
   542 				exit 1
       
   543 			fi
       
   544 		fi
       
   545 
       
   546 		log 1 "checking distcc... $distcc"
       
   547 	fi
       
   548 
   513 	if [ "$os" != "OSX" ] && [ "$with_osx_sysroot" != "0" ]; then
   549 	if [ "$os" != "OSX" ] && [ "$with_osx_sysroot" != "0" ]; then
   514 		if [ "$with_osx_sysroot" = "1" ]; then
   550 		if [ "$with_osx_sysroot" = "1" ]; then
   515 			with_osx_sysroot="0"
   551 			with_osx_sysroot="0"
   516 
   552 
   517 			log 1 "checking OSX sysroot... not OSX, skipping"
   553 			log 1 "checking OSX sysroot... not OSX, skipping"
   605 		if [ "$enable_osx_g5" != "0" ]; then
   641 		if [ "$enable_osx_g5" != "0" ]; then
   606 			log 1 "configure: error: OSX G5 selected, but not compiling for OSX"
   642 			log 1 "configure: error: OSX G5 selected, but not compiling for OSX"
   607 			log 1 "configure: error: either select OSX as OS, or deselect OSX G5"
   643 			log 1 "configure: error: either select OSX as OS, or deselect OSX G5"
   608 
   644 
   609 			exit 1
   645 			exit 1
       
   646 		fi
       
   647 	fi
       
   648 
       
   649 	if [ -n "$released_version" ]; then
       
   650 		log 1 "checking revision... release ($released_version)"
       
   651 		if [ -n "$revision" ] && [ "$revision" != "$released_version" ]; then
       
   652 			log 1 "WARNING: overriding of the revision is NOT possible for releases"
       
   653 			log 1 "WARNING: the given revision is IGNORED"
       
   654 
       
   655 			sleep 5
       
   656 		fi
       
   657 		revision=$released_version
       
   658 	else
       
   659 		if [ -n "$revision" ]; then
       
   660 			log 1 "checking revision... $revision"
       
   661 			log 1 "WARNING: we do not advise you to use this setting"
       
   662 			log 1 "WARNING: in most cases it is not safe for network use"
       
   663 			log 1 "WARNING: USE WITH CAUTION!"
       
   664 
       
   665 			sleep 5
       
   666 		elif [ -f "$ROOT_DIR/version" ]; then
       
   667 			revision="`cat $ROOT_DIR/version`"
       
   668 
       
   669 			log 1 "checking revision... $revision"
       
   670 		elif [ -d "$ROOT_DIR/.svn" ] && [ -n "`svn help`" ]; then
       
   671 			revision=""
       
   672 			log 1 "checking revision... svn detection"
       
   673 		elif [ -d "$ROOT_DIR/.git" ] && [ -n "`git help`" ]; then
       
   674 			revision=""
       
   675 			log 1 "checking revision... git detection"
       
   676 		else
       
   677 			revision=""
       
   678 			log 1 "checking revision... no detection"
       
   679 			log 1 "WARNING: there is no means to determine the version."
       
   680 			log 1 "WARNING: please use a subversion or git checkout of OpenTTD."
       
   681 			log 1 "WARNING: this version will be allowed by all game servers,"
       
   682 			log 1 "WARNING: but you will be kicked from all incompatible"
       
   683 			log 1 "WARNING: servers as you will desync."
       
   684 			log 1 "WARNING: USE WITH CAUTION!"
       
   685 
       
   686 			sleep 5
   610 		fi
   687 		fi
   611 	fi
   688 	fi
   612 }
   689 }
   613 
   690 
   614 make_cflags_and_ldflags() {
   691 make_cflags_and_ldflags() {
   707 		if [ $cc_version -ge 40 ]; then
   784 		if [ $cc_version -ge 40 ]; then
   708 			CFLAGS="$CFLAGS -fno-strict-aliasing"
   785 			CFLAGS="$CFLAGS -fno-strict-aliasing"
   709 		fi
   786 		fi
   710 	fi
   787 	fi
   711 
   788 
   712 	if [ "$os" != "CYGWIN" ] && [ "$os" != "FREEBSD" ] && [ "$os" != "MINGW" ] && [ "$os" != "MORPHOS" ] && [ "$os" != "OSX" ] && [ "$os" != "WINCE" ] && [ "$os" != "PSP" ]; then
   789 	if [ "$os" != "CYGWIN" ] && [ "$os" != "FREEBSD" ] && [ "$os" != "OPENBSD" ] && [ "$os" != "MINGW" ] && [ "$os" != "MORPHOS" ] && [ "$os" != "OSX" ] && [ "$os" != "WINCE" ] && [ "$os" != "PSP" ]; then
   713 		LIBS="$LIBS -lpthread"
   790 		LIBS="$LIBS -lpthread"
   714 		LIBS="$LIBS -lrt"
   791 		LIBS="$LIBS -lrt"
   715 	fi
   792 	fi
   716 
   793 
   717 	if [ "$os" != "CYGWIN" ] && [ "$os" != "MINGW" ] && [ "$os" != "WINCE" ]; then
   794 	if [ "$os" != "CYGWIN" ] && [ "$os" != "MINGW" ] && [ "$os" != "WINCE" ]; then
   729 	fi
   806 	fi
   730 
   807 
   731 	if [ "$os" = "MORPHOS" ]; then
   808 	if [ "$os" = "MORPHOS" ]; then
   732 		# -Wstrict-prototypes generates much noise because of system headers
   809 		# -Wstrict-prototypes generates much noise because of system headers
   733 		CFLAGS="$CFLAGS -Wno-strict-prototypes"
   810 		CFLAGS="$CFLAGS -Wno-strict-prototypes"
       
   811 	fi
       
   812 
       
   813 	if [ "$os" = "OPENBSD" ]; then
       
   814 		LIBS="$LIBS -pthread"
   734 	fi
   815 	fi
   735 
   816 
   736 	if [ "$os" = "OSX" ]; then
   817 	if [ "$os" = "OSX" ]; then
   737 		LDFLAGS="$LDFLAGS -framework Cocoa"
   818 		LDFLAGS="$LDFLAGS -framework Cocoa"
   738 		if [ "$enable_dedicated" = "0" ]; then
   819 		if [ "$enable_dedicated" = "0" ]; then
   743 	if [ "$os" = "BEOS" ]; then
   824 	if [ "$os" = "BEOS" ]; then
   744 		LIBS="$LIBS -lmidi -lbe"
   825 		LIBS="$LIBS -lmidi -lbe"
   745 	fi
   826 	fi
   746 
   827 
   747 	# Most targets act like UNIX, just with some additions
   828 	# Most targets act like UNIX, just with some additions
   748 	if [ "$os" = "BEOS" ] || [ "$os" = "OSX" ] || [ "$os" = "MORPHOS" ] || [ "$os" = "FREEBSD" ] || [ "$os" = "SUNOS" ] || [ "$os" = "OS2" ]; then
   829 	if [ "$os" = "BEOS" ] || [ "$os" = "OSX" ] || [ "$os" = "MORPHOS" ] || [ "$os" = "FREEBSD" ] || [ "$os" = "OPENBSD" ] || [ "$os" = "SUNOS" ] || [ "$os" = "OS2" ]; then
   749 		CFLAGS="$CFLAGS -DUNIX"
   830 		CFLAGS="$CFLAGS -DUNIX"
   750 	fi
   831 	fi
   751 	# And others like Windows
   832 	# And others like Windows
   752 	if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "WINCE" ]; then
   833 	if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "WINCE" ]; then
   753 		CFLAGS="$CFLAGS -DWIN"
   834 		CFLAGS="$CFLAGS -DWIN"
   925 		if [ -n "$icon_dir" ]; then
  1006 		if [ -n "$icon_dir" ]; then
   926 			CFLAGS="$CFLAGS -DICON_DIR=\\\\\"$prefix_dir/$icon_dir/\\\\\""
  1007 			CFLAGS="$CFLAGS -DICON_DIR=\\\\\"$prefix_dir/$icon_dir/\\\\\""
   927 		fi
  1008 		fi
   928 	fi
  1009 	fi
   929 
  1010 
   930 	if [ -n "$revision" ]; then
       
   931 		log 1 "checking revision... $revision"
       
   932 		log 1 "WARNING: we do not advise you to use this setting"
       
   933 		log 1 "WARNING: in most cases it is not safe for network use"
       
   934 		log 1 "WARNING: USE WITH CAUTION!"
       
   935 
       
   936 		sleep 5
       
   937 	elif [ -f "$ROOT_DIR/version" ]; then
       
   938 		revision="`cat $ROOT_DIR/version`"
       
   939 
       
   940 		log 1 "checking revision... $revision"
       
   941 	else
       
   942 		revision=""
       
   943 
       
   944 		log 1 "checking revision... svn detection"
       
   945 	fi
       
   946 
       
   947 	log 1 "using CFLAGS... $CFLAGS $CC_CFLAGS"
  1011 	log 1 "using CFLAGS... $CFLAGS $CC_CFLAGS"
   948 	log 1 "using LDFLAGS... $LIBS $LDFLAGS"
  1012 	log 1 "using LDFLAGS... $LIBS $LDFLAGS"
   949 
  1013 
   950 	# Makedepend doesn't like something like: -isysroot /OSX/blabla
  1014 	# Makedepend doesn't like something like: -isysroot /OSX/blabla
   951 	#  so convert it to: -isysroot -OSX/blabla. makedepend just ignores
  1015 	#  so convert it to: -isysroot -OSX/blabla. makedepend just ignores
   955 	#  not something we can control.
  1019 	#  not something we can control.
   956 	if [ "$with_makedepend" != "0" ]; then
  1020 	if [ "$with_makedepend" != "0" ]; then
   957 		cflags_makedep="` echo "$CFLAGS" | sed 's# /# -#g'`"
  1021 		cflags_makedep="` echo "$CFLAGS" | sed 's# /# -#g'`"
   958 	else
  1022 	else
   959 		makedepend=""
  1023 		makedepend=""
       
  1024 	fi
       
  1025 
       
  1026 	if [ "$with_distcc" != "0" ]; then
       
  1027 		cc_host="$distcc $cc_host"
       
  1028 		cxx_host="$distcc $cxx_host"
       
  1029 		log 1 ""
       
  1030 		log 1 " NOTICE: remind yourself to use 'make -jN' to make use of distcc"
       
  1031 		log 1 ""
   960 	fi
  1032 	fi
   961 }
  1033 }
   962 
  1034 
   963 check_compiler() {
  1035 check_compiler() {
   964 	# Params:
  1036 	# Params:
  1237 	log 1 "checking awk... $awk"
  1309 	log 1 "checking awk... $awk"
  1238 }
  1310 }
  1239 
  1311 
  1240 detect_os() {
  1312 detect_os() {
  1241 	if [ "$os" = "DETECT" ]; then
  1313 	if [ "$os" = "DETECT" ]; then
  1242 		# Detect UNIX, OSX, FREEBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
  1314 		# Detect UNIX, OSX, FREEBSD, OPENBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP
  1243 
  1315 
  1244 		# Try first via dumpmachine, then via uname
  1316 		# Try first via dumpmachine, then via uname
  1245 		os=`echo "$host" | tr '[A-Z]' '[a-z]' | $awk '
  1317 		os=`echo "$host" | tr '[A-Z]' '[a-z]' | $awk '
  1246 					/linux/        { print "UNIX";    exit}
  1318 					/linux/        { print "UNIX";    exit}
  1247 					/darwin/       { print "OSX";     exit}
  1319 					/darwin/       { print "OSX";     exit}
  1248 					/freebsd/      { print "FREEBSD"; exit}
  1320 					/freebsd/      { print "FREEBSD"; exit}
       
  1321 					/openbsd/      { print "OPENBSD"; exit}
  1249 					/morphos/      { print "MORPHOS"; exit}
  1322 					/morphos/      { print "MORPHOS"; exit}
  1250 					/beos/         { print "BEOS";    exit}
  1323 					/beos/         { print "BEOS";    exit}
  1251 					/sunos/        { print "SUNOS";   exit}
  1324 					/sunos/        { print "SUNOS";   exit}
  1252 					/solaris/      { print "SUNOS";   exit}
  1325 					/solaris/      { print "SUNOS";   exit}
  1253 					/cygwin/       { print "CYGWIN";  exit}
  1326 					/cygwin/       { print "CYGWIN";  exit}
  1260 		if [ -z "$os" ]; then
  1333 		if [ -z "$os" ]; then
  1261 			os=`LC_ALL=C uname | tr '[A-Z]' '[a-z]' | $awk '
  1334 			os=`LC_ALL=C uname | tr '[A-Z]' '[a-z]' | $awk '
  1262 					/linux/        { print "UNIX";    exit}
  1335 					/linux/        { print "UNIX";    exit}
  1263 					/darwin/       { print "OSX";     exit}
  1336 					/darwin/       { print "OSX";     exit}
  1264 					/freebsd/      { print "FREEBSD"; exit}
  1337 					/freebsd/      { print "FREEBSD"; exit}
       
  1338 					/openbsd/      { print "OPENBSD"; exit}
  1265 					/morphos/      { print "MORPHOS"; exit}
  1339 					/morphos/      { print "MORPHOS"; exit}
  1266 					/beos/         { print "BEOS";    exit}
  1340 					/beos/         { print "BEOS";    exit}
  1267 					/sunos/        { print "SUNOS";   exit}
  1341 					/sunos/        { print "SUNOS";   exit}
  1268 					/cygwin/       { print "CYGWIN";  exit}
  1342 					/cygwin/       { print "CYGWIN";  exit}
  1269 					/mingw/        { print "MINGW";   exit}
  1343 					/mingw/        { print "MINGW";   exit}
  1271 			'`
  1345 			'`
  1272 		fi
  1346 		fi
  1273 
  1347 
  1274 		if [ -z "$os" ]; then
  1348 		if [ -z "$os" ]; then
  1275 			log 1 "detecting OS... none detected"
  1349 			log 1 "detecting OS... none detected"
  1276 			log 1 "I couldn't detect your OS. Please use --with-os=OS to force one"
  1350 			log 1 "I couldn't detect your OS. Please use --os=OS to force one"
  1277 			log 1 "Allowed values are: UNIX, OSX, FREEBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP"
  1351 			log 1 "Allowed values are: UNIX, OSX, FREEBSD, OPENBSD, MORPHOS, BEOS, SUNOS, CYGWIN, MINGW, OS2, WINCE, and PSP"
  1278 			exit 1
  1352 			exit 1
  1279 		fi
  1353 		fi
  1280 
  1354 
  1281 		log 1 "detecting OS... $os"
  1355 		log 1 "detecting OS... $os"
  1282 	else
  1356 	else
  1860 		s#!!CONFIGURE_FILES!!#$CONFIGURE_FILES#g;
  1934 		s#!!CONFIGURE_FILES!!#$CONFIGURE_FILES#g;
  1861 		s#!!REVISION!!#$revision#g;
  1935 		s#!!REVISION!!#$revision#g;
  1862 		s#!!AWK!!#$awk#g;
  1936 		s#!!AWK!!#$awk#g;
  1863 		s#!!GCC295!!#$gcc295#g;
  1937 		s#!!GCC295!!#$gcc295#g;
  1864 		s#!!ENABLE_INSTALL!!#$enable_install#g;
  1938 		s#!!ENABLE_INSTALL!!#$enable_install#g;
       
  1939 		s#!!DISTCC!!#$distcc#g;
  1865 	"
  1940 	"
  1866 }
  1941 }
  1867 
  1942 
  1868 generate_main() {
  1943 generate_main() {
  1869 	STAGE="[MAIN]"
  1944 	STAGE="[MAIN]"
  1958 	echo "  --windres=WINDRES              the windres to use [HOST-windres]"
  2033 	echo "  --windres=WINDRES              the windres to use [HOST-windres]"
  1959 	echo "  --strip=STRIP                  the strip to use [HOST-strip]"
  2034 	echo "  --strip=STRIP                  the strip to use [HOST-strip]"
  1960 	echo "  --awk=AWK                      the awk to use in configure [awk]"
  2035 	echo "  --awk=AWK                      the awk to use in configure [awk]"
  1961 	echo "  --lipo=LIPO                    the lipo to use (OSX ONLY) [HOST-lipo]"
  2036 	echo "  --lipo=LIPO                    the lipo to use (OSX ONLY) [HOST-lipo]"
  1962 	echo "  --os=OS                        the OS we are compiling for [DETECT]"
  2037 	echo "  --os=OS                        the OS we are compiling for [DETECT]"
  1963 	echo "                                 DETECT/UNIX/OSX/FREEBSD/MORPHOS/BEOS/"
  2038 	echo "                                 DETECT/UNIX/OSX/FREEBSD/OPENBSD/MORPHOS/"
  1964 	echo "                                 SUNOS/CYGWIN/MINGW/OS2/WINCE/PSP"
  2039 	echo "                                 BEOS/SUNOS/CYGWIN/MINGW/OS2/WINCE/PSP"
  1965 	echo "  --endian=ENDIAN                set the endian of the HOST (AUTO/LE/BE)"
  2040 	echo "  --endian=ENDIAN                set the endian of the HOST (AUTO/LE/BE)"
  1966 	echo "  --revision=rXXXX               overwrite the revision detection."
  2041 	echo "  --revision=rXXXX               overwrite the revision detection."
  1967 	echo "                                 Use with care!"
  2042 	echo "                                 Use with care!"
  1968 	echo ""
  2043 	echo ""
  1969 	echo "Paths:"
  2044 	echo "Paths:"