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

Diff of /gcl/configure.in

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

revision 1.206 by gene, Fri Oct 28 21:04:32 2005 UTC revision 1.207 by gene, Tue Nov 1 17:09:19 2005 UTC
# Line 10  AC_SUBST(VERSION) Line 10  AC_SUBST(VERSION)
10  # Arguments  # Arguments
11  #  #
12    
13  AC_ARG_ENABLE(holediv,[ --enable-holediv=XXXX will specify that 1/XXXX of the core should be used as the hole between the heap and relocatable memory area],,enable_holediv=4)  AC_ARG_ENABLE(holediv,
14    [ --enable-holediv=XXXX  will specify that 1/XXXX of the core
15                             should be used as the hole between the
16                             heap and relocatable memory area],
17    ,enable_holediv=4)
18  AC_DEFINE_UNQUOTED(HOLEDIV,$enable_holediv)  AC_DEFINE_UNQUOTED(HOLEDIV,$enable_holediv)
19    
20    
21  AC_ARG_ENABLE(vssize,[ --enable-vssize=XXXX will compile in a value stack of size XXX],,enable_vssize=131072)  AC_ARG_ENABLE(vssize,
22    [ --enable-vssize=XXXX   will compile in a value stack of size XXX],
23    ,enable_vssize=131072)
24  AC_DEFINE_UNQUOTED(VSSIZE,$enable_vssize)  AC_DEFINE_UNQUOTED(VSSIZE,$enable_vssize)
25    
26    
27  AC_ARG_ENABLE(bdssize,[ --enable-bdssize=XXXX will compile in a binding stack of size XXX],,enable_bdssize=2048)  AC_ARG_ENABLE(bdssize,
28    [ --enable-bdssize=XXXX  will compile in a binding stack of size XXX],
29    ,enable_bdssize=2048)
30  AC_DEFINE_UNQUOTED(BDSSIZE,$enable_bdssize)  AC_DEFINE_UNQUOTED(BDSSIZE,$enable_bdssize)
31    
32    
33  AC_ARG_ENABLE(ihssize,[ --enable-ihssize=XXXX will compile in a invocation history stack of size XXX],,enable_ihssize=4096)  AC_ARG_ENABLE(ihssize,
34    [ --enable-ihssize=XXXX  will compile in a invocation history stack of size XXX],
35    ,enable_ihssize=4096)
36  AC_DEFINE_UNQUOTED(IHSSIZE,$enable_ihssize)  AC_DEFINE_UNQUOTED(IHSSIZE,$enable_ihssize)
37    
38  AC_ARG_ENABLE(frssize,[ --enable-frssize=XXXX will compile in a frame stack of size XXX],,enable_frssize=4096)  AC_ARG_ENABLE(frssize,
39    [ --enable-frssize=XXXX  will compile in a frame stack of size XXX],
40    ,enable_frssize=4096)
41  AC_DEFINE_UNQUOTED(FRSSIZE,$enable_frssize)  AC_DEFINE_UNQUOTED(FRSSIZE,$enable_frssize)
42    
43  AC_ARG_ENABLE(cssize,[ --enable-cssize=XXXX produces executables with a C stack of size XXX],,enable_cssize=1024*1024*2)  AC_ARG_ENABLE(cssize,
44    [ --enable-cssize=XXXX   produces executables with a C stack of size XXX],
45    ,enable_cssize=1024*1024*2)
46  #AC_DEFINE_UNQUOTED(CSSIZE,$enable_cssize)  #AC_DEFINE_UNQUOTED(CSSIZE,$enable_cssize)
47        
48  AC_ARG_ENABLE(machine,[ --enable-machine=XXXX will force the use of one of the definitions in h/XXXX.defs] ,  AC_ARG_ENABLE(machine,
49    [ --enable-machine=XXXX  will force the use of one of the definitions
50                             in h/XXXX.defs],
51  [enable_machine=$enableval],[enable_machine=""])  [enable_machine=$enableval],[enable_machine=""])
52    
53  AC_ARG_ENABLE(immfix,[ --enable-immfix will enable an immediate fixnum table above the C stack],,enable_immfix=yes)  AC_ARG_ENABLE(immfix,
54    [ --enable-immfix        will enable an immediate fixnum table
55                             above the C stack],
56    ,enable_immfix=yes)
57    
58  #AC_ARG_ENABLE(gmp,[ --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes)] ,  #AC_ARG_ENABLE(gmp,[ --enable-gmp=no will disable use of GMP gnu multiprecision arithmetic, (default is =yes)] ,
59  #[use_gmp=$enableval],[use_gmp="yes"])  #[use_gmp=$enableval],[use_gmp="yes"])
60    
61  use_gmp="yes"  use_gmp="yes"
62    
63  AC_ARG_ENABLE(notify,[ --enable-notify=no will disable the automatic notification of gcl maintainers of successful builds/problems] ,  AC_ARG_ENABLE(notify,
64    [ --enable-notify=no     will disable the automatic notification of
65                             gcl maintainers of successful builds/problems],
66  [enable_notify=$enableval],[enable_notify="yes"])  [enable_notify=$enableval],[enable_notify="yes"])
67    
68  AC_ARG_ENABLE(tkconfig,[ --enable-tkconfig=XXXX will force the use of a TK_CONFIG_PREFIX=XXXXX as place to look for tkConfig.sh and tclConfig.sh ] ,  AC_ARG_ENABLE(tkconfig,
69    [ --enable-tkconfig=XXXX will force the use of a TK_CONFIG_PREFIX=XXXXX
70                             as place to look for tkConfig.sh and tclConfig.sh ],
71  [TK_CONFIG_PREFIX=$enableval],[TK_CONFIG_PREFIX="unknown"])  [TK_CONFIG_PREFIX=$enableval],[TK_CONFIG_PREFIX="unknown"])
72    
73    
74  AC_ARG_ENABLE(tclconfig,[ --enable-tclconfig=XXXX will force the use of a TCL_CONFIG_PREFIX=XXXXX as place to look for tclConfig.sh and tclConfig.sh ] ,  AC_ARG_ENABLE(tclconfig,
75    [ --enable-tclconfig=XXXX will force the use of a TCL_CONFIG_PREFIX=XXXXX
76                             as place to look for tclConfig.sh and tclConfig.sh ],
77  [TCL_CONFIG_PREFIX=$enableval],[TCL_CONFIG_PREFIX="unknown"])  [TCL_CONFIG_PREFIX=$enableval],[TCL_CONFIG_PREFIX="unknown"])
78    
79  AC_ARG_ENABLE(infodir,[ --enable-infodir=XXXX will force the use of a INFO_DIR=XXXXX as place to look for info ] ,  AC_ARG_ENABLE(infodir,
80    [ --enable-infodir=XXXX  will force the use of a INFO_DIR=XXXXX
81                             as place to look for info ],
82  [INFO_DIR=$enableval],[INFO_DIR="unknown"])  [INFO_DIR=$enableval],[INFO_DIR="unknown"])
83  INFO_DIR=`eval echo $INFO_DIR/`  INFO_DIR=`eval echo $INFO_DIR/`
84    
85  AC_ARG_ENABLE(emacsdir,[ --enable-emacsdir=XXXX will manually specify the location for elisp files ] ,  AC_ARG_ENABLE(emacsdir,
86    [ --enable-emacsdir=XXXX will manually specify the location for elisp files ],
87  [EMACS_SITE_LISP=$enableval],[EMACS_SITE_LISP="unknown"])  [EMACS_SITE_LISP=$enableval],[EMACS_SITE_LISP="unknown"])
88  EMACS_SITE_LISP=`eval echo $EMACS_SITE_LISP`  EMACS_SITE_LISP=`eval echo $EMACS_SITE_LISP`
89    
90  AC_ARG_ENABLE(common-binary,[ --enable-common-binary=yes forces use of lowest common denominator instruction sets, (default is =yes)] ,  AC_ARG_ENABLE(common-binary,
91    [ --enable-common-binary=yes forces use of lowest common denominator
92                             instruction sets, (default is =yes)],
93  [use_common_binary=$enableval],[use_common_binary="yes"])  [use_common_binary=$enableval],[use_common_binary="yes"])
94    
95  AC_ARG_ENABLE(japi,[ --enable-japi=yes will compile in support for the JAPI graphical interface if present on your system],  AC_ARG_ENABLE(japi,
96    [ --enable-japi=yes      will compile in support for the JAPI graphical
97                             interface if present on your system],
98  [try_japi=$enableval],[try_japi="no"])  [try_japi=$enableval],[try_japi="no"])
99    
100  AC_ARG_ENABLE(xdr,[ --enable-xdr=yes will compile in support for XDR],  AC_ARG_ENABLE(xdr,
101    [ --enable-xdr=yes       will compile in support for XDR],
102  [try_xdr=$enableval],[try_xdr="no"])  [try_xdr=$enableval],[try_xdr="no"])
103    
104  #  #
# Line 297  case $use in Line 330  case $use in
330  esac  esac
331    
332  AC_ARG_ENABLE(dlopen,  AC_ARG_ENABLE(dlopen,
333          [ --enable-dlopen uses dlopen for loading objects, which can then not be retained  in saved images ]  [ --enable-dlopen        uses dlopen for loading objects, which can
334          ,,enable_dlopen="$def_dlopen")                           then not be retained  in saved images ],
335    ,enable_dlopen="$def_dlopen")
336  AC_ARG_ENABLE(statsysbfd,  AC_ARG_ENABLE(statsysbfd,
337          [ --enable-statsysbfd uses a static sytem bfd library for loading and relocationing object files ]  [ --enable-statsysbfd    uses a static sytem bfd library for loading
338          ,,enable_statsysbfd="$def_statsysbfd")                           and relocationing object files ],
339    ,enable_statsysbfd="$def_statsysbfd")
340  AC_ARG_ENABLE(dynsysbfd,  AC_ARG_ENABLE(dynsysbfd,
341          [ --enable-dynsysbfd uses a dynamic shared sytem bfd library for loading and relocationing object files ]  [ --enable-dynsysbfd     uses a dynamic shared sytem bfd library for
342          ,,enable_dynsysbfd="no")                           loading and relocationing object files ],
343    ,enable_dynsysbfd="no")
344  AC_ARG_ENABLE(locbfd,  AC_ARG_ENABLE(locbfd,
345          [ --enable-locbfd uses a static bfd library built from this source tree for loading and relocationing object files ]  [ --enable-locbfd        uses a static bfd library built from this
346          ,,enable_locbfd="$def_locbfd")                           source tree for loading and relocationing object files ],
347    ,enable_locbfd="$def_locbfd")
348  AC_ARG_ENABLE(custreloc,  AC_ARG_ENABLE(custreloc,
349          [ --enable-custreloc uses custom gcl code if available for loading  and relocationing object files ]  [ --enable-custreloc     uses custom gcl code if available for loading
350          ,,enable_custreloc="$def_custreloc")                           and relocationing object files ],
351    ,enable_custreloc="$def_custreloc")
352  AC_ARG_ENABLE(debug,  AC_ARG_ENABLE(debug,
353          [ --enable-debug builds gcl with -g in CFLAGS to enable running under gdb ]  [ --enable-debug         builds gcl with -g in CFLAGS to enable running
354          ,,enable_debug="$def_debug")                           under gdb ],
355    ,enable_debug="$def_debug")
356  AC_ARG_ENABLE(gprof,  AC_ARG_ENABLE(gprof,
357          [ --enable-gprof builds gcl with -pg in CFLAGS to enable profiling with gprof ]  [ --enable-gprof         builds gcl with -pg in CFLAGS to enable profiling
358          ,,enable_gprof="no")                           with gprof ],
359  AC_ARG_ENABLE(static,[ --enable-static will link your GCL against static as opposed to shared system libraries ] ,  ,enable_gprof="no")
360          [enable_static=$enableval],[enable_static="$def_static"])  AC_ARG_ENABLE(static,
361    [ --enable-static        will link your GCL against static as opposed to
362                             shared system libraries ],
363    [enable_static=$enableval],[enable_static="$def_static"])
364  AC_ARG_ENABLE(pic,  AC_ARG_ENABLE(pic,
365          [ --enable-pic builds gcl with -fPIC in CFLAGS ]  [ --enable-pic           builds gcl with -fPIC in CFLAGS ],
366          ,,enable_pic="$def_pic")  ,enable_pic="$def_pic")
367    
368  AC_ARG_ENABLE(dynsysgmp,  AC_ARG_ENABLE(dynsysgmp,
369          [ --enable-dynsysgmp will link against the system libgmp3 overriding certain functions with patched versions from the local source ]  [ --enable-dynsysgmp     will link against the system libgmp3 overriding
370          ,,enable_dynsysgmp="yes")                           certain functions with patched versions from the
371                             local source ],
372    ,enable_dynsysgmp="yes")
373    
374  load_opt="0"  load_opt="0"
375  if test "$enable_dlopen" = "yes" ; then  if test "$enable_dlopen" = "yes" ; then
# Line 1202  int main() {FILE *fp=fopen("conftest1"," Line 1246  int main() {FILE *fp=fopen("conftest1","
1246              fprintf(fp,"%u",262144*($SIZEOF_LONG>>2)/(1<<($PAGEWIDTH-12)));              fprintf(fp,"%u",262144*($SIZEOF_LONG>>2)/(1<<($PAGEWIDTH-12)));
1247              return 0;}],def_maxpage=`cat conftest1`,def_maxpage=262144,def_maxpage=262144)              return 0;}],def_maxpage=`cat conftest1`,def_maxpage=262144,def_maxpage=262144)
1248    
1249  help="--enable-maxpage=XXXX will compile in a page table of size XXX (default ${default_maxpage})"  AC_ARG_ENABLE(maxpage,
1250  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)],,enable_maxpage=$def_maxpage)  [ --enable-maxpage=XXXX  will compile in a page table of size XXX
1251                             (eg '--enable-maxpage=64*1024' would produce
1252                             64K pages allowing 256 MB if pages are 4K each)],
1253    ,enable_maxpage=$def_maxpage)
1254  #AC_DEFINE_UNQUOTED(MAXPAGE,$enable_maxpage)  #AC_DEFINE_UNQUOTED(MAXPAGE,$enable_maxpage)
1255    
1256    
# Line 1536  AC_SUBST(HAVE_LONG_LONG) Line 1583  AC_SUBST(HAVE_LONG_LONG)
1583    
1584  # readline  # readline
1585  AC_ARG_ENABLE(readline,  AC_ARG_ENABLE(readline,
1586          [--enable-readine    enables command line completion via the readline library ],,  [  --enable-readline     enables command line completion via the
1587          enable_readline="yes")                           readline library ],
1588    ,enable_readline="yes")
1589    
1590  if test "$enable_static" = "yes" ; then  if test "$enable_static" = "yes" ; then
1591     echo disabling readline when linking statically     echo disabling readline when linking statically
1592     enable_readline="no"     enable_readline="no"
1593  fi  fi
1594    
1595    #
1596    # ParGCL
1597    #
1598    
1599    # ParGCL (includes MPINU)
1600    AC_ARG_ENABLE(pargcl,
1601    [  --enable-pargcl       enables ParGCL, including MPI subset
1602                             (see pargcl/doc/)],
1603    ,enable_pargcl="no")
1604    AC_ARG_WITH(mpicc,
1605    [  --with-mpicc=PATH       define path to mpicc (default is built-in MPI subset)],
1606    , with_mpicc=no)
1607    
1608    if test "$enable_pargcl" != "no" ; then                
1609    
1610             AC_MSG_CHECKING([enable_pargcl=yes, doing configure in pargcl directory])
1611             if test -d pargcl; then
1612               PARGCLDIR=pargcl
1613             fi
1614             echo
1615             echo "#"
1616             echo "#"
1617             echo "# -------------------"
1618             echo "# Subconfigure of ParGCL"
1619             echo "#"
1620             echo "#"
1621    
1622             PARGCL_GCLDIR=$PWD
1623             ( cd $PARGCLDIR && ./configure --with-gcl=$PARGCL_GCLDIR/bin/gcl \
1624                           --with-gcl-dir=$PARGCL_GCLDIR --with-mpicc=$with_mpicc )
1625            #MY_SUBDIRS="$MY_SUBDIRS $PARGCLDIR"
1626    
1627             echo "#"
1628             echo "#"
1629             echo "#"
1630             echo "# Subconfigure of ParGCL done"
1631             echo "# ------------------------"
1632             echo "#"
1633             AC_SUBST(PARGCLDIR)
1634    
1635    fi
1636    
1637  # ansi lisp  # ansi lisp
1638  AC_ARG_ENABLE(ansi,[--enable-ansi builds a large gcl aiming for ansi compliance,  AC_ARG_ENABLE(ansi,
1639                      --disable-ansi builds the smaller traditional CLtL1 image],,enable_ansi="no")  [  --enable-ansi         builds a large gcl aiming for ansi compliance,
1640                             --disable-ansi builds the smaller
1641                             traditional CLtL1 image],
1642    ,enable_ansi="no")
1643    
1644  if test "$enable_ansi" = "yes" ; then  if test "$enable_ansi" = "yes" ; then
1645          SYSTEM=ansi_gcl          SYSTEM=ansi_gcl

Legend:
Removed from v.1.206  
changed lines
  Added in v.1.207

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