-dnl Include the M4 macros we use.
-builtin(include, [m4/wget.m4])dnl
-builtin(include, [m4/lib-ld.m4])dnl
-builtin(include, [m4/lib-link.m4])dnl
-builtin(include, [m4/lib-prefix.m4])dnl
+# Make configure depend on the VERSION file, since it's used in AC_INIT
+AC_SUBST([CONFIGURE_DEPENDENCIES], ['$(top_srcdir)/src/version.c'])