[llvm-commits] CVS: llvm/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Thu Mar 23 15:21:45 PST 2006
Changes in directory llvm/autoconf:
configure.ac updated: 1.212 -> 1.213
---
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 -7)
configure.ac | 23 ++++++++++++++++-------
1 files changed, 16 insertions(+), 7 deletions(-)
Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.212 llvm/autoconf/configure.ac:1.213
--- llvm/autoconf/configure.ac:1.212 Wed Mar 22 09:59:55 2006
+++ llvm/autoconf/configure.ac Thu Mar 23 17:21:29 2006
@@ -218,13 +218,13 @@
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 @@
[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
More information about the llvm-commits
mailing list