Hello Guillaume, * Guillaume Rousse wrote on Thu, Nov 23, 2006 at 04:46:50PM CET: > I'm using this rule to substitute values in a sourcefile: > corelib/camlimages.ml: Makefile corelib/camlimages.ml.in [...]
> As detailed in autoconf documentation > http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_mono/autoconf.html#SEC24 FWIW, 2.57 is an old version, 2.61 is current. The version to the current manual should be found here: http://www.gnu.org/software/autoconf/manual/autoconf.html#Installation-Directory-Variables (We still have to update it, as it's showing 2.60. But that's where the new one will end up as well, so please update your bookmarks.) > However, make keep complaining about a circular dependency issue: > make[1]: Circular corelib/camlimages.ml <- Makefile dependency dropped. > > I guess it's because generated makefile has itself a rule triggering > configure again, but I can't find where it's related to > corelib/camlimages.ml, neither how to break the loop. You're providing too little information for me to be able to deduce the loop. Can you post the whole Makefile.am (and whatever changes you made to Automake, if any)? Thanks, Ralf