diff --git a/configure.ac b/configure.ac
index bf45df587eedf882c1f27b1d0a2ea6ec0780a651..39c81332690cb86ee6a50d98bdfefff2cf1c928b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1776,5 +1776,5 @@ dnl Local Variables:
 dnl comment-start: "dnl "
 dnl comment-end: ""
 dnl comment-start-skip: "\\bdnl\\b\\s *"
-dnl compile-command: "autoconf"
+dnl compile-command: "autoconf && autoheader"
 dnl End: