configure: silently ignore auto-stuff options --build --host and friends
authorblueness@yellowness.dis
Sun Jan 17 11:57:53 2010 -0500 (2010-01-17)
changeset 17393dd3b6279985
parent 1738 4baa6a9f6415
child 1740 c57458bb354d
configure: silently ignore auto-stuff options --build --host and friends
configure
     1.1 --- a/configure	Fri Jan 15 22:21:12 2010 +0100
     1.2 +++ b/configure	Sun Jan 17 11:57:53 2010 -0500
     1.3 @@ -257,6 +257,9 @@
     1.4          --with-*)   set_tool   "$1" "$2" && shift || shift 2;;
     1.5          --force)    FORCE=1; shift;;
     1.6          --help|-h)  do_help; exit 0;;
     1.7 +        # Skip, auto-stuff compatibility
     1.8 +        --build=*|--host=*|--infodir=*|--datadir=*|--sysconfdir=*|--localstatedir=*) shift;;
     1.9 +        --build|--host|--infodir|--datadir|--sysconfdir|--localstatedir)             shift 2;;
    1.10          *)          printf "Unrecognised option: '${1}'\n"; do_help; exit 1;;
    1.11      esac
    1.12  done