mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 04:47:52 +00:00
configure: silently ignore auto-stuff options --build --host and friends
This commit is contained in:
parent
2e04c720dd
commit
2a5d424288
3
configure
vendored
3
configure
vendored
@ -257,6 +257,9 @@ while [ $# -ne 0 ]; do
|
|||||||
--with-*) set_tool "$1" "$2" && shift || shift 2;;
|
--with-*) set_tool "$1" "$2" && shift || shift 2;;
|
||||||
--force) FORCE=1; shift;;
|
--force) FORCE=1; shift;;
|
||||||
--help|-h) do_help; exit 0;;
|
--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;;
|
*) printf "Unrecognised option: '${1}'\n"; do_help; exit 1;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user