[Top][All Lists]

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

Re: make distcheck

From: Ralf Wildenhues
Subject: Re: make distcheck
Date: Mon, 2 Mar 2009 21:57:28 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

* Patrick Welche wrote on Mon, Mar 02, 2009 at 08:52:26PM CET:
> I thought that running make distcheck in the source directory should
> fail?

Not sure why you think that.  distcheck does a build with build tree !=
source tree.  But nothing in Automake prohibits packages from allowing
both trees to coincide.

> Ah! The first configure will create srcdir/config.h. Then, if you have
> -I.. in CPPFLAGS things built in srcdir/_build may find srcdir/config.h ?

Not sure if "srcdir" is a directory name here, but config.h should not
be created in the source tree, but in the build tree, to facilitate
having several distinct build trees (for several systems, for example).


reply via email to

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