I installed a new version of automake from CVS.  I have the following
lines, among many others, in my Makefile.am:

AUTOMAKE_OPTIONS = ansi2knr
BUILT_SOURCES = lstat.c stat.c


It used to be that automake would create a Makefile.in which included
the following lines:

lstat_.c: lstat.c $(ANSI2KNR)
        $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f 
$(srcdir)/lstat.c; then echo $(srcdir)/lstat.c; else echo lstat.c; fi` | sed 's/^# 
\([0-9]\)/#line \1/' | $(ANSI2KNR) > lstat_.c
stat_.c: stat.c $(ANSI2KNR)
        $(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f 
$(srcdir)/stat.c; then echo $(srcdir)/stat.c; else echo stat.c; fi` | sed 's/^# 
\([0-9]\)/#line \1/' | $(ANSI2KNR) > stat_.c



However, the latest version of automake doesn't do this any more.
Similar lines are created for ".c" files in *_SOURCES, so not
everything is broken.


-- 
Kevin Dalley
[EMAIL PROTECTED]

Reply via email to