configure: more autostuff compatibility

Ignore --program-prefix=...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
Yann E. MORIN" 2011-08-09 22:10:57 +02:00
parent 734a7f018a
commit e83c7dc21f

2
configure vendored
View File

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