]> sourceware.org Git - automake.git/commitdiff
disallow use of perl 5.001
authorTom Tromey <tromey@redhat.com>
Tue, 27 May 1997 04:58:45 +0000 (04:58 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 27 May 1997 04:58:45 +0000 (04:58 +0000)
ChangeLog
configure
configure.in

index 9d0c7631e16320fe4937964e5153ddbf804c1fdb..954247c4698f6ba2c25ba22336f2cdd7857e0508 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 Mon May 26 22:50:49 1997  Tom Tromey  <tromey@cygnus.com>
 
+       * configure.in: Error if Perl 5.001 is used.
+
        * ylwrap: Don't quote $prog when executing it.  From Jim
        Meyering.
 
index e641b1893ded3892cc98d6cca25913457347ce20..286ba524d4577af0eb2b7677c4fa21962f12f058 100755 (executable)
--- 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
index 6b0ba6ea6d4fbcd8628fc88a522f8c86852ed73b..ed75eb108adaff72ae8136ab8f6d4796cf0d8740 100644 (file)
@@ -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],
This page took 0.056183 seconds and 5 git commands to generate.