From 45ed6c8a72e87f33d37d8af19268ae9fb1dd3bff Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 27 May 1997 04:58:45 +0000 Subject: [PATCH] disallow use of perl 5.001 --- ChangeLog | 2 ++ configure | 6 ++++-- configure.in | 6 ++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9d0c7631..954247c4 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 e641b189..286ba524 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 6b0ba6ea..ed75eb10 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], -- 2.43.5