Makefile.pre.in (autoconf): Call autoconf/autoheader with -Wall (issue #8510).
diff --git a/Makefile.pre.in b/Makefile.pre.in
index a5e8787..745c4a7 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1140,8 +1140,8 @@
 
 # Rebuild the configure script from configure.in; also rebuild pyconfig.h.in
 autoconf:
-	(cd $(srcdir); autoconf)
-	(cd $(srcdir); autoheader)
+	(cd $(srcdir); autoconf -Wall)
+	(cd $(srcdir); autoheader -Wall)
 
 # Create a tags file for vi
 tags::