On 24 November 2011 11:53, Max Filippov <[email protected]> wrote:
> + --sbindir=*)
> + ;;
> + --libexecdir=*)
> + ;;
> + --sharedstatedir=*)
> + ;;
You can combine these all into one case, like this:
--sbindir=*|--libexecdir=*|--sharedstatedir=*|--localstatedir=*|\
--oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\
--htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*)
# These switches are silently ignored, for compatibility with
# autoconf-generated configure scripts. This allows QEMU's
# configure to be used by RPM and similar macros that set
# lots of directory switches by default.
;;
(also please include the comment as rationale in the configure
script).
-- PMM