diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-07 17:07:20 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-03-07 17:07:20 +0000 |
commit | 8c3d2580cbd52a91e85a27cc96301cbd5c281cee (patch) | |
tree | 1f5bd9ce0f6cf7cb8e767b9d520a57ffc2edfd50 /autoconf | |
parent | 3c777947f4fdd94f061f8ac4a118a8db03da88a8 (diff) |
configure: Don't require a perl interpreter to be present, LLVM's buildsystem doesn't depend on perl anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152234 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 10 | ||||
-rw-r--r-- | autoconf/m4/path_perl.m4 | 16 |
2 files changed, 0 insertions, 26 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index e18725d974..5ea2e306a5 100644 --- a/autoconf/configure.ac +++ b/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/autoconf/m4/path_perl.m4 b/autoconf/m4/path_perl.m4 deleted file mode 100644 index 406656cb03..0000000000 --- a/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 -]) - |