diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2009-09-01 11:24:58 +0200 |
|---|---|---|
| committer | grischka <grischka> | 2009-12-01 17:59:29 +0100 |
| commit | d2e125186fb0e6231429576fd9b77aae69fd41f2 (patch) | |
| tree | f308ea75f4c1e5ad986d0a88cfceedf7095aaab7 /configure | |
| parent | 55cb2170cd5ce77a7d76dcaf462fad2707281605 (diff) | |
| download | tinycc-d2e125186fb0e6231429576fd9b77aae69fd41f2.tar.gz tinycc-d2e125186fb0e6231429576fd9b77aae69fd41f2.tar.bz2 | |
improve handling of --help
Previously ./configure --prefix=/foo --help didn't show the help-text
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -130,6 +130,8 @@ for opt do ;; --with-libgcc) use_libgcc="yes" ;; + --help|-h) show_help="yes" + ;; esac done @@ -203,7 +205,7 @@ if $cc -o $TMPO $TMPC 2> /dev/null ; then gcc_major="4" fi -if test x"$1" = x"-h" -o x"$1" = x"--help" ; then +if test x"$show_help" = "xyes" ; then cat << EOF Usage: configure [options] |
