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.
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
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],