Re: which is the correct form?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bob Lockie <bjlockie@xxxxxxxxx> writes:

> On 12/12/03 19:46 Ben Pfaff spoke thusly<br>
> > Bob Lockie <bjlockie@xxxxxxxxx> 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"




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux