diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-05 11:46:18 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-05 11:46:18 +0000 |
commit | e3f6d0947a52d5c4298f76d5a49d5961b8ac712e (patch) | |
tree | c8ecce4c74b28be9c1401810cf76bd449b86146c /boehm-gc | |
parent | 1f36fb03bd70078f33bd7b17cea8963b9fb30d78 (diff) | |
download | gcc-e3f6d0947a52d5c4298f76d5a49d5961b8ac712e.tar.gz |
1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
* configure.in: Switch from irix threads to posix threads
Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
for mips architecture.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26779 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r-- | boehm-gc/ChangeLog | 7 | ||||
-rwxr-xr-x | boehm-gc/configure | 17 | ||||
-rw-r--r-- | boehm-gc/configure.in | 11 |
3 files changed, 33 insertions, 2 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 405df171b9b..423fe711fbe 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,10 @@ +1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr> + + * configure.in: Switch from irix threads to posix threads + Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep + for mips architecture. + * configure: Regenerate. + 1999-04-30 Tom Tromey <tromey@cygnus.com> * linux_threads.c: Don't reference __pthread_initial_thread_bos. diff --git a/boehm-gc/configure b/boehm-gc/configure index be0d6881aaf..3e4079128cf 100755 --- a/boehm-gc/configure +++ b/boehm-gc/configure @@ -2275,7 +2275,9 @@ if test "$THREADS" = yes; then THREADS=win32 ;; *-*-irix*) - THREADS=irix + # FIXME: for now, choose POSIX, because we implement that. + # Later, choose irix threads. + THREADS=posix ;; *-*-solaris*) # FIXME: for now, choose POSIX, because we implement that. @@ -2317,6 +2319,12 @@ EOF EOF ;; + *-*-irix*) + cat >> confdefs.h <<\EOF +#define IRIX_THREADS 1 +EOF + + ;; esac ;; qt) @@ -2383,6 +2391,13 @@ case "$host" in alpha-*-*) machdep="alpha_mach_dep.lo" ;; + mips-*-*) + machdep="mips_sgi_mach_dep.lo" + cat >> confdefs.h <<\EOF +#define NO_EXECUTE_PERMISSION 1 +EOF + + ;; mipstx39-*-elf*) machdep="mips_ultrix_mach_dep.lo" cat >> confdefs.h <<\EOF diff --git a/boehm-gc/configure.in b/boehm-gc/configure.in index eb37d7b8d3f..0332b3db443 100644 --- a/boehm-gc/configure.in +++ b/boehm-gc/configure.in @@ -44,7 +44,9 @@ if test "$THREADS" = yes; then THREADS=win32 ;; *-*-irix*) - THREADS=irix + # FIXME: for now, choose POSIX, because we implement that. + # Later, choose irix threads. + THREADS=posix ;; *-*-solaris*) # FIXME: for now, choose POSIX, because we implement that. @@ -74,6 +76,9 @@ case "$THREADS" in AC_DEFINE(SOLARIS_THREADS) AC_DEFINE(_SOLARIS_PTHREADS) ;; + *-*-irix*) + AC_DEFINE(IRIX_THREADS) + ;; esac ;; qt) @@ -132,6 +137,10 @@ case "$host" in alpha-*-*) machdep="alpha_mach_dep.lo" ;; + mips-*-*) + machdep="mips_sgi_mach_dep.lo" + AC_DEFINE(NO_EXECUTE_PERMISSION) + ;; mipstx39-*-elf*) machdep="mips_ultrix_mach_dep.lo" AC_DEFINE(STACKBASE, __stackbase) |