summaryrefslogtreecommitdiff
path: root/libstdc++
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-19 20:36:39 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2000-09-19 20:36:39 +0000
commit3d0e57454dd8d32241b9985114a6db73ebfddc47 (patch)
tree6f780d1812f4b61d6cd1eaaccdb22e20d8c0f308 /libstdc++
parentbe044bcb46da02d19e96f88da3d2229193580250 (diff)
downloadgcc-3d0e57454dd8d32241b9985114a6db73ebfddc47.tar.gz
* configure.in: Add AIX multithread support fragment.
* config/aix.mt: Define _PTHREADS in MT_CFLAGS if -pthread commandline option present. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36543 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++')
-rw-r--r--libstdc++/ChangeLog8
-rw-r--r--libstdc++/config/aix.mt1
-rw-r--r--libstdc++/configure.in2
3 files changed, 10 insertions, 1 deletions
diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog
index b6d1b7ea5f8..5da8c11dfa9 100644
--- a/libstdc++/ChangeLog
+++ b/libstdc++/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-19 David Edelsohn <edelsohn@gnu.org>
+
+ * configure.in: Add AIX multithread support fragment.
+ * config/aix.mt: Define _PTHREADS in MT_CFLAGS if -pthread
+ commandline option present.
+
2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
* configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
@@ -67,7 +73,7 @@
* Makefile.in: Change "pic" to depend on $(PICFLAG), not
on $(enable_shared).
- * aix.ml: Build AIX-style shared library.
+ * config/aix.ml: Build AIX-style shared library.
2000-05-10 Jakub Jelinek <jakub@redhat.com>
diff --git a/libstdc++/config/aix.mt b/libstdc++/config/aix.mt
new file mode 100644
index 00000000000..d24e14fe83e
--- /dev/null
+++ b/libstdc++/config/aix.mt
@@ -0,0 +1 @@
+MT_CFLAGS = `case "$(CXXFLAGS)" in *-pthread* ) echo -D_PTHREADS ;; esac`
diff --git a/libstdc++/configure.in b/libstdc++/configure.in
index 993849f4957..ac55a7583ce 100644
--- a/libstdc++/configure.in
+++ b/libstdc++/configure.in
@@ -89,6 +89,8 @@ fi
# Make sure the right flags are defined for multi-threading.
case "${target}" in
+ *-*-aix*)
+ frags="${frags} aix.mt" ;;
*-*-linux*)
case "x${enable_threads}" in
xyes|xposix) frags="${frags} linux.mt" ;;