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'