Patch to fix gcc operation with HP DCE threads
John David Anglin
dave@hiauly1.hia.nrc.ca
Wed Apr 5 11:05:00 GMT 2000
Here is a patch to fix a long standing problem with threads under hpux 10.X.
Wed Apr 5 13:44:35 2000 John David Anglin <dave@hiauly1.hia.nrc.ca>
* configure.in (hppa1.1-*-hpux10*, hppa1.0-*-hpux10*): thread_file
should always default to `single' because of multilib implementation.
* configure: Rebuilt.
--- configure.in.orig Tue Dec 28 15:23:34 1999
+++ configure.in Tue Apr 4 14:05:40 2000
@@ -943,10 +943,11 @@
if test x$enable_threads = x; then
enable_threads=$have_pthread_h
fi
- if test x$enable_threads = xyes; then
- thread_file='dce'
+ case x${enable_threads} in
+ xyes | xdce)
tmake_file="${tmake_file} pa/t-dce-thr"
- fi
+ ;;
+ esac
install_headers_dir=install-headers-cpio
use_collect2=yes
;;
@@ -962,10 +963,11 @@
if test x$enable_threads = x; then
enable_threads=$have_pthread_h
fi
- if test x$enable_threads = xyes; then
- thread_file='dce'
+ case x${enable_threads} in
+ xyes | xdce)
tmake_file="${tmake_file} pa/t-dce-thr"
- fi
+ ;;
+ esac
install_headers_dir=install-headers-cpio
use_collect2=yes
;;
More information about the Gcc-patches
mailing list