summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2008-07-22 22:44:41 +0000
committerskidd13 <skidd13@openttd.org>2008-07-22 22:44:41 +0000
commit317207ce0c7abeebcc2a6e50e2e5607b5003737f (patch)
tree8e593a105bbec9460cc7f7e6cc234f3a31e868a4 /configure
parent9db4ea623042200a3ab3c93c76aa5ddbc868cec8 (diff)
downloadopenttd-317207ce0c7abeebcc2a6e50e2e5607b5003737f.tar.xz
(svn r13792) -Codechange: Display current values of the options in ./configre --help instead of static strings
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index c7e25963f..5d01778b8 100755
--- a/configure
+++ b/configure
@@ -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