autoconf
[Top][All Lists]
Advanced

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

Re: autocache


From: Ralf Wildenhues
Subject: Re: autocache
Date: Thu, 31 Mar 2011 07:35:34 +0200
User-agent: Mutt/1.5.20 (2010-08-04)

Hi Alfred,

* Alfred M. Szmidt wrote on Sun, Mar 27, 2011 at 11:20:50PM CEST:
>   git clone fp.gnu.org:~ams/autocache.git

Thank you.

I suggest to not put config.cache in the source tree, which also fits
the nodist_ description you used in Makefile.am.  If you don't mind,
I'll push the fix as below.

Then, how did you come up with the list of gnulib modules in
bootstrap.conf and the list of macros to call in configure.ac?
Ideally, they should not generated and not specified manually,
that will only lead to bit rot.  If needed, then it is more
useful to specify exceptions manually.

Thanks,
Ralf

    Generate config.cache in the build tree, not the source tree.

    * configure.ac: Generate config.cache in the build tree, not the
    source tree.

diff --git a/configure.ac b/configure.ac
index 720be54..4fd4112 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@
 
 dnl information on the package
 AC_INIT([autocache], [0.2], address@hidden)
-cache_file="${srcdir}/config.cache"
+: ${cache_file=config.cache}
 AC_CACHE_LOAD
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([config.h:config.h.in])



reply via email to

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