aboutsummaryrefslogtreecommitdiff
path: root/autoconf/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r--autoconf/configure.ac23
1 files changed, 16 insertions, 7 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 42d38c8dff..81dc0aa5d0 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -218,13 +218,13 @@ then
AC_SUBST(JIT,[[]])
else
case "$llvm_cv_target_arch" in
- x86) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
- Sparc) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
- PowerPC) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
- x86_64) AC_SUBST(JIT,[[]]) ;;
- Alpha) AC_SUBST(JIT,[[TARGET_HAS_JIT=1]]) ;;
- IA64) AC_SUBST(JIT,[[]]) ;;
- *) AC_SUBST(JIT,[[]]) ;;
+ x86) AC_SUBST(TARGET_HAS_JIT,1) ;;
+ Sparc) AC_SUBST(TARGET_HAS_JIT,1) ;;
+ PowerPC) AC_SUBST(TARGET_HAS_JIT,1) ;;
+ x86_64) AC_SUBST(TARGET_HAS_JIT,0) ;;
+ Alpha) AC_SUBST(TARGET_HAS_JIT,1) ;;
+ IA64) AC_SUBST(TARGET_HAS_JIT,0) ;;
+ *) AC_SUBST(TARGET_HAS_JIT,0) ;;
esac
fi
@@ -338,6 +338,15 @@ if test "$GV" != "echo gv" ; then
[Define to path to gv program if found or 'echo gv' otherwise])
fi
+dnl Look for a sufficiently recent version of Perl.
+LLVM_PROG_PERL([5.006])
+AC_SUBST(PERL)
+if test x"$PERL" = xnone; then
+ AC_SUBST(HAVE_PERL,0)
+else
+ AC_SUBST(HAVE_PERL,1)
+fi
+
dnl Find the install program
AC_PROG_INSTALL