From 885146afc9fceedfe99b2965c0a3b18783bd8370 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 30 Jan 2007 23:35:52 +0000 Subject: 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 --- configure | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'configure') 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` ;; -- cgit v1.2.3