1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-16 11:09:11 +00:00

(svn r13792) -Codechange: Display current values of the options in ./configre --help instead of static strings

This commit is contained in:
skidd13
2008-07-22 22:44:41 +00:00
parent 9db4ea6230
commit 317207ce0c
2 changed files with 16 additions and 10 deletions

6
configure vendored
View File

@@ -43,9 +43,15 @@ if [ "$1" = "--reconfig" ] || [ "$1" = "--reconfigure" ]; then
exit $?
fi
export SHOW_HELP="0"
set_default
detect_params "$@"
check_params
if [ "$SHOW_HELP" != "0" ]; then
showhelp
exit 0
fi
save_params
make_cflags_and_ldflags