Fix NetBSD/alpha support.
authorLudovic Courtès <ludo@gnu.org>
Sat, 16 Feb 2008 19:38:25 +0000 (19:38 +0000)
committerLudovic Courtès <ludo@gnu.org>
Sat, 16 Feb 2008 19:38:25 +0000 (19:38 +0000)
NEWS
libguile/ChangeLog
libguile/gc_os_dep.c

diff --git a/NEWS b/NEWS
index b4a7156790945c0bf9055a763cf6173b874b7b4b..59b6621acb946f385f4436101e4521c604681a15 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -20,12 +20,14 @@ called with an associator proc that returns neither a pair nor #f.
 ** Secondary threads now always return a valid module for (current-module).
 ** Avoid MacOS build problems caused by incorrect combination of "64"
 system and library calls.
+** `guile-snarf' now honors `$TMPDIR'
 ** Fixed build with Sun Studio (Solaris 9)
 ** Fixed wrong-type-arg errors when creating zero length SRFI-4
 uniform vectors on AIX.
 ** Fixed a deadlock that occurs upon GC with multiple threads.
 ** Fixed compile problem with GCC on Solaris and AIX (use of _Complex_I)
 ** Fixed autotool-derived build problems on AIX 6.1.
+** Fixed NetBSD/alpha support
 ** Fixed MacOS build problem caused by use of rl_get_keymap(_name)
 
 * New modules (see the manual for details)
index 6d47c903c6be6037d9980fcb01d7d748803bde74..28c439b1b72d2a1ec2174122de6a3be8795c4b1a 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-16  Ludovic Courtès  <ludo@gnu.org>
+
+       * gc_os_dep.c: Add NetBSD/alpha support.  Patch by Greg Troxel
+       <gdt@ir.bbn.com>.
+
 2008-02-12  Ludovic Courtès  <ludo@gnu.org>
 
        * guile-snarf.in (tempdir): Honor `$TMPDIR'.
index a0e60e9d7ea3e105c5be07b6f172acb9ecfe9d6c..a8534ef43388e9e921e30663935df8f7983427f0 100644 (file)
@@ -3,7 +3,7 @@
  * Copyright (c) 1991-1995 by Xerox Corporation.  All rights reserved.
  * Copyright (c) 1996-1999 by Silicon Graphics.  All rights reserved.
  * Copyright (c) 1999 by Hewlett-Packard Company.  All rights reserved.
- * Copyright (c) 2000, 2001, 2002, 2003, 2004, 2006 Free Software Foundation
+ * Copyright (c) 2000, 2001, 2002, 2003, 2004, 2006, 2008 Free Software Foundation
  *
  * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
  * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
@@ -110,6 +110,11 @@ typedef int GC_bool;
 #    define OPENBSD
 #    define mach_type_known
 # endif
+# if defined(__NetBSD__) && defined(__alpha__)
+#    define ALPHA
+#    define NETBSD
+#    define mach_type_known
+# endif
 # if defined(__NetBSD__) && defined(__powerpc__)
 #    define POWERPC
 #    define NETBSD
@@ -246,7 +251,7 @@ typedef int GC_bool;
 # endif
 # if defined(__alpha) || defined(__alpha__)
 #   define ALPHA
-#   if !defined(LINUX)
+#   if !defined(LINUX) && !defined (NETBSD)
 #     define OSF1      /* a.k.a Digital Unix */
 #   endif
 #   define mach_type_known