summaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/configure b/gcc/configure
index 81eb4d41421..3e71245f214 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -2491,6 +2491,13 @@ for machine in $build $host $target; do
then
tm_file="${tm_file} pa/pa-gas.h"
fi
+ if [ x$enable_threads = x ]; then
+ enable_threads=$have_pthread_h
+ fi
+ if [ x$enable_threads = xyes ]; then
+ thread_file='dce'
+ tmake_file="${tmake_file} pa/t-dce-thr"
+ fi
install_headers_dir=install-headers-cpio
use_collect2=yes
;;