automake
[Top][All Lists]
Advanced

[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: Dr. David Kirkby
Subject: Re: Why do I need both AC_INIT and AM_INIT_AUTOMAKE???
Date: Tue, 08 Apr 2003 00:02:54 +0100

Alexandre Duret-Lutz wrote:
> 
> >>> "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

Thanks that looks reasonable. 


-- 
PLEASE NOTE:

If this message was sent to a newsgroup or mailing list, please 
reply to there. Personal e-mail is always welcome, but unless 
I have received e-mail from you previously, you may be sent 
an automatically generated reply, requesting that you send the
message again, adding a password in the subject line. Sorry,
but this action has been taken to prevent unsolicited 
commercial emails (spam mail). 

Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6409 Fax: 020 7679 6269
Internal telephone: ext 46409




reply via email to

[Prev in Thread] Current Thread [Next in Thread]