[sr #111388] autoreconf runs autoheader even on hand-maintained config.h.in

Ross Burton <[email protected]> Tue, 24 Feb 2026 11:11:43 -0500 (EST)
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
--8323329-1714636915-1771949503=:2382414
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

URL:=0A  <https://savannah.gnu.org/support/?111388>=0A=0A                 S=
ummary: autoreconf runs autoheader even on hand-maintained=0Aconfig.h.in=0A=
                   Group: Autoconf=0A               Submitter: rossburton=
=0A               Submitted: Tue 24 Feb 2026 04:11:38 PM UTC=0A            =
    Priority: 5 - Unprioritized=0A                Severity: 3 - Normal=0A  =
                Status: None=0A                 Privacy: Public=0A         =
    Assigned to: None=0A        Originator Email:=0A             Open/Close=
d: Open=0A         Discussion Lock: Unlocked=0A        Operating System: No=
ne=0A=0A=0A    _______________________________________________________=0A=
=0AFollow-up Comments:=0A=0A=0A--------------------------------------------=
-----------=0ADate: Tue 24 Feb 2026 04:11:38 PM UTC By: Ross Burton <rossbu=
rton>=0AIf I run autoreconf on a repository with a hand-maintained aclocal.=
m4 then=0Aaclocal will notice this and not run.=0A=0AHowever, if a reposito=
ry has a hand-maintained config.h.in then autoreconf=0Awill run autoheader =
which then complains.=0A=0AFor example, GNU readline uses autoconf but not =
automake/aclocal/autoheaders:=0A=0A=0A$ autoreconf  -v=0Aautoreconf: export=
 WARNINGS=3D=0Aautoreconf: Entering directory '.'=0Aautoreconf: configure.a=
c: not using Gettext=0Aautoreconf: configure.ac: not using aclocal=0Aautore=
conf: configure.ac: tracing=0Aautoreconf: configure.ac: not using Libtool=
=0Aautoreconf: configure.ac: not using Intltool=0Aautoreconf: configure.ac:=
 not using Gtkdoc=0Aautoreconf: running: /usr/bin/autoconf=0Aautoreconf: ru=
nning: /usr/bin/autoheader=0Aautoheader: warning: missing template: FIONREA=
D_IN_SYS_IOCTL=0Aautoheader: warning: Use AC_DEFINE([FIONREAD_IN_SYS_IOCTL]=
, [],=0A[Description])=0Aautoheader: warning: missing template: HAVE_BSD_SI=
GNALS=0Aautoheader: warning: missing template: HAVE_GETPW_DECLS=0Aautoheade=
r: warning: missing template: HAVE_MBRLEN=0A...=0Aautoreconf: error: /usr/b=
in/autoheader failed with exit status: 1=0A=0A=0A=0A=0A=0A=0A=0A=0A=0A    _=
______________________________________________________=0A=0AReply to this i=
tem at:=0A=0A  <https://savannah.gnu.org/support/?111388>=0A=0A____________=
___________________________________=0AMessage sent via Savannah=0Ahttps://s=
avannah.gnu.org/=0A
--8323329-1714636915-1771949503=:2382414
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaZ3NvwAKCRCqLAuaBUf3
TjpNAP9UDBCnG+rqvXqd/kde1XeNK0ydPPNOVjhSKCSzWZBuAwD/TWR2ziKXI3TD
uW9gUuF+V5TwZf3Fn8Fva7sczLOVWg0=
=L0ki
-----END PGP SIGNATURE-----

--8323329-1714636915-1771949503=:2382414--