Changeset - r8269:51e2738942b3
[Not reviewed]
master
0 1 0
bjarni - 17 years ago 2008-01-13 13:53:53
bjarni@openttd.org
(svn r11833) -Cleanup: changed save_params_array into one item for each line in config.lib
This should increase readability and conflict solving
1 file changed with 56 insertions and 1 deletions:
0 comments (0 inline, 0 general)
config.lib
Show inline comments
 
@@ -62,13 +62,68 @@ set_default() {
 
	with_fontconfig="1"
 
	with_psp_config="1"
 
	with_threads="1"
 
	with_distcc="1"
 
	with_ccache="1"
 

	
 
	save_params_array="build host cc_build cc_host cxx_build cxx_host windres strip lipo awk os endian cpu_type revision config_log prefix_dir binary_dir data_dir icon_dir personal_dir install_dir enable_debug enable_desync_debug enable_profiling enable_dedicated enable_network enable_static enable_translator enable_unicode enable_assert enable_strip enable_universal enable_osx_g5 enable_cocoa_quartz enable_cocoa_quickdraw with_osx_sysroot 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 with_threads with_distcc with_ccache CC CXX CFLAGS LDFLAGS"
 
	save_params_array="
 
		build
 
		host
 
		cc_build
 
		cc_host
 
		cxx_build
 
		cxx_host
 
		windres
 
		strip
 
		lipo
 
		awk
 
		os
 
		endian
 
		cpu_type
 
		revision
 
		config_log
 
		prefix_dir
 
		binary_dir
 
		data_dir
 
		icon_dir
 
		personal_dir
 
		install_dir
 
		enable_debug
 
		enable_desync_debug
 
		enable_profiling
 
		enable_dedicated
 
		enable_network
 
		enable_static
 
		enable_translator
 
		enable_unicode
 
		enable_assert
 
		enable_strip
 
		enable_universal
 
		enable_osx_g5
 
		enable_cocoa_quartz
 
		enable_cocoa_quickdraw
 
		with_osx_sysroot
 
		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
 
		with_threads
 
		with_distcc
 
		with_ccache
 
	CC CXX CFLAGS LDFLAGS"
 
}
 

	
 
detect_params() {
 
	# Walk over all params from the user and override any default settings if
 
	#  needed. This also handles any invalid option.
 
	for p in "$@"; do
0 comments (0 inline, 0 general)