Changes in directory llvm-test/autoconf/m4:

external_benchmark.m4 updated: 1.2 -> 1.3
---
Log message:

For PR646: http://llvm.cs.uiuc.edu/PR646 :
1. Provide a --with-externals=DIR option to configure to specify the base
   directory for the external tests. Default its setting to the old
   default: /home/vadve/shared/benchmarks
2. Change the EXTERNAL_BENCHMARK macro invocations in configure.ac to use the
   value of LLVM_EXTERNALS (directory from --with-externals, or its default).
3. Change EXTERNAL_BENCHMARK macro to use AC_ARG_WITH instead of AC_ARG_ENABLE
   since these options specify a location rather than enablement of a feature.
4. Move the EXTERNAL_BENCHMARK macro invocations from the end of the file to
   just after the --with-externals definition so that it is clear that these
   --with-x options are related.


---
Diffs of the changes:  (+3 -4)

 external_benchmark.m4 |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)


Index: llvm-test/autoconf/m4/external_benchmark.m4
diff -u llvm-test/autoconf/m4/external_benchmark.m4:1.2 
llvm-test/autoconf/m4/external_benchmark.m4:1.3
--- llvm-test/autoconf/m4/external_benchmark.m4:1.2     Wed Dec 29 13:13:43 2004
+++ llvm-test/autoconf/m4/external_benchmark.m4 Fri Apr  7 13:53:21 2006
@@ -5,10 +5,9 @@
 dnl   $2 full path to benchmark source
 AC_DEFUN([EXTERNAL_BENCHMARK],
 [m4_define([allcapsname],translit($1,a-z,A-Z))
- AC_ARG_ENABLE($1,
- AS_HELP_STRING([--enable-$1=ARG], 
-                [Use $1 as a benchmark (srcs in DIR)]),
- checkresult=$enableval,
+ AC_ARG_WITH($1,
+ AS_HELP_STRING([--with-$1=DIR],[Use $1 as a benchmark (srcs in DIR)]),
+ checkresult=$withval,
  checkresult=auto)
 AC_MSG_CHECKING([for $1 benchmark sources])
 case "$checkresult" in



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to