[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: netbsd build update

From: Ben Pfaff
Subject: Re: netbsd build update
Date: Sat, 24 Feb 2007 21:22:57 -0800
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Jason Stover <address@hidden> writes:

>> > Short answer: The alpha chip does not comply entirely with ieee 754.
>> > The -mieee option to gcc fixes the problem. Maybe this option should be
>> > added conditionally in (or wherever such things go).

Somehow this (from months ago) slipped through the cracks.
Here's a proposed patch to fix the problem.  (I'm aware that
there are other netbsd portability problems, too.)

Work for you?

Index: acinclude.m4
RCS file: /cvsroot/pspp/pspp/acinclude.m4,v
retrieving revision 1.10
diff -u -p -r1.10 acinclude.m4
--- acinclude.m4        16 Feb 2007 19:24:25 -0000      1.10
+++ acinclude.m4        25 Feb 2007 05:21:26 -0000
@@ -63,10 +63,10 @@ AC_DEFUN([PSPP_OFF_T],
   `--disable-largefile' or `CFLAGS=-ansi'.])])
-dnl Check whether a warning flag is accepted.
+dnl Check whether a C compiler option is accepted.
 dnl If so, add it to CFLAGS.
-dnl Example: PSPP_ENABLE_WARNING(-Wdeclaration-after-statement)
+dnl Example: PSPP_ENABLE_OPTION(-Wdeclaration-after-statement)
   m4_define([pspp_cv_name], [pspp_cv_[]m4_translit([$1], [-], [_])])dnl
   AC_CACHE_CHECK([whether $CC accepts $1], [pspp_cv_name], 
RCS file: /cvsroot/pspp/pspp/,v
retrieving revision 1.54
diff -u -p -r1.54
---        16 Feb 2007 19:24:25 -0000      1.54
+++        25 Feb 2007 05:21:26 -0000
@@ -14,7 +14,8 @@ AM_PROG_CC_C_O
 AM_CONDITIONAL(cc_is_gcc, test x"$GCC" = x"yes" )

A bicycle is one of the world's beautiful machines, beautiful machines
are art, and art is civilisation, good living, and balm to the soul.
--Elisa Francesca Roselli

reply via email to

[Prev in Thread] Current Thread [Next in Thread]