diff options
author | John Criswell <criswell@uiuc.edu> | 2004-02-20 22:30:22 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2004-02-20 22:30:22 +0000 |
commit | 0538d4223bb70ae61e1bc800945fc994a8680a08 (patch) | |
tree | 16022ff6bc4a7d536254d98aee28917c90665eb9 /autoconf | |
parent | c224efb7a6685709e3eb324b0c655989205d615d (diff) | |
download | llvm-0538d4223bb70ae61e1bc800945fc994a8680a08.tar.gz llvm-0538d4223bb70ae61e1bc800945fc994a8680a08.tar.bz2 llvm-0538d4223bb70ae61e1bc800945fc994a8680a08.tar.xz |
Added an option for configuring Povray. By default, it should find my local
installation of Povray (and not do anything for people who don't have it).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 46f49c00bc..acf402e8fe 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -329,6 +329,29 @@ else AC_SUBST(USE_SPEC95,[[USE_SPEC95=1]]) fi +dnl Povray External Benchmark +AC_ARG_ENABLE(povray,AC_HELP_STRING([--enable-povray],[Compile Povray benchmark (default is NO)]),,enableval=no) +if test ${enableval} = "no" +then + if test -d /home/vadve/criswell/Downloads/povray-3.50c + then + AC_SUBST(POVRAY_ROOT,[/home/vadve/criswell/Downloads/povray-3.50c]) + AC_SUBST(USE_POVRAY,[[USE_POVRAY=1]]) + else + AC_SUBST(USE_POVRAY,[[]]) + AC_SUBST(POVRAY_ROOT,[]) + fi +else + if test ${enableval} = "" + then + AC_SUBST(POVRAY_ROOT,[/home/vadve/criswell/Downloads/povray-3.50c]) + else + AC_SUBST(POVRAY_ROOT,[${enableval}]) + fi + AC_SUBST(USE_POVRAY,[[USE_POVRAY=1]]) +fi + + dnl Precompiled Bytecode Option AC_ARG_ENABLE(precompiled_bytecode,AC_HELP_STRING([--enable-precompiled_bytecode],[Use pre-compiled bytecode (default is NO)]),,enableval=no) if test ${enableval} = "no" |