Hello Tzu-Chien, * Tzu-Chien Chiu wrote on Fri, Jul 28, 2006 at 07:49:38AM CEST: > > I have a strange problem on cygwin. The Makefile generated by > 'configure' doesn't detect the change of corresponding Makefile.am. > I have to manually remove the corresponding Makefile.in to force it to > be re-generated. I didn't enable the maintainer mode and neither > have AM_MAINTAINER_MODE in configure.ac. > > Examing generated Makefile I found the dependency of Makefile.in are > commented out by #. Is it on purpose? Or I missing anything in > configure.ac?
> $(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(am__configure_deps) The comment sign '#' is added by AM_MAINTAINER_MODE though, as Eric already mentioned; maybe you had that in an earlier version of configure.ac? Rerunning aclocal, automake, and autoconf, followed by './configure --enable-maintainer-mode' should fix things. Maybe some third-party macro you use pulls in AM_MAINTAINER_MODE? Cheers, Ralf