[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: no .deps directory generated
From: |
David Byron |
Subject: |
RE: no .deps directory generated |
Date: |
Mon, 8 Jan 2007 12:13:49 -0800 |
On Monday, January 8, 2007 @ 11:46a, Ralf Wildenheus wrote:
> * David Byron wrote on Mon, Jan 08, 2007 at 08:25:28PM CET:
> > On Monday, January 8 @ 11:05a, Ralf Wildenhues wrote:
> > > * David Byron wrote on Mon, Jan 08, 2007 at 07:40:02PM CET:
> [...]
> > > >
> > > > AC_CONFIG_FILES([Makefile util/Makefile
> > > > util/tests/Makefile:config/cppunit.mk.in:util/tests/Makefile.in
> > > > testmain/Makefile])
> > >
> > > What's in config/cppunit.mk.in and what in util/tests/Makefile.am?
> > > I'm assuming the latter file exists, otherwise automake would have
> > > no business in util/tests.
> >
> > I've attached them both.
>
> Darn, this looks like a regression of 1.10 over 1.9.6, due to the
> sed 10q
>
> in m4/depout.m4: because cppunit.mk is longer than 10 lines, it won't
> get to the "generated by automake" line any more.
>
> Here's a hacky workaround: insert a comment like this near the top of
> cppunit.mk (and do not use it for non-automake substituted files,
> otherwise you need another file, am-fake.mk or so):
> # do not remove the following line, it helps Automake 1.10
> # generated by automake.
>
> Phew. Do things work then?
I added
# generated by automake
as the first line in config/cppunit.mk.in and now configure generates the
util/tests/.deps directory...
> Could you also try the Automake patch below?
I manually edited share/aclocal-1.10/depout.m4 as in the patch and
util/tests/.deps gets created without having to edit cppunit.mk.in....
Thanks much for the quick fix.
-DB