#992930 In the "mutt -v" output, the "Configure options" line is incorrect with GNU Autoconf 2.71

Package:
mutt
Source:
mutt
Description:
text-based mailreader supporting MIME, GPG, PGP and threading
Submitter:
Vincent Lefevre
Date:
2022-06-13 07:45:14 UTC
Severity:
minor
Tags:
#992930#5
Date:
2021-08-25 08:32:17 UTC
From:
To:
When I rebuild Mutt with GNU Autoconf 2.71 (in Debian/unstable),
the "mutt -v" output is slightly incorrect. It contains:

Configure options: '--build=x86_64-linux-gnu --prefix=/usr '\''--includedir=${prefix}/include'\'' '\''--mandir=${prefix}/share/man'\'' '\''--infodir=${prefix}/share/info'\'' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '\''--libdir=${prefix}/lib/x86_64-linux-gnu'\'' --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --with-mailpath=/var/mail --enable-compressed --enable-debug --enable-fcntl --enable-hcache --enable-gpgme --enable-imap --enable-smtp --enable-pop --enable-sidebar --enable-dotlock --disable-fmemopen --with-curses --with-gnutls --with-gss --with-idn2 --with-mixmaster --with-sasl --without-gdbm --without-bdb --without-qdbm --with-tokyocabinet build_alias=x86_64-linux-gnu '\''CFLAGS=-g -O2 -ffile-prefix-map=/home/vinc17/tmp/mutt-2.0.5=. -fstack-protector-strong -Wformat -Werror=format-security'\'' '\''LDFLAGS=-Wl,-z,relro -Wl,-z,now'\'' '\''CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'\'''

(see the quotes). This is due to the fact that GNU Autoconf 2.71
replaced double-quotes by single-quotes for the quoting in the
"ac_cs_config=" line of config.status, and Makefile.am expects
the old syntax. My patch

https://gitlab.com/muttmua/mutt/-/commit/67c16b7cbbe793bd888648618beeb1f3aab0db00

(also attached) fixes this issue and gives:

Configure options: --build=x86_64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu' --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking --with-mailpath=/var/mail --enable-compressed --enable-debug --enable-fcntl --enable-hcache --enable-gpgme --enable-imap --enable-smtp --enable-pop --enable-sidebar --enable-dotlock --disable-fmemopen --with-curses --with-gnutls --with-gss --with-idn2 --with-mixmaster --with-sasl --without-gdbm --without-bdb --without-qdbm --with-tokyocabinet build_alias=x86_64-linux-gnu 'CFLAGS=-g -O2 -ffile-prefix-map=/home/vinc17/tmp/mutt-2.0.5=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'

#992930#10
Date:
2022-05-06 20:52:05 UTC
From:
To:
Fixed upstream in commit
<https://gitlab.com/muttmua/mutt/-/commit/67c16b7cbbe793bd888648618beeb1f3aab0db00>
(by the ticket reporter) and released in Mutt version 2.2.0.