[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: which is the correct form?
From: |
Ben Pfaff |
Subject: |
Re: which is the correct form? |
Date: |
12 Dec 2003 20:23:22 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Bob Lockie <address@hidden> writes:
> On 12/12/03 19:46 Ben Pfaff spoke thusly<br>
> > Bob Lockie <address@hidden> writes:
>
> >>AC_INIT(src/hello.c)
> > This is obsolete. See the Autoconf manual:
> > - Macro: AC_INIT (UNIQUE-FILE-IN-SOURCE-DIR)
> > Formerly `AC_INIT' used to have a single argument, and was
> > equivalent to:
> > AC_INIT
> > AC_CONFIG_SRCDIR(UNIQUE-FILE-IN-SOURCE-DIR)
> >
> >>AM_INIT_AUTOMAKE(hello, 1.3.11)
> > This is also obsolete. See the Automake manual:
>
> The GNU Hello World example is obsolete and is misleading then.
> AC_INIT(src/hello.c)
> AM_INIT_AUTOMAKE(hello, 1.3.11)
The Automake manual says that too:
Here is the `configure.in' from GNU Hello. *Please note:*
The calls to `AC_INIT' and `AM_INIT_AUTOMAKE' in this example
use a deprecated syntax. For the current approach, see the
description of `AM_INIT_AUTOMAKE' in *Note Public macros::.
--
"Premature optimization is the root of all evil."
--D. E. Knuth, "Structured Programming with go to Statements"