From f66cdf8449cc9b16522483aab1d1191172b5f2b6 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Tue, 13 Apr 2004 19:03:49 +0000 Subject: [PATCH] Regenerated using autoconf-2.57. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12915 91177308-0d34-0410-b5e6-96231b3b80d8 --- configure | 51 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/configure b/configure index b55185c60f2..884283afa96 100755 --- a/configure +++ b/configure @@ -1033,7 +1033,7 @@ Optional Features: --enable-optimized Compile with optimizations enabled (default is NO) --enable-spec2000 Compile SPEC 2000 benchmarks (default is NO) --enable-spec95 Compile SPEC 95 benchmarks (default is NO) - --enable-povray Compile Povray benchmark (default is NO) + --enable-povray=ARG Use POV-Ray as a benchmark (srcs in DIR) --enable-precompiled_bytecode Use pre-compiled bytecode (default is NO) --enable-llc_diffs Enable LLC Diffs when testing (default is YES) @@ -21900,36 +21900,49 @@ fi # Check whether --enable-povray or --disable-povray was given. if test "${enable_povray+set}" = set; then enableval="$enable_povray" - + povray=$enableval else - enableval=no + povray=auto fi; -if test ${enableval} = "no" -then - if test -d /home/vadve/shared/benchmarks/povray31 +echo "$as_me:$LINENO: checking for POV-Ray benchmark sources" >&5 +echo $ECHO_N "checking for POV-Ray benchmark sources... $ECHO_C" >&6 +case "$povray" in +yes) + defaultdir=/home/vadve/shared/benchmarks/povray31 + if test -d $defaultdir then - POVRAY_ROOT=/home/vadve/shared/benchmarks/povray31 + POVRAY_ROOT=$defaultdir USE_POVRAY=USE_POVRAY=1 - else - USE_POVRAY= + povray="yes, found in $defaultdir" + else + povray=no + fi + ;; +auto|no) + USE_POVRAY= - fi -else - if test ${enableval} = "" - then - POVRAY_ROOT=/home/vadve/shared/benchmarks/povray31 + povray=no + ;; +*) if test -d "$povray" + then + POVRAY_ROOT="$povray" - else - POVRAY_ROOT=${enableval} + USE_POVRAY=USE_POVRAY=1 - fi - USE_POVRAY=USE_POVRAY=1 + povray="yes, in $povray" + else -fi + USE_POVRAY= + povray="no, not found in $povray" + fi + ;; +esac +echo "$as_me:$LINENO: result: $povray" >&5 +echo "${ECHO_T}$povray" >&6 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given. if test "${enable_precompiled_bytecode+set}" = set; then -- 2.34.1