Changeset 1cb879 in git


Ignore:
Timestamp:
Jan 27, 2011, 10:50:28 PM (13 years ago)
Author:
Alexander Dreyer <dreyer@…>
Branches:
(u'spielwiese', '73c62e0961bcfc8f1a00420b41eec2ea3c0ef6e9')
Children:
1879f22456661161123888e861ef334514b8bd20
Parents:
a563a0dc0a8a549c10112615472e0db61d6b9aca
Message:
Merge branch 'master' of git+ssh://dreyer@git.berlios.de/gitroot/singular

git-svn-id: file:///usr/local/Singular/svn/trunk@13805 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
7 added
12 edited

Legend:

Unmodified
Added
Removed
  • Singular/Makefile.in

    ra563a0 r1cb879  
    1515EXEC_EXT                = @EXEC_EXT@
    1616HAVE_PLURAL             = @PLURAL@
     17
     18##
     19## Python related stuff
     20##
     21HAVE_PYTHON             = @HAVE_PYTHON_VALUE@
     22PYTHON_CPPFLAGS         = @PYTHON_CPPFLAGS@
     23PYTHON_LDFLAGS          = @PYTHON_LDFLAGS@
     24PYTHON_SITE_PKG         = @PYTHON_SITE_PKG@
     25PYTHON_EXTRA_LIBS       = @PYTHON_EXTRA_LIBS@
     26PYTHON_EXTRA_LDFLAGS    = @PYTHON_EXTRA_LDFLAGS@
     27
     28# Note: compiler(!) flags for linking to python
     29PYTHON_LINKFLAGS        = ${PYTHON_LDFLAGS} ${PYTHON_EXTRA_LIBS} ${PYTHON_EXTRA_LDFLAGS}
     30
    1731##
    1832## various paths
     
    5670CXXTEMPLFLAGS   = @CXXTEMPLFLAGS@ -I.. -I@prefix@
    5771ifneq ($(SINGUNAME),ix86-Win)
    58 CPPFLAGS        = -I${srcdir} -I.. -I@prefix@ @CPPFLAGS@
     72CPPFLAGS        = -I${srcdir} -I.. -I@prefix@ @CPPFLAGS@ ${PYTHON_CPPFLAGS}
    5973else
    6074## Dirs after @CPPFLAGS@ are for PySingular
     
    87101
    88102LD_LIBC         = -lc
    89 STATIC_LDFLAGS  = @STATIC_LDFLAGS@
     103STATIC_LDFLAGS  = ${PYTHON_LINKFLAGS} @STATIC_LDFLAGS@
    90104# under cygwin, do not explicitly link against -lm, for it is the cygwin
    91105# lib -- if you really want to do this, use -lm as the _last_ thing on the
     
    114128
    115129SO_SUFFIX = so
     130MODULE_SUFFIX = so
     131
    116132#LIBSINGULAR_FLAGS = -export-dynamic
    117133LIBSINGULAR_LD = $(CXX)
     
    120136ifeq ($(SINGUNAME),ix86Mac-darwin)
    121137SO_SUFFIX        = dylib
     138MODULE_SUFFIX    = bundle
    122139LIBSINGULAR_FLAGS = -single_module
    123140LIBSINGULAR_LD = $(LD)
     
    127144MACOSX_DEPLOYMENT_TARGET=10.4
    128145SO_SUFFIX        = dylib
     146MODULE_SUFFIX    = bundle
    129147LIBSINGULAR_FLAGS = -single_module
    130148LIBSINGULAR_LD = $(LD)
     
    133151ifeq ($(SINGUNAME),ix86-Win)
    134152SO_SUFFIX = dll
     153MODULE_SUFFIX    = dll
    135154LIBSINGULAR_FLAGS = -shared
    136155LIBSINGULAR_LIBS = -lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc  -lhtmlhelp
     
    139158ifeq ($(SINGUNAME),ix86-SunOS)
    140159SO_SUFFIX  = so
     160MODULE_SUFFIX    = so
    141161LIBSINGULAR_FLAGS = -shared
    142162LIBSINGULAR_LIBS = -lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc
     
    159179DL_KERNEL       = @DL_KERNEL@
    160180GLIBC_DYN_FIX= @GLIBC_DYN_FIX@
     181endif
     182
     183
     184ifeq (${HAVE_PYTHON},1)
     185PYOBJECT_MODULE = pyobject.${MODULE_SUFFIX}
     186else
     187PYOBJECT_MODULE =
    161188endif
    162189
     
    191218    MinorProcessor.cc \
    192219    MinorInterface.cc \
    193     bigintm.cc
     220    bigintm.cc pyobject_setup.cc
    194221
    195222# stuff for MP
     
    259286OBJS    := $(OBJS) $(DL_KERNEL_SOURCES:.cc=.o)
    260287DBMSR_SO= dbmsr.so
    261 DL_LIBS := $(DBMSR_SO)
     288DL_LIBS := $(DBMSR_SO) ${PYOBJECT_MODULE}
    262289ifeq ($(HAVE_MPSR), 1)
    263290MPSR_SO =       mpsr.so
    264 DL_LIBS :=      $(DL_LIBS) $(MPSR_SO)
     291DL_LIBS :=      $(DL_LIBS) $(MPSR_SO) ${PYOBJECT_MODULE}
    265292endif
    266293else
     
    332359        sleep 1
    333360        echo "#define HAVE_STATIC" > static.h
     361        rm -f pyobject_setup.o
    334362        (cd ../kernel;rm -f mod_raw.o;${MAKE} LD_STATIC=1 depend install-bindist;cd ../Singular)
    335363        ${MAKE} LD_STATIC=1 S_EXT="-static" depend Singular-static
     
    454482        $(LD) ${SLDFLAGS} -o $@ $^ ${GLIBC_DYN_FIX}
    455483
     484# dynamic module for python bject support
     485pyobject.${MODULE_SUFFIX}: pyobject.dl_o
     486        @echo "build dynamic module pyobject..."
     487        $(CXX) ${SLDFLAGS} ${PYTHON_LINKFLAGS} -o $@ $^ ${GLIBC_DYN_FIX}
     488
    456489src: scanner.cc grammar.h grammar.cc libparse.cc
    457490
  • Singular/configure

    ra563a0 r1cb879  
    2020ac_help="$ac_help
    2121  --with-readline=[dynamic,static,no]
    22                           do use dynamic/static/no readline for fancy display"
     22                        do use dynamic/static/no readline for fancy display"
     23ac_help="$ac_help
     24  --with-python=[PYTHON,no]     uses PYTHON as python executable, default is python"
    2325ac_help="$ac_help
    2426  --without-Boost         do not use Boost "
     
    564566
    565567
     568
     569
     570
    566571echo $ac_n "checking CPU for singular""... $ac_c" 1>&6
    567 echo "configure:568: checking CPU for singular" >&5
     572echo "configure:573: checking CPU for singular" >&5
    568573ac_cv_singcpuname=`uname -m`
    569574echo "$ac_t""$ac_cv_singcpuname" 1>&6
    570575
    571576echo $ac_n "checking uname for singular""... $ac_c" 1>&6
    572 echo "configure:573: checking uname for singular" >&5
     577echo "configure:578: checking uname for singular" >&5
    573578if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then
    574579  echo $ac_n "(cached) $ac_c" 1>&6
     
    762767set dummy gcc; ac_word=$2
    763768echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    764 echo "configure:765: checking for $ac_word" >&5
     769echo "configure:770: checking for $ac_word" >&5
    765770if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    766771  echo $ac_n "(cached) $ac_c" 1>&6
     
    792797set dummy cc; ac_word=$2
    793798echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    794 echo "configure:795: checking for $ac_word" >&5
     799echo "configure:800: checking for $ac_word" >&5
    795800if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    796801  echo $ac_n "(cached) $ac_c" 1>&6
     
    843848set dummy cl; ac_word=$2
    844849echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    845 echo "configure:846: checking for $ac_word" >&5
     850echo "configure:851: checking for $ac_word" >&5
    846851if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    847852  echo $ac_n "(cached) $ac_c" 1>&6
     
    875880
    876881echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    877 echo "configure:878: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     882echo "configure:883: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    878883
    879884ac_ext=c
     
    886891cat > conftest.$ac_ext << EOF
    887892
    888 #line 889 "configure"
     893#line 894 "configure"
    889894#include "confdefs.h"
    890895
    891896main(){return(0);}
    892897EOF
    893 if { (eval echo configure:894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     898if { (eval echo configure:899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    894899  ac_cv_prog_cc_works=yes
    895900  # If we can't run a trivial program, we are probably using a cross compiler.
     
    917922fi
    918923echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    919 echo "configure:920: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     924echo "configure:925: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    920925echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    921926cross_compiling=$ac_cv_prog_cc_cross
    922927
    923928echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    924 echo "configure:925: checking whether we are using GNU C" >&5
     929echo "configure:930: checking whether we are using GNU C" >&5
    925930if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    926931  echo $ac_n "(cached) $ac_c" 1>&6
     
    931936#endif
    932937EOF
    933 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     938if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    934939  ac_cv_prog_gcc=yes
    935940else
     
    950955CFLAGS=
    951956echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    952 echo "configure:953: checking whether ${CC-cc} accepts -g" >&5
     957echo "configure:958: checking whether ${CC-cc} accepts -g" >&5
    953958if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    954959  echo $ac_n "(cached) $ac_c" 1>&6
     
    982987
    983988echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    984 echo "configure:985: checking how to run the C preprocessor" >&5
     989echo "configure:990: checking how to run the C preprocessor" >&5
    985990# On Suns, sometimes $CPP names a directory.
    986991if test -n "$CPP" && test -d "$CPP"; then
     
    9971002  # not just through cpp.
    9981003  cat > conftest.$ac_ext <<EOF
    999 #line 1000 "configure"
     1004#line 1005 "configure"
    10001005#include "confdefs.h"
    10011006#include <assert.h>
     
    10031008EOF
    10041009ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1005 { (eval echo configure:1006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1010{ (eval echo configure:1011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10061011ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10071012if test -z "$ac_err"; then
     
    10141019  CPP="${CC-cc} -E -traditional-cpp"
    10151020  cat > conftest.$ac_ext <<EOF
    1016 #line 1017 "configure"
     1021#line 1022 "configure"
    10171022#include "confdefs.h"
    10181023#include <assert.h>
     
    10201025EOF
    10211026ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1022 { (eval echo configure:1023: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1027{ (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10231028ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10241029if test -z "$ac_err"; then
     
    10311036  CPP="${CC-cc} -nologo -E"
    10321037  cat > conftest.$ac_ext <<EOF
    1033 #line 1034 "configure"
     1038#line 1039 "configure"
    10341039#include "confdefs.h"
    10351040#include <assert.h>
     
    10371042EOF
    10381043ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1039 { (eval echo configure:1040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1044{ (eval echo configure:1045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    10401045ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    10411046if test -z "$ac_err"; then
     
    10661071set dummy $ac_prog; ac_word=$2
    10671072echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1068 echo "configure:1069: checking for $ac_word" >&5
     1073echo "configure:1074: checking for $ac_word" >&5
    10691074if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    10701075  echo $ac_n "(cached) $ac_c" 1>&6
     
    10981103
    10991104echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    1100 echo "configure:1101: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     1105echo "configure:1106: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    11011106
    11021107ac_ext=C
     
    11091114cat > conftest.$ac_ext << EOF
    11101115
    1111 #line 1112 "configure"
     1116#line 1117 "configure"
    11121117#include "confdefs.h"
    11131118
    11141119int main(){return(0);}
    11151120EOF
    1116 if { (eval echo configure:1117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1121if { (eval echo configure:1122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    11171122  ac_cv_prog_cxx_works=yes
    11181123  # If we can't run a trivial program, we are probably using a cross compiler.
     
    11401145fi
    11411146echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    1142 echo "configure:1143: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1147echo "configure:1148: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    11431148echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    11441149cross_compiling=$ac_cv_prog_cxx_cross
    11451150
    11461151echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    1147 echo "configure:1148: checking whether we are using GNU C++" >&5
     1152echo "configure:1153: checking whether we are using GNU C++" >&5
    11481153if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    11491154  echo $ac_n "(cached) $ac_c" 1>&6
     
    11541159#endif
    11551160EOF
    1156 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1161if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    11571162  ac_cv_prog_gxx=yes
    11581163else
     
    11731178CXXFLAGS=
    11741179echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    1175 echo "configure:1176: checking whether ${CXX-g++} accepts -g" >&5
     1180echo "configure:1181: checking whether ${CXX-g++} accepts -g" >&5
    11761181if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    11771182  echo $ac_n "(cached) $ac_c" 1>&6
     
    12351240# ./install, which can be erroneously created by make from ./install.sh.
    12361241echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    1237 echo "configure:1238: checking for a BSD compatible install" >&5
     1242echo "configure:1243: checking for a BSD compatible install" >&5
    12381243if test -z "$INSTALL"; then
    12391244if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
     
    12881293
    12891294echo $ac_n "checking for AIX""... $ac_c" 1>&6
    1290 echo "configure:1291: checking for AIX" >&5
     1295echo "configure:1296: checking for AIX" >&5
    12911296cat > conftest.$ac_ext <<EOF
    1292 #line 1293 "configure"
     1297#line 1298 "configure"
    12931298#include "confdefs.h"
    12941299#ifdef _AIX
     
    13161321#                       other:       CC=cc   CXX=c++
    13171322echo $ac_n "checking gcc version""... $ac_c" 1>&6
    1318 echo "configure:1319: checking gcc version" >&5
     1323echo "configure:1324: checking gcc version" >&5
    13191324if eval "test \"`echo '$''{'ac_cv_c_cpp'+set}'`\" = set"; then
    13201325  echo $ac_n "(cached) $ac_c" 1>&6
     
    13481353  # check whether gcc accepts --no-rtti
    13491354  echo $ac_n "checking whether gcc accepts --no-rtti""... $ac_c" 1>&6
    1350 echo "configure:1351: checking whether gcc accepts --no-rtti" >&5
     1355echo "configure:1356: checking whether gcc accepts --no-rtti" >&5
    13511356  CXXFLAGS="${CXXFLAGS} --no-rtti"
    13521357  if eval "test \"`echo '$''{'ac_cv_cxx_have_rtti'+set}'`\" = set"; then
     
    13541359else
    13551360  cat > conftest.$ac_ext <<EOF
    1356 #line 1357 "configure"
     1361#line 1362 "configure"
    13571362#include "confdefs.h"
    13581363
     
    13611366; return 0; }
    13621367EOF
    1363 if { (eval echo configure:1364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1368if { (eval echo configure:1369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    13641369  rm -rf conftest*
    13651370  ac_cv_cxx_have_rtti=yes
     
    13841389# check whether gcc accepts --no-exceptions
    13851390  echo $ac_n "checking whether gcc accepts --no-exceptions""... $ac_c" 1>&6
    1386 echo "configure:1387: checking whether gcc accepts --no-exceptions" >&5
     1391echo "configure:1392: checking whether gcc accepts --no-exceptions" >&5
    13871392  CXXFLAGS="${CXXFLAGS} --no-exceptions"
    13881393  if eval "test \"`echo '$''{'ac_cv_cxx_have_exceptions'+set}'`\" = set"; then
     
    13901395else
    13911396  cat > conftest.$ac_ext <<EOF
    1392 #line 1393 "configure"
     1397#line 1398 "configure"
    13931398#include "confdefs.h"
    13941399
     
    13971402; return 0; }
    13981403EOF
    1399 if { (eval echo configure:1400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1404if { (eval echo configure:1405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14001405  rm -rf conftest*
    14011406  ac_cv_cxx_have_exceptions=yes
     
    14351440then
    14361441  echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
    1437 echo "configure:1438: checking whether compiler accepts -pipe" >&5
     1442echo "configure:1443: checking whether compiler accepts -pipe" >&5
    14381443  temp_cflags="${CFLAGS}"
    14391444  CFLAGS="${CFLAGS} -pipe"
     
    14421447else
    14431448  cat > conftest.$ac_ext <<EOF
    1444 #line 1445 "configure"
     1449#line 1450 "configure"
    14451450#include "confdefs.h"
    14461451
     
    14491454; return 0; }
    14501455EOF
    1451 if { (eval echo configure:1452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1456if { (eval echo configure:1457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    14521457  rm -rf conftest*
    14531458  ac_cv_cxx_have_pipe=yes
     
    14761481# Customize CFLAGS
    14771482echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1478 echo "configure:1479: checking whether _AIX is defined" >&5
     1483echo "configure:1484: checking whether _AIX is defined" >&5
    14791484if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    14801485  echo $ac_n "(cached) $ac_c" 1>&6
    14811486else
    14821487  cat > conftest.$ac_ext <<EOF
    1483 #line 1484 "configure"
     1488#line 1489 "configure"
    14841489#include "confdefs.h"
    14851490#ifdef _AIX
     
    15401545
    15411546echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1542 echo "configure:1543: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1547echo "configure:1548: checking whether ${MAKE-make} sets \${MAKE}" >&5
    15431548set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    15441549if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    16231628if test "${with_lex+set}" != set; then
    16241629  echo $ac_n "checking for flex""... $ac_c" 1>&6
    1625 echo "configure:1626: checking for flex" >&5
     1630echo "configure:1631: checking for flex" >&5
    16261631    cmd="egrep [2-9]\.[5-9]"
    16271632    if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then
     
    16551660set dummy $ac_prog; ac_word=$2
    16561661echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1657 echo "configure:1658: checking for $ac_word" >&5
     1662echo "configure:1663: checking for $ac_word" >&5
    16581663if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    16591664  echo $ac_n "(cached) $ac_c" 1>&6
     
    16951700set dummy $ac_prog; ac_word=$2
    16961701echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1697 echo "configure:1698: checking for $ac_word" >&5
     1702echo "configure:1703: checking for $ac_word" >&5
    16981703if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    16991704  echo $ac_n "(cached) $ac_c" 1>&6
     
    17301735# ln -s
    17311736echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1732 echo "configure:1733: checking whether ln -s works" >&5
     1737echo "configure:1738: checking whether ln -s works" >&5
    17331738if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    17341739  echo $ac_n "(cached) $ac_c" 1>&6
     
    17561761set dummy $ac_prog; ac_word=$2
    17571762echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1758 echo "configure:1759: checking for $ac_word" >&5
     1763echo "configure:1764: checking for $ac_word" >&5
    17591764if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then
    17601765  echo $ac_n "(cached) $ac_c" 1>&6
     
    17861791
    17871792
     1793# python
     1794if test "${with_python+set}" != set; then
     1795  PYTHON_EXE="no"
     1796else
     1797  if test "${with_python}" = yes; then
     1798    PYTHON_EXE="python"
     1799  else
     1800    PYTHON_EXE="${with_python}"
     1801  fi
     1802fi
     1803
     1804if test "${PYTHON_EXE}" = no; then
     1805  echo "configure: warning: building without python support" 1>&2
     1806else
     1807  # Extract the first word of "$PYTHON_EXE", so it can be a program name with args.
     1808set dummy $PYTHON_EXE; ac_word=$2
     1809echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     1810echo "configure:1811: checking for $ac_word" >&5
     1811if eval "test \"`echo '$''{'ac_cv_path_PYTHON'+set}'`\" = set"; then
     1812  echo $ac_n "(cached) $ac_c" 1>&6
     1813else
     1814  case "$PYTHON" in
     1815  /*)
     1816  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
     1817  ;;
     1818  ?:/*)                 
     1819  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a dos path.
     1820  ;;
     1821  *)
     1822  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1823  ac_dummy="$PATH"
     1824  for ac_dir in $ac_dummy; do
     1825    test -z "$ac_dir" && ac_dir=.
     1826    if test -f $ac_dir/$ac_word; then
     1827      ac_cv_path_PYTHON="$ac_dir/$ac_word"
     1828      break
     1829    fi
     1830  done
     1831  IFS="$ac_save_ifs"
     1832  ;;
     1833esac
     1834fi
     1835PYTHON="$ac_cv_path_PYTHON"
     1836if test -n "$PYTHON"; then
     1837  echo "$ac_t""$PYTHON" 1>&6
     1838else
     1839  echo "$ac_t""no" 1>&6
     1840fi
     1841
     1842  if test -z "$PYTHON"; then
     1843    echo "configure: warning: Cannot find $PYTHON_EXE in your system path - skipping python support" 1>&2
     1844  else
     1845   
     1846        #
     1847        # Allow the use of a (user set) custom python version
     1848        #
     1849        PYTHON_VERSION=">= '2.4'"
     1850        PYTHON=""${PYTHON}""
     1851
     1852        #
     1853        # Check for a version of Python >= 2.1.0
     1854        #
     1855        echo $ac_n "checking for a version of Python >= '2.1.0'""... $ac_c" 1>&6
     1856echo "configure:1857: checking for a version of Python >= '2.1.0'" >&5
     1857        ac_supports_python_ver=`$PYTHON -c "import sys, string; \
     1858                        ver = string.split(sys.version)[0]; \
     1859                        print ver >= '2.1.0'"`
     1860        if test "$ac_supports_python_ver" != "True"; then
     1861                if test -z "$PYTHON_NOVERSIONCHECK"; then
     1862                        echo "$ac_t""no" 1>&6
     1863                        { echo "configure: error:
     1864This version of the AC@&t@_PYTHON_DEVEL macro
     1865doesn't work properly with versions of Python before
     18662.1.0. You may need to re-run configure, setting the
     1867variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG,
     1868PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand.
     1869Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
     1870to something else than an empty string.
     1871" 1>&2; exit 1; }
     1872                else
     1873                        echo "$ac_t""skip at user request" 1>&6
     1874                fi
     1875        else
     1876                echo "$ac_t""yes" 1>&6
     1877        fi
     1878
     1879        #
     1880        # if the macro parameter ``version'' is set, honour it
     1881        #
     1882        if test -n ">= '2.4'"; then
     1883                echo $ac_n "checking for a version of Python >= '2.4'""... $ac_c" 1>&6
     1884echo "configure:1885: checking for a version of Python >= '2.4'" >&5
     1885                ac_supports_python_ver=`$PYTHON -c "import sys, string; \
     1886                        ver = string.split(sys.version)[0]; print ver >= '2.4'"`
     1887                if test "$ac_supports_python_ver" = "True"; then
     1888                   echo "$ac_t""yes" 1>&6
     1889                else
     1890                        echo "$ac_t""no" 1>&6
     1891                        { echo "configure: error: this package requires Python >= '2.4'.
     1892If you have it installed, but it isn't the default Python
     1893interpreter in your system path, please pass the PYTHON_VERSION
     1894variable to configure. See ``configure --help'' for reference.
     1895" 1>&2; exit 1; }
     1896                        PYTHON_VERSION=""
     1897                fi
     1898        fi
     1899
     1900        #
     1901        # Check if you have distutils, else fail
     1902        #
     1903        echo $ac_n "checking for the distutils Python package""... $ac_c" 1>&6
     1904echo "configure:1905: checking for the distutils Python package" >&5
     1905        ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
     1906        if test -z "$ac_distutils_result"; then
     1907                echo "$ac_t""yes" 1>&6
     1908        else
     1909                echo "$ac_t""no" 1>&6
     1910                { echo "configure: error: cannot import Python module "distutils".
     1911Please check your Python installation. The error was:
     1912$ac_distutils_result" 1>&2; exit 1; }
     1913                PYTHON_VERSION=""
     1914        fi
     1915
     1916        #
     1917        # Check for Python include path
     1918        #
     1919        echo $ac_n "checking for Python include path""... $ac_c" 1>&6
     1920echo "configure:1921: checking for Python include path" >&5
     1921        if test -z "$PYTHON_CPPFLAGS"; then
     1922                python_path=`$PYTHON -c "import distutils.sysconfig; \
     1923                                print distutils.sysconfig.get_python_inc();"`
     1924                if test -n "${python_path}"; then
     1925                        python_path="-I$python_path"
     1926                fi
     1927                PYTHON_CPPFLAGS=$python_path
     1928        fi
     1929        echo "$ac_t""$PYTHON_CPPFLAGS" 1>&6
     1930       
     1931
     1932        #
     1933        # Check for Python library path
     1934        #
     1935        echo $ac_n "checking for Python library path""... $ac_c" 1>&6
     1936echo "configure:1937: checking for Python library path" >&5
     1937        if test -z "$PYTHON_LDFLAGS"; then
     1938                # (makes two attempts to ensure we've got a version number
     1939                # from the interpreter)
     1940                py_version=`$PYTHON -c "from distutils.sysconfig import *; \
     1941                        from string import join; \
     1942                        print join(get_config_vars('VERSION'))"`
     1943                if test "$py_version" == "None"; then
     1944                        if test -n "$PYTHON_VERSION"; then
     1945                                py_version=$PYTHON_VERSION
     1946                        else
     1947                                py_version=`$PYTHON -c "import sys; \
     1948                                        print sys.version[:3]"`
     1949                        fi
     1950                fi
     1951
     1952                PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
     1953                        from string import join; \
     1954                        from os import path; \
     1955                        print '-L' + get_python_lib(0,1), \
     1956                        '-L' + path.dirname(get_python_lib(0,1)), \
     1957                        '-lpython';"`$py_version
     1958        fi
     1959        echo "$ac_t""$PYTHON_LDFLAGS" 1>&6
     1960       
     1961
     1962        #
     1963        # Check for site packages
     1964        #
     1965        echo $ac_n "checking for Python site-packages path""... $ac_c" 1>&6
     1966echo "configure:1967: checking for Python site-packages path" >&5
     1967        if test -z "$PYTHON_SITE_PKG"; then
     1968                PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
     1969print distutils.sysconfig.get_python_lib(0,0);"`
     1970        fi
     1971        echo "$ac_t""$PYTHON_SITE_PKG" 1>&6
     1972       
     1973
     1974        #
     1975        # libraries which must be linked in when embedding
     1976        #
     1977        echo $ac_n "checking python extra libraries""... $ac_c" 1>&6
     1978echo "configure:1979: checking python extra libraries" >&5
     1979        if test -z "$PYTHON_EXTRA_LIBS"; then
     1980           PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
     1981conf = distutils.sysconfig.get_config_var; \
     1982print conf('LOCALMODLIBS'), conf('LIBS')"`
     1983        fi
     1984        echo "$ac_t""$PYTHON_EXTRA_LIBS" 1>&6
     1985       
     1986
     1987        #
     1988        # linking flags needed when embedding
     1989        #
     1990        echo $ac_n "checking python extra linking flags""... $ac_c" 1>&6
     1991echo "configure:1992: checking python extra linking flags" >&5
     1992        if test -z "$PYTHON_EXTRA_LDFLAGS"; then
     1993                PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
     1994                        conf = distutils.sysconfig.get_config_var; \
     1995                        print conf('LINKFORSHARED')"`
     1996        fi
     1997        echo "$ac_t""$PYTHON_EXTRA_LDFLAGS" 1>&6
     1998       
     1999
     2000        #
     2001        # final check to see if everything compiles alright
     2002        #
     2003        echo $ac_n "checking consistency of all components of python development environment""... $ac_c" 1>&6
     2004echo "configure:2005: checking consistency of all components of python development environment" >&5
     2005#       AC_LANG_PUSH([C])
     2006        # save current global flags
     2007        ac_save_LIBS_for_python="${LIBS}"
     2008        LIBS="$ac_save_LIBS $PYTHON_LDFLAGS"
     2009        ac_save_CPPFLAGS_for_python="${CPPFLAGS}"
     2010        CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS"
     2011        cat > conftest.$ac_ext <<EOF
     2012#line 2013 "configure"
     2013#include "confdefs.h"
     2014
     2015                #include <Python.h>
     2016       
     2017int main() {
     2018
     2019                Py_Initialize();
     2020       
     2021; return 0; }
     2022EOF
     2023if { (eval echo configure:2024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2024  rm -rf conftest*
     2025  pythonexists=yes
     2026else
     2027  echo "configure: failed program was:" >&5
     2028  cat conftest.$ac_ext >&5
     2029  rm -rf conftest*
     2030  pythonexists=no
     2031fi
     2032rm -f conftest*
     2033
     2034        echo "$ac_t""$pythonexists" 1>&6
     2035
     2036        if test ! "$pythonexists" = "yes"; then
     2037           { echo "configure: error:
     2038  Could not link test program to Python. Maybe the main Python library has been
     2039  installed in some non-standard library path. If so, pass it to configure,
     2040  via the LDFLAGS environment variable.
     2041  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
     2042  ============================================================================
     2043   ERROR!
     2044   You probably have to install the development version of the Python package
     2045   for your distribution.  The exact name of this package varies among them.
     2046  ============================================================================
     2047           " 1>&2; exit 1; }
     2048          PYTHON_VERSION=""
     2049        else
     2050          cat >> confdefs.h <<\EOF
     2051#define HAVE_PYTHON 1
     2052EOF
     2053
     2054          HAVE_PYTHON_VALUE=1
     2055               
     2056        fi
     2057#       AC_LANG_POP
     2058        # turn back to default flags
     2059        CPPFLAGS="$ac_save_CPPFLAGS_for_python"
     2060        LIBS="$ac_save_LIBS_for_python"
     2061
     2062        #
     2063        # all done!
     2064        #
     2065
     2066  fi
     2067fi
     2068
    17882069# lib checks
    17892070# under cygwin, we should not explicitly link with -lm, except for
     
    17912072if test "$ac_cv_singuname" != ix86-Win; then
    17922073echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1793 echo "configure:1794: checking for atof in -lm" >&5
     2074echo "configure:2075: checking for atof in -lm" >&5
    17942075ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    17952076if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    17992080LIBS="-lm  $LIBS"
    18002081cat > conftest.$ac_ext <<EOF
    1801 #line 1802 "configure"
     2082#line 2083 "configure"
    18022083#include "confdefs.h"
    18032084/* Override any gcc2 internal prototype to avoid an error.  */
     
    18102091; return 0; }
    18112092EOF
    1812 if { (eval echo configure:1813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2093if { (eval echo configure:2094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18132094  rm -rf conftest*
    18142095  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18392120fi
    18402121echo $ac_n "checking for  in -lnsl""... $ac_c" 1>&6
    1841 echo "configure:1842: checking for  in -lnsl" >&5
     2122echo "configure:2123: checking for  in -lnsl" >&5
    18422123ac_lib_var=`echo nsl'_' | sed 'y%./+-%__p_%'`
    18432124if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18472128LIBS="-lnsl  $LIBS"
    18482129cat > conftest.$ac_ext <<EOF
    1849 #line 1850 "configure"
     2130#line 2131 "configure"
    18502131#include "confdefs.h"
    18512132/* Override any gcc2 internal prototype to avoid an error.  */
     
    18582139; return 0; }
    18592140EOF
    1860 if { (eval echo configure:1861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2141if { (eval echo configure:2142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    18612142  rm -rf conftest*
    18622143  eval "ac_cv_lib_$ac_lib_var=yes"
     
    18862167
    18872168echo $ac_n "checking for  in -lsocket""... $ac_c" 1>&6
    1888 echo "configure:1889: checking for  in -lsocket" >&5
     2169echo "configure:2170: checking for  in -lsocket" >&5
    18892170ac_lib_var=`echo socket'_' | sed 'y%./+-%__p_%'`
    18902171if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    18942175LIBS="-lsocket  $LIBS"
    18952176cat > conftest.$ac_ext <<EOF
    1896 #line 1897 "configure"
     2177#line 2178 "configure"
    18972178#include "confdefs.h"
    18982179/* Override any gcc2 internal prototype to avoid an error.  */
     
    19052186; return 0; }
    19062187EOF
    1907 if { (eval echo configure:1908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2188if { (eval echo configure:2189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19082189  rm -rf conftest*
    19092190  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19362217
    19372218echo $ac_n "checking for setenv in -lbsd""... $ac_c" 1>&6
    1938 echo "configure:1939: checking for setenv in -lbsd" >&5
     2219echo "configure:2220: checking for setenv in -lbsd" >&5
    19392220ac_lib_var=`echo bsd'_'setenv | sed 'y%./+-%__p_%'`
    19402221if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    19442225LIBS="-lbsd  $LIBS"
    19452226cat > conftest.$ac_ext <<EOF
    1946 #line 1947 "configure"
     2227#line 2228 "configure"
    19472228#include "confdefs.h"
    19482229/* Override any gcc2 internal prototype to avoid an error.  */
     
    19552236; return 0; }
    19562237EOF
    1957 if { (eval echo configure:1958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2238if { (eval echo configure:2239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19582239  rm -rf conftest*
    19592240  eval "ac_cv_lib_$ac_lib_var=yes"
     
    19832264
    19842265echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1985 echo "configure:1986: checking for listen in -lsocket" >&5
     2266echo "configure:2267: checking for listen in -lsocket" >&5
    19862267ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    19872268if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    19912272LIBS="-lsocket  $LIBS"
    19922273cat > conftest.$ac_ext <<EOF
    1993 #line 1994 "configure"
     2274#line 2275 "configure"
    19942275#include "confdefs.h"
    19952276/* Override any gcc2 internal prototype to avoid an error.  */
     
    20022283; return 0; }
    20032284EOF
    2004 if { (eval echo configure:2005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2285if { (eval echo configure:2286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20052286  rm -rf conftest*
    20062287  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20302311
    20312312echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    2032 echo "configure:2033: checking for gethostbyname in -lnsl" >&5
     2313echo "configure:2314: checking for gethostbyname in -lnsl" >&5
    20332314ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    20342315if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20382319LIBS="-lnsl  $LIBS"
    20392320cat > conftest.$ac_ext <<EOF
    2040 #line 2041 "configure"
     2321#line 2322 "configure"
    20412322#include "confdefs.h"
    20422323/* Override any gcc2 internal prototype to avoid an error.  */
     
    20492330; return 0; }
    20502331EOF
    2051 if { (eval echo configure:2052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2332if { (eval echo configure:2333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20522333  rm -rf conftest*
    20532334  eval "ac_cv_lib_$ac_lib_var=yes"
     
    20812362        HPUX*)
    20822363          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    2083 echo "configure:2084: checking for shl_load in -ldld" >&5
     2364echo "configure:2365: checking for shl_load in -ldld" >&5
    20842365ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    20852366if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    20892370LIBS="-ldld  $LIBS"
    20902371cat > conftest.$ac_ext <<EOF
    2091 #line 2092 "configure"
     2372#line 2373 "configure"
    20922373#include "confdefs.h"
    20932374/* Override any gcc2 internal prototype to avoid an error.  */
     
    21002381; return 0; }
    21012382EOF
    2102 if { (eval echo configure:2103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2383if { (eval echo configure:2384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21032384  rm -rf conftest*
    21042385  eval "ac_cv_lib_$ac_lib_var=yes"
     
    21392420        *Linux*)
    21402421          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2141 echo "configure:2142: checking for dlopen in -ldl" >&5
     2422echo "configure:2423: checking for dlopen in -ldl" >&5
    21422423ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    21432424if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    21472428LIBS="-ldl  $LIBS"
    21482429cat > conftest.$ac_ext <<EOF
    2149 #line 2150 "configure"
     2430#line 2431 "configure"
    21502431#include "confdefs.h"
    21512432/* Override any gcc2 internal prototype to avoid an error.  */
     
    21582439; return 0; }
    21592440EOF
    2160 if { (eval echo configure:2161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2441if { (eval echo configure:2442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21612442  rm -rf conftest*
    21622443  eval "ac_cv_lib_$ac_lib_var=yes"
     
    22062487        SunOS-5)
    22072488          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2208 echo "configure:2209: checking for dlopen in -ldl" >&5
     2489echo "configure:2490: checking for dlopen in -ldl" >&5
    22092490ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    22102491if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    22142495LIBS="-ldl  $LIBS"
    22152496cat > conftest.$ac_ext <<EOF
    2216 #line 2217 "configure"
     2497#line 2498 "configure"
    22172498#include "confdefs.h"
    22182499/* Override any gcc2 internal prototype to avoid an error.  */
     
    22252506; return 0; }
    22262507EOF
    2227 if { (eval echo configure:2228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2508if { (eval echo configure:2509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22282509  rm -rf conftest*
    22292510  eval "ac_cv_lib_$ac_lib_var=yes"
     
    22652546        ppcMac-darwin)
    22662547          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2267 echo "configure:2268: checking for dlopen in -ldl" >&5
     2548echo "configure:2549: checking for dlopen in -ldl" >&5
    22682549ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    22692550if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    22732554LIBS="-ldl  $LIBS"
    22742555cat > conftest.$ac_ext <<EOF
    2275 #line 2276 "configure"
     2556#line 2557 "configure"
    22762557#include "confdefs.h"
    22772558/* Override any gcc2 internal prototype to avoid an error.  */
     
    22842565; return 0; }
    22852566EOF
    2286 if { (eval echo configure:2287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2567if { (eval echo configure:2568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22872568  rm -rf conftest*
    22882569  eval "ac_cv_lib_$ac_lib_var=yes"
     
    23232604        ix86Mac-darwin)
    23242605          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    2325 echo "configure:2326: checking for dlopen in -ldl" >&5
     2606echo "configure:2607: checking for dlopen in -ldl" >&5
    23262607ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    23272608if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    23312612LIBS="-ldl  $LIBS"
    23322613cat > conftest.$ac_ext <<EOF
    2333 #line 2334 "configure"
     2614#line 2615 "configure"
    23342615#include "confdefs.h"
    23352616/* Override any gcc2 internal prototype to avoid an error.  */
     
    23422623; return 0; }
    23432624EOF
    2344 if { (eval echo configure:2345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2625if { (eval echo configure:2626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23452626  rm -rf conftest*
    23462627  eval "ac_cv_lib_$ac_lib_var=yes"
     
    23812662        ix86-freebsd)
    23822663          echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6
    2383 echo "configure:2384: checking for dlopen in -lc" >&5
     2664echo "configure:2665: checking for dlopen in -lc" >&5
    23842665ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'`
    23852666if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    23892670LIBS="-lc  $LIBS"
    23902671cat > conftest.$ac_ext <<EOF
    2391 #line 2392 "configure"
     2672#line 2673 "configure"
    23922673#include "confdefs.h"
    23932674/* Override any gcc2 internal prototype to avoid an error.  */
     
    24002681; return 0; }
    24012682EOF
    2402 if { (eval echo configure:2403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2683if { (eval echo configure:2684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    24032684  rm -rf conftest*
    24042685  eval "ac_cv_lib_$ac_lib_var=yes"
     
    24472728# heder file checks
    24482729echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    2449 echo "configure:2450: checking for ANSI C header files" >&5
     2730echo "configure:2731: checking for ANSI C header files" >&5
    24502731if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    24512732  echo $ac_n "(cached) $ac_c" 1>&6
    24522733else
    24532734  cat > conftest.$ac_ext <<EOF
    2454 #line 2455 "configure"
     2735#line 2736 "configure"
    24552736#include "confdefs.h"
    24562737#include <stdlib.h>
     
    24602741EOF
    24612742ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2462 { (eval echo configure:2463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2743{ (eval echo configure:2744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24632744ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    24642745if test -z "$ac_err"; then
     
    24772758  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    24782759cat > conftest.$ac_ext <<EOF
    2479 #line 2480 "configure"
     2760#line 2761 "configure"
    24802761#include "confdefs.h"
    24812762#include <string.h>
     
    24952776  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    24962777cat > conftest.$ac_ext <<EOF
    2497 #line 2498 "configure"
     2778#line 2779 "configure"
    24982779#include "confdefs.h"
    24992780#include <stdlib.h>
     
    25162797else
    25172798  cat > conftest.$ac_ext <<EOF
    2518 #line 2519 "configure"
     2799#line 2800 "configure"
    25192800#include "confdefs.h"
    25202801#include <ctype.h>
     
    25272808
    25282809EOF
    2529 if { (eval echo configure:2530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2810if { (eval echo configure:2811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    25302811then
    25312812  :
     
    25542835ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    25552836echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2556 echo "configure:2557: checking for $ac_hdr" >&5
     2837echo "configure:2838: checking for $ac_hdr" >&5
    25572838if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25582839  echo $ac_n "(cached) $ac_c" 1>&6
    25592840else
    25602841  cat > conftest.$ac_ext <<EOF
    2561 #line 2562 "configure"
     2842#line 2843 "configure"
    25622843#include "confdefs.h"
    25632844#include <$ac_hdr>
    25642845EOF
    25652846ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2566 { (eval echo configure:2567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2847{ (eval echo configure:2848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25672848ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25682849if test -z "$ac_err"; then
     
    25982879ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    25992880echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2600 echo "configure:2601: checking for $ac_hdr" >&5
     2881echo "configure:2882: checking for $ac_hdr" >&5
    26012882if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    26022883  echo $ac_n "(cached) $ac_c" 1>&6
    26032884else
    26042885  cat > conftest.$ac_ext <<EOF
    2605 #line 2606 "configure"
     2886#line 2887 "configure"
    26062887#include "confdefs.h"
    26072888#include <$ac_hdr>
    26082889EOF
    26092890ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2610 { (eval echo configure:2611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2891{ (eval echo configure:2892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26112892ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    26122893if test -z "$ac_err"; then
     
    26372918# typedefs, structures
    26382919echo $ac_n "checking for working const""... $ac_c" 1>&6
    2639 echo "configure:2640: checking for working const" >&5
     2920echo "configure:2921: checking for working const" >&5
    26402921if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    26412922  echo $ac_n "(cached) $ac_c" 1>&6
    26422923else
    26432924  cat > conftest.$ac_ext <<EOF
    2644 #line 2645 "configure"
     2925#line 2926 "configure"
    26452926#include "confdefs.h"
    26462927
     
    26912972; return 0; }
    26922973EOF
    2693 if { (eval echo configure:2694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2974if { (eval echo configure:2975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26942975  rm -rf conftest*
    26952976  ac_cv_c_const=yes
     
    27122993
    27132994echo $ac_n "checking for inline""... $ac_c" 1>&6
    2714 echo "configure:2715: checking for inline" >&5
     2995echo "configure:2996: checking for inline" >&5
    27152996if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    27162997  echo $ac_n "(cached) $ac_c" 1>&6
     
    27193000for ac_kw in inline __inline__ __inline; do
    27203001  cat > conftest.$ac_ext <<EOF
    2721 #line 2722 "configure"
     3002#line 3003 "configure"
    27223003#include "confdefs.h"
    27233004
     
    27263007; return 0; }
    27273008EOF
    2728 if { (eval echo configure:2729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3009if { (eval echo configure:3010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27293010  rm -rf conftest*
    27303011  ac_cv_c_inline=$ac_kw; break
     
    27523033
    27533034echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2754 echo "configure:2755: checking for size_t" >&5
     3035echo "configure:3036: checking for size_t" >&5
    27553036if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    27563037  echo $ac_n "(cached) $ac_c" 1>&6
    27573038else
    27583039  cat > conftest.$ac_ext <<EOF
    2759 #line 2760 "configure"
     3040#line 3041 "configure"
    27603041#include "confdefs.h"
    27613042#include <sys/types.h>
     
    27853066
    27863067echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2787 echo "configure:2788: checking whether struct tm is in sys/time.h or time.h" >&5
     3068echo "configure:3069: checking whether struct tm is in sys/time.h or time.h" >&5
    27883069if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    27893070  echo $ac_n "(cached) $ac_c" 1>&6
    27903071else
    27913072  cat > conftest.$ac_ext <<EOF
    2792 #line 2793 "configure"
     3073#line 3074 "configure"
    27933074#include "confdefs.h"
    27943075#include <sys/types.h>
     
    27983079; return 0; }
    27993080EOF
    2800 if { (eval echo configure:2801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3081if { (eval echo configure:3082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28013082  rm -rf conftest*
    28023083  ac_cv_struct_tm=time.h
     
    28193100
    28203101echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2821 echo "configure:2822: checking whether time.h and sys/time.h may both be included" >&5
     3102echo "configure:3103: checking whether time.h and sys/time.h may both be included" >&5
    28223103if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    28233104  echo $ac_n "(cached) $ac_c" 1>&6
    28243105else
    28253106  cat > conftest.$ac_ext <<EOF
    2826 #line 2827 "configure"
     3107#line 3108 "configure"
    28273108#include "confdefs.h"
    28283109#include <sys/types.h>
     
    28333114; return 0; }
    28343115EOF
    2835 if { (eval echo configure:2836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3116if { (eval echo configure:3117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    28363117  rm -rf conftest*
    28373118  ac_cv_header_time=yes
     
    28583139# for constant arguments.  Useless!
    28593140echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2860 echo "configure:2861: checking for working alloca.h" >&5
     3141echo "configure:3142: checking for working alloca.h" >&5
    28613142if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    28623143  echo $ac_n "(cached) $ac_c" 1>&6
    28633144else
    28643145  cat > conftest.$ac_ext <<EOF
    2865 #line 2866 "configure"
     3146#line 3147 "configure"
    28663147#include "confdefs.h"
    28673148#include <alloca.h>
     
    28703151; return 0; }
    28713152EOF
    2872 if { (eval echo configure:2873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3153if { (eval echo configure:3154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28733154  rm -rf conftest*
    28743155  ac_cv_header_alloca_h=yes
     
    28913172
    28923173echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2893 echo "configure:2894: checking for alloca" >&5
     3174echo "configure:3175: checking for alloca" >&5
    28943175if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    28953176  echo $ac_n "(cached) $ac_c" 1>&6
    28963177else
    28973178  cat > conftest.$ac_ext <<EOF
    2898 #line 2899 "configure"
     3179#line 3180 "configure"
    28993180#include "confdefs.h"
    29003181
     
    29243205; return 0; }
    29253206EOF
    2926 if { (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3207if { (eval echo configure:3208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29273208  rm -rf conftest*
    29283209  ac_cv_func_alloca_works=yes
     
    29563237
    29573238echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2958 echo "configure:2959: checking whether alloca needs Cray hooks" >&5
     3239echo "configure:3240: checking whether alloca needs Cray hooks" >&5
    29593240if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    29603241  echo $ac_n "(cached) $ac_c" 1>&6
    29613242else
    29623243  cat > conftest.$ac_ext <<EOF
    2963 #line 2964 "configure"
     3244#line 3245 "configure"
    29643245#include "confdefs.h"
    29653246#if defined(CRAY) && ! defined(CRAY2)
     
    29863267for ac_func in _getb67 GETB67 getb67; do
    29873268  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2988 echo "configure:2989: checking for $ac_func" >&5
     3269echo "configure:3270: checking for $ac_func" >&5
    29893270if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    29903271  echo $ac_n "(cached) $ac_c" 1>&6
    29913272else
    29923273  cat > conftest.$ac_ext <<EOF
    2993 #line 2994 "configure"
     3274#line 3275 "configure"
    29943275#include "confdefs.h"
    29953276/* System header to define __stub macros and hopefully few prototypes,
     
    30143295; return 0; }
    30153296EOF
    3016 if { (eval echo configure:3017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3297if { (eval echo configure:3298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30173298  rm -rf conftest*
    30183299  eval "ac_cv_func_$ac_func=yes"
     
    30413322
    30423323echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    3043 echo "configure:3044: checking stack direction for C alloca" >&5
     3324echo "configure:3325: checking stack direction for C alloca" >&5
    30443325if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    30453326  echo $ac_n "(cached) $ac_c" 1>&6
     
    30493330else
    30503331  cat > conftest.$ac_ext <<EOF
    3051 #line 3052 "configure"
     3332#line 3333 "configure"
    30523333#include "confdefs.h"
    30533334find_stack_direction ()
     
    30683349}
    30693350EOF
    3070 if { (eval echo configure:3071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3351if { (eval echo configure:3352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30713352then
    30723353  ac_cv_c_stack_direction=1
     
    30913372if test $ac_cv_prog_gcc = yes; then
    30923373    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    3093 echo "configure:3094: checking whether ${CC-cc} needs -traditional" >&5
     3374echo "configure:3375: checking whether ${CC-cc} needs -traditional" >&5
    30943375if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    30953376  echo $ac_n "(cached) $ac_c" 1>&6
     
    30973378    ac_pattern="Autoconf.*'x'"
    30983379  cat > conftest.$ac_ext <<EOF
    3099 #line 3100 "configure"
     3380#line 3381 "configure"
    31003381#include "confdefs.h"
    31013382#include <sgtty.h>
     
    31153396  if test $ac_cv_prog_gcc_traditional = no; then
    31163397    cat > conftest.$ac_ext <<EOF
    3117 #line 3118 "configure"
     3398#line 3399 "configure"
    31183399#include "confdefs.h"
    31193400#include <termio.h>
     
    31403421ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    31413422echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3142 echo "configure:3143: checking for $ac_hdr" >&5
     3423echo "configure:3424: checking for $ac_hdr" >&5
    31433424if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    31443425  echo $ac_n "(cached) $ac_c" 1>&6
    31453426else
    31463427  cat > conftest.$ac_ext <<EOF
    3147 #line 3148 "configure"
     3428#line 3429 "configure"
    31483429#include "confdefs.h"
    31493430#include <$ac_hdr>
    31503431EOF
    31513432ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3152 { (eval echo configure:3153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3433{ (eval echo configure:3434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    31533434ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    31543435if test -z "$ac_err"; then
     
    31793460do
    31803461echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3181 echo "configure:3182: checking for $ac_func" >&5
     3462echo "configure:3463: checking for $ac_func" >&5
    31823463if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    31833464  echo $ac_n "(cached) $ac_c" 1>&6
    31843465else
    31853466  cat > conftest.$ac_ext <<EOF
    3186 #line 3187 "configure"
     3467#line 3468 "configure"
    31873468#include "confdefs.h"
    31883469/* System header to define __stub macros and hopefully few prototypes,
     
    32073488; return 0; }
    32083489EOF
    3209 if { (eval echo configure:3210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3490if { (eval echo configure:3491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    32103491  rm -rf conftest*
    32113492  eval "ac_cv_func_$ac_func=yes"
     
    32323513
    32333514echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3234 echo "configure:3235: checking for working mmap" >&5
     3515echo "configure:3516: checking for working mmap" >&5
    32353516if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    32363517  echo $ac_n "(cached) $ac_c" 1>&6
     
    32403521else
    32413522  cat > conftest.$ac_ext <<EOF
    3242 #line 3243 "configure"
     3523#line 3524 "configure"
    32433524#include "confdefs.h"
    32443525
     
    33803661
    33813662EOF
    3382 if { (eval echo configure:3383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3663if { (eval echo configure:3664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33833664then
    33843665  ac_cv_func_mmap_fixed_mapped=yes
     
    34033684
    34043685echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    3405 echo "configure:3406: checking return type of signal handlers" >&5
     3686echo "configure:3687: checking return type of signal handlers" >&5
    34063687if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    34073688  echo $ac_n "(cached) $ac_c" 1>&6
    34083689else
    34093690  cat > conftest.$ac_ext <<EOF
    3410 #line 3411 "configure"
     3691#line 3692 "configure"
    34113692#include "confdefs.h"
    34123693#include <sys/types.h>
     
    34253706; return 0; }
    34263707EOF
    3427 if { (eval echo configure:3428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3708if { (eval echo configure:3709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34283709  rm -rf conftest*
    34293710  ac_cv_type_signal=void
     
    34443725
    34453726echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    3446 echo "configure:3447: checking for vprintf" >&5
     3727echo "configure:3728: checking for vprintf" >&5
    34473728if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    34483729  echo $ac_n "(cached) $ac_c" 1>&6
    34493730else
    34503731  cat > conftest.$ac_ext <<EOF
    3451 #line 3452 "configure"
     3732#line 3733 "configure"
    34523733#include "confdefs.h"
    34533734/* System header to define __stub macros and hopefully few prototypes,
     
    34723753; return 0; }
    34733754EOF
    3474 if { (eval echo configure:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3755if { (eval echo configure:3756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    34753756  rm -rf conftest*
    34763757  eval "ac_cv_func_vprintf=yes"
     
    34963777if test "$ac_cv_func_vprintf" != yes; then
    34973778echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    3498 echo "configure:3499: checking for _doprnt" >&5
     3779echo "configure:3780: checking for _doprnt" >&5
    34993780if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    35003781  echo $ac_n "(cached) $ac_c" 1>&6
    35013782else
    35023783  cat > conftest.$ac_ext <<EOF
    3503 #line 3504 "configure"
     3784#line 3785 "configure"
    35043785#include "confdefs.h"
    35053786/* System header to define __stub macros and hopefully few prototypes,
     
    35243805; return 0; }
    35253806EOF
    3526 if { (eval echo configure:3527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3807if { (eval echo configure:3808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35273808  rm -rf conftest*
    35283809  eval "ac_cv_func__doprnt=yes"
     
    35503831
    35513832echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6
    3552 echo "configure:3553: checking for library containing setenv" >&5
     3833echo "configure:3834: checking for library containing setenv" >&5
    35533834if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then
    35543835  echo $ac_n "(cached) $ac_c" 1>&6
     
    35573838ac_cv_search_setenv="no"
    35583839cat > conftest.$ac_ext <<EOF
    3559 #line 3560 "configure"
     3840#line 3841 "configure"
    35603841#include "confdefs.h"
    35613842/* Override any gcc2 internal prototype to avoid an error.  */
     
    35683849; return 0; }
    35693850EOF
    3570 if { (eval echo configure:3571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3851if { (eval echo configure:3852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35713852  rm -rf conftest*
    35723853  ac_cv_search_setenv="none required"
     
    35793860LIBS="-l$i  $ac_func_search_save_LIBS"
    35803861cat > conftest.$ac_ext <<EOF
    3581 #line 3582 "configure"
     3862#line 3863 "configure"
    35823863#include "confdefs.h"
    35833864/* Override any gcc2 internal prototype to avoid an error.  */
     
    35903871; return 0; }
    35913872EOF
    3592 if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3873if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    35933874  rm -rf conftest*
    35943875  ac_cv_search_setenv="-l$i"
     
    36143895do
    36153896echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3616 echo "configure:3617: checking for $ac_func" >&5
     3897echo "configure:3898: checking for $ac_func" >&5
    36173898if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    36183899  echo $ac_n "(cached) $ac_c" 1>&6
    36193900else
    36203901  cat > conftest.$ac_ext <<EOF
    3621 #line 3622 "configure"
     3902#line 3903 "configure"
    36223903#include "confdefs.h"
    36233904/* System header to define __stub macros and hopefully few prototypes,
     
    36423923; return 0; }
    36433924EOF
    3644 if { (eval echo configure:3645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3925if { (eval echo configure:3926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36453926  rm -rf conftest*
    36463927  eval "ac_cv_func_$ac_func=yes"
     
    36923973# check for a peculiar constructor initialization
    36933974echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    3694 echo "configure:3695: checking whether explicit C++ constructor calls are allowed" >&5
     3975echo "configure:3976: checking whether explicit C++ constructor calls are allowed" >&5
    36953976
    36963977ac_ext=C
     
    37053986else
    37063987  cat > conftest.$ac_ext <<EOF
    3707 #line 3708 "configure"
     3988#line 3989 "configure"
    37083989#include "confdefs.h"
    37093990
     
    37234004; return 0; }
    37244005EOF
    3725 if { (eval echo configure:3726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4006if { (eval echo configure:4007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    37264007  rm -rf conftest*
    37274008  ac_cv_explicit_const=yes
     
    37524033# sprintf returns number of printed chars
    37534034echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3754 echo "configure:3755: checking whether vsprintf returns number of printed chars" >&5
     4035echo "configure:4036: checking whether vsprintf returns number of printed chars" >&5
    37554036if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    37564037  echo $ac_n "(cached) $ac_c" 1>&6
     
    37604041else
    37614042  cat > conftest.$ac_ext <<EOF
    3762 #line 3763 "configure"
     4043#line 4044 "configure"
    37634044#include "confdefs.h"
    37644045#include <stdio.h>
    37654046 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    37664047EOF
    3767 if { (eval echo configure:3768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4048if { (eval echo configure:4049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    37684049then
    37694050  ac_cv_returns_n_of_chars=yes
     
    37914072# determine ALIGN_8
    37924073echo $ac_n "checking size of char""... $ac_c" 1>&6
    3793 echo "configure:3794: checking size of char" >&5
     4074echo "configure:4075: checking size of char" >&5
    37944075if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    37954076  echo $ac_n "(cached) $ac_c" 1>&6
     
    37994080else
    38004081  cat > conftest.$ac_ext <<EOF
    3801 #line 3802 "configure"
     4082#line 4083 "configure"
    38024083#include "confdefs.h"
    38034084#include <stdio.h>
     
    38104091}
    38114092EOF
    3812 if { (eval echo configure:3813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4093if { (eval echo configure:4094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38134094then
    38144095  ac_cv_sizeof_char=`cat conftestval`
     
    38304111
    38314112echo $ac_n "checking size of short""... $ac_c" 1>&6
    3832 echo "configure:3833: checking size of short" >&5
     4113echo "configure:4114: checking size of short" >&5
    38334114if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    38344115  echo $ac_n "(cached) $ac_c" 1>&6
     
    38384119else
    38394120  cat > conftest.$ac_ext <<EOF
    3840 #line 3841 "configure"
     4121#line 4122 "configure"
    38414122#include "confdefs.h"
    38424123#include <stdio.h>
     
    38494130}
    38504131EOF
    3851 if { (eval echo configure:3852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4132if { (eval echo configure:4133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38524133then
    38534134  ac_cv_sizeof_short=`cat conftestval`
     
    38694150
    38704151echo $ac_n "checking size of int""... $ac_c" 1>&6
    3871 echo "configure:3872: checking size of int" >&5
     4152echo "configure:4153: checking size of int" >&5
    38724153if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    38734154  echo $ac_n "(cached) $ac_c" 1>&6
     
    38774158else
    38784159  cat > conftest.$ac_ext <<EOF
    3879 #line 3880 "configure"
     4160#line 4161 "configure"
    38804161#include "confdefs.h"
    38814162#include <stdio.h>
     
    38884169}
    38894170EOF
    3890 if { (eval echo configure:3891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4171if { (eval echo configure:4172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    38914172then
    38924173  ac_cv_sizeof_int=`cat conftestval`
     
    39084189
    39094190echo $ac_n "checking size of long""... $ac_c" 1>&6
    3910 echo "configure:3911: checking size of long" >&5
     4191echo "configure:4192: checking size of long" >&5
    39114192if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    39124193  echo $ac_n "(cached) $ac_c" 1>&6
     
    39164197else
    39174198  cat > conftest.$ac_ext <<EOF
    3918 #line 3919 "configure"
     4199#line 4200 "configure"
    39194200#include "confdefs.h"
    39204201#include <stdio.h>
     
    39274208}
    39284209EOF
    3929 if { (eval echo configure:3930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4210if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    39304211then
    39314212  ac_cv_sizeof_long=`cat conftestval`
     
    39474228
    39484229echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3949 echo "configure:3950: checking size of void*" >&5
     4230echo "configure:4231: checking size of void*" >&5
    39504231if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    39514232  echo $ac_n "(cached) $ac_c" 1>&6
     
    39554236else
    39564237  cat > conftest.$ac_ext <<EOF
    3957 #line 3958 "configure"
     4238#line 4239 "configure"
    39584239#include "confdefs.h"
    39594240#include <stdio.h>
     
    39664247}
    39674248EOF
    3968 if { (eval echo configure:3969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4249if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    39694250then
    39704251  ac_cv_sizeof_voidp=`cat conftestval`
     
    39864267
    39874268echo $ac_n "checking size of double""... $ac_c" 1>&6
    3988 echo "configure:3989: checking size of double" >&5
     4269echo "configure:4270: checking size of double" >&5
    39894270if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    39904271  echo $ac_n "(cached) $ac_c" 1>&6
     
    39944275else
    39954276  cat > conftest.$ac_ext <<EOF
    3996 #line 3997 "configure"
     4277#line 4278 "configure"
    39974278#include "confdefs.h"
    39984279#include <stdio.h>
     
    40054286}
    40064287EOF
    4007 if { (eval echo configure:4008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4288if { (eval echo configure:4289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    40084289then
    40094290  ac_cv_sizeof_double=`cat conftestval`
     
    40254306
    40264307echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    4027 echo "configure:4028: checking whether byte ordering is bigendian" >&5
     4308echo "configure:4309: checking whether byte ordering is bigendian" >&5
    40284309if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    40294310  echo $ac_n "(cached) $ac_c" 1>&6
     
    40324313# See if sys/param.h defines the BYTE_ORDER macro.
    40334314cat > conftest.$ac_ext <<EOF
    4034 #line 4035 "configure"
     4315#line 4316 "configure"
    40354316#include "confdefs.h"
    40364317#include <sys/types.h>
     
    40434324; return 0; }
    40444325EOF
    4045 if { (eval echo configure:4046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4326if { (eval echo configure:4327: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    40464327  rm -rf conftest*
    40474328  # It does; now see whether it defined to BIG_ENDIAN or not.
    40484329cat > conftest.$ac_ext <<EOF
    4049 #line 4050 "configure"
     4330#line 4331 "configure"
    40504331#include "confdefs.h"
    40514332#include <sys/types.h>
     
    40584339; return 0; }
    40594340EOF
    4060 if { (eval echo configure:4061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     4341if { (eval echo configure:4342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    40614342  rm -rf conftest*
    40624343  ac_cv_c_bigendian=yes
     
    40784359else
    40794360  cat > conftest.$ac_ext <<EOF
    4080 #line 4081 "configure"
     4361#line 4362 "configure"
    40814362#include "confdefs.h"
    40824363main () {
     
    40914372}
    40924373EOF
    4093 if { (eval echo configure:4094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     4374if { (eval echo configure:4375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    40944375then
    40954376  ac_cv_c_bigendian=no
     
    41494430fi
    41504431
     4432# Check whether --with-python or --without-python was given.
     4433if test "${with_python+set}" = set; then
     4434  withval="$with_python"
     4435  :
     4436fi
     4437
    41514438# Check whether --with-Boost or --without-Boost was given.
    41524439if test "${with_Boost+set}" = set; then
     
    42394526
    42404527echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
    4241 echo "configure:4242: checking whether to use dynamic linking" >&5
     4528echo "configure:4529: checking whether to use dynamic linking" >&5
    42424529if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    42434530  cat >> confdefs.h <<\EOF
     
    42524539
    42534540echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    4254 echo "configure:4255: checking for tgetent in -lncurses" >&5
     4541echo "configure:4542: checking for tgetent in -lncurses" >&5
    42554542ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    42564543if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42604547LIBS="-lncurses  $LIBS"
    42614548cat > conftest.$ac_ext <<EOF
    4262 #line 4263 "configure"
     4549#line 4550 "configure"
    42634550#include "confdefs.h"
    42644551/* Override any gcc2 internal prototype to avoid an error.  */
     
    42714558; return 0; }
    42724559EOF
    4273 if { (eval echo configure:4274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4560if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42744561  rm -rf conftest*
    42754562  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42984585\
    42994586 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    4300 echo "configure:4301: checking for tgetent in -lcurses" >&5
     4587echo "configure:4588: checking for tgetent in -lcurses" >&5
    43014588ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    43024589if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43064593LIBS="-lcurses  $LIBS"
    43074594cat > conftest.$ac_ext <<EOF
    4308 #line 4309 "configure"
     4595#line 4596 "configure"
    43094596#include "confdefs.h"
    43104597/* Override any gcc2 internal prototype to avoid an error.  */
     
    43174604; return 0; }
    43184605EOF
    4319 if { (eval echo configure:4320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4606if { (eval echo configure:4607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43204607  rm -rf conftest*
    43214608  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43444631\
    43454632  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    4346 echo "configure:4347: checking for tgetent in -ltermcap" >&5
     4633echo "configure:4634: checking for tgetent in -ltermcap" >&5
    43474634ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    43484635if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43524639LIBS="-ltermcap  $LIBS"
    43534640cat > conftest.$ac_ext <<EOF
    4354 #line 4355 "configure"
     4641#line 4642 "configure"
    43554642#include "confdefs.h"
    43564643/* Override any gcc2 internal prototype to avoid an error.  */
     
    43634650; return 0; }
    43644651EOF
    4365 if { (eval echo configure:4366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4652if { (eval echo configure:4653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43664653  rm -rf conftest*
    43674654  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44124699
    44134700   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    4414 echo "configure:4415: checking for rl_abort in -lreadline" >&5
     4701echo "configure:4702: checking for rl_abort in -lreadline" >&5
    44154702ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    44164703if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44204707LIBS="-lreadline  $LIBS"
    44214708cat > conftest.$ac_ext <<EOF
    4422 #line 4423 "configure"
     4709#line 4710 "configure"
    44234710#include "confdefs.h"
    44244711/* Override any gcc2 internal prototype to avoid an error.  */
     
    44344721; return 0; }
    44354722EOF
    4436 if { (eval echo configure:4437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4723if { (eval echo configure:4724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44374724  rm -rf conftest*
    44384725  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44624749
    44634750   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    4464 echo "configure:4465: checking how to run the C++ preprocessor" >&5
     4751echo "configure:4752: checking how to run the C++ preprocessor" >&5
    44654752if test -z "$CXXCPP"; then
    44664753if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    44754762  CXXCPP="${CXX-g++} -E"
    44764763  cat > conftest.$ac_ext <<EOF
    4477 #line 4478 "configure"
     4764#line 4765 "configure"
    44784765#include "confdefs.h"
    44794766#include <stdlib.h>
    44804767EOF
    44814768ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4482 { (eval echo configure:4483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4769{ (eval echo configure:4770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44834770ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44844771if test -z "$ac_err"; then
     
    45084795ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    45094796echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4510 echo "configure:4511: checking for $ac_hdr" >&5
     4797echo "configure:4798: checking for $ac_hdr" >&5
    45114798if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    45124799  echo $ac_n "(cached) $ac_c" 1>&6
    45134800else
    45144801  cat > conftest.$ac_ext <<EOF
    4515 #line 4516 "configure"
     4802#line 4803 "configure"
    45164803#include "confdefs.h"
    45174804#include <$ac_hdr>
    45184805EOF
    45194806ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4520 { (eval echo configure:4521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4807{ (eval echo configure:4808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    45214808ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    45224809if test -z "$ac_err"; then
     
    45474834      test "$ac_cv_header_readline_readline_h" = yes; then
    45484835     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    4549 echo "configure:4550: checking whether readline.h is ok" >&5
     4836echo "configure:4837: checking whether readline.h is ok" >&5
    45504837     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    45514838  echo $ac_n "(cached) $ac_c" 1>&6
    45524839else
    45534840  cat > conftest.$ac_ext <<EOF
    4554 #line 4555 "configure"
     4841#line 4842 "configure"
    45554842#include "confdefs.h"
    45564843#include<unistd.h>
     
    45654852; return 0; }
    45664853EOF
    4567 if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4854if { (eval echo configure:4855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45684855  rm -rf conftest*
    45694856  ac_cv_header_readline_readline_h_ok="yes"
     
    45814868#not ok -- try once more with explicitly declaring everything
    45824869      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    4583 echo "configure:4584: checking whether or not we nevertheless can use readline" >&5
     4870echo "configure:4871: checking whether or not we nevertheless can use readline" >&5
    45844871      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    45854872  echo $ac_n "(cached) $ac_c" 1>&6
    45864873else
    45874874  cat > conftest.$ac_ext <<EOF
    4588 #line 4589 "configure"
     4875#line 4876 "configure"
    45894876#include "confdefs.h"
    45904877#include <stdio.h>
     
    46204907; return 0; }
    46214908EOF
    4622 if { (eval echo configure:4623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4909if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46234910  rm -rf conftest*
    46244911  ac_cv_have_readline="yes"
     
    46594946
    46604947echo $ac_n "checking which readline to use""... $ac_c" 1>&6
    4661 echo "configure:4662: checking which readline to use" >&5
     4948echo "configure:4949: checking which readline to use" >&5
    46624949if test "$ac_cv_with_readline" = dynamic; then
    46634950  echo "$ac_t""dynamic" 1>&6
     
    46794966# gmp, MP, MPT, factory, libfac
    46804967echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4681 echo "configure:4682: checking for main in -lgmp" >&5
     4968echo "configure:4969: checking for main in -lgmp" >&5
    46824969ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    46834970if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46874974LIBS="-lgmp  $LIBS"
    46884975cat > conftest.$ac_ext <<EOF
    4689 #line 4690 "configure"
     4976#line 4977 "configure"
    46904977#include "confdefs.h"
    46914978
     
    46944981; return 0; }
    46954982EOF
    4696 if { (eval echo configure:4697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4983if { (eval echo configure:4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46974984  rm -rf conftest*
    46984985  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47235010SAVE_LIBS=$LIBS
    47245011echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4725 echo "configure:4726: checking for IMP_PutGmpInt in -lMP" >&5
     5012echo "configure:5013: checking for IMP_PutGmpInt in -lMP" >&5
    47265013ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    47275014if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47315018LIBS="-lMP $MP_LIBS $LIBS"
    47325019cat > conftest.$ac_ext <<EOF
    4733 #line 4734 "configure"
     5020#line 5021 "configure"
    47345021#include "confdefs.h"
    47355022/* Override any gcc2 internal prototype to avoid an error.  */
     
    47425029; return 0; }
    47435030EOF
    4744 if { (eval echo configure:4745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5031if { (eval echo configure:5032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47455032  rm -rf conftest*
    47465033  eval "ac_cv_lib_$ac_lib_var=yes"
     
    47705057
    47715058echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4772 echo "configure:4773: checking for MPT_GetTree in -lMPT" >&5
     5059echo "configure:5060: checking for MPT_GetTree in -lMPT" >&5
    47735060ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    47745061if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47785065LIBS="-lMPT $MP_LIBS $LIBS"
    47795066cat > conftest.$ac_ext <<EOF
    4780 #line 4781 "configure"
     5067#line 5068 "configure"
    47815068#include "confdefs.h"
    47825069/* Override any gcc2 internal prototype to avoid an error.  */
     
    47895076; return 0; }
    47905077EOF
    4791 if { (eval echo configure:4792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5078if { (eval echo configure:5079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47925079  rm -rf conftest*
    47935080  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48185105LIBS=$SAVE_LIBS
    48195106echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4820 echo "configure:4821: checking for atof in -lsingcf" >&5
     5107echo "configure:5108: checking for atof in -lsingcf" >&5
    48215108ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    48225109if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    48265113LIBS="-lsingcf  $LIBS"
    48275114cat > conftest.$ac_ext <<EOF
    4828 #line 4829 "configure"
     5115#line 5116 "configure"
    48295116#include "confdefs.h"
    48305117/* Override any gcc2 internal prototype to avoid an error.  */
     
    48375124; return 0; }
    48385125EOF
    4839 if { (eval echo configure:4840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5126if { (eval echo configure:5127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48405127  rm -rf conftest*
    48415128  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48655152
    48665153echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4867 echo "configure:4868: checking for atof in -lsingfac" >&5
     5154echo "configure:5155: checking for atof in -lsingfac" >&5
    48685155ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    48695156if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    48735160LIBS="-lsingfac  $LIBS"
    48745161cat > conftest.$ac_ext <<EOF
    4875 #line 4876 "configure"
     5162#line 5163 "configure"
    48765163#include "confdefs.h"
    48775164/* Override any gcc2 internal prototype to avoid an error.  */
     
    48845171; return 0; }
    48855172EOF
    4886 if { (eval echo configure:4887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5173if { (eval echo configure:5174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48875174  rm -rf conftest*
    48885175  eval "ac_cv_lib_$ac_lib_var=yes"
     
    49125199
    49135200echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4914 echo "configure:4915: checking for omTestAddr in -lomalloc" >&5
     5201echo "configure:5202: checking for omTestAddr in -lomalloc" >&5
    49155202ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    49165203if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    49205207LIBS="-lomalloc  $LIBS"
    49215208cat > conftest.$ac_ext <<EOF
    4922 #line 4923 "configure"
     5209#line 5210 "configure"
    49235210#include "confdefs.h"
    49245211/* Override any gcc2 internal prototype to avoid an error.  */
     
    49315218; return 0; }
    49325219EOF
    4933 if { (eval echo configure:4934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5220if { (eval echo configure:5221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49345221  rm -rf conftest*
    49355222  eval "ac_cv_lib_$ac_lib_var=yes"
     
    49595246
    49605247echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4961 echo "configure:4962: checking for main in -lomalloc_ndebug" >&5
     5248echo "configure:5249: checking for main in -lomalloc_ndebug" >&5
    49625249ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    49635250if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    49675254LIBS="-lomalloc_ndebug  $LIBS"
    49685255cat > conftest.$ac_ext <<EOF
    4969 #line 4970 "configure"
     5256#line 5257 "configure"
    49705257#include "confdefs.h"
    49715258
     
    49745261; return 0; }
    49755262EOF
    4976 if { (eval echo configure:4977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5263if { (eval echo configure:5264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    49775264  rm -rf conftest*
    49785265  eval "ac_cv_lib_$ac_lib_var=yes"
     
    50025289
    50035290echo $ac_n "checking for main in -lntl""... $ac_c" 1>&6
    5004 echo "configure:5005: checking for main in -lntl" >&5
     5291echo "configure:5292: checking for main in -lntl" >&5
    50055292ac_lib_var=`echo ntl'_'main | sed 'y%./+-%__p_%'`
    50065293if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    50105297LIBS="-lntl  $LIBS"
    50115298cat > conftest.$ac_ext <<EOF
    5012 #line 5013 "configure"
     5299#line 5300 "configure"
    50135300#include "confdefs.h"
    50145301
     
    50175304; return 0; }
    50185305EOF
    5019 if { (eval echo configure:5020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5306if { (eval echo configure:5307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    50205307  rm -rf conftest*
    50215308  eval "ac_cv_lib_$ac_lib_var=yes"
     
    50505337ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    50515338echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5052 echo "configure:5053: checking for $ac_hdr" >&5
     5339echo "configure:5340: checking for $ac_hdr" >&5
    50535340if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    50545341  echo $ac_n "(cached) $ac_c" 1>&6
    50555342else
    50565343  cat > conftest.$ac_ext <<EOF
    5057 #line 5058 "configure"
     5344#line 5345 "configure"
    50585345#include "confdefs.h"
    50595346#include <$ac_hdr>
    50605347EOF
    50615348ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5062 { (eval echo configure:5063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5349{ (eval echo configure:5350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    50635350ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    50645351if test -z "$ac_err"; then
     
    50885375
    50895376echo $ac_n "checking whether to use Boost""... $ac_c" 1>&6
    5090 echo "configure:5091: checking whether to use Boost" >&5
     5377echo "configure:5378: checking whether to use Boost" >&5
    50915378if test "$with_Boost" != no; then
    50925379  echo "$ac_t""yes" 1>&6
     
    51035390ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    51045391echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    5105 echo "configure:5106: checking for $ac_hdr" >&5
     5392echo "configure:5393: checking for $ac_hdr" >&5
    51065393if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    51075394  echo $ac_n "(cached) $ac_c" 1>&6
    51085395else
    51095396  cat > conftest.$ac_ext <<EOF
    5110 #line 5111 "configure"
     5397#line 5398 "configure"
    51115398#include "confdefs.h"
    51125399#include <$ac_hdr>
    51135400EOF
    51145401ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    5115 { (eval echo configure:5116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     5402{ (eval echo configure:5403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    51165403ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    51175404if test -z "$ac_err"; then
     
    51495436  echo "$ac_t""no" 1>&6
    51505437  echo $ac_n "checking whether to use std::vector""... $ac_c" 1>&6
    5151 echo "configure:5152: checking whether to use std::vector" >&5
     5438echo "configure:5439: checking whether to use std::vector" >&5
    51525439  if test "$with_stdvec" != yes; then
    51535440    echo "$ac_t""no" 1>&6
     
    51985485SAVE_LIBS=$LIBS
    51995486echo $ac_n "checking for __stack_chk_fail_local in -lc_nonshared""... $ac_c" 1>&6
    5200 echo "configure:5201: checking for __stack_chk_fail_local in -lc_nonshared" >&5
     5487echo "configure:5488: checking for __stack_chk_fail_local in -lc_nonshared" >&5
    52015488ac_lib_var=`echo c_nonshared'_'__stack_chk_fail_local | sed 'y%./+-%__p_%'`
    52025489if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    52065493LIBS="-lc_nonshared  $LIBS"
    52075494cat > conftest.$ac_ext <<EOF
    5208 #line 5209 "configure"
     5495#line 5496 "configure"
    52095496#include "confdefs.h"
    52105497/* Override any gcc2 internal prototype to avoid an error.  */
     
    52175504; return 0; }
    52185505EOF
    5219 if { (eval echo configure:5220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     5506if { (eval echo configure:5507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    52205507  rm -rf conftest*
    52215508  eval "ac_cv_lib_$ac_lib_var=yes"
     
    52475534
    52485535echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    5249 echo "configure:5250: checking which apint package to use" >&5
     5536echo "configure:5537: checking which apint package to use" >&5
    52505537if test "${with_apint}" != gmp; then
    52515538  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    52685555fi
    52695556
    5270 echo $ac_n "checking gfan lib""... $ac_c" 1>&6
     5557echo $ac_n "checking gfanlib""... $ac_c" 1>&6
     5558echo "configure:5559: checking gfanlib" >&5
    52715559if test "$enable_gfanlib" = yes; then
    5272   echo "yes"
    5273   NEED_LIBS="${NEED_LIBS} -lcddgmp -lgfan"
    5274 else
    5275   echo "no"
     5560  echo "$ac_t""yes" 1>&6
     5561  NEED_LIBS="${NEED_LIBS} -lgfan -lcddgmp"
     5562else
     5563  echo "$ac_t""can not build with gfan lib" 1>&6
    52765564fi
    52775565
    52785566echo $ac_n "checking whether to use libsvd""... $ac_c" 1>&6
    5279 echo "configure:5272: checking whether to use libsvd" >&5
     5567echo "configure:5568: checking whether to use libsvd" >&5
    52805568if test "$with_svd" = yes; then
    52815569  echo "$ac_t""yes" 1>&6
     
    52925580#
    52935581echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    5294 echo "configure:5287: checking whether to have MP" >&5
     5582echo "configure:5583: checking whether to have MP" >&5
    52955583if test "${with_MP}" != yes && test "${with_MP}" != no; then
    52965584  if (test "${will_have_gmp}" = yes) && \
     
    53275615
    53285616echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6
    5329 echo "configure:5322: checking whether to have NTL" >&5
     5617echo "configure:5618: checking whether to have NTL" >&5
    53305618if test "${with_NTL}" = yes ; then
    53315619  echo "$ac_t""yes" 1>&6
     
    53365624
    53375625echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    5338 echo "configure:5331: checking whether to have factory" >&5
     5626echo "configure:5627: checking whether to have factory" >&5
    53395627if test "${with_factory}" != yes && test "${with_factory}" != no; then
    53405628  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    53675655
    53685656echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    5369 echo "configure:5362: checking whether to have libfac" >&5
     5657echo "configure:5658: checking whether to have libfac" >&5
    53705658if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    53715659  if (test "${will_have_factory}" = yes) && \
     
    54025690
    54035691echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    5404 echo "configure:5397: checking whether to have dbm links" >&5
     5692echo "configure:5693: checking whether to have dbm links" >&5
    54055693if test "$with_dbm" != no; then
    54065694  cat >> confdefs.h <<\EOF
     
    54145702
    54155703echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    5416 echo "configure:5409: checking whether to have dynamic modules" >&5
     5704echo "configure:5705: checking whether to have dynamic modules" >&5
    54175705if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    54185706  echo "$ac_t""no" 1>&6
     
    54265714
    54275715echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    5428 echo "configure:5421: checking whether to have dynamic kernel" >&5
     5716echo "configure:5717: checking whether to have dynamic kernel" >&5
    54295717if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    54305718  DL_KERNEL=1
     
    54365724
    54375725echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    5438 echo "configure:5431: checking whether to have Plural" >&5
     5726echo "configure:5727: checking whether to have Plural" >&5
    54395727if test "$with_Plural" != no && test "$enable_Plural" != no; then
    54405728  cat >> confdefs.h <<\EOF
     
    54505738
    54515739echo $ac_n "checking whether to have ratGB""... $ac_c" 1>&6
    5452 echo "configure:5445: checking whether to have ratGB" >&5
     5740echo "configure:5741: checking whether to have ratGB" >&5
    54535741if test "$with_ratGB" != yes && test "$enable_ratGB" != yes; then
    54545742  echo "$ac_t""no" 1>&6
     
    56305918s%@LN_S@%$LN_S%g
    56315919s%@PERL@%$PERL%g
     5920s%@PYTHON@%$PYTHON%g
     5921s%@PYTHON_CPPFLAGS@%$PYTHON_CPPFLAGS%g
     5922s%@PYTHON_LDFLAGS@%$PYTHON_LDFLAGS%g
     5923s%@PYTHON_SITE_PKG@%$PYTHON_SITE_PKG%g
     5924s%@PYTHON_EXTRA_LIBS@%$PYTHON_EXTRA_LIBS%g
     5925s%@PYTHON_EXTRA_LDFLAGS@%$PYTHON_EXTRA_LDFLAGS%g
     5926s%@HAVE_PYTHON_VALUE@%$HAVE_PYTHON_VALUE%g
    56325927s%@LD_DYN_FLAGS@%$LD_DYN_FLAGS%g
    56335928s%@SFLAGS@%$SFLAGS%g
  • Singular/configure.in

    ra563a0 r1cb879  
    33AC_CONFIG_HEADER(mod2.h)
    44AC_CONFIG_HEADER(../kernel/mod2.h)
     5
     6dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
     7dnl check for python (see AC_PYTHON_DEVEL in newer autoconf versions)
     8dnl
     9AC_DEFUN([AC_PYTHON_DEVEL_SINGULAR],[
     10        #
     11        # Allow the use of a (user set) custom python version
     12        #
     13        PYTHON_VERSION="$1"
     14        PYTHON="$2"
     15
     16        #
     17        # Check for a version of Python >= 2.1.0
     18        #
     19        AC_MSG_CHECKING([for a version of Python >= '2.1.0'])
     20        ac_supports_python_ver=`$PYTHON -c "import sys, string; \
     21                        ver = string.split(sys.version)[[0]]; \
     22                        print ver >= '2.1.0'"`
     23        if test "$ac_supports_python_ver" != "True"; then
     24                if test -z "$PYTHON_NOVERSIONCHECK"; then
     25                        AC_MSG_RESULT([no])
     26                        AC_MSG_ERROR([
     27This version of the AC@&t@_PYTHON_DEVEL macro
     28doesn't work properly with versions of Python before
     292.1.0. You may need to re-run configure, setting the
     30variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG,
     31PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand.
     32Moreover, to disable this check, set PYTHON_NOVERSIONCHECK
     33to something else than an empty string.
     34])
     35                else
     36                        AC_MSG_RESULT([skip at user request])
     37                fi
     38        else
     39                AC_MSG_RESULT([yes])
     40        fi
     41
     42        #
     43        # if the macro parameter ``version'' is set, honour it
     44        #
     45        if test -n "$1"; then
     46                AC_MSG_CHECKING([for a version of Python $1])
     47                ac_supports_python_ver=`$PYTHON -c "import sys, string; \
     48                        ver = string.split(sys.version)[[0]]; print ver $1"`
     49                if test "$ac_supports_python_ver" = "True"; then
     50                   AC_MSG_RESULT([yes])
     51                else
     52                        AC_MSG_RESULT([no])
     53                        AC_MSG_ERROR([this package requires Python $1.
     54If you have it installed, but it isn't the default Python
     55interpreter in your system path, please pass the PYTHON_VERSION
     56variable to configure. See ``configure --help'' for reference.
     57])
     58                        PYTHON_VERSION=""
     59                fi
     60        fi
     61
     62        #
     63        # Check if you have distutils, else fail
     64        #
     65        AC_MSG_CHECKING([for the distutils Python package])
     66        ac_distutils_result=`$PYTHON -c "import distutils" 2>&1`
     67        if test -z "$ac_distutils_result"; then
     68                AC_MSG_RESULT([yes])
     69        else
     70                AC_MSG_RESULT([no])
     71                AC_MSG_ERROR([cannot import Python module "distutils".
     72Please check your Python installation. The error was:
     73$ac_distutils_result])
     74                PYTHON_VERSION=""
     75        fi
     76
     77        #
     78        # Check for Python include path
     79        #
     80        AC_MSG_CHECKING([for Python include path])
     81        if test -z "$PYTHON_CPPFLAGS"; then
     82                python_path=`$PYTHON -c "import distutils.sysconfig; \
     83                                print distutils.sysconfig.get_python_inc();"`
     84                if test -n "${python_path}"; then
     85                        python_path="-I$python_path"
     86                fi
     87                PYTHON_CPPFLAGS=$python_path
     88        fi
     89        AC_MSG_RESULT([$PYTHON_CPPFLAGS])
     90        AC_SUBST([PYTHON_CPPFLAGS])
     91
     92        #
     93        # Check for Python library path
     94        #
     95        AC_MSG_CHECKING([for Python library path])
     96        if test -z "$PYTHON_LDFLAGS"; then
     97                # (makes two attempts to ensure we've got a version number
     98                # from the interpreter)
     99                py_version=`$PYTHON -c "from distutils.sysconfig import *; \
     100                        from string import join; \
     101                        print join(get_config_vars('VERSION'))"`
     102                if test "$py_version" == "[None]"; then
     103                        if test -n "$PYTHON_VERSION"; then
     104                                py_version=$PYTHON_VERSION
     105                        else
     106                                py_version=`$PYTHON -c "import sys; \
     107                                        print sys.version[[:3]]"`
     108                        fi
     109                fi
     110
     111                PYTHON_LDFLAGS=`$PYTHON -c "from distutils.sysconfig import *; \
     112                        from string import join; \
     113                        from os import path; \
     114                        print '-L' + get_python_lib(0,1), \
     115                        '-L' + path.dirname(get_python_lib(0,1)), \
     116                        '-lpython';"`$py_version
     117        fi
     118        AC_MSG_RESULT([$PYTHON_LDFLAGS])
     119        AC_SUBST([PYTHON_LDFLAGS])
     120
     121        #
     122        # Check for site packages
     123        #
     124        AC_MSG_CHECKING([for Python site-packages path])
     125        if test -z "$PYTHON_SITE_PKG"; then
     126                PYTHON_SITE_PKG=`$PYTHON -c "import distutils.sysconfig; \
     127print distutils.sysconfig.get_python_lib(0,0);"`
     128        fi
     129        AC_MSG_RESULT([$PYTHON_SITE_PKG])
     130        AC_SUBST([PYTHON_SITE_PKG])
     131
     132        #
     133        # libraries which must be linked in when embedding
     134        #
     135        AC_MSG_CHECKING(python extra libraries)
     136        if test -z "$PYTHON_EXTRA_LIBS"; then
     137           PYTHON_EXTRA_LIBS=`$PYTHON -c "import distutils.sysconfig; \
     138conf = distutils.sysconfig.get_config_var; \
     139print conf('LOCALMODLIBS'), conf('LIBS')"`
     140        fi
     141        AC_MSG_RESULT([$PYTHON_EXTRA_LIBS])
     142        AC_SUBST(PYTHON_EXTRA_LIBS)
     143
     144        #
     145        # linking flags needed when embedding
     146        #
     147        AC_MSG_CHECKING(python extra linking flags)
     148        if test -z "$PYTHON_EXTRA_LDFLAGS"; then
     149                PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import distutils.sysconfig; \
     150                        conf = distutils.sysconfig.get_config_var; \
     151                        print conf('LINKFORSHARED')"`
     152        fi
     153        AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS])
     154        AC_SUBST(PYTHON_EXTRA_LDFLAGS)
     155
     156        #
     157        # final check to see if everything compiles alright
     158        #
     159        AC_MSG_CHECKING([consistency of all components of python development environment])
     160#       AC_LANG_PUSH([C])
     161        # save current global flags
     162        ac_save_LIBS_for_python="${LIBS}"
     163        LIBS="$ac_save_LIBS $PYTHON_LDFLAGS"
     164        ac_save_CPPFLAGS_for_python="${CPPFLAGS}"
     165        CPPFLAGS="$ac_save_CPPFLAGS $PYTHON_CPPFLAGS"
     166        AC_TRY_LINK([
     167                #include <Python.h>
     168        ],[
     169                Py_Initialize();
     170        ],[pythonexists=yes],[pythonexists=no])
     171
     172        AC_MSG_RESULT([$pythonexists])
     173
     174        if test ! "$pythonexists" = "yes"; then
     175           AC_MSG_ERROR([
     176  Could not link test program to Python. Maybe the main Python library has been
     177  installed in some non-standard library path. If so, pass it to configure,
     178  via the LDFLAGS environment variable.
     179  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
     180  ============================================================================
     181   ERROR!
     182   You probably have to install the development version of the Python package
     183   for your distribution.  The exact name of this package varies among them.
     184  ============================================================================
     185           ])
     186          PYTHON_VERSION=""
     187        else
     188          AC_DEFINE(HAVE_PYTHON)
     189          HAVE_PYTHON_VALUE=1
     190          AC_SUBST(HAVE_PYTHON_VALUE)     
     191        fi
     192#       AC_LANG_POP
     193        # turn back to default flags
     194        CPPFLAGS="$ac_save_CPPFLAGS_for_python"
     195        LIBS="$ac_save_LIBS_for_python"
     196
     197        #
     198        # all done!
     199        #
     200])
     201
    5202
    6203dnl lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
     
    380577
    381578AC_CHECK_PROGS(PERL, perl5 perl)
     579
     580# python
     581if test "${with_python+set}" != set; then
     582dnl Default value here!
     583  PYTHON_EXE="no"
     584else
     585  if test "${with_python}" = yes; then
     586    PYTHON_EXE="python"
     587  else
     588    PYTHON_EXE="${with_python}"
     589  fi
     590fi
     591
     592if test "${PYTHON_EXE}" = no; then
     593  AC_MSG_WARN(building without python support)
     594else
     595  AC_PATH_PROG([PYTHON],[$PYTHON_EXE])
     596  if test -z "$PYTHON"; then
     597    AC_MSG_WARN([Cannot find $PYTHON_EXE in your system path - skipping python support])
     598  else
     599    AC_PYTHON_DEVEL_SINGULAR(>= '2.4', "${PYTHON}")
     600  fi
     601fi
    382602
    383603dnl llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
     
    622842  readline,
    623843  [  --with-readline=[dynamic,static,no]
    624                           do use dynamic/static/no readline for fancy display])
     844                        do use dynamic/static/no readline for fancy display])
     845AC_ARG_WITH(
     846  python,
     847  [  --with-python=[PYTHON,no]     uses PYTHON as python executable, default is python])
    625848AC_ARG_WITH(
    626849  Boost,
  • Singular/grammar.cc

    ra563a0 r1cb879  
    743743#define YYFINAL  2
    744744/* YYLAST -- Last index in YYTABLE.  */
    745 #define YYLAST   1969
     745#define YYLAST   1971
    746746
    747747/* YYNTOKENS -- Number of terminals.  */
    748 #define YYNTOKENS  145
     748#define YYNTOKENS  146
    749749/* YYNNTS -- Number of nonterminals.  */
    750750#define YYNNTS  44
    751751/* YYNRULES -- Number of rules.  */
    752 #define YYNRULES  168
     752#define YYNRULES  169
    753753/* YYNRULES -- Number of states.  */
    754 #define YYNSTATES  373
     754#define YYNSTATES  375
    755755
    756756/* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX.  */
     
    768768       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
    769769       2,     2,     2,     2,     2,     2,     2,     2,   138,     2,
    770      142,   143,   140,   130,   136,   131,     2,   132,     2,     2,
     770     142,   143,   140,   130,   136,   131,   144,   132,     2,     2,
    771771       2,     2,     2,     2,     2,     2,     2,     2,   139,   137,
    772772     128,   127,   129,     2,     2,     2,     2,     2,     2,     2,
    773773       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
    774774       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
    775        2,   133,     2,   134,   135,     2,   144,     2,     2,     2,
     775       2,   133,     2,   134,   135,     2,   145,     2,     2,     2,
    776776       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
    777777       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     
    813813      21,    24,    26,    28,    30,    32,    34,    36,    38,    40,
    814814      43,    45,    47,    49,    51,    53,    55,    57,    59,    61,
    815       64,    66,    68,    72,    76,    81,    85,    87,    89,    91,
    816       96,   100,   102,   104,   106,   110,   117,   122,   127,   132,
    817      136,   141,   146,   150,   155,   162,   171,   178,   187,   192,
    818      197,   204,   209,   216,   225,   234,   238,   243,   252,   257,
    819      266,   271,   280,   285,   289,   295,   296,   302,   305,   307,
    820      310,   313,   317,   321,   325,   329,   333,   337,   341,   345,
    821      349,   353,   356,   359,   362,   365,   367,   371,   373,   375,
    822      378,   381,   384,   387,   396,   399,   408,   411,   415,   418,
    823      420,   422,   428,   430,   432,   437,   439,   443,   445,   449,
    824      451,   452,   457,   461,   464,   468,   471,   474,   478,   483,
    825      488,   493,   498,   503,   508,   513,   518,   523,   530,   537,
    826      544,   551,   558,   565,   572,   579,   583,   585,   594,   597,
    827      600,   602,   604,   607,   610,   612,   618,   621,   627,   629,
    828      631,   635,   641,   645,   649,   654,   657,   660,   665
     815      64,    66,    68,    72,    76,    80,    85,    89,    91,    93,
     816      95,   100,   104,   106,   108,   110,   114,   121,   126,   131,
     817     136,   140,   145,   150,   154,   159,   166,   175,   182,   191,
     818     196,   201,   208,   213,   220,   229,   238,   242,   247,   256,
     819     261,   270,   275,   284,   289,   293,   299,   300,   306,   309,
     820     311,   314,   317,   321,   325,   329,   333,   337,   341,   345,
     821     349,   353,   357,   360,   363,   366,   369,   371,   375,   377,
     822     379,   382,   385,   388,   391,   400,   403,   412,   415,   419,
     823     422,   424,   426,   432,   434,   436,   441,   443,   447,   449,
     824     453,   455,   456,   461,   465,   468,   472,   475,   478,   482,
     825     487,   492,   497,   502,   507,   512,   517,   522,   527,   534,
     826     541,   548,   555,   562,   569,   576,   583,   587,   589,   598,
     827     601,   604,   606,   608,   611,   614,   616,   622,   625,   631,
     828     633,   635,   639,   645,   649,   653,   658,   661,   664,   669
    829829};
    830830
     
    832832static const yytype_int16 yyrhs[] =
    833833{
    834      146,     0,    -1,    -1,   146,   147,    -1,   148,    -1,   150,
    835      137,    -1,   162,   137,    -1,   188,    -1,   122,    -1,   137,
    836       -1,     1,   137,    -1,   183,    -1,   184,    -1,   149,    -1,
    837      185,    -1,   186,    -1,   170,    -1,   172,    -1,   173,    -1,
    838      101,   110,    -1,   151,    -1,   174,    -1,   175,    -1,   176,
    839       -1,   187,    -1,   178,    -1,   179,    -1,   181,    -1,   182,
    840       -1,   159,   153,    -1,   113,    -1,   160,    -1,   152,    11,
    841      152,    -1,   152,   142,   143,    -1,   152,   142,   153,   143,
    842       -1,   133,   153,   134,    -1,   111,    -1,   126,    -1,   163,
    843       -1,    14,   142,   154,   143,    -1,   153,   136,   154,    -1,
    844      154,    -1,   158,    -1,   152,    -1,   142,   153,   143,    -1,
    845      154,   133,   154,   136,   154,   134,    -1,   154,   133,   154,
    846      134,    -1,    98,   142,   154,   143,    -1,    99,   142,   153,
    847      143,    -1,    99,   142,   143,    -1,   100,   142,   154,   143,
    848       -1,   161,   142,   153,   143,    -1,   161,   142,   143,    -1,
    849       90,   142,   154,   143,    -1,    91,   142,   154,   136,   154,
    850      143,    -1,    92,   142,   154,   136,   154,   136,   154,   143,
    851       -1,    95,   142,   154,   136,   154,   143,    -1,    95,   142,
    852      154,   136,   154,   136,   154,   143,    -1,    93,   142,   154,
    853      143,    -1,    94,   142,   154,   143,    -1,    93,   142,   154,
    854      136,   154,   143,    -1,    96,   142,   154,   143,    -1,    96,
    855      142,   154,   136,   154,   143,    -1,    94,   142,   154,   136,
    856      154,   136,   154,   143,    -1,    96,   142,   154,   136,   154,
    857      136,   154,   143,    -1,    97,   142,   143,    -1,    97,   142,
    858      153,   143,    -1,    19,   142,   154,   136,   154,   136,   154,
    859      143,    -1,    19,   142,   154,   143,    -1,    13,   142,   154,
    860      136,   154,   136,   154,   143,    -1,    13,   142,   154,   143,
    861       -1,    15,   142,   164,   136,   164,   136,   168,   143,    -1,
    862       15,   142,   154,   143,    -1,   156,   154,   157,    -1,   156,
    863      154,   127,   154,   157,    -1,    -1,   118,   142,   155,   154,
    864      143,    -1,   119,   142,    -1,   143,    -1,   154,    10,    -1,
    865      154,     7,    -1,   154,   130,   154,    -1,   154,   131,   154,
    866       -1,   154,   132,   154,    -1,   154,   135,   154,    -1,   154,
    867      128,   154,    -1,   154,   138,   154,    -1,   154,     9,   154,
    868       -1,   154,     4,   154,    -1,   154,     3,   154,    -1,   154,
    869      139,   154,    -1,     8,   154,    -1,   131,   154,    -1,   162,
    870      169,    -1,   153,   127,    -1,   112,    -1,   144,   154,   144,
    871       -1,    17,    -1,    20,    -1,    98,   152,    -1,    99,   152,
    872       -1,   100,   152,    -1,   161,   152,    -1,    19,   152,   133,
    873      154,   134,   133,   154,   134,    -1,    19,   152,    -1,    13,
    874      152,   133,   154,   134,   133,   154,   134,    -1,    13,   152,
    875       -1,   162,   136,   152,    -1,    14,   152,    -1,   109,    -1,
    876      154,    -1,   142,   154,   136,   153,   143,    -1,   112,    -1,
    877      165,    -1,   165,   142,   153,   143,    -1,   166,    -1,   166,
    878      136,   167,    -1,   166,    -1,   142,   167,   143,    -1,   127,
    879       -1,    -1,   128,   163,   171,   137,    -1,   103,   109,   137,
    880       -1,   103,   137,    -1,   101,   109,   137,    -1,   102,   153,
    881       -1,   104,   152,    -1,   175,   136,   152,    -1,   106,   142,
    882       98,   143,    -1,   106,   142,    99,   143,    -1,   106,   142,
    883      100,   143,    -1,   106,   142,   161,   143,    -1,   106,   142,
    884       15,   143,    -1,   106,   142,    19,   143,    -1,   106,   142,
    885       13,   143,    -1,   106,   142,    14,   143,    -1,   106,   142,
    886      152,   143,    -1,   106,   142,   152,   136,    98,   143,    -1,
    887      106,   142,   152,   136,    99,   143,    -1,   106,   142,   152,
    888      136,   100,   143,    -1,   106,   142,   152,   136,   161,   143,
    889       -1,   106,   142,   152,   136,    15,   143,    -1,   106,   142,
    890      152,   136,    19,   143,    -1,   106,   142,   152,   136,    13,
    891      143,    -1,   106,   142,   152,   136,    14,   143,    -1,   106,
    892      142,   143,    -1,    15,    -1,   177,   152,   169,   164,   136,
    893      164,   136,   168,    -1,   177,   152,    -1,   126,   163,    -1,
    894      107,    -1,    40,    -1,   180,   154,    -1,   108,   154,    -1,
    895      153,    -1,   121,   142,   154,   143,   110,    -1,   117,   110,
    896       -1,   121,   142,   154,   143,   115,    -1,   115,    -1,   116,
    897       -1,   123,   109,   110,    -1,   120,   109,   109,   109,   110,
    898       -1,    14,   160,   110,    -1,   114,   109,   110,    -1,   114,
    899      109,   109,   110,    -1,   125,   162,    -1,   125,   154,    -1,
    900      124,   142,   153,   143,    -1,   124,   142,   143,    -1
     834     147,     0,    -1,    -1,   147,   148,    -1,   149,    -1,   151,
     835     137,    -1,   163,   137,    -1,   189,    -1,   122,    -1,   137,
     836      -1,     1,   137,    -1,   184,    -1,   185,    -1,   150,    -1,
     837     186,    -1,   187,    -1,   171,    -1,   173,    -1,   174,    -1,
     838     101,   110,    -1,   152,    -1,   175,    -1,   176,    -1,   177,
     839      -1,   188,    -1,   179,    -1,   180,    -1,   182,    -1,   183,
     840      -1,   160,   154,    -1,   113,    -1,   161,    -1,   153,    11,
     841     153,    -1,   153,   144,   153,    -1,   153,   142,   143,    -1,
     842     153,   142,   154,   143,    -1,   133,   154,   134,    -1,   111,
     843      -1,   126,    -1,   164,    -1,    14,   142,   155,   143,    -1,
     844     154,   136,   155,    -1,   155,    -1,   159,    -1,   153,    -1,
     845     142,   154,   143,    -1,   155,   133,   155,   136,   155,   134,
     846      -1,   155,   133,   155,   134,    -1,    98,   142,   155,   143,
     847      -1,    99,   142,   154,   143,    -1,    99,   142,   143,    -1,
     848     100,   142,   155,   143,    -1,   162,   142,   154,   143,    -1,
     849     162,   142,   143,    -1,    90,   142,   155,   143,    -1,    91,
     850     142,   155,   136,   155,   143,    -1,    92,   142,   155,   136,
     851     155,   136,   155,   143,    -1,    95,   142,   155,   136,   155,
     852     143,    -1,    95,   142,   155,   136,   155,   136,   155,   143,
     853      -1,    93,   142,   155,   143,    -1,    94,   142,   155,   143,
     854      -1,    93,   142,   155,   136,   155,   143,    -1,    96,   142,
     855     155,   143,    -1,    96,   142,   155,   136,   155,   143,    -1,
     856      94,   142,   155,   136,   155,   136,   155,   143,    -1,    96,
     857     142,   155,   136,   155,   136,   155,   143,    -1,    97,   142,
     858     143,    -1,    97,   142,   154,   143,    -1,    19,   142,   155,
     859     136,   155,   136,   155,   143,    -1,    19,   142,   155,   143,
     860      -1,    13,   142,   155,   136,   155,   136,   155,   143,    -1,
     861      13,   142,   155,   143,    -1,    15,   142,   165,   136,   165,
     862     136,   169,   143,    -1,    15,   142,   155,   143,    -1,   157,
     863     155,   158,    -1,   157,   155,   127,   155,   158,    -1,    -1,
     864     118,   142,   156,   155,   143,    -1,   119,   142,    -1,   143,
     865      -1,   155,    10,    -1,   155,     7,    -1,   155,   130,   155,
     866      -1,   155,   131,   155,    -1,   155,   132,   155,    -1,   155,
     867     135,   155,    -1,   155,   128,   155,    -1,   155,   138,   155,
     868      -1,   155,     9,   155,    -1,   155,     4,   155,    -1,   155,
     869       3,   155,    -1,   155,   139,   155,    -1,     8,   155,    -1,
     870     131,   155,    -1,   163,   170,    -1,   154,   127,    -1,   112,
     871      -1,   145,   155,   145,    -1,    17,    -1,    20,    -1,    98,
     872     153,    -1,    99,   153,    -1,   100,   153,    -1,   162,   153,
     873      -1,    19,   153,   133,   155,   134,   133,   155,   134,    -1,
     874      19,   153,    -1,    13,   153,   133,   155,   134,   133,   155,
     875     134,    -1,    13,   153,    -1,   163,   136,   153,    -1,    14,
     876     153,    -1,   109,    -1,   155,    -1,   142,   155,   136,   154,
     877     143,    -1,   112,    -1,   166,    -1,   166,   142,   154,   143,
     878      -1,   167,    -1,   167,   136,   168,    -1,   167,    -1,   142,
     879     168,   143,    -1,   127,    -1,    -1,   128,   164,   172,   137,
     880      -1,   103,   109,   137,    -1,   103,   137,    -1,   101,   109,
     881     137,    -1,   102,   154,    -1,   104,   153,    -1,   176,   136,
     882     153,    -1,   106,   142,    98,   143,    -1,   106,   142,    99,
     883     143,    -1,   106,   142,   100,   143,    -1,   106,   142,   162,
     884     143,    -1,   106,   142,    15,   143,    -1,   106,   142,    19,
     885     143,    -1,   106,   142,    13,   143,    -1,   106,   142,    14,
     886     143,    -1,   106,   142,   153,   143,    -1,   106,   142,   153,
     887     136,    98,   143,    -1,   106,   142,   153,   136,    99,   143,
     888      -1,   106,   142,   153,   136,   100,   143,    -1,   106,   142,
     889     153,   136,   162,   143,    -1,   106,   142,   153,   136,    15,
     890     143,    -1,   106,   142,   153,   136,    19,   143,    -1,   106,
     891     142,   153,   136,    13,   143,    -1,   106,   142,   153,   136,
     892      14,   143,    -1,   106,   142,   143,    -1,    15,    -1,   178,
     893     153,   170,   165,   136,   165,   136,   169,    -1,   178,   153,
     894      -1,   126,   164,    -1,   107,    -1,    40,    -1,   181,   155,
     895      -1,   108,   155,    -1,   154,    -1,   121,   142,   155,   143,
     896     110,    -1,   117,   110,    -1,   121,   142,   155,   143,   115,
     897      -1,   115,    -1,   116,    -1,   123,   109,   110,    -1,   120,
     898     109,   109,   109,   110,    -1,    14,   161,   110,    -1,   114,
     899     109,   110,    -1,   114,   109,   109,   110,    -1,   125,   163,
     900      -1,   125,   155,    -1,   124,   142,   154,   143,    -1,   124,
     901     142,   143,    -1
    901902};
    902903
     
    904905static const yytype_uint16 yyrline[] =
    905906{
    906        0,   357,   357,   359,   393,   394,   396,   398,   402,   407,
    907      409,   460,   461,   462,   463,   464,   465,   466,   467,   471,
    908      474,   475,   476,   477,   478,   479,   480,   481,   482,   485,
    909      492,   497,   501,   505,   509,   522,   550,   574,   580,   586,
    910      593,   604,   610,   615,   616,   617,   621,   625,   629,   633,
    911      637,   641,   645,   649,   653,   657,   661,   665,   669,   673,
    912      677,   681,   685,   689,   693,   697,   701,   705,   709,   713,
    913      717,   721,   725,   729,   733,   751,   750,   768,   776,   785,
    914      789,   793,   797,   801,   805,   809,   813,   817,   821,   825,
    915      829,   833,   840,   847,   848,   867,   868,   880,   880,   885,
    916      890,   895,   899,   903,   919,   923,   939,   953,   974,   982,
    917      986,   987,  1001,  1009,  1018,  1063,  1064,  1073,  1074,  1080,
    918     1093,  1092,  1100,  1105,  1112,  1120,  1132,  1148,  1167,  1171,
    919     1175,  1180,  1184,  1188,  1192,  1196,  1200,  1205,  1211,  1217,
    920     1223,  1229,  1235,  1241,  1247,  1259,  1266,  1270,  1308,  1318,
    921     1331,  1331,  1334,  1406,  1412,  1441,  1454,  1471,  1480,  1485,
    922     1493,  1505,  1524,  1535,  1555,  1579,  1585,  1597,  1604
     907       0,   358,   358,   360,   394,   395,   397,   399,   403,   408,
     908     410,   461,   462,   463,   464,   465,   466,   467,   468,   472,
     909     475,   476,   477,   478,   479,   480,   481,   482,   483,   486,
     910     493,   498,   502,   506,   510,   514,   527,   555,   579,   585,
     911     591,   598,   609,   615,   620,   621,   622,   626,   630,   634,
     912     638,   642,   646,   650,   654,   658,   662,   666,   670,   674,
     913     678,   682,   686,   690,   694,   698,   702,   706,   710,   714,
     914     718,   722,   726,   730,   734,   738,   756,   755,   773,   781,
     915     790,   794,   798,   802,   806,   810,   814,   818,   822,   826,
     916     830,   834,   838,   845,   852,   853,   872,   873,   885,   885,
     917     890,   895,   900,   904,   908,   924,   928,   944,   958,   979,
     918     987,   991,   992,  1006,  1014,  1023,  1068,  1069,  1078,  1079,
     919    1085,  1098,  1097,  1105,  1110,  1117,  1125,  1137,  1153,  1172,
     920    1176,  1180,  1185,  1189,  1193,  1197,  1201,  1205,  1210,  1216,
     921    1222,  1228,  1234,  1240,  1246,  1252,  1264,  1271,  1275,  1313,
     922    1323,  1336,  1336,  1339,  1411,  1417,  1446,  1459,  1476,  1485,
     923    1490,  1498,  1510,  1529,  1540,  1560,  1584,  1590,  1602,  1609
    923924};
    924925#endif
     
    954955  "SYS_BREAK", "WHILE_CMD", "RETURN", "PARAMETER", "SYSVAR", "'='", "'<'",
    955956  "'>'", "'+'", "'-'", "'/'", "'['", "']'", "'^'", "','", "';'", "'&'",
    956   "':'", "'*'", "UMINUS", "'('", "')'", "'`'", "$accept", "lines",
     957  "':'", "'*'", "UMINUS", "'('", "')'", "'.'", "'`'", "$accept", "lines",
    957958  "pprompt", "flowctrl", "example_dummy", "command", "assign", "elemexpr",
    958959  "exprlist", "expr", "@1", "quote_start", "quote_end", "expr_arithmetic",
     
    985986     375,   376,   377,   378,   379,   380,   381,    61,    60,    62,
    986987      43,    45,    47,    91,    93,    94,    44,    59,    38,    58,
    987       42,   382,    40,    41,    96
     988      42,   382,    40,    41,    46,    96
    988989};
    989990# endif
     
    992993static const yytype_uint8 yyr1[] =
    993994{
    994        0,   145,   146,   146,   147,   147,   147,   147,   147,   147,
    995      147,   148,   148,   148,   148,   148,   148,   148,   148,   149,
    996      150,   150,   150,   150,   150,   150,   150,   150,   150,   151,
    997      152,   152,   152,   152,   152,   152,   152,   152,   152,   152,
    998      153,   153,   154,   154,   154,   154,   154,   154,   154,   154,
    999      154,   154,   154,   154,   154,   154,   154,   154,   154,   154,
    1000      154,   154,   154,   154,   154,   154,   154,   154,   154,   154,
    1001      154,   154,   154,   154,   154,   155,   154,   156,   157,   158,
    1002      158,   158,   158,   158,   158,   158,   158,   158,   158,   158,
    1003      158,   158,   158,   159,   159,   160,   160,   161,   161,   162,
    1004      162,   162,   162,   162,   162,   162,   162,   162,   162,   163,
    1005      164,   164,   165,   166,   166,   167,   167,   168,   168,   169,
    1006      171,   170,   172,   172,   173,   174,   175,   175,   176,   176,
    1007      176,   176,   176,   176,   176,   176,   176,   176,   176,   176,
    1008      176,   176,   176,   176,   176,   176,   177,   178,   178,   179,
    1009      180,   180,   181,   182,   182,   183,   183,   183,   183,   183,
    1010      184,   185,   186,   186,   186,   187,   187,   188,   188
     995       0,   146,   147,   147,   148,   148,   148,   148,   148,   148,
     996     148,   149,   149,   149,   149,   149,   149,   149,   149,   150,
     997     151,   151,   151,   151,   151,   151,   151,   151,   151,   152,
     998     153,   153,   153,   153,   153,   153,   153,   153,   153,   153,
     999     153,   154,   154,   155,   155,   155,   155,   155,   155,   155,
     1000     155,   155,   155,   155,   155,   155,   155,   155,   155,   155,
     1001     155,   155,   155,   155,   155,   155,   155,   155,   155,   155,
     1002     155,   155,   155,   155,   155,   155,   156,   155,   157,   158,
     1003     159,   159,   159,   159,   159,   159,   159,   159,   159,   159,
     1004     159,   159,   159,   159,   160,   160,   161,   161,   162,   162,
     1005     163,   163,   163,   163,   163,   163,   163,   163,   163,   163,
     1006     164,   165,   165,   166,   167,   167,   168,   168,   169,   169,
     1007     170,   172,   171,   173,   173,   174,   175,   176,   176,   177,
     1008     177,   177,   177,   177,   177,   177,   177,   177,   177,   177,
     1009     177,   177,   177,   177,   177,   177,   177,   178,   179,   179,
     1010     180,   181,   181,   182,   183,   183,   184,   184,   184,   184,
     1011     184,   185,   186,   187,   187,   187,   188,   188,   189,   189
    10111012};
    10121013
     
    10171018       2,     1,     1,     1,     1,     1,     1,     1,     1,     2,
    10181019       1,     1,     1,     1,     1,     1,     1,     1,     1,     2,
    1019        1,     1,     3,     3,     4,     3,     1,     1,     1,     4,
    1020        3,     1,     1,     1,     3,     6,     4,     4,     4,     3,
    1021        4,     4,     3,     4,     6,     8,     6,     8,     4,     4,
    1022        6,     4,     6,     8,     8,     3,     4,     8,     4,     8,
    1023        4,     8,     4,     3,     5,     0,     5,     2,     1,     2,
    1024        2,     3,     3,     3,     3,     3,     3,     3,     3,     3,
    1025        3,     2,     2,     2,     2,     1,     3,     1,     1,     2,
    1026        2,     2,     2,     8,     2,     8,     2,     3,     2,     1,
    1027        1,     5,     1,     1,     4,     1,     3,     1,     3,     1,
    1028        0,     4,     3,     2,     3,     2,     2,     3,     4,     4,
    1029        4,     4,     4,     4,     4,     4,     4,     6,     6,     6,
    1030        6,     6,     6,     6,     6,     3,     1,     8,     2,     2,
    1031        1,     1,     2,     2,     1,     5,     2,     5,     1,     1,
    1032        3,     5,     3,     3,     4,     2,     2,     4,     3
     1020       1,     1,     3,     3,     3,     4,     3,     1,     1,     1,
     1021       4,     3,     1,     1,     1,     3,     6,     4,     4,     4,
     1022       3,     4,     4,     3,     4,     6,     8,     6,     8,     4,
     1023       4,     6,     4,     6,     8,     8,     3,     4,     8,     4,
     1024       8,     4,     8,     4,     3,     5,     0,     5,     2,     1,
     1025       2,     2,     3,     3,     3,     3,     3,     3,     3,     3,
     1026       3,     3,     2,     2,     2,     2,     1,     3,     1,     1,
     1027       2,     2,     2,     2,     8,     2,     8,     2,     3,     2,
     1028       1,     1,     5,     1,     1,     4,     1,     3,     1,     3,
     1029       1,     0,     4,     3,     2,     3,     2,     2,     3,     4,
     1030       4,     4,     4,     4,     4,     4,     4,     4,     6,     6,
     1031       6,     6,     6,     6,     6,     6,     3,     1,     8,     2,
     1032       2,     1,     1,     2,     2,     1,     5,     2,     5,     1,
     1033       1,     3,     5,     3,     3,     4,     2,     2,     4,     3
    10331034};
    10341035
     
    10381039static const yytype_uint8 yydefact[] =
    10391040{
    1040        2,     0,     1,     0,     0,     0,     0,   146,    97,     0,
    1041       98,   151,     0,     0,     0,     0,     0,     0,     0,     0,
    1042        0,     0,     0,     0,     0,     0,     0,     0,   150,     0,
    1043      109,    36,    95,    30,     0,   158,   159,     0,     0,     0,
    1044        0,     0,     8,     0,     0,     0,    37,     0,     0,     0,
    1045        9,     0,     0,     3,     4,    13,     0,    20,    43,   154,
    1046       41,     0,    42,     0,    31,     0,     0,    38,    16,    17,
     1041       2,     0,     1,     0,     0,     0,     0,   147,    98,     0,
     1042      99,   152,     0,     0,     0,     0,     0,     0,     0,     0,
     1043       0,     0,     0,     0,     0,     0,     0,     0,   151,     0,
     1044     110,    37,    96,    30,     0,   159,   160,     0,     0,     0,
     1045       0,     0,     8,     0,     0,     0,    38,     0,     0,     0,
     1046       9,     0,     0,     3,     4,    13,     0,    20,    44,   155,
     1047      42,     0,    43,     0,    31,     0,     0,    39,    16,    17,
    10471048      18,    21,    22,    23,     0,    25,    26,     0,    27,    28,
    10481049      11,    12,    14,    15,    24,     7,    10,     0,     0,     0,
    1049        0,     0,     0,     0,    37,    91,     0,     0,   106,     0,
    1050      108,    31,     0,     0,   104,     0,     0,     0,     0,     0,
    1051        0,     0,     0,     0,    99,     0,   100,     0,   101,     0,
    1052       19,   125,     0,   123,   126,     0,   153,     0,   156,    75,
    1053       77,     0,     0,     0,     0,     0,   166,   165,   149,   120,
    1054       92,     0,     0,     0,     5,     0,     0,    94,     0,     0,
    1055        0,    80,     0,    79,     0,     0,     0,     0,     0,     0,
    1056        0,     0,     0,    29,     0,   102,   119,     0,     6,    93,
    1057        0,   148,   152,     0,     0,     0,   162,     0,   110,     0,
    1058        0,     0,     0,     0,     0,     0,     0,     0,     0,    65,
    1059        0,     0,    49,     0,     0,   124,   122,     0,     0,     0,
    1060        0,     0,     0,     0,   145,     0,     0,     0,   163,     0,
    1061        0,     0,   160,   168,     0,     0,    35,    44,    96,    32,
    1062       33,     0,    40,    89,    88,    87,    85,    81,    82,    83,
    1063        0,    84,    86,    90,     0,    78,    73,    52,     0,   107,
    1064      127,     0,     0,    70,     0,    39,    41,    72,     0,     0,
    1065       68,     0,    53,     0,     0,     0,    58,     0,    59,     0,
    1066        0,    61,    66,    47,    48,    50,   134,   135,   132,   133,
    1067      128,   129,   130,     0,   136,   131,   164,     0,     0,     0,
    1068      167,   121,    34,    46,     0,     0,    51,   110,     0,     0,
     1050       0,     0,     0,     0,    38,    92,     0,     0,   107,     0,
     1051     109,    31,     0,     0,   105,     0,     0,     0,     0,     0,
     1052       0,     0,     0,     0,   100,     0,   101,     0,   102,     0,
     1053      19,   126,     0,   124,   127,     0,   154,     0,   157,    76,
     1054      78,     0,     0,     0,     0,     0,   167,   166,   150,   121,
     1055      93,     0,     0,     0,     5,     0,     0,     0,    95,     0,
     1056       0,     0,    81,     0,    80,     0,     0,     0,     0,     0,
     1057       0,     0,     0,     0,    29,     0,   103,   120,     0,     6,
     1058      94,     0,   149,   153,     0,     0,     0,   163,     0,   111,
    10691059       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
    1070        0,     0,     0,     0,     0,     0,     0,     0,     0,    76,
    1071      161,   155,   157,     0,    74,     0,     0,     0,     0,     0,
    1072        0,     0,    54,     0,    60,     0,     0,    56,     0,    62,
    1073      143,   144,   141,   142,   137,   138,   139,   140,    45,     0,
    1074        0,     0,   111,   112,     0,   113,   117,     0,     0,     0,
    1075        0,     0,     0,     0,     0,    69,   105,   115,     0,     0,
    1076       71,    67,   103,    55,    63,    57,    64,   147,     0,   118,
    1077        0,   116,   114
     1060      66,     0,     0,    50,     0,     0,   125,   123,     0,     0,
     1061       0,     0,     0,     0,     0,   146,     0,     0,     0,   164,
     1062       0,     0,     0,   161,   169,     0,     0,    36,    45,    97,
     1063      32,    34,     0,    33,    41,    90,    89,    88,    86,    82,
     1064      83,    84,     0,    85,    87,    91,     0,    79,    74,    53,
     1065       0,   108,   128,     0,     0,    71,     0,    40,    42,    73,
     1066       0,     0,    69,     0,    54,     0,     0,     0,    59,     0,
     1067      60,     0,     0,    62,    67,    48,    49,    51,   135,   136,
     1068     133,   134,   129,   130,   131,     0,   137,   132,   165,     0,
     1069       0,     0,   168,   122,    35,    47,     0,     0,    52,   111,
     1070       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     1071       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     1072       0,    77,   162,   156,   158,     0,    75,     0,     0,     0,
     1073       0,     0,     0,     0,    55,     0,    61,     0,     0,    57,
     1074       0,    63,   144,   145,   142,   143,   138,   139,   140,   141,
     1075      46,     0,     0,     0,   112,   113,     0,   114,   118,     0,
     1076       0,     0,     0,     0,     0,     0,     0,    70,   106,   116,
     1077       0,     0,    72,    68,   104,    56,    64,    58,    65,   148,
     1078       0,   119,     0,   117,   115
    10781079};
    10791080
     
    10821083{
    10831084      -1,     1,    53,    54,    55,    56,    57,    58,   142,    60,
    1084      209,    61,   236,    62,    63,    64,    96,    66,    67,   179,
    1085      345,   346,   358,   347,   169,    68,   215,    69,    70,    71,
     1085     210,    61,   238,    62,    63,    64,    96,    66,    67,   180,
     1086     347,   348,   360,   349,   170,    68,   216,    69,    70,    71,
    10861087      72,    73,    74,    75,    76,    77,    78,    79,    80,    81,
    10871088      82,    83,    84,    85
     
    10901091/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
    10911092   STATE-NUM.  */
    1092 #define YYPACT_NINF -335
     1093#define YYPACT_NINF -334
    10931094static const yytype_int16 yypact[] =
    10941095{
    1095     -335,   281,  -335,  -132,  1199,   822,   848,  -129,  -335,   899,
    1096     -335,  -335,  -123,  -115,  -104,   -73,   -68,   -64,   -55,   -53,
    1097     1751,  1779,  1798,   -24,  1199,  -108,  1825,   -50,  -335,  1199,
    1098     -335,  -335,  -335,  -335,   -28,  -335,  -335,   -51,   -38,   -37,
    1099        0,   -34,  -335,    13,   -26,  1255,    39,    39,  1199,  1199,
    1100     -335,  1199,  1199,  -335,  -335,  -335,    12,  -335,    -5,  -101,
    1101     1678,  1199,  -335,  1199,  -335,  1817,   -83,  -335,  -335,  -335,
    1102     -335,  -335,    24,  -335,  1825,  -335,  -335,  1199,  -335,  -335,
    1103     -335,  -335,  -335,  -335,  -335,  -335,  -335,    40,    45,  -129,
    1104       51,    52,    54,    55,  -335,    36,    60,  1199,     9,  1199,
    1105       -5,    88,  1314,  1199,    20,  1199,  1199,  1199,  1199,  1199,
    1106     1199,  1199,   904,  1199,    -5,   969,    -5,  1199,    -5,    70,
    1107     -335,    74,    72,  -335,    -5,  1756,  1678,   -11,  -335,  -335,
    1108     -335,    46,  1199,   104,  1025,   848,  1678,    77,  -335,  -335,
    1109       36,   -61,  -127,     8,  -335,  1825,  1084,  -335,  1199,  1199,
    1110     1199,  -335,  1199,  -335,  1199,  1199,  1199,  1199,  1199,  1199,
    1111     1199,  1199,    73,    74,  1140,    -5,  -335,  1825,  -335,  -335,
    1112     1825,    -8,  1678,    87,  1199,   426,  -335,  1199,   456,    85,
    1113      103,  1199,   495,  1368,  1380,   181,   319,  1412,   344,  -335,
    1114     -106,   509,  -335,   -94,   523,  -335,  -335,    81,   -42,    86,
    1115       89,    94,    97,   101,  -335,   107,   102,   118,  -335,  1199,
    1116      138,   563,  -335,  -335,   -86,   111,  -335,  -335,  -335,  -335,
    1117     -335,   -76,  1678,  1690,   446,   446,    26,    48,    48,    36,
    1118     1353,    -3,  1702,    48,  1199,  -335,  -335,  -335,   -75,    -5,
    1119       -5,  1314,  1199,  -335,  1427,  -335,  1439,  -335,  1314,  1199,
    1120     -335,  1456,  -335,  1199,  1199,  1199,  -335,  1199,  -335,  1199,
    1121     1199,  -335,  -335,  -335,  -335,  -335,  -335,  -335,  -335,  -335,
    1122     -335,  -335,  -335,   424,  -335,  -335,  -335,   593,   141,   -59,
    1123     -335,  -335,  -335,  -335,  1199,   607,  -335,  1678,   117,  1468,
    1124      121,  1199,   119,  1517,   123,   660,  1529,   674,  1605,   358,
    1125      412,   114,   115,   120,   122,   125,   126,   127,   131,  -335,
    1126     -335,  -335,  -335,  1617,  -335,  1314,  1199,  1199,   -72,  -110,
    1127     1199,  1199,  -335,  1199,  -335,  1199,  1199,  -335,  1199,  -335,
    1128     -335,  -335,  -335,  -335,  -335,  -335,  -335,  -335,  -335,   128,
    1129      700,  1629,  -335,  -335,   149,   134,  -335,   136,   744,  1666,
    1130      758,   772,   811,   837,  -110,  -335,  -335,   147,   142,  1199,
    1131     -335,  -335,  -335,  -335,  -335,  -335,  -335,  -335,   149,  -335,
    1132      -71,  -335,  -335
     1096    -334,   283,  -334,  -136,  1271,   961,  1016,   -78,  -334,  1651,
     1097    -334,  -334,   -73,   -71,   -67,   -62,   -60,   -59,   -58,   -57,
     1098    1752,  1757,  1801,   -83,  1271,  -103,   221,   -56,  -334,  1271,
     1099    -334,  -334,  -334,  -334,   -54,  -334,  -334,   -23,   -53,   -52,
     1100     -12,   -42,  -334,    -8,   -38,  1327,    -4,    -4,  1271,  1271,
     1101    -334,  1271,  1271,  -334,  -334,  -334,   -30,  -334,     0,  -122,
     1102    1703,  1271,  -334,  1271,  -334,  1826,  -117,  -334,  -334,  -334,
     1103    -334,  -334,   -26,  -334,   221,  -334,  -334,  1271,  -334,  -334,
     1104    -334,  -334,  -334,  -334,  -334,  -334,  -334,   -29,   -24,   -78,
     1105     -20,     6,    16,    44,  -334,    22,    50,  1271,    28,  1271,
     1106       0,     2,  1386,  1271,    61,  1271,  1271,  1271,  1271,  1271,
     1107    1271,  1271,   908,  1271,     0,  1041,     0,  1271,     0,   -21,
     1108    -334,   -17,    26,  -334,     0,  1775,  1703,   -50,  -334,  -334,
     1109    -334,    25,  1271,    85,  1097,  1016,  1703,    62,  -334,  -334,
     1110      22,   -69,  -101,    21,  -334,   221,  1156,   221,  -334,  1271,
     1111    1271,  1271,  -334,  1271,  -334,  1271,  1271,  1271,  1271,  1271,
     1112    1271,  1271,  1271,    99,   -17,  1212,     0,  -334,   221,  -334,
     1113    -334,   221,    57,  1703,   178,  1271,   497,  -334,  1271,   511,
     1114      66,   315,  1271,   525,  1405,  1425,   346,   360,  1440,   414,
     1115    -334,  -100,   565,  -334,   -98,   589,  -334,  -334,    63,  -102,
     1116      65,    67,    75,    80,    82,  -334,    47,    90,    94,  -334,
     1117    1271,   106,   603,  -334,  -334,   -92,   102,  -334,  -334,  -334,
     1118      92,  -334,   -90,  -334,  1703,  1715,    81,    81,   155,    89,
     1119      89,    22,   950,    -3,     8,    89,  1271,  -334,  -334,  -334,
     1120     -87,     0,     0,  1386,  1271,  -334,  1452,  -334,  1464,  -334,
     1121    1386,  1271,  -334,  1484,  -334,  1271,  1271,  1271,  -334,  1271,
     1122    -334,  1271,  1271,  -334,  -334,  -334,  -334,  -334,  -334,  -334,
     1123    -334,  -334,  -334,  -334,  -334,   766,  -334,  -334,  -334,   662,
     1124     131,   -94,  -334,  -334,  -334,  -334,  1271,   676,  -334,  1703,
     1125     108,  1499,   112,  1271,   110,  1511,   114,   702,  1542,   740,
     1126    1601,   428,   452,   105,   107,   109,   113,   115,   116,   117,
     1127     120,  -334,  -334,  -334,  -334,  1648,  -334,  1386,  1271,  1271,
     1128     -86,  -109,  1271,  1271,  -334,  1271,  -334,  1271,  1271,  -334,
     1129    1271,  -334,  -334,  -334,  -334,  -334,  -334,  -334,  -334,  -334,
     1130    -334,   119,   754,  1679,  -334,  -334,   137,   111,  -334,   121,
     1131     768,  1691,   813,   839,   853,   905,  -109,  -334,  -334,   129,
     1132     123,  1271,  -334,  -334,  -334,  -334,  -334,  -334,  -334,  -334,
     1133     137,  -334,   -82,  -334,  -334
    11331134};
    11341135
     
    11361137static const yytype_int16 yypgoto[] =
    11371138{
    1138     -335,  -335,  -335,  -335,  -335,  -335,  -335,    19,    -1,    18,
    1139     -335,  -335,   -23,  -335,  -335,   278,     7,   241,    56,  -227,
    1140     -335,  -334,   -81,   -66,   132,  -335,  -335,  -335,  -335,  -335,
    1141     -335,  -335,  -335,  -335,  -335,  -335,  -335,  -335,  -335,  -335,
    1142     -335,  -335,  -335,  -335
     1139    -334,  -334,  -334,  -334,  -334,  -334,  -334,    72,    -1,    18,
     1140    -334,  -334,   -36,  -334,  -334,   251,     7,   222,    27,  -241,
     1141    -334,  -333,   -99,   -84,    98,  -334,  -334,  -334,  -334,  -334,
     1142    -334,  -334,  -334,  -334,  -334,  -334,  -334,  -334,  -334,  -334,
     1143    -334,  -334,  -334,  -334
    11431144};
    11441145
     
    11501151static const yytype_int16 yytable[] =
    11511152{
    1152       59,   122,   343,   145,   151,    86,   145,   153,    65,   148,
    1153      357,   149,   150,   102,   288,   151,   217,   152,   153,   105,
    1154      145,   292,    95,   121,    98,   100,   147,   106,   104,   123,
    1155      148,   145,   344,   151,   357,   148,   153,   262,   107,   114,
    1156      116,   118,   148,   151,   166,   124,   153,   126,   141,   264,
    1157      148,   311,    65,   167,   168,   151,   312,   280,   153,   128,
    1158      148,   148,   163,   136,   148,   148,   140,   282,   286,   108,
    1159      143,   342,   372,   216,   109,   148,   149,   150,   110,   162,
    1160      151,   127,   152,   153,   165,   119,   120,   111,   339,   112,
    1161      149,   150,   125,   171,   151,   172,   152,   153,   207,   208,
    1162       99,   267,   138,   139,   129,   130,   149,   150,   132,   131,
    1163      151,   190,   152,   153,   193,   173,   134,   175,   145,   166,
    1164      178,   180,   133,   182,   183,   184,   185,   186,   187,   188,
    1165      158,   191,   206,   214,   146,   194,   154,   146,   155,   156,
    1166      157,   158,   174,   159,   205,   221,   160,   161,    30,   144,
    1167      211,   146,   218,   181,   100,   210,   155,   156,   157,   158,
    1168      170,   159,   146,   238,   219,   161,   222,   223,   224,   158,
    1169      225,   159,   226,   227,   228,   229,   230,   231,   232,   233,
    1170      157,   158,    97,   159,   149,   150,   239,    99,   151,   240,
    1171      152,   153,   244,   103,   113,   246,   115,   117,   176,   251,
    1172      234,   154,   164,   155,   156,   157,   158,   195,   159,   196,
    1173      148,   160,   161,   167,   212,   154,   235,   155,   156,   157,
    1174      158,   248,   159,   242,   266,   160,   161,   277,   276,   268,
    1175      243,   154,   269,   155,   156,   157,   158,   270,   159,   249,
    1176      271,   160,   161,   273,   272,   275,   250,   278,   281,   146,
    1177      274,   310,   285,   315,   317,   319,   321,   330,   331,   287,
    1178      289,   343,   314,   332,   354,   333,   287,   293,   334,   335,
    1179      336,   295,   296,   297,   337,   298,   359,   299,   300,   360,
    1180      308,     2,     3,   368,   101,   369,   137,   371,   367,     4,
    1181      318,     0,     0,     0,     5,     6,     7,     0,     8,     0,
    1182        9,    10,   313,   241,     0,     0,     0,     0,     0,   154,
    1183        0,   155,   156,   157,   158,     0,   159,   255,     0,   160,
    1184      161,    11,   149,   150,   256,     0,   151,     0,   152,   153,
    1185        0,     0,     0,   287,   340,   341,     0,     0,   348,   349,
    1186        0,   350,     0,   351,   352,     0,   353,   149,   150,     0,
    1187        0,   151,     0,   152,   153,     0,     0,     0,   370,     0,
    1188        0,   149,   150,     0,     0,   151,     0,   152,   153,     0,
    1189        0,    12,    13,    14,    15,    16,    17,    18,    19,    20,
    1190       21,    22,    23,    24,    25,    26,     0,    27,    28,    29,
    1191       30,     0,    31,    32,    33,    34,    35,    36,    37,    38,
    1192       39,    40,    41,    42,    43,    44,    45,    46,     0,    47,
    1193        0,     0,    48,     0,    49,   149,   150,     0,    50,   151,
    1194        0,   152,   153,    51,     0,    52,     0,     0,     0,   149,
    1195      150,     0,     0,   151,     0,   152,   153,   301,   302,   303,
    1196        0,     8,     0,   304,    10,     0,     0,   154,     0,   155,
    1197      156,   157,   158,   151,   159,   257,   153,   160,   161,   149,
    1198      150,     0,   258,   151,     0,   152,   153,     0,     0,     0,
    1199        0,     0,   154,     0,   155,   156,   157,   158,     0,   159,
    1200      260,     0,   160,   161,     0,     0,   154,   261,   155,   156,
    1201      157,   158,     0,   159,   326,     0,   160,   161,   149,   150,
    1202        0,   327,   151,     0,   152,   153,     0,     0,     0,     0,
    1203        0,     0,   149,   150,     0,     0,   151,     0,   152,   153,
    1204        0,     0,   305,   306,   307,     0,   149,   150,     0,     0,
    1205      151,     0,   152,   153,     0,     0,     0,     0,     0,     0,
    1206      154,     0,   155,   156,   157,   158,     0,   159,   328,     0,
    1207      160,   161,     0,     0,   154,   329,   155,   156,   157,   158,
    1208        0,   159,     0,     0,   160,   161,   149,   150,     0,   245,
    1209      151,     0,   152,   153,   154,     0,   155,   156,   157,   158,
    1210        0,   159,     0,     0,   154,   161,   155,   156,   157,   158,
    1211        0,   159,     0,     0,   160,   161,   149,   150,     0,   247,
    1212      151,     0,   152,   153,     0,     0,     0,     0,     0,     0,
    1213      149,   150,     0,     0,   151,     0,   152,   153,     0,     0,
    1214        0,     0,     0,   154,     0,   155,   156,   157,   158,     0,
    1215      159,     0,     0,   160,   161,     0,     0,   154,   252,   155,
    1216      156,   157,   158,     0,   159,     0,     0,   160,   161,     0,
    1217        0,   154,   263,   155,   156,   157,   158,     0,   159,     0,
    1218        0,   160,   161,   149,   150,     0,   265,   151,     0,   152,
    1219      153,     0,     0,     0,     0,     0,     0,   149,   150,     0,
    1220        0,   151,     0,   152,   153,     0,     0,     0,     0,     0,
    1221        0,   154,     0,   155,   156,   157,   158,     0,   159,     0,
    1222        0,   160,   161,   149,   150,     0,   279,   151,     0,   152,
    1223      153,     0,     0,     0,     0,     0,     0,     0,     0,     0,
    1224        0,   154,     0,   155,   156,   157,   158,     0,   159,     0,
    1225        0,   160,   161,     0,     0,   154,   309,   155,   156,   157,
    1226      158,     0,   159,     0,     0,   160,   161,   149,   150,     0,
    1227      235,   151,     0,   152,   153,     0,     0,     0,     0,     0,
    1228        0,   149,   150,     0,     0,   151,     0,   152,   153,     0,
    1229        0,     0,     0,     0,     0,   149,   150,     0,     0,   151,
    1230        0,   152,   153,     0,     0,     0,     0,     0,   154,     0,
    1231      155,   156,   157,   158,     0,   159,     0,     0,   160,   161,
    1232        0,     0,   154,   322,   155,   156,   157,   158,     0,   159,
    1233        0,     0,   160,   161,   149,   150,     0,   324,   151,     0,
    1234      152,   153,     0,     0,     0,     0,     0,     0,   154,     0,
    1235      155,   156,   157,   158,     0,   159,    88,     0,   160,   161,
    1236      149,   150,     0,   355,   151,     0,   152,   153,     0,     0,
     1153      59,    86,   290,   345,   152,   148,   122,   154,    65,   294,
     1154     167,   145,   151,   359,   149,   152,   313,   153,   154,   168,
     1155     169,   314,    95,   121,   150,   151,   119,   120,   152,   152,
     1156     153,   154,   154,   346,   123,   149,   149,   359,   149,   145,
     1157      99,   269,   218,   264,   149,   266,   149,   126,   141,   149,
     1158     149,   282,    65,   284,   149,   127,   288,   344,   145,   208,
     1159     209,   374,   164,   136,   102,   217,   140,   149,   145,   105,
     1160     143,   106,   145,   138,   139,   107,   341,    98,   100,   163,
     1161     108,   104,   109,   110,   111,   112,   125,   128,   152,   129,
     1162     130,   154,   114,   116,   118,   173,   152,   131,   124,   154,
     1163     132,   133,   150,   151,   134,    30,   152,   144,   153,   154,
     1164     171,   191,   177,    97,   194,   174,   196,   176,    99,   149,
     1165     179,   181,   103,   183,   184,   185,   186,   187,   188,   189,
     1166     159,   192,   207,   215,   211,   195,   155,   166,   156,   157,
     1167     158,   159,   146,   160,   147,   222,   172,   162,   113,   155,
     1168     212,   156,   157,   158,   159,   159,   160,   160,   115,   161,
     1169     162,   175,   152,   197,   240,   154,   219,   224,   225,   226,
     1170     146,   227,   147,   228,   229,   230,   231,   232,   233,   234,
     1171     235,   150,   151,   275,   167,   152,   117,   153,   154,   146,
     1172     276,   147,   165,   246,   182,   213,   248,   206,   168,   146,
     1173     253,   147,   250,   146,   278,   147,   268,   100,   270,   155,
     1174     271,   156,   157,   158,   159,   280,   160,   220,   272,   223,
     1175     162,   158,   159,   273,   160,   274,   236,   155,   279,   156,
     1176     157,   158,   159,   277,   160,    88,   147,   161,   162,   283,
     1177     241,   312,   237,   242,   317,   319,   321,   323,   332,   345,
     1178     333,   316,   334,   361,   287,   356,   335,   101,   336,   337,
     1179     338,   289,   291,   339,   362,   370,   371,   137,   289,   295,
     1180     243,   373,   369,   297,   298,   299,     0,   300,     0,   301,
     1181     302,     0,   310,     2,     3,   156,   157,   158,   159,     0,
     1182     160,     4,   320,     0,   162,     0,     5,     6,     7,     0,
     1183       8,     0,     9,    10,   315,     0,   155,     0,   156,   157,
     1184     158,   159,     0,   160,   244,     0,   161,   162,   150,   151,
     1185       0,   245,   152,    11,   153,   154,     0,     0,     0,     0,
     1186      30,     0,    31,    32,    33,   289,   342,   343,     0,     0,
     1187     350,   351,     0,   352,     0,   353,   354,    94,   355,   150,
     1188     151,     0,     0,   152,    49,   153,   154,     0,     0,     0,
     1189     372,     0,     0,   150,   151,     0,    52,   152,     0,   153,
     1190     154,     0,     0,    12,    13,    14,    15,    16,    17,    18,
     1191      19,    20,    21,    22,    23,    24,    25,    26,     0,    27,
     1192      28,    29,    30,     0,    31,    32,    33,    34,    35,    36,
     1193      37,    38,    39,    40,    41,    42,    43,    44,    45,    46,
     1194       0,    47,     0,     0,    48,     0,    49,   150,   151,     0,
     1195      50,   152,     0,   153,   154,    51,     0,     0,    52,     0,
     1196       0,   150,   151,     0,     0,   152,     0,   153,   154,     0,
     1197       0,     0,     0,   155,     0,   156,   157,   158,   159,     0,
     1198     160,   251,     0,   161,   162,   150,   151,     0,   252,   152,
     1199       0,   153,   154,     0,     0,     0,     0,     0,     0,     0,
     1200       0,     0,     0,     0,   155,     0,   156,   157,   158,   159,
     1201       0,   160,   257,     0,   161,   162,     0,     0,   155,   258,
     1202     156,   157,   158,   159,     0,   160,   259,     0,   161,   162,
     1203     150,   151,     0,   260,   152,     0,   153,   154,     0,     0,
     1204       0,     0,     0,     0,   150,   151,     0,     0,   152,     0,
     1205     153,   154,     0,     0,     0,     0,     0,     0,   150,   151,
     1206       0,     0,   152,     0,   153,   154,     0,     0,     0,     0,
     1207       0,     0,   155,     0,   156,   157,   158,   159,     0,   160,
     1208     262,     0,   161,   162,     0,     0,   155,   263,   156,   157,
     1209     158,   159,     0,   160,   328,     0,   161,   162,   150,   151,
     1210       0,   329,   152,     0,   153,   154,     0,     0,     0,     0,
     1211     155,     0,   156,   157,   158,   159,     0,   160,   330,     0,
     1212     161,   162,   150,   151,     0,   331,   152,     0,   153,   154,
     1213       0,     0,     0,     0,     0,     0,   150,   151,     0,     0,
     1214     152,     0,   153,   154,     0,     0,     0,     0,     0,     0,
     1215       0,     0,     0,     0,     0,   155,     0,   156,   157,   158,
     1216     159,     0,   160,     0,     0,   161,   162,     0,     0,   155,
     1217     247,   156,   157,   158,   159,     0,   160,     0,     0,   161,
     1218     162,     0,     0,   155,   249,   156,   157,   158,   159,     0,
     1219     160,     0,     0,   161,   162,   150,   151,     0,   254,   152,
     1220       0,   153,   154,     0,     0,     0,     0,     0,     0,   150,
     1221     151,     0,     0,   152,     0,   153,   154,     0,     0,     0,
     1222       0,     0,     0,   155,     0,   156,   157,   158,   159,     0,
     1223     160,     0,     0,   161,   162,   150,   151,     0,   265,   152,
     1224       0,   153,   154,     0,     0,     0,     0,   155,     0,   156,
     1225     157,   158,   159,     0,   160,     0,     0,   161,   162,     0,
     1226       0,   155,   267,   156,   157,   158,   159,     0,   160,     0,
     1227       0,   161,   162,   150,   151,     0,   281,   152,     0,   153,
     1228     154,     0,     0,     0,     0,     0,     0,   150,   151,     0,
     1229       0,   152,     0,   153,   154,     0,     0,     0,     0,     0,
     1230       0,   150,   151,     0,     0,   152,     0,   153,   154,   303,
     1231     304,   305,     0,     8,     0,   306,    10,     0,     0,     0,
     1232     155,     0,   156,   157,   158,   159,     0,   160,     0,     0,
     1233     161,   162,     0,     0,   155,   311,   156,   157,   158,   159,
     1234       0,   160,     0,     0,   161,   162,   150,   151,     0,   237,
     1235     152,     0,   153,   154,     0,     0,     0,     0,     0,     0,
     1236     155,     0,   156,   157,   158,   159,     0,   160,     0,     0,
     1237     161,   162,   150,   151,     0,   324,   152,     0,   153,   154,
     1238       0,     0,     0,     0,     0,     0,   150,   151,     0,     0,
     1239     152,     0,   153,   154,   307,   308,   309,     0,   155,     0,
     1240     156,   157,   158,   159,     0,   160,     0,     0,   161,   162,
     1241       0,     0,   155,   326,   156,   157,   158,   159,     0,   160,
     1242       0,     0,   161,   162,     0,     0,   155,   357,   156,   157,
     1243     158,   159,     0,   160,     0,     0,   161,   162,   150,   151,
     1244       0,   363,   152,     0,   153,   154,     4,     0,     0,     0,
     1245       0,    87,    88,    89,     0,     8,     0,    90,    10,     0,
    12371246       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
    1238        0,     0,    88,     0,     0,     0,     0,     0,     0,     0,
    1239        0,     0,   154,     0,   155,   156,   157,   158,     0,   159,
    1240        0,     0,   160,   161,     0,     0,   154,   361,   155,   156,
    1241      157,   158,     0,   159,     0,     0,   160,   161,     0,     0,
    1242      154,   363,   155,   156,   157,   158,     0,   159,     0,     0,
    1243      160,   161,     4,    88,     0,   364,     0,    87,    88,    89,
    1244        0,     8,     0,    90,    10,     0,     0,     0,     0,     0,
    1245        0,    30,     0,    31,    32,    33,     0,     0,     0,   154,
    1246        0,   155,   156,   157,   158,     0,   159,     0,    94,   160,
    1247      161,     0,     0,     0,   365,    49,     0,    30,     0,    31,
    1248       32,    33,     0,     0,    97,   154,    52,   155,   156,   157,
    1249      158,     0,   159,     0,    94,   160,   161,     4,     0,     0,
    1250      366,    49,    87,    88,    89,     0,     8,     0,    90,    10,
    1251       99,     0,    52,     0,    12,    13,    14,    15,    16,    17,
    1252       18,    19,    91,    92,    93,     0,     0,     0,    30,     0,
    1253       31,    32,    33,    30,     0,    31,    32,    33,     0,     0,
    1254        0,     0,    38,    39,     0,    94,     0,     0,     0,     0,
    1255       94,     0,    49,     4,     0,    48,     0,    49,    87,    88,
    1256       89,   103,     8,    52,    90,    10,    51,   189,    52,     0,
    1257        0,     0,     0,     0,     0,     0,     0,     0,     0,    12,
    1258       13,    14,    15,    16,    17,    18,    19,    91,    92,    93,
    1259        0,     0,     0,     0,     0,     0,     0,     0,    30,     0,
    1260       31,    32,    33,     0,     0,     0,     0,    38,    39,     0,
    1261        0,     0,     4,     0,     0,    94,     0,    87,    88,    89,
    1262       48,     8,    49,    90,    10,     0,     0,     0,     0,     0,
    1263        0,    51,   192,    52,     0,    12,    13,    14,    15,    16,
    1264       17,    18,    19,    91,    92,    93,     0,     0,     0,     0,
    1265        0,     0,     0,     0,    30,     0,    31,    32,    33,     0,
    1266        0,     0,     0,    38,    39,     0,     0,     0,     4,     0,
    1267        0,    94,     0,    87,    88,    89,    48,     8,    49,    90,
    1268       10,     0,     0,     0,     0,     0,     0,    51,   213,    52,
    1269        0,     0,     0,     0,    12,    13,    14,    15,    16,    17,
    1270       18,    19,    91,    92,    93,     0,     0,     0,     0,     0,
    1271        0,     0,     0,    30,     0,    31,    32,    33,     0,     0,
    1272        0,     0,    38,    39,     0,     0,     0,     4,     0,     0,
    1273       94,     0,    87,    88,    89,    48,     8,    49,    90,    10,
    1274        0,     0,     0,     0,     0,     0,    51,   220,    52,     0,
    1275       12,    13,    14,    15,    16,    17,    18,    19,    91,    92,
    1276       93,     0,     0,     0,     0,     0,     0,     0,     0,    30,
    1277        0,    31,    32,    33,     0,     0,     0,     0,    38,    39,
    1278        0,     0,     0,     4,     0,     0,    94,     0,     5,   135,
    1279       89,    48,     8,    49,     9,    10,     0,     0,     0,     0,
    1280        0,     0,    51,   237,    52,     0,     0,     0,     0,    12,
    1281       13,    14,    15,    16,    17,    18,    19,    91,    92,    93,
    1282        0,     0,     0,     0,     0,     0,     0,     0,    30,     0,
    1283       31,    32,    33,     0,     0,     0,     0,    38,    39,     0,
    1284        0,     0,     4,     0,     0,    94,     0,    87,    88,    89,
    1285       48,     8,    49,    90,    10,     0,     0,     0,     0,     0,
    1286        0,    51,     0,    52,     0,    12,    13,    14,    15,    16,
    1287       17,    18,    19,    20,    21,    22,   149,   150,     0,     0,
    1288      151,     0,   152,   153,    30,     0,    31,    32,    33,     0,
    1289        0,   149,   150,    38,    39,   151,     0,   152,   153,     0,
    1290        0,    94,     0,   149,   150,     0,    48,   151,    49,   152,
    1291      153,     0,     0,     0,     0,     0,     0,    51,     0,    52,
    1292        0,     0,     0,     0,    12,    13,    14,    15,    16,    17,
    1293       18,    19,    91,    92,    93,   149,   150,     0,     0,   151,
    1294        0,   152,   153,    30,     0,    31,    32,    33,     0,     0,
    1295      149,   150,    38,    39,   151,     0,   152,   153,     0,     0,
    1296       94,     0,   149,   150,     0,    48,   151,    49,   152,   153,
    1297        0,     0,     0,     0,     0,     0,   177,     0,    52,   149,
    1298      150,     0,     0,   151,     0,   152,   153,     0,     0,     0,
    1299        0,   149,   150,     0,     0,   151,     0,   152,   153,     0,
    1300        0,   154,     0,   155,   156,   157,   158,   283,   159,   284,
    1301        0,   160,   161,     0,     0,     0,   154,     0,   155,   156,
    1302      157,   158,     0,   159,   253,     0,   160,   161,   154,     0,
    1303      155,   156,   157,   158,     0,   159,   254,     0,   160,   161,
    1304      149,   150,     0,     0,   151,     0,   152,   153,     0,     0,
    1305        0,     0,   149,   150,     0,     0,   151,     0,   152,   153,
    1306      154,     0,   155,   156,   157,   158,     0,   159,   259,     0,
    1307      160,   161,     0,     0,     0,   154,     0,   155,   156,   157,
    1308      158,   290,   159,     0,     0,   160,   161,   154,     0,   155,
    1309      156,   157,   158,     0,   159,   291,     0,   160,   161,     0,
    1310        0,     0,     0,     0,   154,     0,   155,   156,   157,   158,
    1311      294,   159,     0,     0,   160,   161,   154,     0,   155,   156,
    1312      157,   158,     0,   159,   316,     0,   160,   161,   149,   150,
    1313        0,     0,   151,     0,   152,   153,     0,     0,     0,     0,
    1314      149,   150,     0,     0,   151,     0,   152,   153,     0,     0,
    1315        0,     0,   149,   150,     0,     0,   151,     0,   152,   153,
    1316        0,     0,     0,     0,     0,   154,     0,   155,   156,   157,
    1317      158,     0,   159,   320,     0,   160,   161,   154,     0,   155,
    1318      156,   157,   158,     0,   159,   323,     0,   160,   161,   149,
    1319      150,     0,     0,   151,     0,   152,   153,     0,     0,     0,
    1320        0,   149,   150,     0,     0,   151,     0,   152,   153,     0,
    1321        0,     0,     0,    -1,   150,     0,     0,   151,     0,   152,
    1322      153,     0,     0,     0,     0,     0,   150,     0,     0,   151,
    1323        0,   152,   153,     0,     0,     0,     0,     0,     0,     0,
     1247       0,   155,     0,   156,   157,   158,   159,     0,   160,     0,
     1248       0,   161,   162,   150,   151,     0,   365,   152,     0,   153,
     1249     154,     0,     0,     0,     0,     0,     0,   155,     0,   156,
     1250     157,   158,   159,     0,   160,    88,     0,   161,   162,     0,
     1251       0,   155,   366,   156,   157,   158,   159,     0,   160,     0,
     1252       0,   161,   162,     0,     0,     0,   367,     0,    12,    13,
     1253      14,    15,    16,    17,    18,    19,    91,    92,    93,     0,
     1254       0,     0,     0,     0,     0,     0,     0,    30,     0,    31,
     1255      32,    33,     0,     0,     0,     0,    38,    39,     0,     0,
     1256      88,     0,     0,   155,    94,   156,   157,   158,   159,    48,
     1257     160,    49,     0,   161,   162,     0,     0,     0,   368,     4,
     1258      51,   190,     0,    52,    87,    88,    89,     0,     8,     0,
     1259      90,    10,     0,     0,     0,     0,     0,     0,     0,     0,
     1260      30,     0,    31,    32,    33,     0,     0,     0,   155,     0,
     1261     156,   157,   158,   159,   285,   160,   286,    94,   161,   162,
     1262       0,     0,     0,     0,    49,     0,     0,     0,     0,     0,
     1263       0,     0,     0,    97,     0,     4,    52,     0,     0,     0,
     1264      87,    88,    89,     0,     8,     0,    90,    10,     0,     0,
     1265       0,     0,     0,     0,     0,    30,     0,    31,    32,    33,
     1266       0,    12,    13,    14,    15,    16,    17,    18,    19,    91,
     1267      92,    93,    94,     0,     0,     0,     0,     0,     0,    49,
     1268      30,     0,    31,    32,    33,     0,     0,     0,    99,    38,
     1269      39,    52,     0,     0,     4,     0,     0,    94,     0,    87,
     1270      88,    89,    48,     8,    49,    90,    10,     0,     0,     0,
     1271       0,     0,     0,    51,   193,     0,    52,    12,    13,    14,
     1272      15,    16,    17,    18,    19,    91,    92,    93,     0,     0,
     1273       0,     0,     0,     0,     0,     0,    30,     0,    31,    32,
     1274      33,     0,     0,     0,     0,    38,    39,     0,     0,     0,
     1275       4,     0,     0,    94,     0,    87,    88,    89,    48,     8,
     1276      49,    90,    10,     0,     0,     0,     0,     0,     0,    51,
     1277     214,     0,    52,     0,     0,     0,    12,    13,    14,    15,
     1278      16,    17,    18,    19,    91,    92,    93,     0,     0,     0,
     1279       0,     0,     0,     0,     0,    30,     0,    31,    32,    33,
     1280       0,     0,     0,     0,    38,    39,     0,     0,     0,     4,
     1281       0,     0,    94,     0,    87,    88,    89,    48,     8,    49,
     1282      90,    10,     0,     0,     0,     0,     0,     0,    51,   221,
     1283       0,    52,    12,    13,    14,    15,    16,    17,    18,    19,
     1284      91,    92,    93,     0,     0,     0,     0,     0,     0,     0,
     1285       0,    30,     0,    31,    32,    33,     0,     0,     0,     0,
     1286      38,    39,     0,     0,     0,     4,     0,     0,    94,     0,
     1287       5,   135,    89,    48,     8,    49,     9,    10,     0,     0,
     1288       0,     0,     0,     0,    51,   239,     0,    52,     0,     0,
     1289       0,    12,    13,    14,    15,    16,    17,    18,    19,    91,
     1290      92,    93,     0,     0,     0,     0,     0,     0,     0,     0,
     1291      30,     0,    31,    32,    33,     0,     0,     0,     0,    38,
     1292      39,     0,     0,     0,     4,     0,     0,    94,     0,    87,
     1293      88,    89,    48,     8,    49,    90,    10,     0,   150,   151,
     1294       0,     0,   152,    51,   153,   154,    52,    12,    13,    14,
     1295      15,    16,    17,    18,    19,    20,    21,    22,   150,   151,
     1296       0,     0,   152,     0,   153,   154,    30,     0,    31,    32,
     1297      33,     0,     0,   150,   151,    38,    39,   152,     0,   153,
     1298     154,     0,     0,    94,     0,   150,   151,     0,    48,   152,
     1299      49,   153,   154,     0,     0,     0,     0,   150,   151,    51,
     1300       0,   152,    52,   153,   154,     0,    12,    13,    14,    15,
     1301      16,    17,    18,    19,    91,    92,    93,   150,   151,     0,
     1302       0,   152,     0,   153,   154,    30,     0,    31,    32,    33,
     1303       0,     0,   150,   151,    38,    39,   152,     0,   153,   154,
     1304       0,     0,    94,     0,   150,   151,     0,    48,   152,    49,
     1305     153,   154,     0,     0,     0,     0,     0,     0,   178,     0,
     1306       0,    52,     0,   155,     0,   156,   157,   158,   159,     0,
     1307     160,   255,     0,   161,   162,   150,   151,     0,     0,   152,
     1308       0,   153,   154,   155,     0,   156,   157,   158,   159,     0,
     1309     160,   256,     0,   161,   162,     0,     0,     0,   155,     0,
     1310     156,   157,   158,   159,     0,   160,   261,     0,   161,   162,
     1311     155,     0,   156,   157,   158,   159,   292,   160,     0,     0,
     1312     161,   162,   155,     0,   156,   157,   158,   159,     0,   160,
     1313     293,     0,   161,   162,   150,   151,     0,     0,   152,     0,
     1314     153,   154,   155,     0,   156,   157,   158,   159,   296,   160,
     1315       0,     0,   161,   162,     0,     0,     0,   155,     0,   156,
     1316     157,   158,   159,     0,   160,   318,     0,   161,   162,   155,
     1317       0,   156,   157,   158,   159,     0,   160,   322,     0,   161,
     1318     162,   150,   151,     0,     0,   152,     0,   153,   154,     0,
     1319       0,     0,     0,     0,     0,    88,     0,     0,     0,     0,
     1320     155,     0,   156,   157,   158,   159,     0,   160,   325,     0,
     1321     161,   162,   150,   151,     0,     0,   152,     0,   153,   154,
     1322       0,     0,     0,     0,   150,   151,     0,     0,   152,     0,
     1323     153,   154,     0,     0,     0,     0,   150,   151,     0,     0,
     1324     152,     0,   153,   154,     0,     0,     0,     0,    -1,   151,
     1325       0,     0,   152,     0,   153,   154,     0,     0,     0,   155,
     1326       0,   156,   157,   158,   159,     0,   160,   327,     0,   161,
     1327     162,     0,     0,     0,     0,     0,     0,     0,     0,     0,
    13241328       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
    1325        0,     0,     0,   154,     0,   155,   156,   157,   158,     0,
    1326      159,   325,     0,   160,   161,   154,     0,   155,   156,   157,
    1327      158,   338,   159,     0,     0,   160,   161,   154,     0,   155,
    1328      156,   157,   158,   356,   159,    88,     0,   160,   161,   197,
    1329      198,   199,     0,     8,     0,   200,    10,     0,     0,     0,
    1330        0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
    1331        0,     0,     0,    88,   154,     0,   155,   156,   157,   158,
    1332      362,   159,     0,     0,   160,   161,   154,     0,   155,   156,
    1333      157,   158,    88,   159,     0,     0,   160,   161,   154,     0,
    1334      155,   156,   157,   158,     0,   159,     0,     0,   160,   161,
    1335      154,    88,   155,   156,   157,   158,     0,   159,     0,    88,
    1336        0,   161,     0,     0,     0,     0,     0,     0,     0,     0,
    1337        0,     0,     0,     0,   201,   202,   203,     0,     0,     0,
    1338       30,     0,    31,    32,    33,    30,     0,    31,    32,    33,
    1339        0,     0,     0,     0,     0,     0,     0,    94,     0,     0,
    1340        0,     0,    94,     0,    49,     0,     0,     0,    30,    49,
    1341       31,    32,    33,   113,     0,    52,     0,     0,     0,   204,
    1342       52,     0,     0,     0,     0,    94,     0,    30,     0,    31,
    1343       32,    33,    49,     0,     0,     0,     0,     0,     0,     0,
    1344        0,   115,     0,    52,    94,     0,    30,     0,    31,    32,
    1345       33,    49,     0,     0,    30,     0,    31,    32,    33,     0,
    1346      117,     0,    52,    94,     0,     0,     0,     0,     0,     0,
    1347       49,    94,     0,     0,     0,     0,     0,     0,    49,   164,
    1348        0,    52,     0,     0,     0,     0,     0,     0,     0,    52
     1329      30,     0,    31,    32,    33,     0,    88,     0,     0,     0,
     1330       0,    88,     0,     0,     0,     0,   155,    94,   156,   157,
     1331     158,   159,   340,   160,    49,     0,   161,   162,   198,   199,
     1332     200,     0,     8,   103,   201,    10,    52,     0,     0,     0,
     1333       0,     0,     0,     0,     0,     0,     0,   155,     0,   156,
     1334     157,   158,   159,   358,   160,    88,     0,   161,   162,   155,
     1335       0,   156,   157,   158,   159,   364,   160,     0,     0,   161,
     1336     162,   155,     0,   156,   157,   158,   159,     0,   160,     0,
     1337      88,   161,   162,   155,     0,   156,   157,   158,   159,     0,
     1338     160,     0,     0,   161,   162,     0,     0,     0,     0,     0,
     1339       0,    30,     0,    31,    32,    33,    30,     0,    31,    32,
     1340      33,     0,     0,   202,   203,   204,     0,     0,    94,     0,
     1341       0,     0,     0,    94,    30,    49,    31,    32,    33,     0,
     1342      49,     0,     0,     0,   113,     0,     0,    52,     0,   115,
     1343       0,    94,    52,     0,     0,     0,     0,     0,    49,     0,
     1344      30,     0,    31,    32,    33,     0,     0,     0,   205,     0,
     1345      52,     0,     0,     0,     0,     0,     0,    94,     0,     0,
     1346       0,     0,     0,     0,    49,    30,     0,    31,    32,    33,
     1347       0,     0,     0,   117,     0,     0,    52,     0,     0,     0,
     1348       0,     0,    94,     0,     0,     0,     0,     0,     0,    49,
     1349       0,     0,     0,     0,     0,     0,     0,     0,   165,     0,
     1350       0,    52
    13491351};
    13501352
    13511353static const yytype_int16 yycheck[] =
    13521354{
    1353        1,   109,   112,    11,     7,   137,    11,    10,     1,   136,
    1354      344,     3,     4,   142,   241,     7,   143,     9,    10,   142,
    1355       11,   248,     4,    24,     5,     6,   127,   142,     9,   137,
    1356      136,    11,   142,     7,   368,   136,    10,   143,   142,    20,
    1357       21,    22,   136,     7,   127,    26,    10,    29,    49,   143,
    1358      136,   110,    45,   136,   137,     7,   115,   143,    10,   110,
    1359      136,   136,    63,    45,   136,   136,    48,   143,   143,   142,
    1360       52,   143,   143,   134,   142,   136,     3,     4,   142,    61,
    1361        7,   109,     9,    10,    65,   109,   110,   142,   315,   142,
    1362        3,     4,   142,    74,     7,    77,     9,    10,   109,   110,
    1363      142,   143,    46,    47,   142,   142,     3,     4,   142,   109,
    1364        7,   112,     9,    10,   115,    97,   142,    99,    11,   127,
    1365      102,   103,   109,   105,   106,   107,   108,   109,   110,   111,
    1366      133,   113,   125,   134,   142,   117,   128,   142,   130,   131,
    1367      132,   133,   133,   135,   125,   146,   138,   139,   109,   137,
    1368      132,   142,   144,   133,   135,   109,   130,   131,   132,   133,
    1369      136,   135,   142,   164,   145,   139,   148,   149,   150,   133,
    1370      152,   135,   154,   155,   156,   157,   158,   159,   160,   161,
    1371      132,   133,   142,   135,     3,     4,   167,   142,     7,   170,
    1372        9,    10,   174,   142,   142,   177,   142,   142,   110,   181,
    1373      127,   128,   142,   130,   131,   132,   133,   137,   135,   137,
    1374      136,   138,   139,   136,   110,   128,   143,   130,   131,   132,
    1375      133,   136,   135,   136,   143,   138,   139,   209,   110,   143,
    1376      143,   128,   143,   130,   131,   132,   133,   143,   135,   136,
    1377      143,   138,   139,   136,   143,   143,   143,   109,   137,   142,
    1378      143,   110,   234,   136,   133,   136,   133,   143,   143,   241,
    1379      242,   112,   285,   143,   136,   143,   248,   249,   143,   143,
    1380      143,   253,   254,   255,   143,   257,   142,   259,   260,   143,
    1381      273,     0,     1,   136,     6,   143,    45,   368,   354,     8,
    1382      291,    -1,    -1,    -1,    13,    14,    15,    -1,    17,    -1,
    1383       19,    20,   284,   171,    -1,    -1,    -1,    -1,    -1,   128,
    1384       -1,   130,   131,   132,   133,    -1,   135,   136,    -1,   138,
    1385      139,    40,     3,     4,   143,    -1,     7,    -1,     9,    10,
    1386       -1,    -1,    -1,   315,   316,   317,    -1,    -1,   320,   321,
    1387       -1,   323,    -1,   325,   326,    -1,   328,     3,     4,    -1,
    1388       -1,     7,    -1,     9,    10,    -1,    -1,    -1,   359,    -1,
     1355       1,   137,   243,   112,     7,   127,   109,    10,     1,   250,
     1356     127,    11,     4,   346,   136,     7,   110,     9,    10,   136,
     1357     137,   115,     4,    24,     3,     4,   109,   110,     7,     7,
     1358       9,    10,    10,   142,   137,   136,   136,   370,   136,    11,
     1359     142,   143,   143,   143,   136,   143,   136,    29,    49,   136,
     1360     136,   143,    45,   143,   136,   109,   143,   143,    11,   109,
     1361     110,   143,    63,    45,   142,   134,    48,   136,    11,   142,
     1362      52,   142,    11,    46,    47,   142,   317,     5,     6,    61,
     1363     142,     9,   142,   142,   142,   142,   142,   110,     7,   142,
     1364     142,    10,    20,    21,    22,    77,     7,   109,    26,    10,
     1365     142,   109,     3,     4,   142,   109,     7,   137,     9,    10,
     1366     136,   112,   110,   142,   115,    97,   137,    99,   142,   136,
     1367     102,   103,   142,   105,   106,   107,   108,   109,   110,   111,
     1368     133,   113,   125,   134,   109,   117,   128,    65,   130,   131,
     1369     132,   133,   142,   135,   144,   146,    74,   139,   142,   128,
     1370     132,   130,   131,   132,   133,   133,   135,   135,   142,   138,
     1371     139,   133,     7,   137,   165,    10,   145,   149,   150,   151,
     1372     142,   153,   144,   155,   156,   157,   158,   159,   160,   161,
     1373     162,     3,     4,   136,   127,     7,   142,     9,    10,   142,
     1374     143,   144,   142,   175,   133,   110,   178,   125,   136,   142,
     1375     182,   144,   136,   142,   110,   144,   143,   135,   143,   128,
     1376     143,   130,   131,   132,   133,   109,   135,   145,   143,   147,
     1377     139,   132,   133,   143,   135,   143,   127,   128,   210,   130,
     1378     131,   132,   133,   143,   135,    14,   144,   138,   139,   137,
     1379     168,   110,   143,   171,   136,   133,   136,   133,   143,   112,
     1380     143,   287,   143,   142,   236,   136,   143,     6,   143,   143,
     1381     143,   243,   244,   143,   143,   136,   143,    45,   250,   251,
     1382     172,   370,   356,   255,   256,   257,    -1,   259,    -1,   261,
     1383     262,    -1,   275,     0,     1,   130,   131,   132,   133,    -1,
     1384     135,     8,   293,    -1,   139,    -1,    13,    14,    15,    -1,
     1385      17,    -1,    19,    20,   286,    -1,   128,    -1,   130,   131,
     1386     132,   133,    -1,   135,   136,    -1,   138,   139,     3,     4,
     1387      -1,   143,     7,    40,     9,    10,    -1,    -1,    -1,    -1,
     1388     109,    -1,   111,   112,   113,   317,   318,   319,    -1,    -1,
     1389     322,   323,    -1,   325,    -1,   327,   328,   126,   330,     3,
     1390       4,    -1,    -1,     7,   133,     9,    10,    -1,    -1,    -1,
     1391     361,    -1,    -1,     3,     4,    -1,   145,     7,    -1,     9,
     1392      10,    -1,    -1,    90,    91,    92,    93,    94,    95,    96,
     1393      97,    98,    99,   100,   101,   102,   103,   104,    -1,   106,
     1394     107,   108,   109,    -1,   111,   112,   113,   114,   115,   116,
     1395     117,   118,   119,   120,   121,   122,   123,   124,   125,   126,
     1396      -1,   128,    -1,    -1,   131,    -1,   133,     3,     4,    -1,
     1397     137,     7,    -1,     9,    10,   142,    -1,    -1,   145,    -1,
    13891398      -1,     3,     4,    -1,    -1,     7,    -1,     9,    10,    -1,
    1390       -1,    90,    91,    92,    93,    94,    95,    96,    97,    98,
    1391       99,   100,   101,   102,   103,   104,    -1,   106,   107,   108,
    1392      109,    -1,   111,   112,   113,   114,   115,   116,   117,   118,
    1393      119,   120,   121,   122,   123,   124,   125,   126,    -1,   128,
    1394       -1,    -1,   131,    -1,   133,     3,     4,    -1,   137,     7,
    1395       -1,     9,    10,   142,    -1,   144,    -1,    -1,    -1,     3,
    1396        4,    -1,    -1,     7,    -1,     9,    10,    13,    14,    15,
    1397       -1,    17,    -1,    19,    20,    -1,    -1,   128,    -1,   130,
    1398      131,   132,   133,     7,   135,   136,    10,   138,   139,     3,
    1399        4,    -1,   143,     7,    -1,     9,    10,    -1,    -1,    -1,
     1399      -1,    -1,    -1,   128,    -1,   130,   131,   132,   133,    -1,
     1400     135,   136,    -1,   138,   139,     3,     4,    -1,   143,     7,
     1401      -1,     9,    10,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
     1402      -1,    -1,    -1,    -1,   128,    -1,   130,   131,   132,   133,
     1403      -1,   135,   136,    -1,   138,   139,    -1,    -1,   128,   143,
     1404     130,   131,   132,   133,    -1,   135,   136,    -1,   138,   139,
     1405       3,     4,    -1,   143,     7,    -1,     9,    10,    -1,    -1,
     1406      -1,    -1,    -1,    -1,     3,     4,    -1,    -1,     7,    -1,
     1407       9,    10,    -1,    -1,    -1,    -1,    -1,    -1,     3,     4,
     1408      -1,    -1,     7,    -1,     9,    10,    -1,    -1,    -1,    -1,
    14001409      -1,    -1,   128,    -1,   130,   131,   132,   133,    -1,   135,
    14011410     136,    -1,   138,   139,    -1,    -1,   128,   143,   130,   131,
    14021411     132,   133,    -1,   135,   136,    -1,   138,   139,     3,     4,
    14031412      -1,   143,     7,    -1,     9,    10,    -1,    -1,    -1,    -1,
    1404       -1,    -1,     3,     4,    -1,    -1,     7,    -1,     9,    10,
    1405       -1,    -1,    98,    99,   100,    -1,     3,     4,    -1,    -1,
     1413     128,    -1,   130,   131,   132,   133,    -1,   135,   136,    -1,
     1414     138,   139,     3,     4,    -1,   143,     7,    -1,     9,    10,
     1415      -1,    -1,    -1,    -1,    -1,    -1,     3,     4,    -1,    -1,
    14061416       7,    -1,     9,    10,    -1,    -1,    -1,    -1,    -1,    -1,
    1407      128,    -1,   130,   131,   132,   133,    -1,   135,   136,    -1,
    1408      138,   139,    -1,    -1,   128,   143,   130,   131,   132,   133,
    1409       -1,   135,    -1,    -1,   138,   139,     3,     4,    -1,   143,
    1410        7,    -1,     9,    10,   128,    -1,   130,   131,   132,   133,
    1411       -1,   135,    -1,    -1,   128,   139,   130,   131,   132,   133,
    1412       -1,   135,    -1,    -1,   138,   139,     3,     4,    -1,   143,
    1413        7,    -1,     9,    10,    -1,    -1,    -1,    -1,    -1,    -1,
    1414        3,     4,    -1,    -1,     7,    -1,     9,    10,    -1,    -1,
     1417      -1,    -1,    -1,    -1,    -1,   128,    -1,   130,   131,   132,
     1418     133,    -1,   135,    -1,    -1,   138,   139,    -1,    -1,   128,
     1419     143,   130,   131,   132,   133,    -1,   135,    -1,    -1,   138,
     1420     139,    -1,    -1,   128,   143,   130,   131,   132,   133,    -1,
     1421     135,    -1,    -1,   138,   139,     3,     4,    -1,   143,     7,
     1422      -1,     9,    10,    -1,    -1,    -1,    -1,    -1,    -1,     3,
     1423       4,    -1,    -1,     7,    -1,     9,    10,    -1,    -1,    -1,
    14151424      -1,    -1,    -1,   128,    -1,   130,   131,   132,   133,    -1,
    1416      135,    -1,    -1,   138,   139,    -1,    -1,   128,   143,   130,
     1425     135,    -1,    -1,   138,   139,     3,     4,    -1,   143,     7,
     1426      -1,     9,    10,    -1,    -1,    -1,    -1,   128,    -1,   130,
    14171427     131,   132,   133,    -1,   135,    -1,    -1,   138,   139,    -1,
    14181428      -1,   128,   143,   130,   131,   132,   133,    -1,   135,    -1,
     
    14201430      10,    -1,    -1,    -1,    -1,    -1,    -1,     3,     4,    -1,
    14211431      -1,     7,    -1,     9,    10,    -1,    -1,    -1,    -1,    -1,
     1432      -1,     3,     4,    -1,    -1,     7,    -1,     9,    10,    13,
     1433      14,    15,    -1,    17,    -1,    19,    20,    -1,    -1,    -1,
     1434     128,    -1,   130,   131,   132,   133,    -1,   135,    -1,    -1,
     1435     138,   139,    -1,    -1,   128,   143,   130,   131,   132,   133,
     1436      -1,   135,    -1,    -1,   138,   139,     3,     4,    -1,   143,
     1437       7,    -1,     9,    10,    -1,    -1,    -1,    -1,    -1,    -1,
     1438     128,    -1,   130,   131,   132,   133,    -1,   135,    -1,    -1,
     1439     138,   139,     3,     4,    -1,   143,     7,    -1,     9,    10,
     1440      -1,    -1,    -1,    -1,    -1,    -1,     3,     4,    -1,    -1,
     1441       7,    -1,     9,    10,    98,    99,   100,    -1,   128,    -1,
     1442     130,   131,   132,   133,    -1,   135,    -1,    -1,   138,   139,
     1443      -1,    -1,   128,   143,   130,   131,   132,   133,    -1,   135,
     1444      -1,    -1,   138,   139,    -1,    -1,   128,   143,   130,   131,
     1445     132,   133,    -1,   135,    -1,    -1,   138,   139,     3,     4,
     1446      -1,   143,     7,    -1,     9,    10,     8,    -1,    -1,    -1,
     1447      -1,    13,    14,    15,    -1,    17,    -1,    19,    20,    -1,
     1448      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    14221449      -1,   128,    -1,   130,   131,   132,   133,    -1,   135,    -1,
    14231450      -1,   138,   139,     3,     4,    -1,   143,     7,    -1,     9,
    1424       10,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    1425       -1,   128,    -1,   130,   131,   132,   133,    -1,   135,    -1,
    1426       -1,   138,   139,    -1,    -1,   128,   143,   130,   131,   132,
    1427      133,    -1,   135,    -1,    -1,   138,   139,     3,     4,    -1,
    1428      143,     7,    -1,     9,    10,    -1,    -1,    -1,    -1,    -1,
    1429       -1,     3,     4,    -1,    -1,     7,    -1,     9,    10,    -1,
    1430       -1,    -1,    -1,    -1,    -1,     3,     4,    -1,    -1,     7,
    1431       -1,     9,    10,    -1,    -1,    -1,    -1,    -1,   128,    -1,
    1432      130,   131,   132,   133,    -1,   135,    -1,    -1,   138,   139,
    1433       -1,    -1,   128,   143,   130,   131,   132,   133,    -1,   135,
    1434       -1,    -1,   138,   139,     3,     4,    -1,   143,     7,    -1,
    1435        9,    10,    -1,    -1,    -1,    -1,    -1,    -1,   128,    -1,
    1436      130,   131,   132,   133,    -1,   135,    14,    -1,   138,   139,
    1437        3,     4,    -1,   143,     7,    -1,     9,    10,    -1,    -1,
     1451      10,    -1,    -1,    -1,    -1,    -1,    -1,   128,    -1,   130,
     1452     131,   132,   133,    -1,   135,    14,    -1,   138,   139,    -1,
     1453      -1,   128,   143,   130,   131,   132,   133,    -1,   135,    -1,
     1454      -1,   138,   139,    -1,    -1,    -1,   143,    -1,    90,    91,
     1455      92,    93,    94,    95,    96,    97,    98,    99,   100,    -1,
     1456      -1,    -1,    -1,    -1,    -1,    -1,    -1,   109,    -1,   111,
     1457     112,   113,    -1,    -1,    -1,    -1,   118,   119,    -1,    -1,
     1458      14,    -1,    -1,   128,   126,   130,   131,   132,   133,   131,
     1459     135,   133,    -1,   138,   139,    -1,    -1,    -1,   143,     8,
     1460     142,   143,    -1,   145,    13,    14,    15,    -1,    17,    -1,
     1461      19,    20,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
     1462     109,    -1,   111,   112,   113,    -1,    -1,    -1,   128,    -1,
     1463     130,   131,   132,   133,   134,   135,   136,   126,   138,   139,
     1464      -1,    -1,    -1,    -1,   133,    -1,    -1,    -1,    -1,    -1,
     1465      -1,    -1,    -1,   142,    -1,     8,   145,    -1,    -1,    -1,
     1466      13,    14,    15,    -1,    17,    -1,    19,    20,    -1,    -1,
     1467      -1,    -1,    -1,    -1,    -1,   109,    -1,   111,   112,   113,
     1468      -1,    90,    91,    92,    93,    94,    95,    96,    97,    98,
     1469      99,   100,   126,    -1,    -1,    -1,    -1,    -1,    -1,   133,
     1470     109,    -1,   111,   112,   113,    -1,    -1,    -1,   142,   118,
     1471     119,   145,    -1,    -1,     8,    -1,    -1,   126,    -1,    13,
     1472      14,    15,   131,    17,   133,    19,    20,    -1,    -1,    -1,
     1473      -1,    -1,    -1,   142,   143,    -1,   145,    90,    91,    92,
     1474      93,    94,    95,    96,    97,    98,    99,   100,    -1,    -1,
     1475      -1,    -1,    -1,    -1,    -1,    -1,   109,    -1,   111,   112,
     1476     113,    -1,    -1,    -1,    -1,   118,   119,    -1,    -1,    -1,
     1477       8,    -1,    -1,   126,    -1,    13,    14,    15,   131,    17,
     1478     133,    19,    20,    -1,    -1,    -1,    -1,    -1,    -1,   142,
     1479     143,    -1,   145,    -1,    -1,    -1,    90,    91,    92,    93,
     1480      94,    95,    96,    97,    98,    99,   100,    -1,    -1,    -1,
     1481      -1,    -1,    -1,    -1,    -1,   109,    -1,   111,   112,   113,
     1482      -1,    -1,    -1,    -1,   118,   119,    -1,    -1,    -1,     8,
     1483      -1,    -1,   126,    -1,    13,    14,    15,   131,    17,   133,
     1484      19,    20,    -1,    -1,    -1,    -1,    -1,    -1,   142,   143,
     1485      -1,   145,    90,    91,    92,    93,    94,    95,    96,    97,
     1486      98,    99,   100,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
     1487      -1,   109,    -1,   111,   112,   113,    -1,    -1,    -1,    -1,
     1488     118,   119,    -1,    -1,    -1,     8,    -1,    -1,   126,    -1,
     1489      13,    14,    15,   131,    17,   133,    19,    20,    -1,    -1,
     1490      -1,    -1,    -1,    -1,   142,   143,    -1,   145,    -1,    -1,
     1491      -1,    90,    91,    92,    93,    94,    95,    96,    97,    98,
     1492      99,   100,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
     1493     109,    -1,   111,   112,   113,    -1,    -1,    -1,    -1,   118,
     1494     119,    -1,    -1,    -1,     8,    -1,    -1,   126,    -1,    13,
     1495      14,    15,   131,    17,   133,    19,    20,    -1,     3,     4,
     1496      -1,    -1,     7,   142,     9,    10,   145,    90,    91,    92,
     1497      93,    94,    95,    96,    97,    98,    99,   100,     3,     4,
     1498      -1,    -1,     7,    -1,     9,    10,   109,    -1,   111,   112,
     1499     113,    -1,    -1,     3,     4,   118,   119,     7,    -1,     9,
     1500      10,    -1,    -1,   126,    -1,     3,     4,    -1,   131,     7,
     1501     133,     9,    10,    -1,    -1,    -1,    -1,     3,     4,   142,
     1502      -1,     7,   145,     9,    10,    -1,    90,    91,    92,    93,
     1503      94,    95,    96,    97,    98,    99,   100,     3,     4,    -1,
     1504      -1,     7,    -1,     9,    10,   109,    -1,   111,   112,   113,
     1505      -1,    -1,     3,     4,   118,   119,     7,    -1,     9,    10,
     1506      -1,    -1,   126,    -1,     3,     4,    -1,   131,     7,   133,
     1507       9,    10,    -1,    -1,    -1,    -1,    -1,    -1,   142,    -1,
     1508      -1,   145,    -1,   128,    -1,   130,   131,   132,   133,    -1,
     1509     135,   136,    -1,   138,   139,     3,     4,    -1,    -1,     7,
     1510      -1,     9,    10,   128,    -1,   130,   131,   132,   133,    -1,
     1511     135,   136,    -1,   138,   139,    -1,    -1,    -1,   128,    -1,
     1512     130,   131,   132,   133,    -1,   135,   136,    -1,   138,   139,
     1513     128,    -1,   130,   131,   132,   133,   134,   135,    -1,    -1,
     1514     138,   139,   128,    -1,   130,   131,   132,   133,    -1,   135,
     1515     136,    -1,   138,   139,     3,     4,    -1,    -1,     7,    -1,
     1516       9,    10,   128,    -1,   130,   131,   132,   133,   134,   135,
     1517      -1,    -1,   138,   139,    -1,    -1,    -1,   128,    -1,   130,
     1518     131,   132,   133,    -1,   135,   136,    -1,   138,   139,   128,
     1519      -1,   130,   131,   132,   133,    -1,   135,   136,    -1,   138,
     1520     139,     3,     4,    -1,    -1,     7,    -1,     9,    10,    -1,
     1521      -1,    -1,    -1,    -1,    -1,    14,    -1,    -1,    -1,    -1,
     1522     128,    -1,   130,   131,   132,   133,    -1,   135,   136,    -1,
     1523     138,   139,     3,     4,    -1,    -1,     7,    -1,     9,    10,
     1524      -1,    -1,    -1,    -1,     3,     4,    -1,    -1,     7,    -1,
     1525       9,    10,    -1,    -1,    -1,    -1,     3,     4,    -1,    -1,
     1526       7,    -1,     9,    10,    -1,    -1,    -1,    -1,     3,     4,
     1527      -1,    -1,     7,    -1,     9,    10,    -1,    -1,    -1,   128,
     1528      -1,   130,   131,   132,   133,    -1,   135,   136,    -1,   138,
     1529     139,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    14381530      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    1439       -1,    -1,    14,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    1440       -1,    -1,   128,    -1,   130,   131,   132,   133,    -1,   135,
    1441       -1,    -1,   138,   139,    -1,    -1,   128,   143,   130,   131,
    1442      132,   133,    -1,   135,    -1,    -1,   138,   139,    -1,    -1,
    1443      128,   143,   130,   131,   132,   133,    -1,   135,    -1,    -1,
    1444      138,   139,     8,    14,    -1,   143,    -1,    13,    14,    15,
    1445       -1,    17,    -1,    19,    20,    -1,    -1,    -1,    -1,    -1,
    1446       -1,   109,    -1,   111,   112,   113,    -1,    -1,    -1,   128,
    1447       -1,   130,   131,   132,   133,    -1,   135,    -1,   126,   138,
    1448      139,    -1,    -1,    -1,   143,   133,    -1,   109,    -1,   111,
    1449      112,   113,    -1,    -1,   142,   128,   144,   130,   131,   132,
    1450      133,    -1,   135,    -1,   126,   138,   139,     8,    -1,    -1,
    1451      143,   133,    13,    14,    15,    -1,    17,    -1,    19,    20,
    1452      142,    -1,   144,    -1,    90,    91,    92,    93,    94,    95,
    1453       96,    97,    98,    99,   100,    -1,    -1,    -1,   109,    -1,
    1454      111,   112,   113,   109,    -1,   111,   112,   113,    -1,    -1,
    1455       -1,    -1,   118,   119,    -1,   126,    -1,    -1,    -1,    -1,
    1456      126,    -1,   133,     8,    -1,   131,    -1,   133,    13,    14,
    1457       15,   142,    17,   144,    19,    20,   142,   143,   144,    -1,
    1458       -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    90,
    1459       91,    92,    93,    94,    95,    96,    97,    98,    99,   100,
    1460       -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   109,    -1,
    1461      111,   112,   113,    -1,    -1,    -1,    -1,   118,   119,    -1,
    1462       -1,    -1,     8,    -1,    -1,   126,    -1,    13,    14,    15,
    1463      131,    17,   133,    19,    20,    -1,    -1,    -1,    -1,    -1,
    1464       -1,   142,   143,   144,    -1,    90,    91,    92,    93,    94,
    1465       95,    96,    97,    98,    99,   100,    -1,    -1,    -1,    -1,
    1466       -1,    -1,    -1,    -1,   109,    -1,   111,   112,   113,    -1,
    1467       -1,    -1,    -1,   118,   119,    -1,    -1,    -1,     8,    -1,
    1468       -1,   126,    -1,    13,    14,    15,   131,    17,   133,    19,
    1469       20,    -1,    -1,    -1,    -1,    -1,    -1,   142,   143,   144,
    1470       -1,    -1,    -1,    -1,    90,    91,    92,    93,    94,    95,
    1471       96,    97,    98,    99,   100,    -1,    -1,    -1,    -1,    -1,
    1472       -1,    -1,    -1,   109,    -1,   111,   112,   113,    -1,    -1,
    1473       -1,    -1,   118,   119,    -1,    -1,    -1,     8,    -1,    -1,
    1474      126,    -1,    13,    14,    15,   131,    17,   133,    19,    20,
    1475       -1,    -1,    -1,    -1,    -1,    -1,   142,   143,   144,    -1,
    1476       90,    91,    92,    93,    94,    95,    96,    97,    98,    99,
    1477      100,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   109,
    1478       -1,   111,   112,   113,    -1,    -1,    -1,    -1,   118,   119,
    1479       -1,    -1,    -1,     8,    -1,    -1,   126,    -1,    13,    14,
    1480       15,   131,    17,   133,    19,    20,    -1,    -1,    -1,    -1,
    1481       -1,    -1,   142,   143,   144,    -1,    -1,    -1,    -1,    90,
    1482       91,    92,    93,    94,    95,    96,    97,    98,    99,   100,
    1483       -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   109,    -1,
    1484      111,   112,   113,    -1,    -1,    -1,    -1,   118,   119,    -1,
    1485       -1,    -1,     8,    -1,    -1,   126,    -1,    13,    14,    15,
    1486      131,    17,   133,    19,    20,    -1,    -1,    -1,    -1,    -1,
    1487       -1,   142,    -1,   144,    -1,    90,    91,    92,    93,    94,
    1488       95,    96,    97,    98,    99,   100,     3,     4,    -1,    -1,
    1489        7,    -1,     9,    10,   109,    -1,   111,   112,   113,    -1,
    1490       -1,     3,     4,   118,   119,     7,    -1,     9,    10,    -1,
    1491       -1,   126,    -1,     3,     4,    -1,   131,     7,   133,     9,
    1492       10,    -1,    -1,    -1,    -1,    -1,    -1,   142,    -1,   144,
    1493       -1,    -1,    -1,    -1,    90,    91,    92,    93,    94,    95,
    1494       96,    97,    98,    99,   100,     3,     4,    -1,    -1,     7,
    1495       -1,     9,    10,   109,    -1,   111,   112,   113,    -1,    -1,
    1496        3,     4,   118,   119,     7,    -1,     9,    10,    -1,    -1,
    1497      126,    -1,     3,     4,    -1,   131,     7,   133,     9,    10,
    1498       -1,    -1,    -1,    -1,    -1,    -1,   142,    -1,   144,     3,
    1499        4,    -1,    -1,     7,    -1,     9,    10,    -1,    -1,    -1,
    1500       -1,     3,     4,    -1,    -1,     7,    -1,     9,    10,    -1,
    1501       -1,   128,    -1,   130,   131,   132,   133,   134,   135,   136,
    1502       -1,   138,   139,    -1,    -1,    -1,   128,    -1,   130,   131,
    1503      132,   133,    -1,   135,   136,    -1,   138,   139,   128,    -1,
    1504      130,   131,   132,   133,    -1,   135,   136,    -1,   138,   139,
    1505        3,     4,    -1,    -1,     7,    -1,     9,    10,    -1,    -1,
    1506       -1,    -1,     3,     4,    -1,    -1,     7,    -1,     9,    10,
    1507      128,    -1,   130,   131,   132,   133,    -1,   135,   136,    -1,
    1508      138,   139,    -1,    -1,    -1,   128,    -1,   130,   131,   132,
    1509      133,   134,   135,    -1,    -1,   138,   139,   128,    -1,   130,
    1510      131,   132,   133,    -1,   135,   136,    -1,   138,   139,    -1,
    1511       -1,    -1,    -1,    -1,   128,    -1,   130,   131,   132,   133,
    1512      134,   135,    -1,    -1,   138,   139,   128,    -1,   130,   131,
    1513      132,   133,    -1,   135,   136,    -1,   138,   139,     3,     4,
    1514       -1,    -1,     7,    -1,     9,    10,    -1,    -1,    -1,    -1,
    1515        3,     4,    -1,    -1,     7,    -1,     9,    10,    -1,    -1,
    1516       -1,    -1,     3,     4,    -1,    -1,     7,    -1,     9,    10,
    1517       -1,    -1,    -1,    -1,    -1,   128,    -1,   130,   131,   132,
    1518      133,    -1,   135,   136,    -1,   138,   139,   128,    -1,   130,
    1519      131,   132,   133,    -1,   135,   136,    -1,   138,   139,     3,
    1520        4,    -1,    -1,     7,    -1,     9,    10,    -1,    -1,    -1,
    1521       -1,     3,     4,    -1,    -1,     7,    -1,     9,    10,    -1,
    1522       -1,    -1,    -1,     3,     4,    -1,    -1,     7,    -1,     9,
    1523       10,    -1,    -1,    -1,    -1,    -1,     4,    -1,    -1,     7,
    1524       -1,     9,    10,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    1525       -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    1526       -1,    -1,    -1,   128,    -1,   130,   131,   132,   133,    -1,
    1527      135,   136,    -1,   138,   139,   128,    -1,   130,   131,   132,
    1528      133,   134,   135,    -1,    -1,   138,   139,   128,    -1,   130,
    1529      131,   132,   133,   134,   135,    14,    -1,   138,   139,    13,
    1530       14,    15,    -1,    17,    -1,    19,    20,    -1,    -1,    -1,
    1531       -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    1532       -1,    -1,    -1,    14,   128,    -1,   130,   131,   132,   133,
    1533      134,   135,    -1,    -1,   138,   139,   128,    -1,   130,   131,
    1534      132,   133,    14,   135,    -1,    -1,   138,   139,   128,    -1,
    1535      130,   131,   132,   133,    -1,   135,    -1,    -1,   138,   139,
    1536      128,    14,   130,   131,   132,   133,    -1,   135,    -1,    14,
    1537       -1,   139,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    1538       -1,    -1,    -1,    -1,    98,    99,   100,    -1,    -1,    -1,
    1539      109,    -1,   111,   112,   113,   109,    -1,   111,   112,   113,
    1540       -1,    -1,    -1,    -1,    -1,    -1,    -1,   126,    -1,    -1,
    1541       -1,    -1,   126,    -1,   133,    -1,    -1,    -1,   109,   133,
    1542      111,   112,   113,   142,    -1,   144,    -1,    -1,    -1,   143,
    1543      144,    -1,    -1,    -1,    -1,   126,    -1,   109,    -1,   111,
    1544      112,   113,   133,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    1545       -1,   142,    -1,   144,   126,    -1,   109,    -1,   111,   112,
    1546      113,   133,    -1,    -1,   109,    -1,   111,   112,   113,    -1,
    1547      142,    -1,   144,   126,    -1,    -1,    -1,    -1,    -1,    -1,
    1548      133,   126,    -1,    -1,    -1,    -1,    -1,    -1,   133,   142,
    1549       -1,   144,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   144
     1531     109,    -1,   111,   112,   113,    -1,    14,    -1,    -1,    -1,
     1532      -1,    14,    -1,    -1,    -1,    -1,   128,   126,   130,   131,
     1533     132,   133,   134,   135,   133,    -1,   138,   139,    13,    14,
     1534      15,    -1,    17,   142,    19,    20,   145,    -1,    -1,    -1,
     1535      -1,    -1,    -1,    -1,    -1,    -1,    -1,   128,    -1,   130,
     1536     131,   132,   133,   134,   135,    14,    -1,   138,   139,   128,
     1537      -1,   130,   131,   132,   133,   134,   135,    -1,    -1,   138,
     1538     139,   128,    -1,   130,   131,   132,   133,    -1,   135,    -1,
     1539      14,   138,   139,   128,    -1,   130,   131,   132,   133,    -1,
     1540     135,    -1,    -1,   138,   139,    -1,    -1,    -1,    -1,    -1,
     1541      -1,   109,    -1,   111,   112,   113,   109,    -1,   111,   112,
     1542     113,    -1,    -1,    98,    99,   100,    -1,    -1,   126,    -1,
     1543      -1,    -1,    -1,   126,   109,   133,   111,   112,   113,    -1,
     1544     133,    -1,    -1,    -1,   142,    -1,    -1,   145,    -1,   142,
     1545      -1,   126,   145,    -1,    -1,    -1,    -1,    -1,   133,    -1,
     1546     109,    -1,   111,   112,   113,    -1,    -1,    -1,   143,    -1,
     1547     145,    -1,    -1,    -1,    -1,    -1,    -1,   126,    -1,    -1,
     1548      -1,    -1,    -1,    -1,   133,   109,    -1,   111,   112,   113,
     1549      -1,    -1,    -1,   142,    -1,    -1,   145,    -1,    -1,    -1,
     1550      -1,    -1,   126,    -1,    -1,    -1,    -1,    -1,    -1,   133,
     1551      -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,   142,    -1,
     1552      -1,   145
    15501553};
    15511554
     
    15541557static const yytype_uint8 yystos[] =
    15551558{
    1556        0,   146,     0,     1,     8,    13,    14,    15,    17,    19,
     1559       0,   147,     0,     1,     8,    13,    14,    15,    17,    19,
    15571560      20,    40,    90,    91,    92,    93,    94,    95,    96,    97,
    15581561      98,    99,   100,   101,   102,   103,   104,   106,   107,   108,
    15591562     109,   111,   112,   113,   114,   115,   116,   117,   118,   119,
    15601563     120,   121,   122,   123,   124,   125,   126,   128,   131,   133,
    1561      137,   142,   144,   147,   148,   149,   150,   151,   152,   153,
    1562      154,   156,   158,   159,   160,   161,   162,   163,   170,   172,
    1563      173,   174,   175,   176,   177,   178,   179,   180,   181,   182,
    1564      183,   184,   185,   186,   187,   188,   137,    13,    14,    15,
    1565       19,    98,    99,   100,   126,   154,   161,   142,   152,   142,
    1566      152,   160,   142,   142,   152,   142,   142,   142,   142,   142,
    1567      142,   142,   142,   142,   152,   142,   152,   142,   152,   109,
    1568      110,   153,   109,   137,   152,   142,   154,   109,   110,   142,
    1569      142,   109,   142,   109,   142,    14,   154,   162,   163,   163,
    1570      154,   153,   153,   154,   137,    11,   142,   127,   136,     3,
    1571        4,     7,     9,    10,   128,   130,   131,   132,   133,   135,
    1572      138,   139,   154,   153,   142,   152,   127,   136,   137,   169,
    1573      136,   152,   154,   154,   133,   154,   110,   142,   154,   164,
    1574      154,   133,   154,   154,   154,   154,   154,   154,   154,   143,
    1575      153,   154,   143,   153,   154,   137,   137,    13,    14,    15,
    1576       19,    98,    99,   100,   143,   152,   161,   109,   110,   155,
    1577      109,   154,   110,   143,   153,   171,   134,   143,   144,   152,
    1578      143,   153,   154,   154,   154,   154,   154,   154,   154,   154,
    1579      154,   154,   154,   154,   127,   143,   157,   143,   153,   152,
    1580      152,   169,   136,   143,   154,   143,   154,   143,   136,   136,
    1581      143,   154,   143,   136,   136,   136,   143,   136,   143,   136,
     1564     137,   142,   145,   148,   149,   150,   151,   152,   153,   154,
     1565     155,   157,   159,   160,   161,   162,   163,   164,   171,   173,
     1566     174,   175,   176,   177,   178,   179,   180,   181,   182,   183,
     1567     184,   185,   186,   187,   188,   189,   137,    13,    14,    15,
     1568      19,    98,    99,   100,   126,   155,   162,   142,   153,   142,
     1569     153,   161,   142,   142,   153,   142,   142,   142,   142,   142,
     1570     142,   142,   142,   142,   153,   142,   153,   142,   153,   109,
     1571     110,   154,   109,   137,   153,   142,   155,   109,   110,   142,
     1572     142,   109,   142,   109,   142,    14,   155,   163,   164,   164,
     1573     155,   154,   154,   155,   137,    11,   142,   144,   127,   136,
     1574       3,     4,     7,     9,    10,   128,   130,   131,   132,   133,
     1575     135,   138,   139,   155,   154,   142,   153,   127,   136,   137,
     1576     170,   136,   153,   155,   155,   133,   155,   110,   142,   155,
     1577     165,   155,   133,   155,   155,   155,   155,   155,   155,   155,
     1578     143,   154,   155,   143,   154,   155,   137,   137,    13,    14,
     1579      15,    19,    98,    99,   100,   143,   153,   162,   109,   110,
     1580     156,   109,   155,   110,   143,   154,   172,   134,   143,   145,
     1581     153,   143,   154,   153,   155,   155,   155,   155,   155,   155,
     1582     155,   155,   155,   155,   155,   155,   127,   143,   158,   143,
     1583     154,   153,   153,   170,   136,   143,   155,   143,   155,   143,
     1584     136,   136,   143,   155,   143,   136,   136,   136,   143,   136,
     1585     143,   136,   136,   143,   143,   143,   143,   143,   143,   143,
     1586     143,   143,   143,   143,   143,   136,   143,   143,   110,   155,
     1587     109,   143,   143,   137,   143,   134,   136,   155,   143,   155,
     1588     165,   155,   134,   136,   165,   155,   134,   155,   155,   155,
     1589     155,   155,   155,    13,    14,    15,    19,    98,    99,   100,
     1590     162,   143,   110,   110,   115,   155,   158,   136,   136,   133,
     1591     154,   136,   136,   133,   143,   136,   143,   136,   136,   143,
    15821592     136,   143,   143,   143,   143,   143,   143,   143,   143,   143,
    1583      143,   143,   143,   136,   143,   143,   110,   154,   109,   143,
    1584      143,   137,   143,   134,   136,   154,   143,   154,   164,   154,
    1585      134,   136,   164,   154,   134,   154,   154,   154,   154,   154,
    1586      154,    13,    14,    15,    19,    98,    99,   100,   161,   143,
    1587      110,   110,   115,   154,   157,   136,   136,   133,   153,   136,
    1588      136,   133,   143,   136,   143,   136,   136,   143,   136,   143,
    1589      143,   143,   143,   143,   143,   143,   143,   143,   134,   164,
    1590      154,   154,   143,   112,   142,   165,   166,   168,   154,   154,
    1591      154,   154,   154,   154,   136,   143,   134,   166,   167,   142,
    1592      143,   143,   134,   143,   143,   143,   143,   168,   136,   143,
    1593      153,   167,   143
     1593     134,   165,   155,   155,   143,   112,   142,   166,   167,   169,
     1594     155,   155,   155,   155,   155,   155,   136,   143,   134,   167,
     1595     168,   142,   143,   143,   134,   143,   143,   143,   143,   169,
     1596     136,   143,   154,   168,   143
    15941597};
    15951598
     
    24092412    {
    24102413        case 3:
    2411 #line 360 "grammar.y"
     2414#line 361 "grammar.y"
    24122415    {
    24132416            if (timerv)
     
    24432446
    24442447  case 5:
    2445 #line 395 "grammar.y"
     2448#line 396 "grammar.y"
    24462449    {currentVoice->ifsw=0;;}
    24472450    break;
    24482451
    24492452  case 6:
    2450 #line 397 "grammar.y"
     2453#line 398 "grammar.y"
    24512454    { (yyvsp[(1) - (2)].lv).CleanUp(); currentVoice->ifsw=0;;}
    24522455    break;
    24532456
    24542457  case 7:
    2455 #line 399 "grammar.y"
     2458#line 400 "grammar.y"
    24562459    {
    24572460            YYACCEPT;
     
    24602463
    24612464  case 8:
    2462 #line 403 "grammar.y"
     2465#line 404 "grammar.y"
    24632466    {
    24642467            currentVoice->ifsw=0;
     
    24682471
    24692472  case 9:
    2470 #line 408 "grammar.y"
     2473#line 409 "grammar.y"
    24712474    {currentVoice->ifsw=0;;}
    24722475    break;
    24732476
    24742477  case 10:
    2475 #line 410 "grammar.y"
     2478#line 411 "grammar.y"
    24762479    {
    24772480            #ifdef SIQ
     
    25252528
    25262529  case 18:
    2527 #line 468 "grammar.y"
     2530#line 469 "grammar.y"
    25282531    {if (currentVoice!=NULL) currentVoice->ifsw=0;;}
    25292532    break;
    25302533
    25312534  case 19:
    2532 #line 471 "grammar.y"
     2535#line 472 "grammar.y"
    25332536    { omFree((ADDRESS)(yyvsp[(2) - (2)].name)); ;}
    25342537    break;
    25352538
    25362539  case 29:
    2537 #line 486 "grammar.y"
     2540#line 487 "grammar.y"
    25382541    {
    25392542            if(iiAssign(&(yyvsp[(1) - (2)].lv),&(yyvsp[(2) - (2)].lv))) YYERROR;
     
    25422545
    25432546  case 30:
    2544 #line 493 "grammar.y"
     2547#line 494 "grammar.y"
    25452548    {
    25462549            if (currRing==NULL) MYYERROR("no ring active");
     
    25502553
    25512554  case 31:
    2552 #line 498 "grammar.y"
     2555#line 499 "grammar.y"
    25532556    {
    25542557            syMake(&(yyval.lv),(yyvsp[(1) - (1)].name));
     
    25572560
    25582561  case 32:
    2559 #line 502 "grammar.y"
     2562#line 503 "grammar.y"
    25602563    {
    25612564            if(iiExprArith2(&(yyval.lv), &(yyvsp[(1) - (3)].lv), COLONCOLON, &(yyvsp[(3) - (3)].lv))) YYERROR;
     
    25642567
    25652568  case 33:
    2566 #line 506 "grammar.y"
     2569#line 507 "grammar.y"
     2570    {
     2571            if(iiExprArith2(&(yyval.lv), &(yyvsp[(1) - (3)].lv), '.', &(yyvsp[(3) - (3)].lv))) YYERROR;
     2572          ;}
     2573    break;
     2574
     2575  case 34:
     2576#line 511 "grammar.y"
    25672577    {
    25682578            if(iiExprArith1(&(yyval.lv),&(yyvsp[(1) - (3)].lv),'(')) YYERROR;
     
    25702580    break;
    25712581
    2572   case 34:
    2573 #line 510 "grammar.y"
     2582  case 35:
     2583#line 515 "grammar.y"
    25742584    {
    25752585            if ((yyvsp[(1) - (4)].lv).rtyp==UNKNOWN)
     
    25862596    break;
    25872597
    2588   case 35:
    2589 #line 523 "grammar.y"
     2598  case 36:
     2599#line 528 "grammar.y"
    25902600    {
    25912601            if (currRingHdl==NULL) MYYERROR("no ring active");
     
    26172627    break;
    26182628
    2619   case 36:
    2620 #line 551 "grammar.y"
     2629  case 37:
     2630#line 556 "grammar.y"
    26212631    {
    26222632            memset(&(yyval.lv),0,sizeof((yyval.lv)));
     
    26442654    break;
    26452655
    2646   case 37:
    2647 #line 575 "grammar.y"
     2656  case 38:
     2657#line 580 "grammar.y"
    26482658    {
    26492659            memset(&(yyval.lv),0,sizeof((yyval.lv)));
     
    26532663    break;
    26542664
    2655   case 38:
    2656 #line 581 "grammar.y"
     2665  case 39:
     2666#line 586 "grammar.y"
    26572667    {
    26582668            memset(&(yyval.lv),0,sizeof((yyval.lv)));
     
    26622672    break;
    26632673
    2664   case 39:
    2665 #line 587 "grammar.y"
     2674  case 40:
     2675#line 592 "grammar.y"
    26662676    {
    26672677            if(iiExprArith1(&(yyval.lv),&(yyvsp[(3) - (4)].lv),(yyvsp[(1) - (4)].i))) YYERROR;
     
    26692679    break;
    26702680
    2671   case 40:
    2672 #line 594 "grammar.y"
     2681  case 41:
     2682#line 599 "grammar.y"
    26732683    {
    26742684            leftv v = &(yyvsp[(1) - (3)].lv);
     
    26832693    break;
    26842694
    2685   case 41:
    2686 #line 605 "grammar.y"
     2695  case 42:
     2696#line 610 "grammar.y"
    26872697    {
    26882698            (yyval.lv) = (yyvsp[(1) - (1)].lv);
     
    26902700    break;
    26912701
    2692   case 42:
    2693 #line 611 "grammar.y"
     2702  case 43:
     2703#line 616 "grammar.y"
    26942704    {
    26952705            /*if ($1.typ == eunknown) YYERROR;*/
     
    26982708    break;
    26992709
    2700   case 43:
    2701 #line 615 "grammar.y"
     2710  case 44:
     2711#line 620 "grammar.y"
    27022712    { (yyval.lv) = (yyvsp[(1) - (1)].lv); ;}
    27032713    break;
    27042714
    2705   case 44:
    2706 #line 616 "grammar.y"
     2715  case 45:
     2716#line 621 "grammar.y"
    27072717    { (yyval.lv) = (yyvsp[(2) - (3)].lv); ;}
    27082718    break;
    27092719
    2710   case 45:
    2711 #line 618 "grammar.y"
     2720  case 46:
     2721#line 623 "grammar.y"
    27122722    {
    27132723            if(iiExprArith3(&(yyval.lv),'[',&(yyvsp[(1) - (6)].lv),&(yyvsp[(3) - (6)].lv),&(yyvsp[(5) - (6)].lv))) YYERROR;
     
    27152725    break;
    27162726
    2717   case 46:
    2718 #line 622 "grammar.y"
     2727  case 47:
     2728#line 627 "grammar.y"
    27192729    {
    27202730            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (4)].lv),'[',&(yyvsp[(3) - (4)].lv))) YYERROR;
     
    27222732    break;
    27232733
    2724   case 47:
    2725 #line 626 "grammar.y"
     2734  case 48:
     2735#line 631 "grammar.y"
    27262736    {
    27272737            if(iiExprArith1(&(yyval.lv),&(yyvsp[(3) - (4)].lv),(yyvsp[(1) - (4)].i))) YYERROR;
     
    27292739    break;
    27302740
    2731   case 48:
    2732 #line 630 "grammar.y"
     2741  case 49:
     2742#line 635 "grammar.y"
    27332743    {
    27342744            if(iiExprArithM(&(yyval.lv),&(yyvsp[(3) - (4)].lv),(yyvsp[(1) - (4)].i))) YYERROR;
     
    27362746    break;
    27372747
    2738   case 49:
    2739 #line 634 "grammar.y"
     2748  case 50:
     2749#line 639 "grammar.y"
    27402750    {
    27412751            if(iiExprArithM(&(yyval.lv),NULL,(yyvsp[(1) - (3)].i))) YYERROR;
     
    27432753    break;
    27442754
    2745   case 50:
    2746 #line 638 "grammar.y"
     2755  case 51:
     2756#line 643 "grammar.y"
    27472757    {
    27482758            if(iiExprArith1(&(yyval.lv),&(yyvsp[(3) - (4)].lv),(yyvsp[(1) - (4)].i))) YYERROR;
     
    27502760    break;
    27512761
    2752   case 51:
    2753 #line 642 "grammar.y"
     2762  case 52:
     2763#line 647 "grammar.y"
    27542764    {
    27552765            if(iiExprArithM(&(yyval.lv),&(yyvsp[(3) - (4)].lv),(yyvsp[(1) - (4)].i))) YYERROR;
     
    27572767    break;
    27582768
    2759   case 52:
    2760 #line 646 "grammar.y"
     2769  case 53:
     2770#line 651 "grammar.y"
    27612771    {
    27622772            if(iiExprArithM(&(yyval.lv),NULL,(yyvsp[(1) - (3)].i))) YYERROR;
     
    27642774    break;
    27652775
    2766   case 53:
    2767 #line 650 "grammar.y"
     2776  case 54:
     2777#line 655 "grammar.y"
    27682778    {
    27692779            if(iiExprArith1(&(yyval.lv),&(yyvsp[(3) - (4)].lv),(yyvsp[(1) - (4)].i))) YYERROR;
     
    27712781    break;
    27722782
    2773   case 54:
    2774 #line 654 "grammar.y"
     2783  case 55:
     2784#line 659 "grammar.y"
    27752785    {
    27762786            if(iiExprArith2(&(yyval.lv),&(yyvsp[(3) - (6)].lv),(yyvsp[(1) - (6)].i),&(yyvsp[(5) - (6)].lv),TRUE)) YYERROR;
     
    27782788    break;
    27792789
    2780   case 55:
    2781 #line 658 "grammar.y"
     2790  case 56:
     2791#line 663 "grammar.y"
    27822792    {
    27832793            if(iiExprArith3(&(yyval.lv),(yyvsp[(1) - (8)].i),&(yyvsp[(3) - (8)].lv),&(yyvsp[(5) - (8)].lv),&(yyvsp[(7) - (8)].lv))) YYERROR;
     
    27852795    break;
    27862796
    2787   case 56:
    2788 #line 662 "grammar.y"
     2797  case 57:
     2798#line 667 "grammar.y"
    27892799    {
    27902800            if(iiExprArith2(&(yyval.lv),&(yyvsp[(3) - (6)].lv),(yyvsp[(1) - (6)].i),&(yyvsp[(5) - (6)].lv),TRUE)) YYERROR;
     
    27922802    break;
    27932803
    2794   case 57:
    2795 #line 666 "grammar.y"
     2804  case 58:
     2805#line 671 "grammar.y"
    27962806    {
    27972807            if(iiExprArith3(&(yyval.lv),(yyvsp[(1) - (8)].i),&(yyvsp[(3) - (8)].lv),&(yyvsp[(5) - (8)].lv),&(yyvsp[(7) - (8)].lv))) YYERROR;
     
    27992809    break;
    28002810
    2801   case 58:
    2802 #line 670 "grammar.y"
     2811  case 59:
     2812#line 675 "grammar.y"
    28032813    {
    28042814            if(iiExprArith1(&(yyval.lv),&(yyvsp[(3) - (4)].lv),(yyvsp[(1) - (4)].i))) YYERROR;
     
    28062816    break;
    28072817
    2808   case 59:
    2809 #line 674 "grammar.y"
     2818  case 60:
     2819#line 679 "grammar.y"
    28102820    {
    28112821            if(iiExprArith1(&(yyval.lv),&(yyvsp[(3) - (4)].lv),(yyvsp[(1) - (4)].i))) YYERROR;
     
    28132823    break;
    28142824
    2815   case 60:
    2816 #line 678 "grammar.y"
     2825  case 61:
     2826#line 683 "grammar.y"
    28172827    {
    28182828            if(iiExprArith2(&(yyval.lv),&(yyvsp[(3) - (6)].lv),(yyvsp[(1) - (6)].i),&(yyvsp[(5) - (6)].lv),TRUE)) YYERROR;
     
    28202830    break;
    28212831
    2822   case 61:
    2823 #line 682 "grammar.y"
     2832  case 62:
     2833#line 687 "grammar.y"
    28242834    {
    28252835            if(iiExprArith1(&(yyval.lv),&(yyvsp[(3) - (4)].lv),(yyvsp[(1) - (4)].i))) YYERROR;
     
    28272837    break;
    28282838
    2829   case 62:
    2830 #line 686 "grammar.y"
     2839  case 63:
     2840#line 691 "grammar.y"
    28312841    {
    28322842            if(iiExprArith2(&(yyval.lv),&(yyvsp[(3) - (6)].lv),(yyvsp[(1) - (6)].i),&(yyvsp[(5) - (6)].lv),TRUE)) YYERROR;
     
    28342844    break;
    28352845
    2836   case 63:
    2837 #line 690 "grammar.y"
     2846  case 64:
     2847#line 695 "grammar.y"
    28382848    {
    28392849            if(iiExprArith3(&(yyval.lv),(yyvsp[(1) - (8)].i),&(yyvsp[(3) - (8)].lv),&(yyvsp[(5) - (8)].lv),&(yyvsp[(7) - (8)].lv))) YYERROR;
     
    28412851    break;
    28422852
    2843   case 64:
    2844 #line 694 "grammar.y"
     2853  case 65:
     2854#line 699 "grammar.y"
    28452855    {
    28462856            if(iiExprArith3(&(yyval.lv),(yyvsp[(1) - (8)].i),&(yyvsp[(3) - (8)].lv),&(yyvsp[(5) - (8)].lv),&(yyvsp[(7) - (8)].lv))) YYERROR;
     
    28482858    break;
    28492859
    2850   case 65:
    2851 #line 698 "grammar.y"
     2860  case 66:
     2861#line 703 "grammar.y"
    28522862    {
    28532863            if(iiExprArithM(&(yyval.lv),NULL,(yyvsp[(1) - (3)].i))) YYERROR;
     
    28552865    break;
    28562866
    2857   case 66:
    2858 #line 702 "grammar.y"
     2867  case 67:
     2868#line 707 "grammar.y"
    28592869    {
    28602870            if(iiExprArithM(&(yyval.lv),&(yyvsp[(3) - (4)].lv),(yyvsp[(1) - (4)].i))) YYERROR;
     
    28622872    break;
    28632873
    2864   case 67:
    2865 #line 706 "grammar.y"
     2874  case 68:
     2875#line 711 "grammar.y"
    28662876    {
    28672877            if(iiExprArith3(&(yyval.lv),MATRIX_CMD,&(yyvsp[(3) - (8)].lv),&(yyvsp[(5) - (8)].lv),&(yyvsp[(7) - (8)].lv))) YYERROR;
     
    28692879    break;
    28702880
    2871   case 68:
    2872 #line 710 "grammar.y"
     2881  case 69:
     2882#line 715 "grammar.y"
    28732883    {
    28742884            if(iiExprArith1(&(yyval.lv),&(yyvsp[(3) - (4)].lv),MATRIX_CMD)) YYERROR;
     
    28762886    break;
    28772887
    2878   case 69:
    2879 #line 714 "grammar.y"
     2888  case 70:
     2889#line 719 "grammar.y"
    28802890    {
    28812891            if(iiExprArith3(&(yyval.lv),INTMAT_CMD,&(yyvsp[(3) - (8)].lv),&(yyvsp[(5) - (8)].lv),&(yyvsp[(7) - (8)].lv))) YYERROR;
     
    28832893    break;
    28842894
    2885   case 70:
    2886 #line 718 "grammar.y"
     2895  case 71:
     2896#line 723 "grammar.y"
    28872897    {
    28882898            if(iiExprArith1(&(yyval.lv),&(yyvsp[(3) - (4)].lv),INTMAT_CMD)) YYERROR;
     
    28902900    break;
    28912901
    2892   case 71:
    2893 #line 722 "grammar.y"
     2902  case 72:
     2903#line 727 "grammar.y"
    28942904    {
    28952905            if(iiExprArith3(&(yyval.lv),RING_CMD,&(yyvsp[(3) - (8)].lv),&(yyvsp[(5) - (8)].lv),&(yyvsp[(7) - (8)].lv))) YYERROR;
     
    28972907    break;
    28982908
    2899   case 72:
    2900 #line 726 "grammar.y"
     2909  case 73:
     2910#line 731 "grammar.y"
    29012911    {
    29022912            if(iiExprArith1(&(yyval.lv),&(yyvsp[(3) - (4)].lv),RING_CMD)) YYERROR;
     
    29042914    break;
    29052915
    2906   case 73:
    2907 #line 730 "grammar.y"
     2916  case 74:
     2917#line 735 "grammar.y"
    29082918    {
    29092919            (yyval.lv)=(yyvsp[(2) - (3)].lv);
     
    29112921    break;
    29122922
    2913   case 74:
    2914 #line 734 "grammar.y"
     2923  case 75:
     2924#line 739 "grammar.y"
    29152925    {
    29162926            #ifdef SIQ
     
    29312941    break;
    29322942
    2933   case 75:
    2934 #line 751 "grammar.y"
     2943  case 76:
     2944#line 756 "grammar.y"
    29352945    {
    29362946            #ifdef SIQ
     
    29402950    break;
    29412951
    2942   case 76:
    2943 #line 757 "grammar.y"
     2952  case 77:
     2953#line 762 "grammar.y"
    29442954    {
    29452955            #ifdef SIQ
     
    29532963    break;
    29542964
    2955   case 77:
    2956 #line 769 "grammar.y"
     2965  case 78:
     2966#line 774 "grammar.y"
    29572967    {
    29582968            #ifdef SIQ
     
    29622972    break;
    29632973
    2964   case 78:
    2965 #line 777 "grammar.y"
     2974  case 79:
     2975#line 782 "grammar.y"
    29662976    {
    29672977            #ifdef SIQ
     
    29712981    break;
    29722982
    2973   case 79:
    2974 #line 786 "grammar.y"
     2983  case 80:
     2984#line 791 "grammar.y"
    29752985    {
    29762986            if(iiExprArith1(&(yyval.lv),&(yyvsp[(1) - (2)].lv),PLUSPLUS)) YYERROR;
     
    29782988    break;
    29792989
    2980   case 80:
    2981 #line 790 "grammar.y"
     2990  case 81:
     2991#line 795 "grammar.y"
    29822992    {
    29832993            if(iiExprArith1(&(yyval.lv),&(yyvsp[(1) - (2)].lv),MINUSMINUS)) YYERROR;
     
    29852995    break;
    29862996
    2987   case 81:
    2988 #line 794 "grammar.y"
     2997  case 82:
     2998#line 799 "grammar.y"
    29892999    {
    29903000            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (3)].lv),'+',&(yyvsp[(3) - (3)].lv))) YYERROR;
     
    29923002    break;
    29933003
    2994   case 82:
    2995 #line 798 "grammar.y"
     3004  case 83:
     3005#line 803 "grammar.y"
    29963006    {
    29973007            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (3)].lv),'-',&(yyvsp[(3) - (3)].lv))) YYERROR;
     
    29993009    break;
    30003010
    3001   case 83:
    3002 #line 802 "grammar.y"
     3011  case 84:
     3012#line 807 "grammar.y"
    30033013    {
    30043014            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (3)].lv),(yyvsp[(2) - (3)].i),&(yyvsp[(3) - (3)].lv))) YYERROR;
     
    30063016    break;
    30073017
    3008   case 84:
    3009 #line 806 "grammar.y"
     3018  case 85:
     3019#line 811 "grammar.y"
    30103020    {
    30113021            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (3)].lv),'^',&(yyvsp[(3) - (3)].lv))) YYERROR;
     
    30133023    break;
    30143024
    3015   case 85:
    3016 #line 810 "grammar.y"
     3025  case 86:
     3026#line 815 "grammar.y"
    30173027    {
    30183028            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (3)].lv),(yyvsp[(2) - (3)].i),&(yyvsp[(3) - (3)].lv))) YYERROR;
     
    30203030    break;
    30213031
    3022   case 86:
    3023 #line 814 "grammar.y"
     3032  case 87:
     3033#line 819 "grammar.y"
    30243034    {
    30253035            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (3)].lv),(yyvsp[(2) - (3)].i),&(yyvsp[(3) - (3)].lv))) YYERROR;
     
    30273037    break;
    30283038
    3029   case 87:
    3030 #line 818 "grammar.y"
     3039  case 88:
     3040#line 823 "grammar.y"
    30313041    {
    30323042            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (3)].lv),NOTEQUAL,&(yyvsp[(3) - (3)].lv))) YYERROR;
     
    30343044    break;
    30353045
    3036   case 88:
    3037 #line 822 "grammar.y"
     3046  case 89:
     3047#line 827 "grammar.y"
    30383048    {
    30393049            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (3)].lv),EQUAL_EQUAL,&(yyvsp[(3) - (3)].lv))) YYERROR;
     
    30413051    break;
    30423052
    3043   case 89:
    3044 #line 826 "grammar.y"
     3053  case 90:
     3054#line 831 "grammar.y"
    30453055    {
    30463056            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (3)].lv),DOTDOT,&(yyvsp[(3) - (3)].lv))) YYERROR;
     
    30483058    break;
    30493059
    3050   case 90:
    3051 #line 830 "grammar.y"
     3060  case 91:
     3061#line 835 "grammar.y"
    30523062    {
    30533063            if(iiExprArith2(&(yyval.lv),&(yyvsp[(1) - (3)].lv),':',&(yyvsp[(3) - (3)].lv))) YYERROR;
     
    30553065    break;
    30563066
    3057   case 91:
    3058 #line 834 "grammar.y"
     3067  case 92:
     3068#line 839 "grammar.y"
    30593069    {
    30603070            memset(&(yyval.lv),0,sizeof((yyval.lv)));
     
    30653075    break;
    30663076
    3067   case 92:
    3068 #line 841 "grammar.y"
     3077  case 93:
     3078#line 846 "grammar.y"
    30693079    {
    30703080            if(iiExprArith1(&(yyval.lv),&(yyvsp[(2) - (2)].lv),'-')) YYERROR;
     
    30723082    break;
    30733083
    3074   case 93:
    3075 #line 847 "grammar.y"
     3084  case 94:
     3085#line 852 "grammar.y"
    30763086    { (yyval.lv) = (yyvsp[(1) - (2)].lv); ;}
    30773087    break;
    30783088
    3079   case 94:
    3080 #line 849 "grammar.y"
     3089  case 95:
     3090#line 854 "grammar.y"
    30813091    {
    30823092            if ((yyvsp[(1) - (2)].lv).rtyp==0)
     
    30953105    break;
    30963106
    3097   case 96:
    3098 #line 869 "grammar.y"
     3107  case 97:
     3108#line 874 "grammar.y"
    30993109    {
    31003110            if ((yyvsp[(2) - (3)].lv).Typ()!=STRING_CMD)
     
    31073117    break;
    31083118
    3109   case 99:
    3110 #line 886 "grammar.y"
     3119  case 100:
     3120#line 891 "grammar.y"
    31113121    {
    31123122            if (iiDeclCommand(&(yyval.lv),&(yyvsp[(2) - (2)].lv),myynest,(yyvsp[(1) - (2)].i),&((yyvsp[(2) - (2)].lv).req_packhdl->idroot)))
     
    31153125    break;
    31163126
    3117   case 100:
    3118 #line 891 "grammar.y"
     3127  case 101:
     3128#line 896 "grammar.y"
    31193129    {
    31203130            if (iiDeclCommand(&(yyval.lv),&(yyvsp[(2) - (2)].lv),myynest,(yyvsp[(1) - (2)].i),&((yyvsp[(2) - (2)].lv).req_packhdl->idroot)))
     
    31233133    break;
    31243134
    3125   case 101:
    3126 #line 896 "grammar.y"
     3135  case 102:
     3136#line 901 "grammar.y"
    31273137    {
    31283138            if (iiDeclCommand(&(yyval.lv),&(yyvsp[(2) - (2)].lv),myynest,(yyvsp[(1) - (2)].i),&(currRing->idroot), TRUE)) YYERROR;
     
    31303140    break;
    31313141
    3132   case 102:
    3133 #line 900 "grammar.y"
     3142  case 103:
     3143#line 905 "grammar.y"
    31343144    {
    31353145            if (iiDeclCommand(&(yyval.lv),&(yyvsp[(2) - (2)].lv),myynest,(yyvsp[(1) - (2)].i),&(currRing->idroot), TRUE)) YYERROR;
     
    31373147    break;
    31383148
    3139   case 103:
    3140 #line 904 "grammar.y"
     3149  case 104:
     3150#line 909 "grammar.y"
    31413151    {
    31423152            if (iiDeclCommand(&(yyval.lv),&(yyvsp[(2) - (8)].lv),myynest,(yyvsp[(1) - (8)].i),&(currRing->idroot), TRUE)) YYERROR;
     
    31563166    break;
    31573167
    3158   case 104:
    3159 #line 920 "grammar.y"
     3168  case 105:
     3169#line 925 "grammar.y"
    31603170    {
    31613171            if (iiDeclCommand(&(yyval.lv),&(yyvsp[(2) - (2)].lv),myynest,(yyvsp[(1) - (2)].i),&(currRing->idroot), TRUE)) YYERROR;
     
    31633173    break;
    31643174
    3165   case 105:
    3166 #line 924 "grammar.y"
     3175  case 106:
     3176#line 929 "grammar.y"
    31673177    {
    31683178            int r; TESTSETINT((yyvsp[(4) - (8)].lv),r);
     
    31823192    break;
    31833193
    3184   case 106:
    3185 #line 940 "grammar.y"
     3194  case 107:
     3195#line 945 "grammar.y"
    31863196    {
    31873197            if (iiDeclCommand(&(yyval.lv),&(yyvsp[(2) - (2)].lv),myynest,(yyvsp[(1) - (2)].i),&((yyvsp[(2) - (2)].lv).req_packhdl->idroot)))
     
    31993209    break;
    32003210
    3201   case 107:
    3202 #line 954 "grammar.y"
     3211  case 108:
     3212#line 959 "grammar.y"
    32033213    {
    32043214            int t=(yyvsp[(1) - (3)].lv).Typ();
     
    32233233    break;
    32243234
    3225   case 108:
    3226 #line 975 "grammar.y"
     3235  case 109:
     3236#line 980 "grammar.y"
    32273237    {
    32283238            if (iiDeclCommand(&(yyval.lv),&(yyvsp[(2) - (2)].lv),myynest,(yyvsp[(1) - (2)].i),&((yyvsp[(2) - (2)].lv).req_packhdl->idroot)))
     
    32313241    break;
    32323242
    3233   case 111:
    3234 #line 988 "grammar.y"
     3243  case 112:
     3244#line 993 "grammar.y"
    32353245    {
    32363246            leftv v = &(yyvsp[(2) - (5)].lv);
     
    32453255    break;
    32463256
    3247   case 112:
    3248 #line 1002 "grammar.y"
     3257  case 113:
     3258#line 1007 "grammar.y"
    32493259    {
    32503260          // let rInit take care of any errors
     
    32533263    break;
    32543264
    3255   case 113:
    3256 #line 1010 "grammar.y"
     3265  case 114:
     3266#line 1015 "grammar.y"
    32573267    {
    32583268            memset(&(yyval.lv),0,sizeof((yyval.lv)));
     
    32653275    break;
    32663276
    3267   case 114:
    3268 #line 1019 "grammar.y"
     3277  case 115:
     3278#line 1024 "grammar.y"
    32693279    {
    32703280            memset(&(yyval.lv),0,sizeof((yyval.lv)));
     
    33103320    break;
    33113321
    3312   case 116:
    3313 #line 1065 "grammar.y"
     3322  case 117:
     3323#line 1070 "grammar.y"
    33143324    {
    33153325            (yyval.lv) = (yyvsp[(1) - (3)].lv);
     
    33193329    break;
    33203330
    3321   case 118:
    3322 #line 1075 "grammar.y"
     3331  case 119:
     3332#line 1080 "grammar.y"
    33233333    {
    33243334            (yyval.lv) = (yyvsp[(2) - (3)].lv);
     
    33263336    break;
    33273337
    3328   case 119:
    3329 #line 1081 "grammar.y"
     3338  case 120:
     3339#line 1086 "grammar.y"
    33303340    {
    33313341            expected_parms = TRUE;
     
    33333343    break;
    33343344
    3335   case 120:
    3336 #line 1093 "grammar.y"
     3345  case 121:
     3346#line 1098 "grammar.y"
    33373347    { if ((yyvsp[(1) - (2)].i) != '<') YYERROR;
    33383348            if((feFilePending=feFopen((yyvsp[(2) - (2)].name),"r",NULL,TRUE))==NULL) YYERROR; ;}
    33393349    break;
    33403350
    3341   case 121:
    3342 #line 1096 "grammar.y"
    3343     { newFile((yyvsp[(2) - (4)].name),feFilePending); ;}
    3344     break;
    3345 
    33463351  case 122:
    33473352#line 1101 "grammar.y"
     3353    { newFile((yyvsp[(2) - (4)].name),feFilePending); ;}
     3354    break;
     3355
     3356  case 123:
     3357#line 1106 "grammar.y"
    33483358    {
    33493359            feHelp((yyvsp[(2) - (3)].name));
     
    33523362    break;
    33533363
    3354   case 123:
    3355 #line 1106 "grammar.y"
     3364  case 124:
     3365#line 1111 "grammar.y"
    33563366    {
    33573367            feHelp(NULL);
     
    33593369    break;
    33603370
    3361   case 124:
    3362 #line 1113 "grammar.y"
     3371  case 125:
     3372#line 1118 "grammar.y"
    33633373    {
    33643374            singular_example((yyvsp[(2) - (3)].name));
     
    33673377    break;
    33683378
    3369   case 125:
    3370 #line 1121 "grammar.y"
     3379  case 126:
     3380#line 1126 "grammar.y"
    33713381    {
    33723382          if (basePack!=(yyvsp[(2) - (2)].lv).req_packhdl)
     
    33793389    break;
    33803390
    3381   case 126:
    3382 #line 1133 "grammar.y"
     3391  case 127:
     3392#line 1138 "grammar.y"
    33833393    {
    33843394          leftv v=&(yyvsp[(2) - (2)].lv);
     
    33983408    break;
    33993409
    3400   case 127:
    3401 #line 1149 "grammar.y"
     3410  case 128:
     3411#line 1154 "grammar.y"
    34023412    {
    34033413          leftv v=&(yyvsp[(3) - (3)].lv);
     
    34173427    break;
    34183428
    3419   case 128:
    3420 #line 1168 "grammar.y"
     3429  case 129:
     3430#line 1173 "grammar.y"
    34213431    {
    34223432            list_cmd((yyvsp[(3) - (4)].i),NULL,"// ",TRUE);
     
    34243434    break;
    34253435
    3426   case 129:
    3427 #line 1172 "grammar.y"
     3436  case 130:
     3437#line 1177 "grammar.y"
    34283438    {
    34293439            list_cmd((yyvsp[(3) - (4)].i),NULL,"// ",TRUE);
     
    34313441    break;
    34323442
    3433   case 130:
    3434 #line 1176 "grammar.y"
     3443  case 131:
     3444#line 1181 "grammar.y"
    34353445    {
    34363446            if ((yyvsp[(3) - (4)].i)==QRING_CMD) (yyvsp[(3) - (4)].i)=RING_CMD;
     
    34393449    break;
    34403450
    3441   case 131:
    3442 #line 1181 "grammar.y"
     3451  case 132:
     3452#line 1186 "grammar.y"
    34433453    {
    34443454            list_cmd((yyvsp[(3) - (4)].i),NULL,"// ",TRUE);
     
    34463456    break;
    34473457
    3448   case 132:
    3449 #line 1185 "grammar.y"
     3458  case 133:
     3459#line 1190 "grammar.y"
    34503460    {
    34513461            list_cmd(RING_CMD,NULL,"// ",TRUE);
     
    34533463    break;
    34543464
    3455   case 133:
    3456 #line 1189 "grammar.y"
     3465  case 134:
     3466#line 1194 "grammar.y"
    34573467    {
    34583468            list_cmd(MATRIX_CMD,NULL,"// ",TRUE);
     
    34603470    break;
    34613471
    3462   case 134:
    3463 #line 1193 "grammar.y"
     3472  case 135:
     3473#line 1198 "grammar.y"
    34643474    {
    34653475            list_cmd(INTMAT_CMD,NULL,"// ",TRUE);
     
    34673477    break;
    34683478
    3469   case 135:
    3470 #line 1197 "grammar.y"
     3479  case 136:
     3480#line 1202 "grammar.y"
    34713481    {
    34723482            list_cmd(PROC_CMD,NULL,"// ",TRUE);
     
    34743484    break;
    34753485
    3476   case 136:
    3477 #line 1201 "grammar.y"
     3486  case 137:
     3487#line 1206 "grammar.y"
    34783488    {
    34793489            list_cmd(0,(yyvsp[(3) - (4)].lv).Fullname(),"// ",TRUE);
     
    34823492    break;
    34833493
    3484   case 137:
    3485 #line 1206 "grammar.y"
     3494  case 138:
     3495#line 1211 "grammar.y"
    34863496    {
    34873497            if((yyvsp[(3) - (6)].lv).Typ() == PACKAGE_CMD)
     
    34913501    break;
    34923502
    3493   case 138:
    3494 #line 1212 "grammar.y"
     3503  case 139:
     3504#line 1217 "grammar.y"
    34953505    {
    34963506            if((yyvsp[(3) - (6)].lv).Typ() == PACKAGE_CMD)
     
    35003510    break;
    35013511
    3502   case 139:
    3503 #line 1218 "grammar.y"
     3512  case 140:
     3513#line 1223 "grammar.y"
    35043514    {
    35053515            if((yyvsp[(3) - (6)].lv).Typ() == PACKAGE_CMD)
     
    35093519    break;
    35103520
    3511   case 140:
    3512 #line 1224 "grammar.y"
     3521  case 141:
     3522#line 1229 "grammar.y"
    35133523    {
    35143524            if((yyvsp[(3) - (6)].lv).Typ() == PACKAGE_CMD)
     
    35183528    break;
    35193529
    3520   case 141:
    3521 #line 1230 "grammar.y"
     3530  case 142:
     3531#line 1235 "grammar.y"
    35223532    {
    35233533            if((yyvsp[(3) - (6)].lv).Typ() == PACKAGE_CMD)
     
    35273537    break;
    35283538
    3529   case 142:
    3530 #line 1236 "grammar.y"
     3539  case 143:
     3540#line 1241 "grammar.y"
    35313541    {
    35323542            if((yyvsp[(3) - (6)].lv).Typ() == PACKAGE_CMD)
     
    35363546    break;
    35373547
    3538   case 143:
    3539 #line 1242 "grammar.y"
     3548  case 144:
     3549#line 1247 "grammar.y"
    35403550    {
    35413551            if((yyvsp[(3) - (6)].lv).Typ() == PACKAGE_CMD)
     
    35453555    break;
    35463556
    3547   case 144:
    3548 #line 1248 "grammar.y"
     3557  case 145:
     3558#line 1253 "grammar.y"
    35493559    {
    35503560            if((yyvsp[(3) - (6)].lv).Typ() == PACKAGE_CMD)
     
    35543564    break;
    35553565
    3556   case 145:
    3557 #line 1260 "grammar.y"
     3566  case 146:
     3567#line 1265 "grammar.y"
    35583568    {
    35593569            list_cmd(-1,NULL,"// ",TRUE);
     
    35613571    break;
    35623572
    3563   case 146:
    3564 #line 1266 "grammar.y"
     3573  case 147:
     3574#line 1271 "grammar.y"
    35653575    { yyInRingConstruction = TRUE; ;}
    35663576    break;
    35673577
    3568   case 147:
    3569 #line 1275 "grammar.y"
     3578  case 148:
     3579#line 1280 "grammar.y"
    35703580    {
    35713581            const char *ring_name = (yyvsp[(2) - (8)].lv).name;
     
    36033613    break;
    36043614
    3605   case 148:
    3606 #line 1309 "grammar.y"
     3615  case 149:
     3616#line 1314 "grammar.y"
    36073617    {
    36083618            const char *ring_name = (yyvsp[(2) - (2)].lv).name;
     
    36133623    break;
    36143624
    3615   case 149:
    3616 #line 1319 "grammar.y"
     3625  case 150:
     3626#line 1324 "grammar.y"
    36173627    {
    36183628            if (((yyvsp[(1) - (2)].i)!=LIB_CMD)||(iiLibCmd((yyvsp[(2) - (2)].name),TRUE,TRUE,TRUE)))
     
    36273637    break;
    36283638
    3629   case 152:
    3630 #line 1335 "grammar.y"
     3639  case 153:
     3640#line 1340 "grammar.y"
    36313641    {
    36323642            if (((yyvsp[(1) - (2)].i)==KEEPRING_CMD) && (myynest==0))
     
    36993709    break;
    37003710
    3701   case 153:
    3702 #line 1407 "grammar.y"
     3711  case 154:
     3712#line 1412 "grammar.y"
    37033713    {
    37043714            if ((yyvsp[(2) - (2)].lv).rtyp!=IDHDL) MYYERROR("identifier expected");
     
    37083718    break;
    37093719
    3710   case 154:
    3711 #line 1413 "grammar.y"
     3720  case 155:
     3721#line 1418 "grammar.y"
    37123722    {
    37133723            //Print("typ is %d, rtyp:%d\n",$1.Typ(),$1.rtyp);
     
    37343744    break;
    37353745
    3736   case 155:
    3737 #line 1442 "grammar.y"
     3746  case 156:
     3747#line 1447 "grammar.y"
    37383748    {
    37393749            int i; TESTSETINT((yyvsp[(3) - (5)].lv),i);
     
    37503760    break;
    37513761
    3752   case 156:
    3753 #line 1455 "grammar.y"
     3762  case 157:
     3763#line 1460 "grammar.y"
    37543764    {
    37553765            if (currentVoice->ifsw==1)
     
    37703780    break;
    37713781
    3772   case 157:
    3773 #line 1472 "grammar.y"
     3782  case 158:
     3783#line 1477 "grammar.y"
    37743784    {
    37753785            int i; TESTSETINT((yyvsp[(3) - (5)].lv),i);
     
    37823792    break;
    37833793
    3784   case 158:
    3785 #line 1481 "grammar.y"
     3794  case 159:
     3795#line 1486 "grammar.y"
    37863796    {
    37873797            if (exitBuffer(BT_break)) YYERROR;
     
    37903800    break;
    37913801
    3792   case 159:
    3793 #line 1486 "grammar.y"
     3802  case 160:
     3803#line 1491 "grammar.y"
    37943804    {
    37953805            if (contBuffer(BT_break)) YYERROR;
     
    37983808    break;
    37993809
    3800   case 160:
    3801 #line 1494 "grammar.y"
     3810  case 161:
     3811#line 1499 "grammar.y"
    38023812    {
    38033813            /* -> if(!$2) break; $3; continue;*/
     
    38103820    break;
    38113821
    3812   case 161:
    3813 #line 1506 "grammar.y"
     3822  case 162:
     3823#line 1511 "grammar.y"
    38143824    {
    38153825            /* $2 */
     
    38293839    break;
    38303840
    3831   case 162:
    3832 #line 1525 "grammar.y"
     3841  case 163:
     3842#line 1530 "grammar.y"
    38333843    {
    38343844            procinfov pi;
     
    38433853    break;
    38443854
    3845   case 163:
    3846 #line 1536 "grammar.y"
     3855  case 164:
     3856#line 1541 "grammar.y"
    38473857    {
    38483858            idhdl h = enterid((yyvsp[(1) - (3)].name),myynest,PROC_CMD,&IDROOT,TRUE);
     
    38663876    break;
    38673877
    3868   case 164:
    3869 #line 1556 "grammar.y"
     3878  case 165:
     3879#line 1561 "grammar.y"
    38703880    {
    38713881            omFree((ADDRESS)(yyvsp[(3) - (4)].name));
     
    38903900    break;
    38913901
    3892   case 165:
    3893 #line 1580 "grammar.y"
     3902  case 166:
     3903#line 1585 "grammar.y"
    38943904    {
    38953905            // decl. of type proc p(int i)
     
    38993909    break;
    39003910
    3901   case 166:
    3902 #line 1586 "grammar.y"
     3911  case 167:
     3912#line 1591 "grammar.y"
    39033913    {
    39043914            // decl. of type proc p(i)
     
    39113921    break;
    39123922
    3913   case 167:
    3914 #line 1598 "grammar.y"
     3923  case 168:
     3924#line 1603 "grammar.y"
    39153925    {
    39163926            if(iiRETURNEXPR==NULL) YYERROR;
     
    39213931    break;
    39223932
    3923   case 168:
    3924 #line 1605 "grammar.y"
     3933  case 169:
     3934#line 1610 "grammar.y"
    39253935    {
    39263936            if ((yyvsp[(1) - (3)].i)==RETURN)
     
    39363946
    39373947/* Line 1267 of yacc.c.  */
    3938 #line 3936 "grammar.cc"
     3948#line 3946 "grammar.cc"
    39393949      default: break;
    39403950    }
  • Singular/grammar.y

    ra563a0 r1cb879  
    353353%left PLUSPLUS MINUSMINUS
    354354%left COLONCOLON
     355%left '.'
    355356
    356357%%
     
    502503          {
    503504            if(iiExprArith2(&$$, &$1, COLONCOLON, &$3)) YYERROR;
     505          }
     506        | elemexpr '.' elemexpr
     507          {
     508            if(iiExprArith2(&$$, &$1, '.', &$3)) YYERROR;
    504509          }
    505510        | elemexpr '('  ')'
  • Singular/ipassign.cc

    ra563a0 r1cb879  
    770770  {
    771771    blackbox *bb=getBlackboxStuff(lt);
     772#ifdef BLACKBOX_DEVEL
    772773    Print("bb-assign: bb=%lx\n",bb);
     774#endif
    773775    return (bb==NULL) || bb->blackbox_Assign(l,r);
    774776  }
  • Singular/ipid.cc

    ra563a0 r1cb879  
    193193           if (t>MAX_TOK)
    194194           {
     195#ifdef BLACKBOX_DEVEL
    195196             Print("bb-type %d\n",t);
     197#endif
    196198             blackbox *bb=getBlackboxStuff(t);
    197199             if (bb!=NULL)
  • Singular/iplib.cc

    ra563a0 r1cb879  
    3232#define SI_MAX_NEST 1000
    3333#endif
     34
     35#if defined(ix86Mac_darwin) || defined(ppcMac_darwin)
     36#  define MODULE_SUFFIX bundle
     37#elif defined(ix86_Win)
     38#  define MODULE_SUFFIX dll
     39#else
     40#  define MODULE_SUFFIX so
     41#endif
     42
     43#define MODULE_SUFFIX_STRING EXPANDED_STRINGIFY(MODULE_SUFFIX)
     44
    3445
    3546#ifdef HAVE_DYNAMIC_LOADING
     
    10561067#endif /*STATIC */
    10571068}
     1069
     1070// loads a dynamic module from the binary path and returns a named function
     1071// returns NULL, if something fails
     1072void* binary_module_function(const char* newlib, const char* funcname)
     1073{
     1074  void* result = NULL;
     1075
     1076#ifdef HAVE_STATIC
     1077  WerrorS("static version can not load function from dynamic modules");
     1078#else
     1079  const char* bin_dir = feGetResource('b');
     1080  if (!bin_dir)  { return NULL; }
     1081 
     1082  char path_name[MAXPATHLEN];
     1083  sprintf(path_name, "%s%s%s.%s", bin_dir, DIR_SEPP, newlib, MODULE_SUFFIX_STRING);
     1084
     1085  void* openlib = dynl_open(path_name);
     1086  if(!openlib)
     1087  {
     1088    Werror("dynl_open of %s failed:%s", path_name, dynl_error());
     1089    return NULL;
     1090  }
     1091  result = dynl_sym(openlib, funcname);
     1092  if (!result) Werror("%s: %s\n", funcname, dynl_error());
     1093#endif
     1094
     1095  return result;
     1096}
     1097
    10581098#endif /* HAVE_DYNAMIC_LOADING */
    10591099
  • Singular/mod2.h.in

    ra563a0 r1cb879  
    160160/* CPU type: x86_64: */
    161161#undef SI_CPU_X86_64
     162/* whether development version of python is available */
     163#undef HAVE_PYTHON
    162164
    163165/*******************************************************************
     
    611613#endif
    612614
     615#define STRINGIFY(name) #name
     616#define EXPANDED_STRINGIFY(name) STRINGIFY(name)
     617
    613618#endif /* MOD2_H  */
  • Singular/silink.cc

    ra563a0 r1cb879  
    614614  if (type_id == QRING_CMD)
    615615    return DumpQring(fd, h, type_str);
     616
     617  // C-proc not to be dumped
     618  if ((type_id == PROC_CMD) && (IDPROC(h)->language == LANG_C))
     619    return FALSE;
    616620
    617621  // put type and name
  • Singular/tesths.cc

    ra563a0 r1cb879  
    3333#include <Singular/ssiLink.h>
    3434#include <Singular/bigintm.h>
     35#include <Singular/pyobject_setup.h>
     36
    3537
    3638#ifdef HAVE_FACTORY
     
    131133    //for official version: not active
    132134    //bigintm_setup();
     135    pyobject_setup();
    133136  }
    134137#endif
  • Tst/regress.cmd

    ra563a0 r1cb879  
    116116}
    117117# sed scripts which are applied to res files before they are diff'ed
    118 $sed_scripts = "-e '/used time:/d' -e '/tst_ignore:/d' -e '/Id:/d' -e '/error occurred in/d' -e '/tst_status/d' -e'/init >>/d' -e 's/\\[[0-9]*:[0-9]*\\]//g'";
     118$sed_scripts = "-e '/used time:/d' -e '/tst_ignore:/d' -e '/Id[:\$]/d' -e '/error occurred in/d' -e '/tst_status/d' -e'/init >>/d' -e 's/\\[[0-9]*:[0-9]*\\]//g'";
    119119# default value (in %) above which differences are reported on -r
    120120$report_val = 5;
Note: See TracChangeset for help on using the changeset viewer.