[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why do I need both AC_INIT and AM_INIT_AUTOMAKE???
From: |
Alexandre Duret-Lutz |
Subject: |
Re: Why do I need both AC_INIT and AM_INIT_AUTOMAKE??? |
Date: |
Mon, 07 Apr 2003 20:25:15 +0200 |
User-agent: |
Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.2 (gnu/linux) |
>>> "Bob" == Bob Proulx <address@hidden> writes:
Bob> Dr. David Kirkby wrote:
>> i.e. starting like this is okay, but there seems duplication of the
>> package name, my email address and version number:
>>
>> AC_PREREQ(2.57)
>> AC_INIT(atlc, 4.2.12, address@hidden)
>> AM_INIT_AUTOMAKE(atlc, 4.2.12, address@hidden)
Bob> That does not match my documentation for those macros.
Bob> - Macro: AC_INIT (PACKAGE, VERSION, [BUG-REPORT], [TARNAME])
Bob> `AM_INIT_AUTOMAKE([OPTIONS])'
Bob> `AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])'
Bob> Do you really need to list your address specially? If not then things
Bob> are much simpler. Try this instead:
Bob> AC_INIT(configure.ac)
Bob> AM_INIT_AUTOMAKE(atlc,4.2.12)
Please no. As the manual you quote explains, the above syntax is
being phased out. Use the following instead.
AC_INIT([atlc], [4.2.12], address@hidden)
AM_INIT_AUTOMAKE
--
Alexandre Duret-Lutz