]> granicus.if.org Git - gc/commitdiff
1999-05-05 Gilles Zunino <Gilles.Zunino@hei.fr>
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 May 1999 11:46:18 +0000 (11:46 +0000)
committerguest <ivmai@mail.ru>
Fri, 29 Jul 2011 06:54:16 +0000 (10:54 +0400)
* 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

ChangeLog
configure
configure.in

index 405df171b9b0076c5d6c43844a655f718b7554db..423fe711fbe7a3b1b4326862b39f9e28e10758c9 100644 (file)
--- a/ChangeLog
+++ b/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.
index be0d6881aaf538f626a405af84673597be4a3b97..3e4079128cff218990ef60fb375bc889a40c92df 100755 (executable)
--- a/configure
+++ b/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.
@@ -2314,6 +2316,12 @@ EOF
 
        cat >> confdefs.h <<\EOF
 #define _SOLARIS_PTHREADS 1
+EOF
+
+       ;;
+     *-*-irix*)
+       cat >> confdefs.h <<\EOF
+#define IRIX_THREADS 1
 EOF
 
        ;;
@@ -2382,6 +2390,13 @@ machdep=
 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"
index eb37d7b8d3f30a478d926928d6edfce4063abdc8..0332b3db44303b4d62a8f050c3bcf42122e35edb 100644 (file)
@@ -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)