[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_INIT vs AM_INIT_AUTOMAKE in ac2.52 and am1.5...?
From: |
Alexandre Duret-Lutz |
Subject: |
Re: AC_INIT vs AM_INIT_AUTOMAKE in ac2.52 and am1.5...? |
Date: |
22 Nov 2001 09:34:18 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
>>> "Matthew" == Matthew Whitworth <address@hidden> writes:
[...]
Matthew> The first difference I noticed is that autoconf's new
Matthew> AC_INIT macro takes arguments that I used to include
Matthew> in automake's AM_INIT_AUTOMAKE macro. The autoconf
Matthew> manual [1] specifies AC_INIT's syntax as
Matthew> AC_INIT(package, version, bug-report-address)
Matthew> and makes no mention of any automake macros. However,
Matthew> the new automake manual [2] seems to suggest old
Matthew> autoconf 2.13 AC_INIT syntax:
Matthew> AC_INIT(src/hello.c)
Matthew> AM_INIT_AUTOMAKE(hello, 1.3.11)
Automake 1.5 still supports Autoconf 2.13. The above syntax
will work with Autoconf 2.13 and 2.5x.
[...]
Matthew> both autoconf and automake? Should AM_INIT_AUTOMAKE be used in a
Matthew> configure.ac along with the new AC_INIT syntax (which seems like an
Matthew> unneccesary and dangerous redundancy)?
If you use Autoconf 2.5x, just use the new syntax:
AC_INIT(hello, 1.3.11, address@hidden)
AC_CONFIG_SRCDIR(src/hello.c)
AM_INIT_AUTOMAKE(hello, 1.3.11)
Matthew> AC_OUTPUT seems to suffer from a similar syntax
Matthew> out-of-syncness, but I'll leave that for later.
Similar reasons.
--
Alexandre Duret-Lutz