m4-patches
[Top][All Lists]
Advanced

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

Re: FYI: 18-gary-ltdl-config-cleanup.patch


From: Gary V. Vaughan
Subject: Re: FYI: 18-gary-ltdl-config-cleanup.patch
Date: Thu, 4 Oct 2001 22:22:07 +0100
User-agent: Mutt/1.3.16i

Hi!
X-Edited-With-Muttmode: muttmail.sl - 2001-09-27


On Mon, Oct 01, 2001 at 09:53:04AM +0200, Akim Demaille wrote:
> 
> | +## ---------------------------------------- ##
> | +## Display a configure time version banner. ##
> | +## ---------------------------------------- ##
> | +TIMESTAMP=
> | +case AC_PACKAGE_VERSION in
> | +  *[[acegikmoqsuwy]])
> | +    TIMESTAMP=`$CONFIG_SHELL $ac_aux_dir/mkstamp < $srcdir/ChangeLog`
> | +    banner="Configuring AC_PACKAGE_TARNAME AC_PACKAGE_VERSION$TIMESTAMP"
> | +    dashes=`echo "$banner" | sed 's/./-/g'`
> | +    
> | +    # Display an obvious version banner
> | +    echo
> | +    echo $dashes
> | +    echo "$banner"
> | +    echo $dashes
> | +    echo
> | +    ;;
> | +esac
> 
> If you want to play with M4sh, you could
> 
> AS_BOX([Configuring AC_PACKAGE_TARNAME AC_PACKAGE_VERSION$TIMESTAMP])
> 
> I think :)

Good call!  Done.  I'll use it in CVS libtool too.

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]