mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
configure: Add stub support for --build=<cpu>-<vendor>-<host> option.
I'm not sure that this option would actually be useful for anything, but debhelper at least expects our configure script to support it. So we'll accept it and ignore it.
This commit is contained in:
parent
1ddf40f664
commit
a3c9dfe4fa
1 changed files with 21 additions and 0 deletions
21
configure
vendored
21
configure
vendored
|
@ -69,6 +69,11 @@ Fine tuning of some installation directories is available:
|
|||
|
||||
--libdir=DIR Install libraries in LIBDIR [PREFIX/lib]
|
||||
|
||||
Additional options are accepted for compatibility with other
|
||||
configure-script calling conventions, but don't do anything yet:
|
||||
|
||||
--build=<cpu>-<vendor>-<os> Currently ignored
|
||||
|
||||
EOF
|
||||
}
|
||||
|
||||
|
@ -81,6 +86,22 @@ for option; do
|
|||
PREFIX="${option#*=}"
|
||||
elif [ "${option%%=*}" = '--libdir' ] ; then
|
||||
LIBDIR="${option#*=}"
|
||||
elif [ "${option%%=*}" = '--build' ] ; then
|
||||
build_option="${option#*=}"
|
||||
case ${build_option} in
|
||||
*-*-*) ;;
|
||||
*)
|
||||
echo "Unrecognized value for --build option: ${build_option}"
|
||||
echo "Should be: <cpu>-<vendor>-<os>"
|
||||
echo "See:"
|
||||
echo " $0 --help"
|
||||
echo ""
|
||||
exit 1
|
||||
esac
|
||||
build_cpu=${build_option%%-*}
|
||||
build_option=${build_option#*-}
|
||||
build_vendor=${build_option%%-*}
|
||||
build_os=${build_option#*-}
|
||||
else
|
||||
echo "Unrecognized option: ${option}."
|
||||
echo "See:"
|
||||
|
|
Loading…
Reference in a new issue