summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-30 23:35:52 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-01-30 23:35:52 +0000
commit885146afc9fceedfe99b2965c0a3b18783bd8370 (patch)
treec69ab496235e359c521fa6e08112504f9b5d385f /configure
parent6ebda2b02966763d9e0acd2348d913236cecd9e5 (diff)
downloadmpv-885146afc9fceedfe99b2965c0a3b18783bd8370.tar.bz2
mpv-885146afc9fceedfe99b2965c0a3b18783bd8370.tar.xz
Unification of parameter handling part 3 of many:
Merge --help into general parameter handling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22084 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 3 insertions, 7 deletions
diff --git a/configure b/configure
index 9f47aa4e17..cd928a54bb 100755
--- a/configure
+++ b/configure
@@ -448,13 +448,6 @@ EOF
exit 0
} #show_help()
-for parm in "$@" ; do
- case $parm in
- --help|-help|-h)
- show_help
- esac
-done
-
# GOTCHA: the variables below defines the default behavior for autodetection
# and have - unless stated otherwise - at least 2 states : yes no
# If autodetection is available then the third state is: auto
@@ -652,6 +645,9 @@ _asmalign_pot=auto
_color_console=no
for ac_option do
case "$ac_option" in
+ --help|-help|-h)
+ show_help
+ ;;
--target=*)
_target=`echo $ac_option | cut -d '=' -f 2`
;;