From d005a5a4edcf346424c37a129aa3a5260e690700 Mon Sep 17 00:00:00 2001
From: Jeffrey A Law <law@cygnus.com>
Date: Thu, 19 Mar 1998 22:51:01 +0000
Subject: [PATCH] configure.in (hppa1.0-hp-hpux10): Handle threads for this
 config too.

        * configure.in (hppa1.0-hp-hpux10): Handle threads for this
        config too.

From-SVN: r18721
---
 gcc/ChangeLog    | 5 +++++
 gcc/configure    | 7 +++++++
 gcc/configure.in | 7 +++++++
 3 files changed, 19 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d587b1ed1bfa..dd82ed6c0aa7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Mar 19 23:51:01 1998  Jeffrey A Law  (law@cygnus.com)
+
+	* configure.in (hppa1.0-hp-hpux10): Handle threads for this
+	config too.
+
 Thu Mar 19 20:30:31 1998  Philippe De Muyter  <phdm@macqel.be>
 
 	* libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
diff --git a/gcc/configure b/gcc/configure
index 81eb4d41421c..3e71245f214f 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
 		;;
diff --git a/gcc/configure.in b/gcc/configure.in
index d23bd9be6f12..a01dcd42f55d 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -610,6 +610,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
 		;;
-- 
GitLab