configure: add yet a bit more of autostuff compatibility

Well, at least it helps buildroot! :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2011-07-14 17:59:33 +02:00
parent e6c749113f
commit 8be2754464

1
configure vendored
View File

@ -347,6 +347,7 @@ while [ $# -ne 0 ]; do
# Skip, auto-stuff compatibility
--build=*|--host=*|--infodir=*|--datadir=*|--sysconfdir=*|--localstatedir=*) shift;;
--build|--host|--infodir|--datadir|--sysconfdir|--localstatedir) shift 2;;
--enable-shared|--disable-shared|--enable-static|--disable-static) shift;;
*) printf "Unrecognised option: '${1}'\n"; do_help; exit 1;;
esac
done