Repaired the --enable and --disable options.

llvm-svn: 7239
This commit is contained in:
John Criswell 2003-07-22 21:00:24 +00:00
parent ba5a656e6c
commit 9d03ea2e11

84
configure vendored
View File

@ -21918,70 +21918,104 @@ echo "$as_me: error: Function mprotect() required but not found" >&2;}
fi fi
# Check whether --enable-purify or --disable-purify was given. # Check whether --enable-purify or --disable-purify was given.
if test "${enable_purify+set}" = set; then if test "${enable_purify+set}" = set; then
enableval="$enable_purify" enableval="$enable_purify"
ENABLE_PURIFY=ENABLE_PURIFY=1
else else
ENABLE_PURIFY= enableval="no"
fi; fi;
if test ${enableval} = "no"
then
ENABLE_PURIFY=
else
ENABLE_PURIFY=ENABLE_PURIFY=1
fi
# Check whether --enable-optimized or --disable-optimized was given. # Check whether --enable-optimized or --disable-optimized was given.
if test "${enable_optimized+set}" = set; then if test "${enable_optimized+set}" = set; then
enableval="$enable_optimized" enableval="$enable_optimized"
ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
else else
ENABLE_OPTIMIZED= enableval=no
fi; fi;
if test ${enableval} = "no"
then
ENABLE_OPTIMIZED=
else
ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
fi
# Check whether --enable-spec or --disable-spec was given. # Check whether --enable-spec or --disable-spec was given.
if test "${enable_spec+set}" = set; then if test "${enable_spec+set}" = set; then
enableval="$enable_spec" enableval="$enable_spec"
USE_SPEC=USE_SPEC=1
else else
USE_SPEC= enableval=no
fi; 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. # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
if test "${enable_precompiled_bytecode+set}" = set; then if test "${enable_precompiled_bytecode+set}" = set; then
enableval="$enable_precompiled_bytecode" enableval="$enable_precompiled_bytecode"
UPB=USE_PRECOMPILED_BYTECODE=1
else else
UPB= enableval=no
fi; fi;
if test ${enableval} = "no"
then
UPB=
DISABLE_LLC_DIFFS= else
UPB=USE_PRECOMPILED_BYTECODE=1
fi
# Check whether --enable-llc_diffs or --disable-llc_diffs was given. # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
if test "${enable_llc_diffs+set}" = set; then if test "${enable_llc_diffs+set}" = set; then
enableval="$enable_llc_diffs" enableval="$enable_llc_diffs"
if test ${enableval} = "no"; then DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1; fi;
else else
DISABLE_LLC_DIFFS= enableval=yes
fi; fi;
if test ${enableval} = "no"
then
DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
case $build in else
*i*86*) # Check whether --enable-jit or --disable-jit was given. DISABLE_LLC_DIFFS=
fi
# Check whether --enable-jit or --disable-jit was given.
if test "${enable_jit+set}" = set; then if test "${enable_jit+set}" = set; then
enableval="$enable_jit" enableval="$enable_jit"
JIT=TARGET_HAS_JIT=1
else else
JIT= enableval=no
fi; fi;
;;
*) if test ${enableval} = "no"
;; then
esac JIT=
else
JIT=TARGET_HAS_JIT=1
fi
# Check whether --with-spec or --without-spec was given. # Check whether --with-spec or --without-spec was given.