diff options
author | John Criswell <criswell@uiuc.edu> | 2003-07-22 21:00:24 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2003-07-22 21:00:24 +0000 |
commit | b13092b05367268a4aebaae799d8440b549e10c5 (patch) | |
tree | 3f69bb5c18dcee40bcd32026dc9e34980dad13ca /configure | |
parent | 79a8f09914c2f9cf687e30344f4b20b247b9200d (diff) | |
download | external_llvm-b13092b05367268a4aebaae799d8440b549e10c5.tar.gz external_llvm-b13092b05367268a4aebaae799d8440b549e10c5.tar.bz2 external_llvm-b13092b05367268a4aebaae799d8440b549e10c5.zip |
Repaired the --enable and --disable options.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7239 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 84 |
1 files changed, 59 insertions, 25 deletions
@@ -21918,70 +21918,104 @@ echo "$as_me: error: Function mprotect() required but not found" >&2;} fi + # Check whether --enable-purify or --disable-purify was given. if test "${enable_purify+set}" = set; then enableval="$enable_purify" - ENABLE_PURIFY=ENABLE_PURIFY=1 else - ENABLE_PURIFY= - + enableval="no" fi; +if test ${enableval} = "no" +then + ENABLE_PURIFY= + +else + ENABLE_PURIFY=ENABLE_PURIFY=1 + +fi + # Check whether --enable-optimized or --disable-optimized was given. if test "${enable_optimized+set}" = set; then enableval="$enable_optimized" - ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1 else - ENABLE_OPTIMIZED= - + enableval=no fi; +if test ${enableval} = "no" +then + ENABLE_OPTIMIZED= + +else + ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1 + +fi + # Check whether --enable-spec or --disable-spec was given. if test "${enable_spec+set}" = set; then enableval="$enable_spec" - USE_SPEC=USE_SPEC=1 else - USE_SPEC= - + enableval=no fi; +if test ${enableval} = "no" +then + USE_SPEC= + +else + USE_SPEC=USE_SPEC=1 + +fi + # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given. if test "${enable_precompiled_bytecode+set}" = set; then enableval="$enable_precompiled_bytecode" - UPB=USE_PRECOMPILED_BYTECODE=1 else - UPB= - + enableval=no fi; +if test ${enableval} = "no" +then + UPB= + +else + UPB=USE_PRECOMPILED_BYTECODE=1 -DISABLE_LLC_DIFFS= +fi # Check whether --enable-llc_diffs or --disable-llc_diffs was given. if test "${enable_llc_diffs+set}" = set; then enableval="$enable_llc_diffs" - if test ${enableval} = "no"; then DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1; fi; else - DISABLE_LLC_DIFFS= - + enableval=yes fi; +if test ${enableval} = "no" +then + DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1 -case $build in - *i*86*) # Check whether --enable-jit or --disable-jit was given. +else + DISABLE_LLC_DIFFS= + +fi + +# Check whether --enable-jit or --disable-jit was given. if test "${enable_jit+set}" = set; then enableval="$enable_jit" - JIT=TARGET_HAS_JIT=1 else - JIT= - + enableval=no fi; - ;; - *) - ;; -esac + +if test ${enableval} = "no" +then + JIT= + +else + JIT=TARGET_HAS_JIT=1 + +fi # Check whether --with-spec or --without-spec was given. |