From 5c6eaef07ac01b971616128f23d94a9c2e79cce2 Mon Sep 17 00:00:00 2001
From: bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Tue, 29 Aug 2006 10:53:04 +0000
Subject: [PATCH] 2006-08-29  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4(glibcxx_PCHFLAGS): Set to stdtr1c++.h.
	* configure: Regenerate.

	* scripts/check_compile: Output current compile line.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116558 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libstdc++-v3/ChangeLog             | 7 +++++++
 libstdc++-v3/acinclude.m4          | 2 +-
 libstdc++-v3/configure             | 2 +-
 libstdc++-v3/scripts/check_compile | 4 ++++
 4 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index ebfcdc4d6544..a7bc8526c3af 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,10 @@
+2006-08-29  Benjamin Kosnik  <bkoz@redhat.com>
+
+	* acinclude.m4(glibcxx_PCHFLAGS): Set to stdtr1c++.h.
+	* configure: Regenerate.
+	
+	* scripts/check_compile: Output current compile line.
+	
 2006-08-28  Benjamin Kosnik  <bkoz@redhat.com>
 
 	PR libstdc++/23773 partial
diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4
index e5020593598f..a9044277d52d 100644
--- a/libstdc++-v3/acinclude.m4
+++ b/libstdc++-v3/acinclude.m4
@@ -1959,7 +1959,7 @@ AC_DEFUN([GLIBCXX_ENABLE_PCH], [
 
   GLIBCXX_CONDITIONAL(GLIBCXX_BUILD_PCH, test $enable_libstdcxx_pch = yes)
   if test $enable_libstdcxx_pch = yes; then
-    glibcxx_PCHFLAGS="-include bits/stdc++.h"
+    glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
   else
     glibcxx_PCHFLAGS=""
   fi
diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
index 4486dc542205..cdabc3bf4079 100755
--- a/libstdc++-v3/configure
+++ b/libstdc++-v3/configure
@@ -5475,7 +5475,7 @@ echo "${ECHO_T}$enable_libstdcxx_pch" >&6
 
 
   if test $enable_libstdcxx_pch = yes; then
-    glibcxx_PCHFLAGS="-include bits/stdc++.h"
+    glibcxx_PCHFLAGS="-include bits/stdtr1c++.h"
   else
     glibcxx_PCHFLAGS=""
   fi
diff --git a/libstdc++-v3/scripts/check_compile b/libstdc++-v3/scripts/check_compile
index 6d7f51595f66..c969f98c476e 100755
--- a/libstdc++-v3/scripts/check_compile
+++ b/libstdc++-v3/scripts/check_compile
@@ -30,6 +30,10 @@ TEST_FLAGS="-S"
 COMPILER=`$flags_script --build-cxx`
 CXX="$COMPILER $INCLUDES $PCH_FLAGS $FLAGS $TEST_FLAGS"
 
+echo "compile line is:"
+echo $CXX
+echo ""
+
 TESTS_FILE="testsuite_files"
 
 #mkdir binaries
-- 
GitLab