From: David MacKenzie Date: Thu, 24 Mar 1994 18:36:40 +0000 (+0000) Subject: Document AC_PREREQ. X-Git-Tag: fsf-origin~758 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=747966a9e996a9fb8de312d1b2aabb41d604f595;p=thirdparty%2Fautoconf.git Document AC_PREREQ. --- diff --git a/autoconf.texi b/autoconf.texi index 3423e443e..c542c7a5c 100644 --- a/autoconf.texi +++ b/autoconf.texi @@ -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} diff --git a/doc/autoconf.texi b/doc/autoconf.texi index 3423e443e..c542c7a5c 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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}