Thanks for the response.

> Sounds like you just hit the declaration-order-does-matter issue:
> 
> http://gcc.gnu.org/ml/gcc-patches/2001-05/msg01692.html
> 
>  Harlan> Any ideas on how to fix the problem?
> 
> Define your rules only once all involved variables are defined?

OK, is there a way to do this using automake that is clean?

I would prefer to avoid changing the current braindamage:

 AC_CONFIG_FILES($out_makefiles)

to this even worse braindamage:

 for mf in $out_makefiles
 do
   AC_CONFIG_FILES(${MF}:topfoo)
 done

where "topfoo" includes the variables.

Then again, it's been a Long Day and perhaps I'll think of something better
after I wake up.  Either that, or perhaps somebody else will think of
something better between now and then!

H

Reply via email to