Make Perl a required dependency and cause configure script to fail if it
authorReid Spencer <rspencer@reidspencer.com>
Thu, 17 May 2007 18:06:19 +0000 (18:06 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 17 May 2007 18:06:19 +0000 (18:06 +0000)
is not found.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37164 91177308-0d34-0410-b5e6-96231b3b80d8

autoconf/configure.ac

index 9b2234103d0eaa8b50049be5dfd02f32e87e8ec5..c8fd77f43283f1744b958eb3d02c815877d6edba 100644 (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