configure.in: Add AIX multithread support fragment.

* configure.in: Add AIX multithread support fragment.
	* config/aix.mt: Define _PTHREADS in MT_CFLAGS if -pthread
	commandline option present.

From-SVN: r36543
This commit is contained in:
David Edelsohn 2000-09-19 20:36:39 +00:00 committed by David Edelsohn
parent fd60bf96e7
commit d2300e844e
3 changed files with 10 additions and 1 deletions

View File

@ -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>

1
libstdc++/config/aix.mt Normal file
View File

@ -0,0 +1 @@
MT_CFLAGS = `case "$(CXXFLAGS)" in *-pthread* ) echo -D_PTHREADS ;; esac`

View File

@ -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" ;;