Re: Autoconf Digest, Vol 108, Issue 12

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

 



 
> Bob Rossi <bob@xxxxxxxxxx> writes:
> > I'm creating a new project and using autotools. I've done this
> > before, but for some reason this time I've noticed how many files
> > autotools creates. It totally pollutes the top level of my project.

You might try putting this in your configure.ac:
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])

And this in Makefile.am (presuming you use automake):
ACLOCAL_AMFLAGS = -I m4 --install

In some versions of the autotools, "autoreconf -i" won't work as-is.  In my setup, to work around:
     touch m4/NOTES
     git add m4/NOTES
Then add to Makefile.am (to force redistribution):
     EXTRA_DIST = m4/NOTES

A little explanation on *why* here:
 http://www.dwheeler.com/autotools/

Sorry if this was obvious and you've already done that.

--- David A. Wheeler

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://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