[PATCH 1 of 1] configure: silently ignore auto-stuff options --build --host and friends
Anthony G. Basile
basile@opensource.dyc.edu
Sun Jan 17 17:01:00 GMT 2010
# HG changeset patch
# User blueness@yellowness.dis
# Date 1263747473 18000
# Node ID 3dd3b62799855a024923537d926ddf6f3b996ccd
# Parent 4baa6a9f6415e7ddc770de29a140993124279b58
configure: silently ignore auto-stuff options --build --host and friends
diff -r 4baa6a9f6415 -r 3dd3b6279985 configure
--- a/configure Fri Jan 15 22:21:12 2010 +0100
+++ b/configure Sun Jan 17 11:57:53 2010 -0500
@@ -257,6 +257,9 @@
--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
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list