Re: make distcheck

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

 



* 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).

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux