From: Tom Tromey Date: Tue, 27 May 1997 04:58:46 +0000 (+0000) Subject: disallow use of perl 5.001 X-Git-Tag: Release-1-2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f3f2a0c25654f9ca8d86fee38c1fa15de2a7be69;p=thirdparty%2Fautomake.git disallow use of perl 5.001 --- diff --git a/ChangeLog b/ChangeLog index 9d0c7631e..954247c46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ Mon May 26 22:50:49 1997 Tom Tromey + * configure.in: Error if Perl 5.001 is used. + * ylwrap: Don't quote $prog when executing it. From Jim Meyering. diff --git a/configure b/configure index e641b1893..286ba524d 100755 --- a/configure +++ b/configure @@ -824,8 +824,10 @@ else fi if test -z "$PERL"; then - echo "fatal error: perl not found" 1>&2 - exit 1 + { echo "configure: error: perl not found" 1>&2; exit 1; } +fi +if test -n "`$PERL -v | fgrep 'version 5.001' 2> /dev/null`"; then + { echo "configure: error: perl 5.001 has bug which causes automake to fail" 1>&2; exit 1; } fi trap '' 1 2 15 diff --git a/configure.in b/configure.in index 6b0ba6ea6..ed75eb108 100644 --- a/configure.in +++ b/configure.in @@ -8,8 +8,10 @@ AM_INIT_AUTOMAKE(automake, 1.1p) AC_CHECK_PROGS(TAR, gnutar gtar tar) AC_PATH_PROG(PERL, perl) if test -z "$PERL"; then - echo "fatal error: perl not found" 1>&2 - exit 1 + AC_MSG_ERROR([perl not found]) +fi +if test -n "`$PERL -v | fgrep 'version 5.001' 2> /dev/null`"; then + AC_MSG_ERROR([perl 5.001 has bug which causes automake to fail]) fi AC_OUTPUT([Makefile automake aclocal m4/Makefile tests/Makefile],