aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-04-07 01:20:59 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-04-07 01:20:59 +0000
commit615be2cfe6a8481c343e4afa9156c80640da7dc7 (patch)
tree98528b2de12329d3b9799b91e67639cbd3101fa9 /gcc/configure.ac
parent136726404100714571f32e9b5f6ae4077db11212 (diff)
downloadgcc-615be2cfe6a8481c343e4afa9156c80640da7dc7.zip
gcc-615be2cfe6a8481c343e4afa9156c80640da7dc7.tar.gz
gcc-615be2cfe6a8481c343e4afa9156c80640da7dc7.tar.bz2
config.gcc: Stop changing enable_threads midstream.
* config.gcc: Stop changing enable_threads midstream. Replace uses of enable_threads_flag with enable_threads. * configure.ac: Replace uses of enable_threads_flag with enable_threads. Improve autoconf quotation in one place. * configure: Regenerate. From-SVN: r80473
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac10
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index 742432b..d0c88a7 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -571,9 +571,7 @@ AC_ARG_ENABLE(__cxa_atexit,
AC_ARG_ENABLE(threads,
[ --enable-threads enable thread usage for target GCC
--enable-threads=LIB use LIB thread package for target GCC],,
-enable_threads='')
-# Save in case it gets overwritten in config.gcc
-enable_threads_flag=$enable_threads
+[enable_threads=''])
AC_ARG_ENABLE(objc-gc,
[ --enable-objc-gc enable the use of Boehm's garbage collector with
@@ -1212,7 +1210,7 @@ fi
# ---------
# Check if a valid thread package
-case ${enable_threads_flag} in
+case ${enable_threads} in
"" | no)
# No threads
target_thread_file='single'
@@ -1223,10 +1221,10 @@ case ${enable_threads_flag} in
;;
aix | dce | gnat | irix | posix | rtems | \
single | solaris | vxworks | win32 )
- target_thread_file=${enable_threads_flag}
+ target_thread_file=${enable_threads}
;;
*)
- echo "${enable_threads_flag} is an unknown thread package" 1>&2
+ echo "${enable_threads} is an unknown thread package" 1>&2
exit 1
;;
esac