autoconf-patches
[Top][All Lists]
Advanced

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

14-faq-cache.patch


From: Akim Demaille
Subject: 14-faq-cache.patch
Date: Mon, 30 Sep 2002 09:33:39 +0200

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * doc/autoconf.texi (autom4te.cache): New section.
        
        
Index: doc/autoconf.texi
--- doc/autoconf.texi Sat, 28 Sep 2002 15:48:47 +0200 akim
+++ doc/autoconf.texi Sat, 28 Sep 2002 18:34:02 +0200 akim
@@ -230,7 +230,7 @@ @node Top
 * Declarations::                Declarations that may be missing
 * Structures::                  Structures or members that might be missing
 * Types::                       Types that might be missing
-* Compilers and Preprocessors::  Checks for compiling programs
+* Compilers and Preprocessors::  Checking for compiling programs
 * System Services::             Operating system services
 * UNIX Variants::               Special kludges for specific UNIX variants
 
@@ -289,7 +289,7 @@ @node Top
 * Multiple Cases::              Tests for several possible values
 * Language Choice::             Selecting which language to use for testing
 
-Checking Run-Time Behavior
+Checking Run Time Behavior
 
 * Test Programs::               Running test programs
 * Guidelines::                  General rules for writing test programs
@@ -313,11 +313,11 @@ @node Top
 * M4 Quotation::                Protecting macros from unwanted expansion
 * Invoking autom4te::           The Autoconf executables backbone
 * Programming in M4sugar::      Convenient pure M4 macros
-* Programming in M4sh::         Common shell constructs
+* Programming in M4sh::         Common shell Constructs
 
 M4 Quotation
 
-* Active Characters::           Characters that change the behavior of m4
+* Active Characters::           Characters that change the behavior of M4
 * One Macro Call::              Quotation and one macro call
 * Quotation and Nested Macros::  Macros calling macros
 * Changequote is Evil::         Worse than INTERCAL: M4 + changequote
@@ -433,6 +433,7 @@ @node Top
 * Bootstrapping::               Autoconf and GNU M4 require each other?
 * Why Not Imake::               Why GNU uses @command{configure} instead of 
Imake
 * Defining Directories::        Passing @code{datadir} to program
+* autom4te.cache::              What is it?  Can I remove it?
 
 History of Autoconf
 
@@ -13892,6 +13893,7 @@ @node FAQ
 * Bootstrapping::               Autoconf and GNU M4 require each other?
 * Why Not Imake::               Why GNU uses @command{configure} instead of 
Imake
 * Defining Directories::        Passing @code{datadir} to program
+* autom4te.cache::              What is it?  Can I remove it?
 @end menu
 
 @node Distributing
@@ -14134,6 +14136,35 @@ datadir.h: Makefile
 @code{adl_COMPUTE_STANDARD_RELATIVE_PATHS} on the
 @href{http://www.gnu.org/software/ac-archive/, Autoconf Macro Archive}.
 @end itemize
+
+
address@hidden autom4te.cache
address@hidden What is @file{autom4te.cache}?
+
address@hidden
+What is this directory @file{autom4te.cache}?  Can I safely remove it?
address@hidden display
+
+In the GNU Build System, @file{configure.ac} plays a central role and is
+read by many tools: @command{autoconf} to create @file{configure},
address@hidden to create @file{config.h.in}, @command{automake} to
+create @file{Makefile.in}, @command{autoscan} to check the completeness
+of @file{configure.ac}, @command{autoreconf} to check the GNU Build
+System components that are used.  To ``read @file{configure.ac}''
+actually means to compile it with M4, which can be a very long process
+for complex @file{configure.ac}.
+
+This is why all these tools, instead of running directly M4, invoke
address@hidden (@pxref{Invoking autom4te}) which, while answering to
+a specific demand, stores additional information in
address@hidden for future runs.  For instance, if you run
address@hidden, behind the scenes, @command{autom4te} will also
+store information for the other tools, so that when you invoke
address@hidden or @command{automake} etc., re-processing
address@hidden is not needed.  The speed up is frequently of 30,
+and is increasing with the size of @file{configure.ac}.
+
+But it is and remains being simply a cache: you can safely remove it.
 
 
 




reply via email to

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