manpagez: man pages & more
info autoconf
Home | html | info | man

File: autoconf.info,  Node: Notices,  Next: Input,  Prev: Versioning,  Up: Setup

4.3 Notices in ‘configure’
==========================

The following macros manage version numbers for ‘configure’ scripts.
Using them is optional.

 — Macro: AC_COPYRIGHT(COPYRIGHT-NOTICE)
     State that, in addition to the Free Software Foundation’s copyright
     on the Autoconf macros, parts of your ‘configure’ are covered by
     the COPYRIGHT-NOTICE.

     The COPYRIGHT-NOTICE shows up in both the head of ‘configure’ and
     in ‘configure --version’.

 — Macro: AC_REVISION(REVISION-INFO)
     Copy revision stamp REVISION-INFO into the ‘configure’ script, with
     any dollar signs or double-quotes removed.  This macro lets you put
     a revision stamp from ‘configure.ac’ into ‘configure’ that the
     traditional version control systems RCS and CVS can update, without
     these systems changing it again when you check in the resulting
     ‘configure’.  That way, you can determine easily which revision of
     ‘configure.ac’ a particular ‘configure’ corresponds to.

     For example, this line in ‘configure.ac’:

          AC_REVISION([$Revision: 1.30 $])

     produces this in ‘configure’:

          #!/bin/sh
          # From configure.ac Revision: 1.30

© manpagez.com 2000-2026
Individual documents may contain additional copyright information.