From e815db61406662754b1b4b52ff684e6ac72c2662 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 7 Mar 2012 17:07:20 +0000 Subject: configure: Don't require a perl interpreter to be present, LLVM's buildsystem doesn't depend on perl anymore. llvm-svn: 152234 --- llvm/projects/sample/autoconf/configure.ac | 10 ---------- llvm/projects/sample/autoconf/m4/path_perl.m4 | 16 ---------------- 2 files changed, 26 deletions(-) delete mode 100644 llvm/projects/sample/autoconf/m4/path_perl.m4 (limited to 'llvm/projects/sample/autoconf') diff --git a/llvm/projects/sample/autoconf/configure.ac b/llvm/projects/sample/autoconf/configure.ac index a1110ec6a2c..25d678af51c 100644 --- a/llvm/projects/sample/autoconf/configure.ac +++ b/llvm/projects/sample/autoconf/configure.ac @@ -909,16 +909,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/projects/sample/autoconf/m4/path_perl.m4 b/llvm/projects/sample/autoconf/m4/path_perl.m4 deleted file mode 100644 index 406656cb032..00000000000 --- a/llvm/projects/sample/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 -]) - -- cgit v1.2.3