libtool-patches
[Top][All Lists]
Advanced

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

Re: Use emacs' autoconf-mode; some minor cleanup


From: Gary V . Vaughan
Subject: Re: Use emacs' autoconf-mode; some minor cleanup
Date: Sat, 30 Jun 2001 21:56:25 +0100

On Saturday 30 June 2001  8:52 am, Tim Van Holder wrote:
> > Is it really necessary to specify the package name and version
> > number twice
> > with autoconf-2.50 (AC_INIT and AM_INIT_AYTOMAKE)?  If so, it
> > sucks.  What
>
> Well, the automake macro sets PACKAGE and VERSIOn, and is the most
> important one.  The arguments to AC_INIT merely customize the
> output of configure --version and configure --help:
>
> with plain AC_INIT, you get
>
> [--help]
> `configure' configures this package to adapt to many kinds of systems.
>
> [--version]
>
> <copyright message>
>
> with AC_INIT(flubber, 1.2.3, address@hidden), you get
>
> [--help]
> `configure' configures flubber 1.2.3 to adapt to many kinds of systems.
>
> [--version]
> flubber configure 1.2.3
> generated by GNU Autoconf 2.50
>
> <copyright message>
>
> So, it's purely cosmetic really - but still nice.

Not as awful as I had feared anyway =)O|

I'll experiment with holding the version and package in a variable or macro 
to remove the redundancy.

Cheers,
        Gary.
-- 
  ())_.  Gary V. Vaughan     gary@(oranda.demon.co.uk|gnu.org)
  ( '/   Research Scientist  http://www.oranda.demon.co.uk        ,_())____
  / )=   GNU Hacker          http://www.gnu.org/software/libtool   \'      `&
`(_~)_   Tech' Author        http://sources.redhat.com/autobook    =`---d__/



reply via email to

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