changeset 22066:364154fec052

Unification of parameter handling part 3 of many: Merge --help into general parameter handling.
author diego
date Tue, 30 Jan 2007 23:35:52 +0000
parents e0af0e2355a5
children ff1a692bb32c
files configure
diffstat 1 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Jan 30 23:33:25 2007 +0000
+++ b/configure	Tue Jan 30 23:35:52 2007 +0000
@@ -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`
     ;;