Previously ./configure --prefix=/foo --help didn't show the help-text
Unified · Split
| @@ -130,6 +130,8 @@ for opt do · 129 unmodified lines | |||
| 130 | ;; | 130 | ;; |
| 131 | --with-libgcc) use_libgcc="yes" | 131 | --with-libgcc) use_libgcc="yes" |
| 132 | ;; | 132 | ;; |
| 133 | --help|-h) show_help="yes" | ||
| 134 | ;; | ||
| 133 | esac | 135 | esac |
| 134 | done | 136 | done |
| 135 | 137 | ||
| @@ -203,7 +205,7 @@ if $cc -o $TMPO $TMPC 2> /dev/null ; then · 67 unmodified lines | |||
| 203 | gcc_major="4" | 205 | gcc_major="4" |
| 204 | fi | 206 | fi |
| 205 | 207 | ||
| 206 | if test x"$1" = x"-h" -o x"$1" = x"--help" ; then | 208 | if test x"$show_help" = "xyes" ; then |
| 207 | cat << EOF | 209 | cat << EOF |
| 208 | 210 | ||
| 209 | Usage: configure [options] | 211 | Usage: configure [options] |