From 0828a0bd1b6f503880c694f106c8424967cb38aa Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Sat, 8 Jul 2000 01:25:04 +0000 Subject: [PATCH] configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and c++threads.h instead of copying. 2000-07-07 Benjamin Kosnik * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and c++threads.h instead of copying. * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here. Tweaks. From-SVN: r34918 --- libstdc++-v3/ChangeLog | 3 ++- libstdc++-v3/acinclude.m4 | 2 +- libstdc++-v3/aclocal.m4 | 2 +- libstdc++-v3/configure | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index fc990c932ea2..011196ad0522 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -15,7 +15,8 @@ * configure.in (AC_OUTPUT_COMMANDS): Link $THREADS.h and c++threads.h instead of copying. * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Do link here. - + Tweaks. + * config/c_io_libio.cc (__basic_file::_M_open_mode): Consolidate. * bits/basic_file.h: Declare. diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index ca61aa61a137..bc9f8f9451f0 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -1266,7 +1266,7 @@ AC_DEFUN(GLIBCPP_ENABLE_THREADS, [ ;; posix | pthreads) THREADS=posix - case "$host" in + case "$target" in *-*-linux*) ;; esac diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index 45063a23ee6f..5be3479beefa 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -1278,7 +1278,7 @@ AC_DEFUN(GLIBCPP_ENABLE_THREADS, [ ;; posix | pthreads) THREADS=posix - case "$host" in + case "$target" in *-*-linux*) ;; esac diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 5260280adf4c..62eba44b5960 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -2529,7 +2529,7 @@ fi ;; posix | pthreads) THREADS=posix - case "$host" in + case "$target" in *-*-linux*) ;; esac -- 2.43.5