Make Perl a required dependency and cause configure script to fail if it

is not found.

llvm-svn: 37164
This commit is contained in:
Reid Spencer 2007-05-17 18:06:19 +00:00
parent dade607f19
commit ce90cbb5e1
1 changed files with 1 additions and 0 deletions

View File

@ -495,6 +495,7 @@ LLVM_PROG_PERL([5.006])
AC_SUBST(PERL)
if test x"$PERL" = xnone; then
AC_SUBST(HAVE_PERL,0)
AC_MSG_ERROR([perl is required but was not found, please install it])
else
AC_SUBST(HAVE_PERL,1)
fi