From 43892f8cea65404797f538f37a500ca62bf672c0 Mon Sep 17 00:00:00 2001
From: Benjamin Kosnik <bkoz@redhat.com>
Date: Wed, 17 Sep 2003 20:28:07 +0000
Subject: [PATCH] re PR libstdc++/12239 (Compile Failure)

2003-09-17  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/12239
	* configure.host (abi_baseline_pair): Error out on solaris2
	configurations without a minor version number.

From-SVN: r71476
---
 libstdc++-v3/ChangeLog      | 6 ++++++
 libstdc++-v3/configure.host | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 50d24feb9c41..567a1876baa5 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-17  Benjamin Kosnik  <bkoz@redhat.com>
+
+	PR libstdc++/12239
+	* configure.host (abi_baseline_pair): Error out on solaris2
+	configurations without a minor version number.
+
 2003-09-13  Phil Edwards  <phil@codesourcery.com>
 
 	* docs/doxygen/run_doxygen:  Clear GENERATE_TAGFILE entirely
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index 60d4075ad931..ccc6ef9d1ae3 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -173,6 +173,12 @@ case "${host_os}" in
     os_include_dir="os/qnx/qnx6.1"
     c_model=c
     ;;
+  solaris2)
+    # This too-vague configuration does not provide enough information
+    # to select a ctype include, and thus os_include_dir is a crap shoot.
+    echo "Please specify the full version of Solaris, ie. solaris2.9 " 1>&2
+    exit 1;
+    ;;
   solaris2.5*)
     os_include_dir="os/solaris/solaris2.5"
     ;;
-- 
GitLab