Changes in directory llvm/autoconf/m4:
path_perl.m4 added (r1.1) --- Log message: Update to llvm-config tool, by Erik Kidd: 1. Check for Perl and only build llvm-config if its available. 2. Add some virtual components 3. Don't depend on "standard" location for Perl, but configured location 4. Document the tool with a POD file. This version is now ready for testing by users. --- Diffs of the changes: (+16 -0) path_perl.m4 | 16 ++++++++++++++++ 1 files changed, 16 insertions(+) Index: llvm/autoconf/m4/path_perl.m4 diff -c /dev/null llvm/autoconf/m4/path_perl.m4:1.1 *** /dev/null Thu Mar 23 17:21:39 2006 --- llvm/autoconf/m4/path_perl.m4 Thu Mar 23 17:21:29 2006 *************** *** 0 **** --- 1,16 ---- + 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 + ]) + _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits