[llvm-commits] CVS: llvm-test/configure

Reid Spencer reid at x10sys.com
Fri Apr 7 11:53:34 PDT 2006



Changes in directory llvm-test:

configure updated: 1.31 -> 1.32
---
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:  (+591 -571)

 configure | 1162 +++++++++++++++++++++++++++++++-------------------------------
 1 files changed, 591 insertions(+), 571 deletions(-)


Index: llvm-test/configure
diff -u llvm-test/configure:1.31 llvm-test/configure:1.32
--- llvm-test/configure:1.31	Wed Dec 21 20:10:25 2005
+++ llvm-test/configure	Fri Apr  7 13:53:21 2006
@@ -465,7 +465,7 @@
 # include <unistd.h>
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_SRC LLVM_OBJ DISABLE_LLC_DIFFS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL USE_F2C F2C F2C_BIN F2C_DIR F2C_INC F2C_LIB USE_F95 F95 F95_BIN F95_DIR F95_INC F95_LIB HAVE_RE_COMP SPEC95_ROOT USE_SPEC95 SPEC2000_ROOT USE_SPEC2000 POVRAY_ROOT USE_POVRAY NAMD_ROOT USE_NAMD SWEEP3D_ROOT USE_SWEEP3D FPGROWTH_ROOT USE_FPGROWTH ALP_ROOT USE_ALP LIBOBJS LTLIBOBJS'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LLVM_SRC LLVM_OBJ LLVM_EXTERNALS SPEC95_ROOT USE_SPEC95 SPEC2000_ROOT USE_SPEC2000 POVRAY_ROOT USE_POVRAY NAMD_ROOT USE_NAMD SWEEP3D_ROOT USE_SWEEP3D FPGROWTH_ROOT USE_FPGROWTH ALP_ROOT USE_ALP DISABLE_LLC_DIFFS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT FLEX YACC BISON build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL USE_F2C F2C F2C_BIN F2C_DIR F2C_INC F2C_LIB USE_F95 F95 F95_BIN F95_DIR F95_INC F95_LIB HAVE_RE_COMP LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 
 # Initialize some variables set by options.
@@ -1030,19 +1030,20 @@
   --enable-fast-install[=PKGS]
                           optimize for fast installation [default=yes]
   --disable-libtool-lock  avoid locking (might break parallel builds)
-  --enable-spec95=ARG     Use spec95 as a benchmark (srcs in DIR)
-  --enable-spec2000=ARG   Use spec2000 as a benchmark (srcs in DIR)
-  --enable-povray=ARG     Use povray as a benchmark (srcs in DIR)
-  --enable-namd=ARG       Use namd as a benchmark (srcs in DIR)
-  --enable-sweep3d=ARG    Use sweep3d as a benchmark (srcs in DIR)
-  --enable-fpgrowth=ARG   Use fpgrowth as a benchmark (srcs in DIR)
-  --enable-alp=ARG        Use alp as a benchmark (srcs in DIR)
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
-  --with-llvmsrc          Location of LLVM Source Code
+  --with-llvmsrc=DIR      Location of LLVM Source Code
   --with-llvmobj          Location of LLVM Object Code
+  --with-externals=DIR    Location of External Test code
+  --with-spec95=DIR       Use spec95 as a benchmark (srcs in DIR)
+  --with-spec2000=DIR     Use spec2000 as a benchmark (srcs in DIR)
+  --with-povray=DIR       Use povray as a benchmark (srcs in DIR)
+  --with-namd=DIR         Use namd as a benchmark (srcs in DIR)
+  --with-sweep3d=DIR      Use sweep3d as a benchmark (srcs in DIR)
+  --with-fpgrowth=DIR     Use fpgrowth as a benchmark (srcs in DIR)
+  --with-alp=DIR          Use alp as a benchmark (srcs in DIR)
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   --with-pic              try to use only PIC/non-PIC objects [default=use
                           both]
@@ -1679,6 +1680,354 @@
 
 fi;
 
+
+# Check whether --with-externals or --without-externals was given.
+if test "${with_externals+set}" = set; then
+  withval="$with_externals"
+  LLVM_EXTERNALS=$withval
+
+else
+  LLVM_EXTERNALS=/home/vadve/shared/benchmarks
+
+fi;
+
+
+
+# Check whether --with-spec95 or --without-spec95 was given.
+if test "${with_spec95+set}" = set; then
+  withval="$with_spec95"
+  checkresult=$withval
+else
+  checkresult=auto
+fi;
+echo "$as_me:$LINENO: checking for spec95 benchmark sources" >&5
+echo $ECHO_N "checking for spec95 benchmark sources... $ECHO_C" >&6
+case "$checkresult" in
+auto|yes)
+    defaultdir=${LLVM_EXTERNALS}/spec95/benchspec
+	if test -d "$defaultdir"
+	then
+		SPEC95_ROOT=$defaultdir
+
+		USE_SPEC95=USE_SPEC95=1
+
+        checkresult="yes, found in $defaultdir"
+    else
+        checkresult=no
+    fi
+    ;;
+no)
+
+
+    checkresult=no
+    ;;
+*)  if test -d "$checkresult"
+    then
+        SPEC95_ROOT="$checkresult"
+
+        USE_SPEC95=USE_SPEC95=1
+
+        checkresult="yes, in $checkresult"
+    else
+
+
+        checkresult="no, not found in $checkresult"
+    fi
+    ;;
+esac
+echo "$as_me:$LINENO: result: $checkresult" >&5
+echo "${ECHO_T}$checkresult" >&6
+
+
+
+
+# Check whether --with-spec2000 or --without-spec2000 was given.
+if test "${with_spec2000+set}" = set; then
+  withval="$with_spec2000"
+  checkresult=$withval
+else
+  checkresult=auto
+fi;
+echo "$as_me:$LINENO: checking for spec2000 benchmark sources" >&5
+echo $ECHO_N "checking for spec2000 benchmark sources... $ECHO_C" >&6
+case "$checkresult" in
+auto|yes)
+    defaultdir=${LLVM_EXTERNALS}/speccpu2000/benchspec
+	if test -d "$defaultdir"
+	then
+		SPEC2000_ROOT=$defaultdir
+
+		USE_SPEC2000=USE_SPEC2000=1
+
+        checkresult="yes, found in $defaultdir"
+    else
+        checkresult=no
+    fi
+    ;;
+no)
+
+
+    checkresult=no
+    ;;
+*)  if test -d "$checkresult"
+    then
+        SPEC2000_ROOT="$checkresult"
+
+        USE_SPEC2000=USE_SPEC2000=1
+
+        checkresult="yes, in $checkresult"
+    else
+
+
+        checkresult="no, not found in $checkresult"
+    fi
+    ;;
+esac
+echo "$as_me:$LINENO: result: $checkresult" >&5
+echo "${ECHO_T}$checkresult" >&6
+
+
+
+
+# Check whether --with-povray or --without-povray was given.
+if test "${with_povray+set}" = set; then
+  withval="$with_povray"
+  checkresult=$withval
+else
+  checkresult=auto
+fi;
+echo "$as_me:$LINENO: checking for povray benchmark sources" >&5
+echo $ECHO_N "checking for povray benchmark sources... $ECHO_C" >&6
+case "$checkresult" in
+auto|yes)
+    defaultdir=${LLVM_EXTERNALS}/povray31
+	if test -d "$defaultdir"
+	then
+		POVRAY_ROOT=$defaultdir
+
+		USE_POVRAY=USE_POVRAY=1
+
+        checkresult="yes, found in $defaultdir"
+    else
+        checkresult=no
+    fi
+    ;;
+no)
+
+
+    checkresult=no
+    ;;
+*)  if test -d "$checkresult"
+    then
+        POVRAY_ROOT="$checkresult"
+
+        USE_POVRAY=USE_POVRAY=1
+
+        checkresult="yes, in $checkresult"
+    else
+
+
+        checkresult="no, not found in $checkresult"
+    fi
+    ;;
+esac
+echo "$as_me:$LINENO: result: $checkresult" >&5
+echo "${ECHO_T}$checkresult" >&6
+
+
+
+
+# Check whether --with-namd or --without-namd was given.
+if test "${with_namd+set}" = set; then
+  withval="$with_namd"
+  checkresult=$withval
+else
+  checkresult=auto
+fi;
+echo "$as_me:$LINENO: checking for namd benchmark sources" >&5
+echo $ECHO_N "checking for namd benchmark sources... $ECHO_C" >&6
+case "$checkresult" in
+auto|yes)
+    defaultdir=${LLVM_EXTERNALS}/spec_namd
+	if test -d "$defaultdir"
+	then
+		NAMD_ROOT=$defaultdir
+
+		USE_NAMD=USE_NAMD=1
+
+        checkresult="yes, found in $defaultdir"
+    else
+        checkresult=no
+    fi
+    ;;
+no)
+
+
+    checkresult=no
+    ;;
+*)  if test -d "$checkresult"
+    then
+        NAMD_ROOT="$checkresult"
+
+        USE_NAMD=USE_NAMD=1
+
+        checkresult="yes, in $checkresult"
+    else
+
+
+        checkresult="no, not found in $checkresult"
+    fi
+    ;;
+esac
+echo "$as_me:$LINENO: result: $checkresult" >&5
+echo "${ECHO_T}$checkresult" >&6
+
+
+
+
+# Check whether --with-sweep3d or --without-sweep3d was given.
+if test "${with_sweep3d+set}" = set; then
+  withval="$with_sweep3d"
+  checkresult=$withval
+else
+  checkresult=auto
+fi;
+echo "$as_me:$LINENO: checking for sweep3d benchmark sources" >&5
+echo $ECHO_N "checking for sweep3d benchmark sources... $ECHO_C" >&6
+case "$checkresult" in
+auto|yes)
+    defaultdir=${LLVM_EXTERNALS}/sweep3d
+	if test -d "$defaultdir"
+	then
+		SWEEP3D_ROOT=$defaultdir
+
+		USE_SWEEP3D=USE_SWEEP3D=1
+
+        checkresult="yes, found in $defaultdir"
+    else
+        checkresult=no
+    fi
+    ;;
+no)
+
+
+    checkresult=no
+    ;;
+*)  if test -d "$checkresult"
+    then
+        SWEEP3D_ROOT="$checkresult"
+
+        USE_SWEEP3D=USE_SWEEP3D=1
+
+        checkresult="yes, in $checkresult"
+    else
+
+
+        checkresult="no, not found in $checkresult"
+    fi
+    ;;
+esac
+echo "$as_me:$LINENO: result: $checkresult" >&5
+echo "${ECHO_T}$checkresult" >&6
+
+
+
+
+# Check whether --with-fpgrowth or --without-fpgrowth was given.
+if test "${with_fpgrowth+set}" = set; then
+  withval="$with_fpgrowth"
+  checkresult=$withval
+else
+  checkresult=auto
+fi;
+echo "$as_me:$LINENO: checking for fpgrowth benchmark sources" >&5
+echo $ECHO_N "checking for fpgrowth benchmark sources... $ECHO_C" >&6
+case "$checkresult" in
+auto|yes)
+    defaultdir=${LLVM_EXTERNALS}/fpgrowth
+	if test -d "$defaultdir"
+	then
+		FPGROWTH_ROOT=$defaultdir
+
+		USE_FPGROWTH=USE_FPGROWTH=1
+
+        checkresult="yes, found in $defaultdir"
+    else
+        checkresult=no
+    fi
+    ;;
+no)
+
+
+    checkresult=no
+    ;;
+*)  if test -d "$checkresult"
+    then
+        FPGROWTH_ROOT="$checkresult"
+
+        USE_FPGROWTH=USE_FPGROWTH=1
+
+        checkresult="yes, in $checkresult"
+    else
+
+
+        checkresult="no, not found in $checkresult"
+    fi
+    ;;
+esac
+echo "$as_me:$LINENO: result: $checkresult" >&5
+echo "${ECHO_T}$checkresult" >&6
+
+
+
+
+# Check whether --with-alp or --without-alp was given.
+if test "${with_alp+set}" = set; then
+  withval="$with_alp"
+  checkresult=$withval
+else
+  checkresult=auto
+fi;
+echo "$as_me:$LINENO: checking for alp benchmark sources" >&5
+echo $ECHO_N "checking for alp benchmark sources... $ECHO_C" >&6
+case "$checkresult" in
+auto|yes)
+    defaultdir=${LLVM_EXTERNALS}/alp
+	if test -d "$defaultdir"
+	then
+		ALP_ROOT=$defaultdir
+
+		USE_ALP=USE_ALP=1
+
+        checkresult="yes, found in $defaultdir"
+    else
+        checkresult=no
+    fi
+    ;;
+no)
+
+
+    checkresult=no
+    ;;
+*)  if test -d "$checkresult"
+    then
+        ALP_ROOT="$checkresult"
+
+        USE_ALP=USE_ALP=1
+
+        checkresult="yes, in $checkresult"
+    else
+
+
+        checkresult="no, not found in $checkresult"
+    fi
+    ;;
+esac
+echo "$as_me:$LINENO: result: $checkresult" >&5
+echo "${ECHO_T}$checkresult" >&6
+
+
+
 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
 if test "${enable_llc_diffs+set}" = set; then
   enableval="$enable_llc_diffs"
@@ -3988,7 +4337,7 @@
   ;;
 *-*-irix6*)
   # Find out which ABI we are using.
-  echo '#line 3991 "configure"' > conftest.$ac_ext
+  echo '#line 4340 "configure"' > conftest.$ac_ext
   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   (eval $ac_compile) 2>&5
   ac_status=$?
@@ -4862,7 +5211,7 @@
 
 
 # Provide some information about the compiler.
-echo "$as_me:4865:" \
+echo "$as_me:5214:" \
      "checking for Fortran 77 compiler version" >&5
 ac_compiler=`set X $ac_compile; echo $2`
 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
@@ -5919,11 +6268,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:5922: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:6271: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:5926: \$? = $ac_status" >&5
+   echo "$as_me:6275: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -6162,11 +6511,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:6165: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:6514: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:6169: \$? = $ac_status" >&5
+   echo "$as_me:6518: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -6222,11 +6571,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:6225: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:6574: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:6229: \$? = $ac_status" >&5
+   echo "$as_me:6578: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -8407,7 +8756,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 8410 "configure"
+#line 8759 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -8505,7 +8854,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 8508 "configure"
+#line 8857 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -10698,11 +11047,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:10701: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:11050: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:10705: \$? = $ac_status" >&5
+   echo "$as_me:11054: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -10758,11 +11107,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:10761: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:11110: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:10765: \$? = $ac_status" >&5
+   echo "$as_me:11114: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -12119,7 +12468,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 12122 "configure"
+#line 12471 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -12217,7 +12566,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 12220 "configure"
+#line 12569 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -13054,11 +13403,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13057: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13406: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:13061: \$? = $ac_status" >&5
+   echo "$as_me:13410: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -13114,11 +13463,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:13117: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:13466: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:13121: \$? = $ac_status" >&5
+   echo "$as_me:13470: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -15153,11 +15502,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:15156: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:15505: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:15160: \$? = $ac_status" >&5
+   echo "$as_me:15509: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -15396,11 +15745,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:15399: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:15748: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>conftest.err)
    ac_status=$?
    cat conftest.err >&5
-   echo "$as_me:15403: \$? = $ac_status" >&5
+   echo "$as_me:15752: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s "$ac_outfile"; then
      # The compiler can only warn and ignore the option if not recognized
      # So say no if there are warnings
@@ -15456,11 +15805,11 @@
    -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    -e 's:$: $lt_compiler_flag:'`
-   (eval echo "\"\$as_me:15459: $lt_compile\"" >&5)
+   (eval echo "\"\$as_me:15808: $lt_compile\"" >&5)
    (eval "$lt_compile" 2>out/conftest.err)
    ac_status=$?
    cat out/conftest.err >&5
-   echo "$as_me:15463: \$? = $ac_status" >&5
+   echo "$as_me:15812: \$? = $ac_status" >&5
    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    then
      # The compiler can only warn and ignore the option if not recognized
@@ -17641,7 +17990,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 17644 "configure"
+#line 17993 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -17739,7 +18088,7 @@
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<EOF
-#line 17742 "configure"
+#line 18091 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -19474,213 +19823,36 @@
 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
 if test "${ac_cv_header_sys_wait_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <sys/types.h>
-#include <sys/wait.h>
-#ifndef WEXITSTATUS
-# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
-#endif
-#ifndef WIFEXITED
-# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
-#endif
-
-int
-main ()
-{
-  int s;
-  wait (&s);
-  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
-  (eval $ac_compile) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"
-			 || test ! -s conftest.err'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest.$ac_objext'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  ac_cv_header_sys_wait_h=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ac_cv_header_sys_wait_h=no
-fi
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
-echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
-if test $ac_cv_header_sys_wait_h = yes; then
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_SYS_WAIT_H 1
-_ACEOF
-
-fi
-
-
-echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
-echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6
-if test "${llvm_cv_link_use_r+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-   ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-  oldcflags="$CFLAGS"
-  CFLAGS="$CFLAGS -Wl,-R."
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-int
-main ()
-{
-int main() { return 0; }
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
-  (eval $ac_link) 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag"
-			 || test ! -s conftest.err'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
-  (eval $ac_try) 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  llvm_cv_link_use_r=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-llvm_cv_link_use_r=no
-fi
-rm -f conftest.err conftest.$ac_objext \
-      conftest$ac_exeext conftest.$ac_ext
-  CFLAGS="$oldcflags"
-  ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
-echo "${ECHO_T}$llvm_cv_link_use_r" >&6
-if test "$llvm_cv_link_use_r" = yes ; then
-
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_LINK_R 1
-_ACEOF
-
-  fi
-
-
-echo "$as_me:$LINENO: checking for re_comp" >&5
-echo $ECHO_N "checking for re_comp... $ECHO_C" >&6
-if test "${ac_cv_func_re_comp+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-/* Define re_comp to an innocuous variant, in case <limits.h> declares re_comp.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define re_comp innocuous_re_comp
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char re_comp (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef re_comp
-
-/* Override any gcc2 internal prototype to avoid an error.  */
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-/* We use char because int might match the return type of a gcc2
-   builtin and then its argument prototype would still apply.  */
-char re_comp ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined (__stub_re_comp) || defined (__stub___re_comp)
-choke me
-#else
-char (*f) () = re_comp;
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+#include <sys/types.h>
+#include <sys/wait.h>
+#ifndef WEXITSTATUS
+# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
 #endif
-#ifdef __cplusplus
-}
+#ifndef WIFEXITED
+# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 #endif
 
 int
 main ()
 {
-return f != re_comp;
+  int s;
+  wait (&s);
+  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
   ;
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
-  (eval $ac_link) 2>conftest.er1
+rm -f conftest.$ac_objext
+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
+  (eval $ac_compile) 2>conftest.er1
   ac_status=$?
   grep -v '^ *+' conftest.er1 >conftest.err
   rm -f conftest.er1
@@ -19694,361 +19866,208 @@
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
+	 { ac_try='test -s conftest.$ac_objext'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
   ac_status=$?
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   (exit $ac_status); }; }; then
-  ac_cv_func_re_comp=yes
+  ac_cv_header_sys_wait_h=yes
 else
   echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
-ac_cv_func_re_comp=no
-fi
-rm -f conftest.err conftest.$ac_objext \
-      conftest$ac_exeext conftest.$ac_ext
-fi
-echo "$as_me:$LINENO: result: $ac_cv_func_re_comp" >&5
-echo "${ECHO_T}$ac_cv_func_re_comp" >&6
-if test $ac_cv_func_re_comp = yes; then
-  HAVE_RE_COMP=HAVE_RE_COMP:=1
-
-else
-  HAVE_RE_COMP=
-
+ac_cv_header_sys_wait_h=no
 fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
+echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
+if test $ac_cv_header_sys_wait_h = yes; then
 
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_SYS_WAIT_H 1
+_ACEOF
 
+fi
 
- # Check whether --enable-spec95 or --disable-spec95 was given.
-if test "${enable_spec95+set}" = set; then
-  enableval="$enable_spec95"
-  checkresult=$enableval
-else
-  checkresult=auto
-fi;
-echo "$as_me:$LINENO: checking for spec95 benchmark sources" >&5
-echo $ECHO_N "checking for spec95 benchmark sources... $ECHO_C" >&6
-case "$checkresult" in
-auto|yes)
-    defaultdir=/home/vadve/shared/benchmarks/spec95/benchspec
-	if test -d "$defaultdir"
-	then
-		SPEC95_ROOT=$defaultdir
-
-		USE_SPEC95=USE_SPEC95=1
-
-        checkresult="yes, found in $defaultdir"
-    else
-        checkresult=no
-    fi
-    ;;
-no)
-
-
-    checkresult=no
-    ;;
-*)  if test -d "$checkresult"
-    then
-        SPEC95_ROOT="$checkresult"
-
-        USE_SPEC95=USE_SPEC95=1
-
-        checkresult="yes, in $checkresult"
-    else
-
-
-        checkresult="no, not found in $checkresult"
-    fi
-    ;;
-esac
-echo "$as_me:$LINENO: result: $checkresult" >&5
-echo "${ECHO_T}$checkresult" >&6
-
-
-
- # Check whether --enable-spec2000 or --disable-spec2000 was given.
-if test "${enable_spec2000+set}" = set; then
-  enableval="$enable_spec2000"
-  checkresult=$enableval
-else
-  checkresult=auto
-fi;
-echo "$as_me:$LINENO: checking for spec2000 benchmark sources" >&5
-echo $ECHO_N "checking for spec2000 benchmark sources... $ECHO_C" >&6
-case "$checkresult" in
-auto|yes)
-    defaultdir=/home/vadve/shared/benchmarks/speccpu2000/benchspec
-	if test -d "$defaultdir"
-	then
-		SPEC2000_ROOT=$defaultdir
-
-		USE_SPEC2000=USE_SPEC2000=1
-
-        checkresult="yes, found in $defaultdir"
-    else
-        checkresult=no
-    fi
-    ;;
-no)
-
-
-    checkresult=no
-    ;;
-*)  if test -d "$checkresult"
-    then
-        SPEC2000_ROOT="$checkresult"
-
-        USE_SPEC2000=USE_SPEC2000=1
-
-        checkresult="yes, in $checkresult"
-    else
-
-
-        checkresult="no, not found in $checkresult"
-    fi
-    ;;
-esac
-echo "$as_me:$LINENO: result: $checkresult" >&5
-echo "${ECHO_T}$checkresult" >&6
-
-
-
- # Check whether --enable-povray or --disable-povray was given.
-if test "${enable_povray+set}" = set; then
-  enableval="$enable_povray"
-  checkresult=$enableval
-else
-  checkresult=auto
-fi;
-echo "$as_me:$LINENO: checking for povray benchmark sources" >&5
-echo $ECHO_N "checking for povray benchmark sources... $ECHO_C" >&6
-case "$checkresult" in
-auto|yes)
-    defaultdir=/home/vadve/shared/benchmarks/povray31
-	if test -d "$defaultdir"
-	then
-		POVRAY_ROOT=$defaultdir
-
-		USE_POVRAY=USE_POVRAY=1
-
-        checkresult="yes, found in $defaultdir"
-    else
-        checkresult=no
-    fi
-    ;;
-no)
-
-
-    checkresult=no
-    ;;
-*)  if test -d "$checkresult"
-    then
-        POVRAY_ROOT="$checkresult"
-
-        USE_POVRAY=USE_POVRAY=1
-
-        checkresult="yes, in $checkresult"
-    else
-
-
-        checkresult="no, not found in $checkresult"
-    fi
-    ;;
-esac
-echo "$as_me:$LINENO: result: $checkresult" >&5
-echo "${ECHO_T}$checkresult" >&6
-
-
-
- # Check whether --enable-namd or --disable-namd was given.
-if test "${enable_namd+set}" = set; then
-  enableval="$enable_namd"
-  checkresult=$enableval
-else
-  checkresult=auto
-fi;
-echo "$as_me:$LINENO: checking for namd benchmark sources" >&5
-echo $ECHO_N "checking for namd benchmark sources... $ECHO_C" >&6
-case "$checkresult" in
-auto|yes)
-    defaultdir=/home/vadve/shared/benchmarks/spec_namd
-	if test -d "$defaultdir"
-	then
-		NAMD_ROOT=$defaultdir
-
-		USE_NAMD=USE_NAMD=1
-
-        checkresult="yes, found in $defaultdir"
-    else
-        checkresult=no
-    fi
-    ;;
-no)
-
-
-    checkresult=no
-    ;;
-*)  if test -d "$checkresult"
-    then
-        NAMD_ROOT="$checkresult"
-
-        USE_NAMD=USE_NAMD=1
-
-        checkresult="yes, in $checkresult"
-    else
-
-
-        checkresult="no, not found in $checkresult"
-    fi
-    ;;
-esac
-echo "$as_me:$LINENO: result: $checkresult" >&5
-echo "${ECHO_T}$checkresult" >&6
-
-
-
- # Check whether --enable-sweep3d or --disable-sweep3d was given.
-if test "${enable_sweep3d+set}" = set; then
-  enableval="$enable_sweep3d"
-  checkresult=$enableval
-else
-  checkresult=auto
-fi;
-echo "$as_me:$LINENO: checking for sweep3d benchmark sources" >&5
-echo $ECHO_N "checking for sweep3d benchmark sources... $ECHO_C" >&6
-case "$checkresult" in
-auto|yes)
-    defaultdir=/home/vadve/criswell/umt2k
-	if test -d "$defaultdir"
-	then
-		SWEEP3D_ROOT=$defaultdir
-
-		USE_SWEEP3D=USE_SWEEP3D=1
-
-        checkresult="yes, found in $defaultdir"
-    else
-        checkresult=no
-    fi
-    ;;
-no)
-
-
-    checkresult=no
-    ;;
-*)  if test -d "$checkresult"
-    then
-        SWEEP3D_ROOT="$checkresult"
-
-        USE_SWEEP3D=USE_SWEEP3D=1
-
-        checkresult="yes, in $checkresult"
-    else
-
-
-        checkresult="no, not found in $checkresult"
-    fi
-    ;;
-esac
-echo "$as_me:$LINENO: result: $checkresult" >&5
-echo "${ECHO_T}$checkresult" >&6
-
-
-
- # Check whether --enable-fpgrowth or --disable-fpgrowth was given.
-if test "${enable_fpgrowth+set}" = set; then
-  enableval="$enable_fpgrowth"
-  checkresult=$enableval
-else
-  checkresult=auto
-fi;
-echo "$as_me:$LINENO: checking for fpgrowth benchmark sources" >&5
-echo $ECHO_N "checking for fpgrowth benchmark sources... $ECHO_C" >&6
-case "$checkresult" in
-auto|yes)
-    defaultdir=/home/vadve/shared/benchmarks/fpgrowth
-	if test -d "$defaultdir"
-	then
-		FPGROWTH_ROOT=$defaultdir
-
-		USE_FPGROWTH=USE_FPGROWTH=1
 
-        checkresult="yes, found in $defaultdir"
-    else
-        checkresult=no
-    fi
-    ;;
-no)
+echo "$as_me:$LINENO: checking for compiler -Wl,-R<path> option" >&5
+echo $ECHO_N "checking for compiler -Wl,-R<path> option... $ECHO_C" >&6
+if test "${llvm_cv_link_use_r+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+   ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+  oldcflags="$CFLAGS"
+  CFLAGS="$CFLAGS -Wl,-R."
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
 
-    checkresult=no
-    ;;
-*)  if test -d "$checkresult"
-    then
-        FPGROWTH_ROOT="$checkresult"
+int
+main ()
+{
+int main() { return 0; }
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  llvm_cv_link_use_r=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
-        USE_FPGROWTH=USE_FPGROWTH=1
+llvm_cv_link_use_r=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+      conftest$ac_exeext conftest.$ac_ext
+  CFLAGS="$oldcflags"
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-        checkresult="yes, in $checkresult"
-    else
 
+fi
+echo "$as_me:$LINENO: result: $llvm_cv_link_use_r" >&5
+echo "${ECHO_T}$llvm_cv_link_use_r" >&6
+if test "$llvm_cv_link_use_r" = yes ; then
 
-        checkresult="no, not found in $checkresult"
-    fi
-    ;;
-esac
-echo "$as_me:$LINENO: result: $checkresult" >&5
-echo "${ECHO_T}$checkresult" >&6
+cat >>confdefs.h <<\_ACEOF
+#define HAVE_LINK_R 1
+_ACEOF
 
+  fi
 
 
- # Check whether --enable-alp or --disable-alp was given.
-if test "${enable_alp+set}" = set; then
-  enableval="$enable_alp"
-  checkresult=$enableval
+echo "$as_me:$LINENO: checking for re_comp" >&5
+echo $ECHO_N "checking for re_comp... $ECHO_C" >&6
+if test "${ac_cv_func_re_comp+set}" = set; then
+  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  checkresult=auto
-fi;
-echo "$as_me:$LINENO: checking for alp benchmark sources" >&5
-echo $ECHO_N "checking for alp benchmark sources... $ECHO_C" >&6
-case "$checkresult" in
-auto|yes)
-    defaultdir=/home/vadve/shared/benchmarks/ALP
-	if test -d "$defaultdir"
-	then
-		ALP_ROOT=$defaultdir
-
-		USE_ALP=USE_ALP=1
+  cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h.  */
+/* Define re_comp to an innocuous variant, in case <limits.h> declares re_comp.
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
+#define re_comp innocuous_re_comp
 
-        checkresult="yes, found in $defaultdir"
-    else
-        checkresult=no
-    fi
-    ;;
-no)
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char re_comp (); below.
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+    <limits.h> exists even on freestanding compilers.  */
 
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
 
-    checkresult=no
-    ;;
-*)  if test -d "$checkresult"
-    then
-        ALP_ROOT="$checkresult"
+#undef re_comp
 
-        USE_ALP=USE_ALP=1
+/* Override any gcc2 internal prototype to avoid an error.  */
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
+char re_comp ();
+/* The GNU C library defines this for functions which it implements
+    to always fail with ENOSYS.  Some functions are actually named
+    something starting with __ and the normal name is an alias.  */
+#if defined (__stub_re_comp) || defined (__stub___re_comp)
+choke me
+#else
+char (*f) () = re_comp;
+#endif
+#ifdef __cplusplus
+}
+#endif
 
-        checkresult="yes, in $checkresult"
-    else
+int
+main ()
+{
+return f != re_comp;
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+  (eval $ac_link) 2>conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 >conftest.err
+  rm -f conftest.er1
+  cat conftest.err >&5
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); } &&
+	 { ac_try='test -z "$ac_c_werror_flag"
+			 || test ! -s conftest.err'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; } &&
+	 { ac_try='test -s conftest$ac_exeext'
+  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
+  (eval $ac_try) 2>&5
+  ac_status=$?
+  echo "$as_me:$LINENO: \$? = $ac_status" >&5
+  (exit $ac_status); }; }; then
+  ac_cv_func_re_comp=yes
+else
+  echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
 
+ac_cv_func_re_comp=no
+fi
+rm -f conftest.err conftest.$ac_objext \
+      conftest$ac_exeext conftest.$ac_ext
+fi
+echo "$as_me:$LINENO: result: $ac_cv_func_re_comp" >&5
+echo "${ECHO_T}$ac_cv_func_re_comp" >&6
+if test $ac_cv_func_re_comp = yes; then
+  HAVE_RE_COMP=HAVE_RE_COMP:=1
 
-        checkresult="no, not found in $checkresult"
-    fi
-    ;;
-esac
-echo "$as_me:$LINENO: result: $checkresult" >&5
-echo "${ECHO_T}$checkresult" >&6
+else
+  HAVE_RE_COMP=
 
+fi
 
 
 cat >confcache <<\_ACEOF
@@ -20732,6 +20751,21 @@
 s, at LIBS@,$LIBS,;t t
 s, at LLVM_SRC@,$LLVM_SRC,;t t
 s, at LLVM_OBJ@,$LLVM_OBJ,;t t
+s, at LLVM_EXTERNALS@,$LLVM_EXTERNALS,;t t
+s, at SPEC95_ROOT@,$SPEC95_ROOT,;t t
+s, at USE_SPEC95@,$USE_SPEC95,;t t
+s, at SPEC2000_ROOT@,$SPEC2000_ROOT,;t t
+s, at USE_SPEC2000@,$USE_SPEC2000,;t t
+s, at POVRAY_ROOT@,$POVRAY_ROOT,;t t
+s, at USE_POVRAY@,$USE_POVRAY,;t t
+s, at NAMD_ROOT@,$NAMD_ROOT,;t t
+s, at USE_NAMD@,$USE_NAMD,;t t
+s, at SWEEP3D_ROOT@,$SWEEP3D_ROOT,;t t
+s, at USE_SWEEP3D@,$USE_SWEEP3D,;t t
+s, at FPGROWTH_ROOT@,$FPGROWTH_ROOT,;t t
+s, at USE_FPGROWTH@,$USE_FPGROWTH,;t t
+s, at ALP_ROOT@,$ALP_ROOT,;t t
+s, at USE_ALP@,$USE_ALP,;t t
 s, at DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
 s, at CXX@,$CXX,;t t
 s, at CXXFLAGS@,$CXXFLAGS,;t t
@@ -20786,20 +20820,6 @@
 s, at F95_INC@,$F95_INC,;t t
 s, at F95_LIB@,$F95_LIB,;t t
 s, at HAVE_RE_COMP@,$HAVE_RE_COMP,;t t
-s, at SPEC95_ROOT@,$SPEC95_ROOT,;t t
-s, at USE_SPEC95@,$USE_SPEC95,;t t
-s, at SPEC2000_ROOT@,$SPEC2000_ROOT,;t t
-s, at USE_SPEC2000@,$USE_SPEC2000,;t t
-s, at POVRAY_ROOT@,$POVRAY_ROOT,;t t
-s, at USE_POVRAY@,$USE_POVRAY,;t t
-s, at NAMD_ROOT@,$NAMD_ROOT,;t t
-s, at USE_NAMD@,$USE_NAMD,;t t
-s, at SWEEP3D_ROOT@,$SWEEP3D_ROOT,;t t
-s, at USE_SWEEP3D@,$USE_SWEEP3D,;t t
-s, at FPGROWTH_ROOT@,$FPGROWTH_ROOT,;t t
-s, at USE_FPGROWTH@,$USE_FPGROWTH,;t t
-s, at ALP_ROOT@,$ALP_ROOT,;t t
-s, at USE_ALP@,$USE_ALP,;t t
 s, at LIBOBJS@,$LIBOBJS,;t t
 s, at LTLIBOBJS@,$LTLIBOBJS,;t t
 CEOF






More information about the llvm-commits mailing list