[MPlayer-cvslog] r22084 - trunk/configure

diego subversion at mplayerhq.hu
Wed Jan 31 00:35:52 CET 2007


Author: diego
Date: Wed Jan 31 00:35:52 2007
New Revision: 22084

Modified:
   trunk/configure

Log:
Unification of parameter handling part 3 of many:
Merge --help into general parameter handling.


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Jan 31 00:35:52 2007
@@ -448,13 +448,6 @@
 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 @@
 _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`
     ;;



More information about the MPlayer-cvslog mailing list