summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-05-17 18:06:19 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-05-17 18:06:19 +0000
commite4068731dfaada71a0a6fee53f72bb7d5d258cd3 (patch)
tree28e9be9aa55275c238e2fdfe8aee8720a7fa159a /autoconf
parent07c70cd86629846a2584e7311964e9f7753c94b0 (diff)
downloadllvm-e4068731dfaada71a0a6fee53f72bb7d5d258cd3.tar.gz
llvm-e4068731dfaada71a0a6fee53f72bb7d5d258cd3.tar.bz2
llvm-e4068731dfaada71a0a6fee53f72bb7d5d258cd3.tar.xz
Make Perl a required dependency and cause configure script to fail if it
is not found. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 9b2234103d..c8fd77f432 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -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