configure
branchNewGRF_ports
changeset 6720 35756db7e577
parent 6713 f59d6b98050c
child 6732 ca1b466db422
equal deleted inserted replaced
6719:4cc327ad39d5 6720:35756db7e577
    43 	exit $?
    43 	exit $?
    44 fi
    44 fi
    45 
    45 
    46 set_default
    46 set_default
    47 detect_params "$@"
    47 detect_params "$@"
       
    48 check_params
    48 save_params
    49 save_params
    49 check_params
       
    50 make_cflags_and_ldflags
    50 make_cflags_and_ldflags
    51 
    51 
    52 EXE=""
    52 EXE=""
    53 if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "OS2" ] || [ "$os" = "WINCE" ]; then
    53 if [ "$os" = "MINGW" ] || [ "$os" = "CYGWIN" ] || [ "$os" = "OS2" ] || [ "$os" = "WINCE" ]; then
    54 	EXE=".exe"
    54 	EXE=".exe"
    81 		if (deep != skip) { deep += 1; next; }
    81 		if (deep != skip) { deep += 1; next; }
    82 
    82 
    83 		deep += 1;
    83 		deep += 1;
    84 
    84 
    85 		if ($0 == "SDL"         && "'$sdl_config'" == "")          { next; }
    85 		if ($0 == "SDL"         && "'$sdl_config'" == "")          { next; }
       
    86 		if ($0 == "PNG"         && "'$png_config'" == "")          { next; }
    86 		if ($0 == "OSX"         && "'$os'" != "OSX")               { next; }
    87 		if ($0 == "OSX"         && "'$os'" != "OSX")               { next; }
    87 		if ($0 == "OS2"         && "'$os'" != "OS2")               { next; }
    88 		if ($0 == "OS2"         && "'$os'" != "OS2")               { next; }
    88 		if ($0 == "PSP"         && "'$os'" != "PSP")               { next; }
    89 		if ($0 == "PSP"         && "'$os'" != "PSP")               { next; }
    89 		if ($0 == "DEDICATED"   && "'$enable_dedicated'" != "1")   { next; }
    90 		if ($0 == "DEDICATED"   && "'$enable_dedicated'" != "1")   { next; }
    90 		if ($0 == "COCOA"       && "'$with_cocoa'" == "0")         { next; }
    91 		if ($0 == "COCOA"       && "'$with_cocoa'" == "0")         { next; }