]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Document AC_PREREQ.
authorDavid MacKenzie <djm@djmnet.org>
Thu, 24 Mar 1994 18:36:40 +0000 (18:36 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Thu, 24 Mar 1994 18:36:40 +0000 (18:36 +0000)
autoconf.texi
doc/autoconf.texi

index 3423e443e9542ba6e23da47dc61a6b27af57c4d3..c542c7a5c581be3727989a67f59dbc96b1b1638a 100644 (file)
@@ -6,8 +6,8 @@
 @c %**end of header
 @c Use on instead of odd in the setchapternewpage for single-sided printing.
 
-@set EDITION 1.7.5
-@set VERSION 1.7.5
+@set EDITION 1.7.6
+@set VERSION 1.7.6
 @set UPDATED March 1994
 
 @iftex
@@ -1419,6 +1419,19 @@ If you pass @var{extra-cmds}, those commands will be inserted into
 @file{config.status} to be run after all its other processing.
 @end defmac
 
+@defmac AC_PREREQ (@var{version})
+@maindex PREREQ
+Ensure that a recent enough version of Autoconf is being used.
+If the version of Autoconf being used to create @code{configure} is
+earlier than @var{version}, print an error message on the standard error
+output and do not create @code{configure}.
+
+This macro is useful if your @file{configure.in} relies on non-obvious
+behavior that changed between Autoconf releases.  (If it merely needs
+recently added macros, then the @code{autoconf} program already tells
+the user if they are not found, so this macro is less useful in that case.)
+@end defmac
+
 @defmac AC_REVISION (@var{revision-info})
 @maindex REVISION
 Copy revision stamp @var{revision-info} into the @file{configure}
index 3423e443e9542ba6e23da47dc61a6b27af57c4d3..c542c7a5c581be3727989a67f59dbc96b1b1638a 100644 (file)
@@ -6,8 +6,8 @@
 @c %**end of header
 @c Use on instead of odd in the setchapternewpage for single-sided printing.
 
-@set EDITION 1.7.5
-@set VERSION 1.7.5
+@set EDITION 1.7.6
+@set VERSION 1.7.6
 @set UPDATED March 1994
 
 @iftex
@@ -1419,6 +1419,19 @@ If you pass @var{extra-cmds}, those commands will be inserted into
 @file{config.status} to be run after all its other processing.
 @end defmac
 
+@defmac AC_PREREQ (@var{version})
+@maindex PREREQ
+Ensure that a recent enough version of Autoconf is being used.
+If the version of Autoconf being used to create @code{configure} is
+earlier than @var{version}, print an error message on the standard error
+output and do not create @code{configure}.
+
+This macro is useful if your @file{configure.in} relies on non-obvious
+behavior that changed between Autoconf releases.  (If it merely needs
+recently added macros, then the @code{autoconf} program already tells
+the user if they are not found, so this macro is less useful in that case.)
+@end defmac
+
 @defmac AC_REVISION (@var{revision-info})
 @maindex REVISION
 Copy revision stamp @var{revision-info} into the @file{configure}