[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] STABLE BRANCH PATCH - sbrk() configure.in
From: |
Mike Thomas |
Subject: |
[Gcl-devel] STABLE BRANCH PATCH - sbrk() configure.in |
Date: |
Mon, 29 Mar 2004 20:26:37 +1000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
Hi Camm
Note that the stable branch won't build on Windows as the randomised sbrk()
test in configure fails because there is no sbrk() on Windows.
I've left this change to you so that it works the way you want it; I believe
that the test just needs to be bypassed on Windows unless I've
misunderstood something.
PS - Here is a patch for the Stable branch which side steps the test on
Windows.
I suppose we should really test for the existence of sbrk first on the
assumption that one day we might have other platforms without sbrk and
then based on that result, do your randomised sbrk tests.
I can check this in sometime over the next day or two if you are happy
with it.
Cheers
MIke Thomas
$ cvs diff configure.in
Enter passphrase for key '/home/mike/.ssh/id_dsa':
Index: configure.in
===================================================================
RCS file: /cvsroot/gcl/gcl/configure.in,v
retrieving revision 1.112.4.1.2.2.2.34
diff -r1.112.4.1.2.2.2.34 configure.in
853a854
> # WIndows doen't have sbrk
855,856c856,858
< AC_MSG_CHECKING([for randomized brk])
< AC_TRY_RUN([#include <unistd.h>
---
> if test "$use" != "mingw" ; then
> AC_MSG_CHECKING([for randomized brk])
> AC_TRY_RUN([#include <unistd.h>
866c868
< if test "$SBRK" = "0" ; then
---
> if test "$SBRK" = "0" ; then
869,870c871,872
< fi
< AC_TRY_RUN([#include <unistd.h>
---
> fi
> AC_TRY_RUN([#include <unistd.h>
880c882
< if test "$SBRK1" = "0" ; then
---
> if test "$SBRK1" = "0" ; then
883c885
< fi
---
> fi
885c887
< if test "$SBRK" != "$SBRK1" ; then
---
> if test "$SBRK" != "$SBRK1" ; then
940c942
< else
---
> else
941a944
> fi
943,944d945
<
<
- Re: [Gcl-devel] Windows - Instability in universe.lsp, (continued)
- Re: [Gcl-devel] Windows - Instability in universe.lsp, Camm Maguire, 2004/03/23
- RE: [Gcl-devel] Windows - Instability in universe.lsp, Mike Thomas, 2004/03/23
- Re: [Gcl-devel] Windows - Instability in universe.lsp, Camm Maguire, 2004/03/23
- RE: [Gcl-devel] Windows - Instability in universe.lsp, Mike Thomas, 2004/03/23
- Re: [Gcl-devel] Windows - Instability in universe.lsp, Camm Maguire, 2004/03/24
- RE: [Gcl-devel] Windows - Instability in universe.lsp, Mike Thomas, 2004/03/24
- Re: [Gcl-devel] Windows - Instability in universe.lsp, Camm Maguire, 2004/03/25
- RE: [Gcl-devel] Windows - Instability in universe.lsp, Mike Thomas, 2004/03/26
- Re: [Gcl-devel] Windows - Instability in universe.lsp, Camm Maguire, 2004/03/26
- [Gcl-devel] Windows - Start again., Mike Thomas, 2004/03/29
- [Gcl-devel] STABLE BRANCH PATCH - sbrk() configure.in,
Mike Thomas <=
- Re: [Gcl-devel] Windows - Instability in universe.lsp, Camm Maguire, 2004/03/30
- RE: [Gcl-devel] Windows - Instability in universe.lsp, Mike Thomas, 2004/03/30
- Re: [Gcl-devel] Windows - Instability in universe.lsp, Camm Maguire, 2004/03/31
- RE: [Gcl-devel] Windows - Instability in universe.lsp, Mike Thomas, 2004/03/31
- RE: [Gcl-devel] Windows - Instability in universe.lsp, Mike Thomas, 2004/03/31