Re: [PATCH] configure: Ignore more options that Fedora spec macros expect

Subject: Re: [PATCH] configure: Ignore more options that Fedora spec macros expect

Date: Tue, 11 Jan 2022 21:17:22 +0200

To: michaeljgruber+grubix+git@gmail.com, notmuch@notmuchmail.org

Cc: Michael J Gruber

From: Tomi Ollila


On Tue, Jan 11 2022, michaeljgruber wrote:

> From: Michael J Gruber <git@grubix.eu>
>
> Signed-off-by: Michael J Gruber <git@grubix.eu>
> ---

LGTM.

Tomi


> This allows the Fedora packager to use the standard Fedora packaging
> macros rather than a hand-tailored configure call.
>
> [Sorry for resend, my mails don't seem to get through, again.]
>
>  configure | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>
> diff --git a/configure b/configure
> index e7bb7edc..9e45cbe6 100755
> --- a/configure
> +++ b/configure
> @@ -312,12 +312,22 @@ for option; do
>  	true
>      elif [ "${option%%=*}" = '--host' ] ; then
>  	true
> +    elif [ "${option%%=*}" = '--bindir' ] ; then
> +	true
> +    elif [ "${option%%=*}" = '--sbindir' ] ; then
> +	true
>      elif [ "${option%%=*}" = '--datadir' ] ; then
>  	true
>      elif [ "${option%%=*}" = '--localstatedir' ] ; then
>  	true
> +    elif [ "${option%%=*}" = '--sharedstatedir' ] ; then
> +	true
>      elif [ "${option%%=*}" = '--libexecdir' ] ; then
>  	true
> +    elif [ "${option%%=*}" = '--exec-prefix' ] ; then
> +	true
> +    elif [ "${option%%=*}" = '--program-prefix' ] ; then
> +	true
>      elif [ "${option}" = '--disable-maintainer-mode' ] ; then
>  	true
>      elif [ "${option}" = '--disable-dependency-tracking' ] ; then
> -- 
> 2.34.1.653.g3264c0b0fb
>
> _______________________________________________
> notmuch mailing list -- notmuch@notmuchmail.org
> To unsubscribe send an email to notmuch-leave@notmuchmail.org
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: