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:
parent
fd60bf96e7
commit
d2300e844e
@ -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
1
libstdc++/config/aix.mt
Normal file
@ -0,0 +1 @@
|
||||
MT_CFLAGS = `case "$(CXXFLAGS)" in *-pthread* ) echo -D_PTHREADS ;; esac`
|
@ -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" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user