[llvm-commits] CVS: llvm-test/autoconf/configure.ac
Reid Spencer
reid at x10sys.com
Tue Jul 12 10:36:05 PDT 2005
Changes in directory llvm-test/autoconf:
configure.ac updated: 1.21 -> 1.22
---
Log message:
Test for the re_comp function so that platform differences can be
compensated for via testing in makefiles if HAVE_RE_COMP is defined. With
this change, llvm-test makefiles can do something like:
ifdef HAVE_RE_COMP
...
endif
---
Diffs of the changes: (+4 -0)
configure.ac | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm-test/autoconf/configure.ac
diff -u llvm-test/autoconf/configure.ac:1.21 llvm-test/autoconf/configure.ac:1.22
--- llvm-test/autoconf/configure.ac:1.21 Wed May 18 15:18:40 2005
+++ llvm-test/autoconf/configure.ac Tue Jul 12 12:35:53 2005
@@ -98,6 +98,10 @@
dnl Determine if the linker supports the -R option.
AC_LINK_USE_R
+dnl Check for needed functions
+AC_CHECK_FUNC([re_comp],[AC_SUBST(HAVE_RE_COMP,[HAVE_RE_COMP:=1])],
+ [AC_SUBST(HAVE_RE_COMP,[[]])])
+
dnl Configure the default locations of the external benchmarks
EXTERNAL_BENCHMARK(spec95,/home/vadve/shared/benchmarks/spec95/benchspec)
EXTERNAL_BENCHMARK(spec2000,/home/vadve/shared/benchmarks/speccpu2000/benchspec)
More information about the llvm-commits
mailing list