X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=build-aux%2Fannounce-gen;h=8c6ed36829259b233651216c6c8bc34caaa2e032;hb=b20511327ba67151ef56099522e503384fdece8a;hp=3ca90a9a08ceac967145c835b55d94f97db4d23c;hpb=51e801f2f297e45a24004ee6256dd1a6c7389074;p=gnulib.git diff --git a/build-aux/announce-gen b/build-aux/announce-gen index 3ca90a9a0..8c6ed3682 100755 --- a/build-aux/announce-gen +++ b/build-aux/announce-gen @@ -3,7 +3,7 @@ eval '(exit $?0)' && eval 'exec perl -wS "$0" ${1+"$@"}' if 0; # Generate a release announcement message. -my $VERSION = '2012-01-06 07:46'; # UTC +my $VERSION = '2012-04-19 14:36'; # UTC # The definition above must lie within the first 8 lines in order # for the Emacs time-stamp write hook (at end) to update it. # If you change this file with Emacs, please let the write hook @@ -30,7 +30,8 @@ use strict; use Getopt::Long; use Digest::MD5; -use Digest::SHA1; +eval { require Digest::SHA; } + or eval 'use Digest::SHA1'; use POSIX qw(strftime); (my $ME = $0) =~ s|.*/||;