summaryrefslogtreecommitdiffstats
path: root/llvm/autoconf
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-03-07 17:07:20 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-03-07 17:07:20 +0000
commite815db61406662754b1b4b52ff684e6ac72c2662 (patch)
treea922c8f9f391f44963c94ba3571112e9ec0ff7d2 /llvm/autoconf
parent3048107bc154c2fd792e99c0da2a0721816f3699 (diff)
downloadbcm5719-llvm-e815db61406662754b1b4b52ff684e6ac72c2662.tar.gz
bcm5719-llvm-e815db61406662754b1b4b52ff684e6ac72c2662.zip
configure: Don't require a perl interpreter to be present, LLVM's buildsystem doesn't depend on perl anymore.
llvm-svn: 152234
Diffstat (limited to 'llvm/autoconf')
-rw-r--r--llvm/autoconf/configure.ac10
-rw-r--r--llvm/autoconf/m4/path_perl.m416
2 files changed, 0 insertions, 26 deletions
diff --git a/llvm/autoconf/configure.ac b/llvm/autoconf/configure.ac
index e18725d9740..5ea2e306a5c 100644
--- a/llvm/autoconf/configure.ac
+++ b/llvm/autoconf/configure.ac
@@ -1005,16 +1005,6 @@ if test "$XDOT_PY" != "echo xdot.py" ; then
[Define to path to xdot.py program if found or 'echo xdot.py' 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)
- AC_MSG_ERROR([perl is required but was not found, please install it])
-else
- AC_SUBST(HAVE_PERL,1)
-fi
-
dnl Find the install program
AC_PROG_INSTALL
dnl Prepend src dir to install path dir if it's a relative path
diff --git a/llvm/autoconf/m4/path_perl.m4 b/llvm/autoconf/m4/path_perl.m4
deleted file mode 100644
index 406656cb032..00000000000
--- a/llvm/autoconf/m4/path_perl.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-dnl Check for a reasonable version of Perl.
-dnl $1 - Minimum Perl version. Typically 5.006.
-dnl
-AC_DEFUN([LLVM_PROG_PERL], [
-AC_PATH_PROG(PERL, [perl], [none])
-if test "$PERL" != "none"; then
- AC_MSG_CHECKING(for Perl $1 or newer)
- if $PERL -e 'use $1;' 2>&1 > /dev/null; then
- AC_MSG_RESULT(yes)
- else
- PERL=none
- AC_MSG_RESULT(not found)
- fi
-fi
-])
-
OpenPOWER on IntegriCloud