From 2a5d4242886f124b08fe022e2fe416c35ac2ec95 Mon Sep 17 00:00:00 2001 From: blueness Date: Sun, 17 Jan 2010 11:57:53 -0500 Subject: configure: silently ignore auto-stuff options --build --host and friends diff --git a/configure b/configure index 8bcaf0e..c7768c4 100755 --- a/configure +++ b/configure @@ -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 -- cgit v0.10.2-6-g49f6