The following macros manage version numbers for
scripts. Using them is optional.
configureis earlier than version, print an error message on the standard error output and do not create
configure. For example:
This macro is useful if your `configure.in' relies on non-obvious
behavior that changed between Autoconf releases. If it merely needs
recently added macros, then
AC_PREREQ is less useful, because the
autoconf program already tells the user which macros are not
found. The same thing happens if `configure.in' is processed by a
version of Autoconf older than when
AC_PREREQ was added.
configurescript, with any dollar signs or double-quotes removed. This macro lets you put a revision stamp from `configure.in' into
configurewithout RCS or CVS changing it when you check in
configure. That way, you can determine easily which revision of `configure.in' a particular
It is a good idea to call this macro before
AC_INIT so that the
revision number is near the top of both `configure.in' and
configure. To support doing that, the
begins with `#! /bin/sh', like the normal start of a
configure script does.
For example, this line in `configure.in':
AC_REVISION($Revision: 1.30 $)dnl
produces this in
#! /bin/sh # From configure.in Revision: 1.30
Go to the first, previous, next, last section, table of contents.