[llvm-commits] CVS: llvm-test/autoconf/m4/external_benchmark.m4
Reid Spencer
reid at x10sys.com
Mon Aug 14 23:54:11 PDT 2006
Changes in directory llvm-test/autoconf/m4:
external_benchmark.m4 updated: 1.3 -> 1.4
---
Log message:
One more time, just for fun.
---
Diffs of the changes: (+22 -23)
external_benchmark.m4 | 45 ++++++++++++++++++++++-----------------------
1 files changed, 22 insertions(+), 23 deletions(-)
Index: llvm-test/autoconf/m4/external_benchmark.m4
diff -u llvm-test/autoconf/m4/external_benchmark.m4:1.3 llvm-test/autoconf/m4/external_benchmark.m4:1.4
--- llvm-test/autoconf/m4/external_benchmark.m4:1.3 Fri Apr 7 13:53:21 2006
+++ llvm-test/autoconf/m4/external_benchmark.m4 Tue Aug 15 01:53:55 2006
@@ -12,32 +12,31 @@
AC_MSG_CHECKING([for $1 benchmark sources])
case "$checkresult" in
auto|yes)
- defaultdir=$2
- if test -d "$defaultdir"
- then
- AC_SUBST(allcapsname()[_ROOT],[$defaultdir])
- AC_SUBST([USE_]allcapsname(),[USE_]allcapsname()=1)
- checkresult="yes, found in $defaultdir"
- else
- checkresult=no
- fi
- ;;
+ defaultdir=$2
+ if test -d "$defaultdir"; then
+ AC_SUBST(allcapsname()[_ROOT],[$defaultdir])
+ AC_SUBST([USE_]allcapsname(),[USE_]allcapsname()=1)
+ checkresult="yes, found in $defaultdir"
+ else
+ checkresult=no
+ fi
+ ;;
no)
+ AC_SUBST(allcapsname()[_ROOT],[])
+ AC_SUBST([USE_]allcapsname(),[])
+ checkresult=no
+ ;;
+*)
+ if test -d "$checkresult" ; then
+ AC_SUBST(allcapsname()[_ROOT],"$checkresult")
+ AC_SUBST([USE_]allcapsname(),[USE_]allcapsname()=1)
+ checkresult="yes, in $checkresult"
+ else
AC_SUBST(allcapsname()[_ROOT],[])
AC_SUBST([USE_]allcapsname(),[])
- checkresult=no
- ;;
-*) if test -d "$checkresult"
- then
- AC_SUBST(allcapsname()[_ROOT],"$checkresult")
- AC_SUBST([USE_]allcapsname(),[USE_]allcapsname()=1)
- checkresult="yes, in $checkresult"
- else
- AC_SUBST(allcapsname()[_ROOT],[])
- AC_SUBST([USE_]allcapsname(),[])
- checkresult="no, not found in $checkresult"
- fi
- ;;
+ checkresult="no, not found in $checkresult"
+ fi
+ ;;
esac
AC_MSG_RESULT($checkresult)
m4_undefine([allcapsname])
More information about the llvm-commits
mailing list