/[gcl]/gcl/configure.in
ViewVC logotype

Diff of /gcl/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.118 by camm, Thu Aug 21 04:32:12 2003 UTC revision 1.119 by camm, Thu Sep 4 03:09:38 2003 UTC
# Line 12  AC_SUBST(VERSION) Line 12  AC_SUBST(VERSION)
12    
13  help="--enable-maxpage=XXXX will compile in a page table of size XXX (default ${default_maxpage})"  help="--enable-maxpage=XXXX will compile in a page table of size XXX (default ${default_maxpage})"
14  AC_ARG_ENABLE(maxpage,[ --enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each)] ,  AC_ARG_ENABLE(maxpage,[ --enable-maxpage=XXXX will compile in a page table of size XXX (eg '--enable-maxpage=64*1024' would give 64K pages allowing 256 MB if pages are 4K each)] ,
15  [AC_DEFINE_UNQUOTED(MAXPAGE,$enable_maxpage)]  [AC_DEFINE_UNQUOTED(MAXPAGE,$enable_maxpage)])
 )  
16    
17  AC_ARG_ENABLE(vssize,[ --enable-vssize=XXXX will compile in a value stack of size XXX] ,  AC_ARG_ENABLE(vssize,[ --enable-vssize=XXXX will compile in a value stack of size XXX] ,
18  [AC_DEFINE_UNQUOTED(VSSIZE,$enable_vssize)]  [AC_DEFINE_UNQUOTED(VSSIZE,$enable_vssize)])
19  )  
20    AC_ARG_ENABLE(bdssize,[ --enable-bdssize=XXXX will compile in a binding stack of size XXX] ,
21    [AC_DEFINE_UNQUOTED(BDSSIZE,$enable_bdssize)])
22    
23    AC_ARG_ENABLE(ihssize,[ --enable-ihssize=XXXX will compile in a invocation history stack of size XXX] ,
24    [AC_DEFINE_UNQUOTED(IHSSIZE,$enable_ihssize)])
25    
26    AC_ARG_ENABLE(frssize,[ --enable-frssize=XXXX will compile in a frame stack of size XXX] ,
27    [AC_DEFINE_UNQUOTED(FRSSIZE,$enable_frssize)])
28    
29  AC_ARG_ENABLE(machine,[ --enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs] ,  AC_ARG_ENABLE(machine,[ --enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs] ,
30  [enable_machine=$enableval],[enable_machine=""])  [enable_machine=$enableval],[enable_machine=""])
# Line 718  fi Line 725  fi
725  # mechanism, in the PAGE macro.  This offset is subtracted from  # mechanism, in the PAGE macro.  This offset is subtracted from
726  # addresses, in calculating a page for an address in the heap.  # addresses, in calculating a page for an address in the heap.
727    
728  AC_CHECK_SIZEOF(long *,0)  AC_CHECK_SIZEOF(long,0)
729    AC_MSG_CHECKING(sizeof struct contblock)
730    AC_TRY_RUN([#include <stdio.h>
731            #define EXTER
732            #include "$MP_INCLUDE"
733            #include "h/enum.h"
734            #include "h/object.h"
735            int main(int argc,char **argv,char **envp) {
736            FILE *f=fopen("conftest1","w");
737            fprintf(f,"%u",sizeof(struct contblock));
738            fclose(f);
739            return 0;
740            }],sizeof_contblock=`cat conftest1`,
741               echo Cannot find sizeof struct contblock;exit 1,
742               echo Cannot find sizeof struct contblock;exit 1)
743    AC_MSG_RESULT($sizeof_contblock)
744    AC_DEFINE_UNQUOTED(SIZEOF_CONTBLOCK,$sizeof_contblock)
745    
746    
747  AC_CHECK_HEADERS(endian.h,  AC_CHECK_HEADERS(endian.h,
748          AC_MSG_CHECKING("endianness")          AC_MSG_CHECKING("endianness")

Legend:
Removed from v.1.118  
changed lines
  Added in v.1.119

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26