bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Option ansi2knr mishandles sources in different directories


From: Alexandre Duret-Lutz
Subject: Re: Option ansi2knr mishandles sources in different directories
Date: Wed, 20 Nov 2002 20:24:47 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu)

>>> "Andreas" == Andreas Schwab <address@hidden> writes:

 Andreas> If foo_SOURCES references sources files that are not in the current
 Andreas> directory then automake generate wrong dependencies with the ansi2knr
 Andreas> option.  For example, if Makefile.am contains:

 Andreas> AUTOMAKE_OPTIONS = ansi2knr

 Andreas> bin_PROGRAMS = foo
 Andreas> foo_SOURCES = foobar/foo.c

 Andreas> then the generated Makefile.in has foo$U.o depending
 Andreas> on foo$U.c, which cannot be built if $U is empty.

Thanks for the report, but please don't forget to mention which
version you are using.

AFAICT this was fixed in Automake 1.7.1.  
(The test case is ansi9.test.)
-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]