automake-patches
[Top][All Lists]
Advanced

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

Re: FYI: warn if `obj' occurs in SUBDIRS.


From: Tom Tromey
Subject: Re: FYI: warn if `obj' occurs in SUBDIRS.
Date: 22 Jul 2002 16:35:11 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

>>>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:

adl> The library that was built lied in an `obj/' subdirectory, and
adl> it turns out that BSD make has a special hard-coded rule for
adl> this directory.  If an `obj/' directory exists, BSD make enter
adl> it before reading the Makefile; thus it processes obj/Makefile
adl> instead of ./Makefile!  It can take some time before you realize
adl> what happens.

Wow.  I guess there can't be a way to disable this from ./Makefile
(since make would then have to read it first).  I'd never heard of
this.  I think this is worth a portability note in the autoconf manual
as well.

Tom



reply via email to

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