Branch: Tag:

2007-10-03

2007-10-03 09:21:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The new function call type checker is now enabled by default.
Keypair loop is now enabled by default.
Now selects the medium memory model when compiling with cc on Solaris/amd64.

Rev: src/configure.in:1.1023

1: - AC_REVISION("$Id: configure.in,v 1.1022 2007/06/17 02:40:44 mast Exp $") + AC_REVISION("$Id: configure.in,v 1.1023 2007/10/03 09:21:59 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
1520:    MY_DESCR([--with-type-checker=new|old],    [select type-checker behaviour]),    [],[with_type_checker="${with_typechecker:-old}"]) - if test "x$with_type_checker" = "xnew"; then -  PIKE_MSG_WARN([New type checker enabled (EXPERIMENTAL).]) + if test "x$with_type_checker" = "xold"; then :; +  PIKE_MSG_WARN([Old type checker selected.]) + else    AC_DEFINE(NEW_ARG_CHECK)   fi   AC_ARG_WITH(computed-goto,
1560:    ])      MY_AC_ARG_WITH(keypair-loop, -  MY_DESCR([--with-keypair-loop], -  [enable use of keypair mapping loop method (EXPERIMENTAL).]), +  MY_DESCR([--without-keypair-loop], +  [enable use of keypair mapping loop method.]), +  [AC_DEFINE(PIKE_MAPPING_KEYPAIR_LOOP)],[],    [AC_DEFINE(PIKE_MAPPING_KEYPAIR_LOOP)])      MY_AC_ARG_WITH(portable-bytecode,
2308:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1022 2007/06/17 02:40:44 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1023 2007/10/03 09:21:59 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2346:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1022 2007/06/17 02:40:44 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1023 2007/10/03 09:21:59 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2355:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1022 2007/06/17 02:40:44 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.1023 2007/10/03 09:21:59 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
7531:    FreeBSD*) CCSHARED="-fpic";;    SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;    UnixWare*|OpenUNIX*) CCSHARED="-KPIC -dy -Bdynamic";; -  Solaris*) CCSHARED="-KPIC -Bdynamic";; +  Solaris*) +  CCSHARED="-KPIC -Bdynamic" +  # Note: The Image module fails with +  # Failed to load library: ld.so.1: pike: fatal: +  # relocation error: R_AMD64_PC32: file Image.so: +  # symbol really_free_svalue: value 0x28001ca5b2d does not fit +  # if the module is compiled with the default model. +  AC_SYS_COMPILER_FLAG(-xmodel=medium, xmodel_medium, CCSHARED) +  ;;    Windows_NT*) CCSHARED="-shared" ;;    esac    fi