diff options
author | blueness <blueness@yellowness.dis> | 2010-01-17 16:57:53 (GMT) |
---|---|---|
committer | blueness <blueness@yellowness.dis> | 2010-01-17 16:57:53 (GMT) |
commit | 2a5d4242886f124b08fe022e2fe416c35ac2ec95 (patch) | |
tree | 19663639a6337f9fca6ea00c3a93edd5becc03ea | |
parent | 2e04c720dd78cba13eb11662417c20c0fd0bbb00 (diff) |
configure: silently ignore auto-stuff options --build --host and friends
-rwxr-xr-x | configure | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -257,6 +257,9 @@ while [ $# -ne 0 ]; do --with-*) set_tool "$1" "$2" && shift || shift 2;; --force) FORCE=1; shift;; --help|-h) do_help; exit 0;; + # Skip, auto-stuff compatibility + --build=*|--host=*|--infodir=*|--datadir=*|--sysconfdir=*|--localstatedir=*) shift;; + --build|--host|--infodir|--datadir|--sysconfdir|--localstatedir) shift 2;; *) printf "Unrecognised option: '${1}'\n"; do_help; exit 1;; esac done |