On Tue, Feb 26, 2002 at 04:09:39PM -0500, Wei Qin spoke out thus: > > Hi, > > My source code uses a C macro whose value depends on the installation > prefix. So every time I run configure, I hope that the source code will be > recompiled. But the default dependencies checking by automake does not > let this happend. How can I specify this dependency relationship without > disabling the automatic dependency tracking?
How about trying this? 1) mv source.c source.c.in 2) in source.c.in #define PREFIX "@@prefix@@" 3) in configure.in AC_OUTPUT( ... , source.c) - Sandip -- Sandip Bhattacharya sandip @ mindsw.com Mindframe Software ---------------------------------------------------------