Changeset 0e002d in git


Ignore:
Timestamp:
Nov 19, 1999, 5:42:43 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
14886285e83e0dc2a6c001743a4256960d770b5d
Parents:
571625f3655da7276034893dfe074bab4dfa7900
Message:
* rAssure stuff


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

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r571625 r0e002d  
    22
    33# Guess values for system-dependent variables and create Makefiles.
    4 # Generated automatically using autoconf version 2.12
     4# Generated automatically using autoconf version 2.13
    55# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    66#
     
    8484subdirs=
    8585MFLAGS= MAKEFLAGS=
     86SHELL=${CONFIG_SHELL-/bin/sh}
    8687# Maximum number of lines to put in a shell here document.
    8788ac_max_here_lines=12
     
    367368
    368369  -version | --version | --versio | --versi | --vers)
    369     echo "configure generated by autoconf version 2.12"
     370    echo "configure generated by autoconf version 2.13"
    370371    exit 0 ;;
    371372
     
    537538ac_cpp='$CPP $CPPFLAGS'
    538539ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    539 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     540ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    540541cross_compiling=$ac_cv_prog_cc_cross
    541542
     543ac_exeext=
     544ac_objext=o
    542545if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
    543546  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
     
    557560
    558561echo $ac_n "checking uname for singular""... $ac_c" 1>&6
    559 echo "configure:560: checking uname for singular" >&5
     562echo "configure:563: checking uname for singular" >&5
    560563if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then
    561564  echo $ac_n "(cached) $ac_c" 1>&6
     
    645648set dummy gcc; ac_word=$2
    646649echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    647 echo "configure:648: checking for $ac_word" >&5
     650echo "configure:651: checking for $ac_word" >&5
    648651if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    649652  echo $ac_n "(cached) $ac_c" 1>&6
     
    652655  ac_cv_prog_CC="$CC" # Let the user override the test.
    653656else
    654   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    655   for ac_dir in $PATH; do
     657  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     658  ac_dummy="$PATH"
     659  for ac_dir in $ac_dummy; do
    656660    test -z "$ac_dir" && ac_dir=.
    657661    if test -f $ac_dir/$ac_word; then
     
    674678set dummy cc; ac_word=$2
    675679echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    676 echo "configure:677: checking for $ac_word" >&5
     680echo "configure:681: checking for $ac_word" >&5
    677681if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    678682  echo $ac_n "(cached) $ac_c" 1>&6
     
    681685  ac_cv_prog_CC="$CC" # Let the user override the test.
    682686else
    683   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
     687  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
    684688  ac_prog_rejected=no
    685   for ac_dir in $PATH; do
     689  ac_dummy="$PATH"
     690  for ac_dir in $ac_dummy; do
    686691    test -z "$ac_dir" && ac_dir=.
    687692    if test -f $ac_dir/$ac_word; then
     
    718723fi
    719724
     725  if test -z "$CC"; then
     726    case "`uname -s`" in
     727    *win32* | *WIN32*)
     728      # Extract the first word of "cl", so it can be a program name with args.
     729set dummy cl; ac_word=$2
     730echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     731echo "configure:732: checking for $ac_word" >&5
     732if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
     733  echo $ac_n "(cached) $ac_c" 1>&6
     734else
     735  if test -n "$CC"; then
     736  ac_cv_prog_CC="$CC" # Let the user override the test.
     737else
     738  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     739  ac_dummy="$PATH"
     740  for ac_dir in $ac_dummy; do
     741    test -z "$ac_dir" && ac_dir=.
     742    if test -f $ac_dir/$ac_word; then
     743      ac_cv_prog_CC="cl"
     744      break
     745    fi
     746  done
     747  IFS="$ac_save_ifs"
     748fi
     749fi
     750CC="$ac_cv_prog_CC"
     751if test -n "$CC"; then
     752  echo "$ac_t""$CC" 1>&6
     753else
     754  echo "$ac_t""no" 1>&6
     755fi
     756 ;;
     757    esac
     758  fi
    720759  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
    721760fi
    722761
    723762echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    724 echo "configure:725: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     763echo "configure:764: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
    725764
    726765ac_ext=c
     
    728767ac_cpp='$CPP $CPPFLAGS'
    729768ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    730 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     769ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    731770cross_compiling=$ac_cv_prog_cc_cross
    732771
    733 cat > conftest.$ac_ext <<EOF
    734 #line 735 "configure"
    735 #include "confdefs.h"
     772cat > conftest.$ac_ext << EOF
     773
     774#line 775 "configure"
     775#include "confdefs.h"
     776
    736777main(){return(0);}
    737778EOF
    738 if { (eval echo configure:739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     779if { (eval echo configure:780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    739780  ac_cv_prog_cc_works=yes
    740781  # If we can't run a trivial program, we are probably using a cross compiler.
     
    750791fi
    751792rm -fr conftest*
     793ac_ext=c
     794# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     795ac_cpp='$CPP $CPPFLAGS'
     796ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     797ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     798cross_compiling=$ac_cv_prog_cc_cross
    752799
    753800echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     
    756803fi
    757804echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    758 echo "configure:759: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     805echo "configure:806: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
    759806echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
    760807cross_compiling=$ac_cv_prog_cc_cross
    761808
    762809echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    763 echo "configure:764: checking whether we are using GNU C" >&5
     810echo "configure:811: checking whether we are using GNU C" >&5
    764811if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    765812  echo $ac_n "(cached) $ac_c" 1>&6
     
    770817#endif
    771818EOF
    772 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:773: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     819if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    773820  ac_cv_prog_gcc=yes
    774821else
     
    781828if test $ac_cv_prog_gcc = yes; then
    782829  GCC=yes
    783   ac_test_CFLAGS="${CFLAGS+set}"
    784   ac_save_CFLAGS="$CFLAGS"
    785   CFLAGS=
    786   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    787 echo "configure:788: checking whether ${CC-cc} accepts -g" >&5
     830else
     831  GCC=
     832fi
     833
     834ac_test_CFLAGS="${CFLAGS+set}"
     835ac_save_CFLAGS="$CFLAGS"
     836CFLAGS=
     837echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
     838echo "configure:839: checking whether ${CC-cc} accepts -g" >&5
    788839if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    789840  echo $ac_n "(cached) $ac_c" 1>&6
     
    800851
    801852echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
    802   if test "$ac_test_CFLAGS" = set; then
    803     CFLAGS="$ac_save_CFLAGS"
    804   elif test $ac_cv_prog_cc_g = yes; then
     853if test "$ac_test_CFLAGS" = set; then
     854  CFLAGS="$ac_save_CFLAGS"
     855elif test $ac_cv_prog_cc_g = yes; then
     856  if test "$GCC" = yes; then
    805857    CFLAGS="-g -O2"
    806858  else
     859    CFLAGS="-g"
     860  fi
     861else
     862  if test "$GCC" = yes; then
    807863    CFLAGS="-O2"
     864  else
     865    CFLAGS=
    808866  fi
    809 else
    810   GCC=
    811   test "${CFLAGS+set}" = set || CFLAGS="-g"
    812867fi
    813868
    814869echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    815 echo "configure:816: checking how to run the C preprocessor" >&5
     870echo "configure:871: checking how to run the C preprocessor" >&5
    816871# On Suns, sometimes $CPP names a directory.
    817872if test -n "$CPP" && test -d "$CPP"; then
     
    828883  # not just through cpp.
    829884  cat > conftest.$ac_ext <<EOF
    830 #line 831 "configure"
     885#line 886 "configure"
    831886#include "confdefs.h"
    832887#include <assert.h>
     
    834889EOF
    835890ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    836 { (eval echo configure:837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    837 ac_err=`grep -v '^ *+' conftest.out`
     891{ (eval echo configure:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     892ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    838893if test -z "$ac_err"; then
    839894  :
     
    845900  CPP="${CC-cc} -E -traditional-cpp"
    846901  cat > conftest.$ac_ext <<EOF
    847 #line 848 "configure"
     902#line 903 "configure"
    848903#include "confdefs.h"
    849904#include <assert.h>
     
    851906EOF
    852907ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    853 { (eval echo configure:854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    854 ac_err=`grep -v '^ *+' conftest.out`
     908{ (eval echo configure:909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     909ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    855910if test -z "$ac_err"; then
    856911  :
     
    860915  cat conftest.$ac_ext >&5
    861916  rm -rf conftest*
     917  CPP="${CC-cc} -nologo -E"
     918  cat > conftest.$ac_ext <<EOF
     919#line 920 "configure"
     920#include "confdefs.h"
     921#include <assert.h>
     922Syntax Error
     923EOF
     924ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     925{ (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     926ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
     927if test -z "$ac_err"; then
     928  :
     929else
     930  echo "$ac_err" >&5
     931  echo "configure: failed program was:" >&5
     932  cat conftest.$ac_ext >&5
     933  rm -rf conftest*
    862934  CPP=/lib/cpp
    863935fi
     
    865937fi
    866938rm -f conftest*
     939fi
     940rm -f conftest*
    867941  ac_cv_prog_CPP="$CPP"
    868942fi
     
    873947echo "$ac_t""$CPP" 1>&6
    874948
    875 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
     949for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
    876950do
    877951# Extract the first word of "$ac_prog", so it can be a program name with args.
    878952set dummy $ac_prog; ac_word=$2
    879953echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    880 echo "configure:881: checking for $ac_word" >&5
     954echo "configure:955: checking for $ac_word" >&5
    881955if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
    882956  echo $ac_n "(cached) $ac_c" 1>&6
     
    885959  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    886960else
    887   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    888   for ac_dir in $PATH; do
     961  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     962  ac_dummy="$PATH"
     963  for ac_dir in $ac_dummy; do
    889964    test -z "$ac_dir" && ac_dir=.
    890965    if test -f $ac_dir/$ac_word; then
     
    909984
    910985echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
    911 echo "configure:912: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
     986echo "configure:987: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
    912987
    913988ac_ext=C
     
    915990ac_cpp='$CXXCPP $CPPFLAGS'
    916991ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    917 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     992ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    918993cross_compiling=$ac_cv_prog_cxx_cross
    919994
    920 cat > conftest.$ac_ext <<EOF
    921 #line 922 "configure"
    922 #include "confdefs.h"
    923 main(){return(0);}
    924 EOF
    925 if { (eval echo configure:926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     995cat > conftest.$ac_ext << EOF
     996
     997#line 998 "configure"
     998#include "confdefs.h"
     999
     1000int main(){return(0);}
     1001EOF
     1002if { (eval echo configure:1003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    9261003  ac_cv_prog_cxx_works=yes
    9271004  # If we can't run a trivial program, we are probably using a cross compiler.
     
    9411018ac_cpp='$CPP $CPPFLAGS'
    9421019ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    943 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     1020ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    9441021cross_compiling=$ac_cv_prog_cc_cross
    9451022
     
    9491026fi
    9501027echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
    951 echo "configure:952: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
     1028echo "configure:1029: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
    9521029echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
    9531030cross_compiling=$ac_cv_prog_cxx_cross
    9541031
    9551032echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
    956 echo "configure:957: checking whether we are using GNU C++" >&5
     1033echo "configure:1034: checking whether we are using GNU C++" >&5
    9571034if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
    9581035  echo $ac_n "(cached) $ac_c" 1>&6
     
    9631040#endif
    9641041EOF
    965 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     1042if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    9661043  ac_cv_prog_gxx=yes
    9671044else
     
    9741051if test $ac_cv_prog_gxx = yes; then
    9751052  GXX=yes
    976   ac_test_CXXFLAGS="${CXXFLAGS+set}"
    977   ac_save_CXXFLAGS="$CXXFLAGS"
    978   CXXFLAGS=
    979   echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
    980 echo "configure:981: checking whether ${CXX-g++} accepts -g" >&5
     1053else
     1054  GXX=
     1055fi
     1056
     1057ac_test_CXXFLAGS="${CXXFLAGS+set}"
     1058ac_save_CXXFLAGS="$CXXFLAGS"
     1059CXXFLAGS=
     1060echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
     1061echo "configure:1062: checking whether ${CXX-g++} accepts -g" >&5
    9811062if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
    9821063  echo $ac_n "(cached) $ac_c" 1>&6
     
    9931074
    9941075echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
    995   if test "$ac_test_CXXFLAGS" = set; then
    996     CXXFLAGS="$ac_save_CXXFLAGS"
    997   elif test $ac_cv_prog_cxx_g = yes; then
     1076if test "$ac_test_CXXFLAGS" = set; then
     1077  CXXFLAGS="$ac_save_CXXFLAGS"
     1078elif test $ac_cv_prog_cxx_g = yes; then
     1079  if test "$GXX" = yes; then
    9981080    CXXFLAGS="-g -O2"
    9991081  else
     1082    CXXFLAGS="-g"
     1083  fi
     1084else
     1085  if test "$GXX" = yes; then
    10001086    CXXFLAGS="-O2"
     1087  else
     1088    CXXFLAGS=
    10011089  fi
    1002 else
    1003   GXX=
    1004   test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
    10051090fi
    10061091
    10071092echo $ac_n "checking for AIX""... $ac_c" 1>&6
    1008 echo "configure:1009: checking for AIX" >&5
     1093echo "configure:1094: checking for AIX" >&5
    10091094cat > conftest.$ac_ext <<EOF
    1010 #line 1011 "configure"
     1095#line 1096 "configure"
    10111096#include "confdefs.h"
    10121097#ifdef _AIX
     
    10381123# check whether the compiler accepts -pipe
    10391124echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6
    1040 echo "configure:1041: checking whether compiler accepts -pipe" >&5
     1125echo "configure:1126: checking whether compiler accepts -pipe" >&5
    10411126temp_cflags=${CFLAGS}
    10421127CFLAGS="${CFLAGS} -pipe"
     
    10451130else
    10461131  cat > conftest.$ac_ext <<EOF
    1047 #line 1048 "configure"
     1132#line 1133 "configure"
    10481133#include "confdefs.h"
    10491134
     
    10521137; return 0; }
    10531138EOF
    1054 if { (eval echo configure:1055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1139if { (eval echo configure:1140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    10551140  rm -rf conftest*
    10561141  ac_cv_cxx_have_pipe=yes
     
    10761161# Customize CFLAGS
    10771162echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    1078 echo "configure:1079: checking whether _AIX is defined" >&5
     1163echo "configure:1164: checking whether _AIX is defined" >&5
    10791164if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    10801165  echo $ac_n "(cached) $ac_c" 1>&6
    10811166else
    10821167  cat > conftest.$ac_ext <<EOF
    1083 #line 1084 "configure"
     1168#line 1169 "configure"
    10841169#include "confdefs.h"
    10851170#ifdef _AIX
     
    11321217
    11331218echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1134 echo "configure:1135: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1219echo "configure:1220: checking whether ${MAKE-make} sets \${MAKE}" >&5
    11351220set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    11361221if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
     
    12051290if test "${with_lex+set}" != set; then
    12061291  echo $ac_n "checking for flex""... $ac_c" 1>&6
    1207 echo "configure:1208: checking for flex" >&5
     1292echo "configure:1293: checking for flex" >&5
    12081293    if eval "test \"`echo '$''{'ac_cv_prog_flex'+set}'`\" = set"; then
    12091294  echo $ac_n "(cached) $ac_c" 1>&6
     
    12361321set dummy $ac_prog; ac_word=$2
    12371322echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1238 echo "configure:1239: checking for $ac_word" >&5
     1323echo "configure:1324: checking for $ac_word" >&5
    12391324if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
    12401325  echo $ac_n "(cached) $ac_c" 1>&6
     
    12431328  ac_cv_prog_LEX="$LEX" # Let the user override the test.
    12441329else
    1245   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1246   for ac_dir in $PATH; do
     1330  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1331  ac_dummy="$PATH"
     1332  for ac_dir in $ac_dummy; do
    12471333    test -z "$ac_dir" && ac_dir=.
    12481334    if test -f $ac_dir/$ac_word; then
     
    12751361set dummy $ac_prog; ac_word=$2
    12761362echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1277 echo "configure:1278: checking for $ac_word" >&5
     1363echo "configure:1364: checking for $ac_word" >&5
    12781364if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
    12791365  echo $ac_n "(cached) $ac_c" 1>&6
     
    12821368  ac_cv_prog_BISON="$BISON" # Let the user override the test.
    12831369else
    1284   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    1285   for ac_dir in $PATH; do
     1370  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     1371  ac_dummy="$PATH"
     1372  for ac_dir in $ac_dummy; do
    12861373    test -z "$ac_dir" && ac_dir=.
    12871374    if test -f $ac_dir/$ac_word; then
     
    13091396# ln -s
    13101397echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1311 echo "configure:1312: checking whether ln -s works" >&5
     1398echo "configure:1399: checking whether ln -s works" >&5
    13121399if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    13131400  echo $ac_n "(cached) $ac_c" 1>&6
     
    13321419# lib checks
    13331420echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
    1334 echo "configure:1335: checking for atof in -lm" >&5
     1421echo "configure:1422: checking for atof in -lm" >&5
    13351422ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    13361423if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13401427LIBS="-lm  $LIBS"
    13411428cat > conftest.$ac_ext <<EOF
    1342 #line 1343 "configure"
     1429#line 1430 "configure"
    13431430#include "confdefs.h"
    13441431/* Override any gcc2 internal prototype to avoid an error.  */
     
    13511438; return 0; }
    13521439EOF
    1353 if { (eval echo configure:1354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1440if { (eval echo configure:1441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    13541441  rm -rf conftest*
    13551442  eval "ac_cv_lib_$ac_lib_var=yes"
     
    13791466
    13801467echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
    1381 echo "configure:1382: checking for socket in -lbsd" >&5
     1468echo "configure:1469: checking for socket in -lbsd" >&5
    13821469ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    13831470if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    13871474LIBS="-lbsd  $LIBS"
    13881475cat > conftest.$ac_ext <<EOF
    1389 #line 1390 "configure"
     1476#line 1477 "configure"
    13901477#include "confdefs.h"
    13911478/* Override any gcc2 internal prototype to avoid an error.  */
     
    13981485; return 0; }
    13991486EOF
    1400 if { (eval echo configure:1401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1487if { (eval echo configure:1488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14011488  rm -rf conftest*
    14021489  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14261513
    14271514echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6
    1428 echo "configure:1429: checking for listen in -lsocket" >&5
     1515echo "configure:1516: checking for listen in -lsocket" >&5
    14291516ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'`
    14301517if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14341521LIBS="-lsocket  $LIBS"
    14351522cat > conftest.$ac_ext <<EOF
    1436 #line 1437 "configure"
     1523#line 1524 "configure"
    14371524#include "confdefs.h"
    14381525/* Override any gcc2 internal prototype to avoid an error.  */
     
    14451532; return 0; }
    14461533EOF
    1447 if { (eval echo configure:1448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1534if { (eval echo configure:1535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14481535  rm -rf conftest*
    14491536  eval "ac_cv_lib_$ac_lib_var=yes"
     
    14731560
    14741561echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
    1475 echo "configure:1476: checking for gethostbyname in -lnsl" >&5
     1562echo "configure:1563: checking for gethostbyname in -lnsl" >&5
    14761563ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    14771564if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    14811568LIBS="-lnsl  $LIBS"
    14821569cat > conftest.$ac_ext <<EOF
    1483 #line 1484 "configure"
     1570#line 1571 "configure"
    14841571#include "confdefs.h"
    14851572/* Override any gcc2 internal prototype to avoid an error.  */
     
    14921579; return 0; }
    14931580EOF
    1494 if { (eval echo configure:1495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1581if { (eval echo configure:1582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    14951582  rm -rf conftest*
    14961583  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15201607
    15211608echo $ac_n "checking for index in -lucb""... $ac_c" 1>&6
    1522 echo "configure:1523: checking for index in -lucb" >&5
     1609echo "configure:1610: checking for index in -lucb" >&5
    15231610ac_lib_var=`echo ucb'_'index | sed 'y%./+-%__p_%'`
    15241611if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    15281615LIBS="-lucb  $LIBS"
    15291616cat > conftest.$ac_ext <<EOF
    1530 #line 1531 "configure"
     1617#line 1618 "configure"
    15311618#include "confdefs.h"
    15321619/* Override any gcc2 internal prototype to avoid an error.  */
     
    15391626; return 0; }
    15401627EOF
    1541 if { (eval echo configure:1542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     1628if { (eval echo configure:1629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    15421629  rm -rf conftest*
    15431630  eval "ac_cv_lib_$ac_lib_var=yes"
     
    15691656# heder file checks
    15701657echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1571 echo "configure:1572: checking for ANSI C header files" >&5
     1658echo "configure:1659: checking for ANSI C header files" >&5
    15721659if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    15731660  echo $ac_n "(cached) $ac_c" 1>&6
    15741661else
    15751662  cat > conftest.$ac_ext <<EOF
    1576 #line 1577 "configure"
     1663#line 1664 "configure"
    15771664#include "confdefs.h"
    15781665#include <stdlib.h>
     
    15821669EOF
    15831670ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1584 { (eval echo configure:1585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1585 ac_err=`grep -v '^ *+' conftest.out`
     1671{ (eval echo configure:1672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1672ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    15861673if test -z "$ac_err"; then
    15871674  rm -rf conftest*
     
    15991686  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    16001687cat > conftest.$ac_ext <<EOF
    1601 #line 1602 "configure"
     1688#line 1689 "configure"
    16021689#include "confdefs.h"
    16031690#include <string.h>
     
    16171704  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    16181705cat > conftest.$ac_ext <<EOF
    1619 #line 1620 "configure"
     1706#line 1707 "configure"
    16201707#include "confdefs.h"
    16211708#include <stdlib.h>
     
    16381725else
    16391726  cat > conftest.$ac_ext <<EOF
    1640 #line 1641 "configure"
     1727#line 1728 "configure"
    16411728#include "confdefs.h"
    16421729#include <ctype.h>
     
    16491736
    16501737EOF
    1651 if { (eval echo configure:1652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     1738if { (eval echo configure:1739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    16521739then
    16531740  :
     
    16761763ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    16771764echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1678 echo "configure:1679: checking for $ac_hdr" >&5
     1765echo "configure:1766: checking for $ac_hdr" >&5
    16791766if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    16801767  echo $ac_n "(cached) $ac_c" 1>&6
    16811768else
    16821769  cat > conftest.$ac_ext <<EOF
    1683 #line 1684 "configure"
     1770#line 1771 "configure"
    16841771#include "confdefs.h"
    16851772#include <$ac_hdr>
    16861773EOF
    16871774ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1688 { (eval echo configure:1689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1689 ac_err=`grep -v '^ *+' conftest.out`
     1775{ (eval echo configure:1776: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1776ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    16901777if test -z "$ac_err"; then
    16911778  rm -rf conftest*
     
    17181805ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    17191806echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1720 echo "configure:1721: checking for $ac_hdr" >&5
     1807echo "configure:1808: checking for $ac_hdr" >&5
    17211808if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    17221809  echo $ac_n "(cached) $ac_c" 1>&6
    17231810else
    17241811  cat > conftest.$ac_ext <<EOF
    1725 #line 1726 "configure"
     1812#line 1813 "configure"
    17261813#include "confdefs.h"
    17271814#include <$ac_hdr>
    17281815EOF
    17291816ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1730 { (eval echo configure:1731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    1731 ac_err=`grep -v '^ *+' conftest.out`
     1817{ (eval echo configure:1818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1818ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    17321819if test -z "$ac_err"; then
    17331820  rm -rf conftest*
     
    17571844# typedefs, structures
    17581845echo $ac_n "checking for working const""... $ac_c" 1>&6
    1759 echo "configure:1760: checking for working const" >&5
     1846echo "configure:1847: checking for working const" >&5
    17601847if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    17611848  echo $ac_n "(cached) $ac_c" 1>&6
    17621849else
    17631850  cat > conftest.$ac_ext <<EOF
    1764 #line 1765 "configure"
     1851#line 1852 "configure"
    17651852#include "confdefs.h"
    17661853
     
    18111898; return 0; }
    18121899EOF
    1813 if { (eval echo configure:1814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1900if { (eval echo configure:1901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    18141901  rm -rf conftest*
    18151902  ac_cv_c_const=yes
     
    18321919
    18331920echo $ac_n "checking for inline""... $ac_c" 1>&6
    1834 echo "configure:1835: checking for inline" >&5
     1921echo "configure:1922: checking for inline" >&5
    18351922if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    18361923  echo $ac_n "(cached) $ac_c" 1>&6
     
    18391926for ac_kw in inline __inline__ __inline; do
    18401927  cat > conftest.$ac_ext <<EOF
    1841 #line 1842 "configure"
     1928#line 1929 "configure"
    18421929#include "confdefs.h"
    18431930
     
    18461933; return 0; }
    18471934EOF
    1848 if { (eval echo configure:1849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1935if { (eval echo configure:1936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    18491936  rm -rf conftest*
    18501937  ac_cv_c_inline=$ac_kw; break
     
    18721959
    18731960echo $ac_n "checking for size_t""... $ac_c" 1>&6
    1874 echo "configure:1875: checking for size_t" >&5
     1961echo "configure:1962: checking for size_t" >&5
    18751962if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    18761963  echo $ac_n "(cached) $ac_c" 1>&6
    18771964else
    18781965  cat > conftest.$ac_ext <<EOF
    1879 #line 1880 "configure"
     1966#line 1967 "configure"
    18801967#include "confdefs.h"
    18811968#include <sys/types.h>
     
    18861973EOF
    18871974if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    1888   egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
     1975  egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
    18891976  rm -rf conftest*
    18901977  ac_cv_type_size_t=yes
     
    19051992
    19061993echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    1907 echo "configure:1908: checking whether time.h and sys/time.h may both be included" >&5
     1994echo "configure:1995: checking whether time.h and sys/time.h may both be included" >&5
    19081995if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    19091996  echo $ac_n "(cached) $ac_c" 1>&6
    19101997else
    19111998  cat > conftest.$ac_ext <<EOF
    1912 #line 1913 "configure"
     1999#line 2000 "configure"
    19132000#include "confdefs.h"
    19142001#include <sys/types.h>
     
    19192006; return 0; }
    19202007EOF
    1921 if { (eval echo configure:1922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2008if { (eval echo configure:2009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    19222009  rm -rf conftest*
    19232010  ac_cv_header_time=yes
     
    19402027
    19412028echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    1942 echo "configure:1943: checking whether struct tm is in sys/time.h or time.h" >&5
     2029echo "configure:2030: checking whether struct tm is in sys/time.h or time.h" >&5
    19432030if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    19442031  echo $ac_n "(cached) $ac_c" 1>&6
    19452032else
    19462033  cat > conftest.$ac_ext <<EOF
    1947 #line 1948 "configure"
     2034#line 2035 "configure"
    19482035#include "confdefs.h"
    19492036#include <sys/types.h>
     
    19532040; return 0; }
    19542041EOF
    1955 if { (eval echo configure:1956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2042if { (eval echo configure:2043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    19562043  rm -rf conftest*
    19572044  ac_cv_struct_tm=time.h
     
    19782065# for constant arguments.  Useless!
    19792066echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    1980 echo "configure:1981: checking for working alloca.h" >&5
     2067echo "configure:2068: checking for working alloca.h" >&5
    19812068if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    19822069  echo $ac_n "(cached) $ac_c" 1>&6
    19832070else
    19842071  cat > conftest.$ac_ext <<EOF
    1985 #line 1986 "configure"
     2072#line 2073 "configure"
    19862073#include "confdefs.h"
    19872074#include <alloca.h>
     
    19902077; return 0; }
    19912078EOF
    1992 if { (eval echo configure:1993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2079if { (eval echo configure:2080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    19932080  rm -rf conftest*
    19942081  ac_cv_header_alloca_h=yes
     
    20112098
    20122099echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2013 echo "configure:2014: checking for alloca" >&5
     2100echo "configure:2101: checking for alloca" >&5
    20142101if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    20152102  echo $ac_n "(cached) $ac_c" 1>&6
    20162103else
    20172104  cat > conftest.$ac_ext <<EOF
    2018 #line 2019 "configure"
     2105#line 2106 "configure"
    20192106#include "confdefs.h"
    20202107
     
    20222109# define alloca __builtin_alloca
    20232110#else
    2024 # if HAVE_ALLOCA_H
    2025 #  include <alloca.h>
     2111# ifdef _MSC_VER
     2112#  include <malloc.h>
     2113#  define alloca _alloca
    20262114# else
    2027 #  ifdef _AIX
     2115#  if HAVE_ALLOCA_H
     2116#   include <alloca.h>
     2117#  else
     2118#   ifdef _AIX
    20282119 #pragma alloca
    2029 else
    2030 #   ifndef alloca /* predefined by HP cc +Olibcalls */
     2120 else
     2121#    ifndef alloca /* predefined by HP cc +Olibcalls */
    20312122char *alloca ();
     2123#    endif
    20322124#   endif
    20332125#  endif
     
    20392131; return 0; }
    20402132EOF
    2041 if { (eval echo configure:2042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2133if { (eval echo configure:2134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    20422134  rm -rf conftest*
    20432135  ac_cv_func_alloca_works=yes
     
    20642156  # contain a buggy version.  If you still want to use their alloca,
    20652157  # use ar to extract alloca.o from them instead of compiling alloca.c.
    2066   ALLOCA=alloca.o
     2158  ALLOCA=alloca.${ac_objext}
    20672159  cat >> confdefs.h <<\EOF
    20682160#define C_ALLOCA 1
     
    20712163
    20722164echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2073 echo "configure:2074: checking whether alloca needs Cray hooks" >&5
     2165echo "configure:2166: checking whether alloca needs Cray hooks" >&5
    20742166if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    20752167  echo $ac_n "(cached) $ac_c" 1>&6
    20762168else
    20772169  cat > conftest.$ac_ext <<EOF
    2078 #line 2079 "configure"
     2170#line 2171 "configure"
    20792171#include "confdefs.h"
    20802172#if defined(CRAY) && ! defined(CRAY2)
     
    21012193for ac_func in _getb67 GETB67 getb67; do
    21022194  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2103 echo "configure:2104: checking for $ac_func" >&5
     2195echo "configure:2196: checking for $ac_func" >&5
    21042196if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    21052197  echo $ac_n "(cached) $ac_c" 1>&6
    21062198else
    21072199  cat > conftest.$ac_ext <<EOF
    2108 #line 2109 "configure"
     2200#line 2201 "configure"
    21092201#include "confdefs.h"
    21102202/* System header to define __stub macros and hopefully few prototypes,
     
    21292221; return 0; }
    21302222EOF
    2131 if { (eval echo configure:2132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2223if { (eval echo configure:2224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21322224  rm -rf conftest*
    21332225  eval "ac_cv_func_$ac_func=yes"
     
    21562248
    21572249echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2158 echo "configure:2159: checking stack direction for C alloca" >&5
     2250echo "configure:2251: checking stack direction for C alloca" >&5
    21592251if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    21602252  echo $ac_n "(cached) $ac_c" 1>&6
     
    21642256else
    21652257  cat > conftest.$ac_ext <<EOF
    2166 #line 2167 "configure"
     2258#line 2259 "configure"
    21672259#include "confdefs.h"
    21682260find_stack_direction ()
     
    21832275}
    21842276EOF
    2185 if { (eval echo configure:2186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2277if { (eval echo configure:2278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    21862278then
    21872279  ac_cv_c_stack_direction=1
     
    22062298if test $ac_cv_prog_gcc = yes; then
    22072299    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2208 echo "configure:2209: checking whether ${CC-cc} needs -traditional" >&5
     2300echo "configure:2301: checking whether ${CC-cc} needs -traditional" >&5
    22092301if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    22102302  echo $ac_n "(cached) $ac_c" 1>&6
     
    22122304    ac_pattern="Autoconf.*'x'"
    22132305  cat > conftest.$ac_ext <<EOF
    2214 #line 2215 "configure"
     2306#line 2307 "configure"
    22152307#include "confdefs.h"
    22162308#include <sgtty.h>
     
    22302322  if test $ac_cv_prog_gcc_traditional = no; then
    22312323    cat > conftest.$ac_ext <<EOF
    2232 #line 2233 "configure"
     2324#line 2325 "configure"
    22332325#include "confdefs.h"
    22342326#include <termio.h>
     
    22552347ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    22562348echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2257 echo "configure:2258: checking for $ac_hdr" >&5
     2349echo "configure:2350: checking for $ac_hdr" >&5
    22582350if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    22592351  echo $ac_n "(cached) $ac_c" 1>&6
    22602352else
    22612353  cat > conftest.$ac_ext <<EOF
    2262 #line 2263 "configure"
     2354#line 2355 "configure"
    22632355#include "confdefs.h"
    22642356#include <$ac_hdr>
    22652357EOF
    22662358ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2267 { (eval echo configure:2268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2268 ac_err=`grep -v '^ *+' conftest.out`
     2359{ (eval echo configure:2360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2360ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    22692361if test -z "$ac_err"; then
    22702362  rm -rf conftest*
     
    22942386do
    22952387echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2296 echo "configure:2297: checking for $ac_func" >&5
     2388echo "configure:2389: checking for $ac_func" >&5
    22972389if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    22982390  echo $ac_n "(cached) $ac_c" 1>&6
    22992391else
    23002392  cat > conftest.$ac_ext <<EOF
    2301 #line 2302 "configure"
     2393#line 2394 "configure"
    23022394#include "confdefs.h"
    23032395/* System header to define __stub macros and hopefully few prototypes,
     
    23222414; return 0; }
    23232415EOF
    2324 if { (eval echo configure:2325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2416if { (eval echo configure:2417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23252417  rm -rf conftest*
    23262418  eval "ac_cv_func_$ac_func=yes"
     
    23472439
    23482440echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2349 echo "configure:2350: checking for working mmap" >&5
     2441echo "configure:2442: checking for working mmap" >&5
    23502442if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    23512443  echo $ac_n "(cached) $ac_c" 1>&6
     
    23552447else
    23562448  cat > conftest.$ac_ext <<EOF
    2357 #line 2358 "configure"
     2449#line 2450 "configure"
    23582450#include "confdefs.h"
    23592451
     
    24952587
    24962588EOF
    2497 if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2589if { (eval echo configure:2590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24982590then
    24992591  ac_cv_func_mmap_fixed_mapped=yes
     
    25182610
    25192611echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2520 echo "configure:2521: checking return type of signal handlers" >&5
     2612echo "configure:2613: checking return type of signal handlers" >&5
    25212613if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    25222614  echo $ac_n "(cached) $ac_c" 1>&6
    25232615else
    25242616  cat > conftest.$ac_ext <<EOF
    2525 #line 2526 "configure"
     2617#line 2618 "configure"
    25262618#include "confdefs.h"
    25272619#include <sys/types.h>
     
    25402632; return 0; }
    25412633EOF
    2542 if { (eval echo configure:2543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2634if { (eval echo configure:2635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    25432635  rm -rf conftest*
    25442636  ac_cv_type_signal=void
     
    25592651
    25602652echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2561 echo "configure:2562: checking for vprintf" >&5
     2653echo "configure:2654: checking for vprintf" >&5
    25622654if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    25632655  echo $ac_n "(cached) $ac_c" 1>&6
    25642656else
    25652657  cat > conftest.$ac_ext <<EOF
    2566 #line 2567 "configure"
     2658#line 2659 "configure"
    25672659#include "confdefs.h"
    25682660/* System header to define __stub macros and hopefully few prototypes,
     
    25872679; return 0; }
    25882680EOF
    2589 if { (eval echo configure:2590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2681if { (eval echo configure:2682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25902682  rm -rf conftest*
    25912683  eval "ac_cv_func_vprintf=yes"
     
    26112703if test "$ac_cv_func_vprintf" != yes; then
    26122704echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2613 echo "configure:2614: checking for _doprnt" >&5
     2705echo "configure:2706: checking for _doprnt" >&5
    26142706if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    26152707  echo $ac_n "(cached) $ac_c" 1>&6
    26162708else
    26172709  cat > conftest.$ac_ext <<EOF
    2618 #line 2619 "configure"
     2710#line 2711 "configure"
    26192711#include "confdefs.h"
    26202712/* System header to define __stub macros and hopefully few prototypes,
     
    26392731; return 0; }
    26402732EOF
    2641 if { (eval echo configure:2642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2733if { (eval echo configure:2734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26422734  rm -rf conftest*
    26432735  eval "ac_cv_func__doprnt=yes"
     
    26662758do
    26672759echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2668 echo "configure:2669: checking for $ac_func" >&5
     2760echo "configure:2761: checking for $ac_func" >&5
    26692761if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    26702762  echo $ac_n "(cached) $ac_c" 1>&6
    26712763else
    26722764  cat > conftest.$ac_ext <<EOF
    2673 #line 2674 "configure"
     2765#line 2766 "configure"
    26742766#include "confdefs.h"
    26752767/* System header to define __stub macros and hopefully few prototypes,
     
    26942786; return 0; }
    26952787EOF
    2696 if { (eval echo configure:2697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2788if { (eval echo configure:2789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    26972789  rm -rf conftest*
    26982790  eval "ac_cv_func_$ac_func=yes"
     
    27222814# arithmetic shifts
    27232815echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    2724 echo "configure:2725: checking whether your machine has correct arithmetic shifts" >&5
     2816echo "configure:2817: checking whether your machine has correct arithmetic shifts" >&5
    27252817if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    27262818  echo $ac_n "(cached) $ac_c" 1>&6
     
    27352827else
    27362828  cat > conftest.$ac_ext <<EOF
    2737 #line 2738 "configure"
     2829#line 2830 "configure"
    27382830#include "confdefs.h"
    27392831 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    27402832EOF
    2741 if { (eval echo configure:2742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2833if { (eval echo configure:2834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    27422834then
    27432835  ac_cv_shift=yes
     
    27642856# check for a peculiar constructor initialization
    27652857echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    2766 echo "configure:2767: checking whether explicit C++ constructor calls are allowed" >&5
     2858echo "configure:2859: checking whether explicit C++ constructor calls are allowed" >&5
    27672859
    27682860ac_ext=C
     
    27702862ac_cpp='$CXXCPP $CPPFLAGS'
    27712863ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    2772 ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     2864ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    27732865cross_compiling=$ac_cv_prog_cxx_cross
    27742866
     
    27772869else
    27782870  cat > conftest.$ac_ext <<EOF
    2779 #line 2780 "configure"
     2871#line 2872 "configure"
    27802872#include "confdefs.h"
    27812873
     
    27952887; return 0; }
    27962888EOF
    2797 if { (eval echo configure:2798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2889if { (eval echo configure:2890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27982890  rm -rf conftest*
    27992891  ac_cv_explicit_const=yes
     
    28112903ac_cpp='$CPP $CPPFLAGS'
    28122904ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    2813 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     2905ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    28142906cross_compiling=$ac_cv_prog_cc_cross
    28152907
     
    28242916# sprintf returns number of printed chars
    28252917echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    2826 echo "configure:2827: checking whether vsprintf returns number of printed chars" >&5
     2918echo "configure:2919: checking whether vsprintf returns number of printed chars" >&5
    28272919if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    28282920  echo $ac_n "(cached) $ac_c" 1>&6
     
    28322924else
    28332925  cat > conftest.$ac_ext <<EOF
    2834 #line 2835 "configure"
     2926#line 2927 "configure"
    28352927#include "confdefs.h"
    28362928#include <stdio.h>
    28372929 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    28382930EOF
    2839 if { (eval echo configure:2840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2931if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28402932then
    28412933  ac_cv_returns_n_of_chars=yes
     
    28632955# determine ALIGN_8
    28642956echo $ac_n "checking size of char""... $ac_c" 1>&6
    2865 echo "configure:2866: checking size of char" >&5
     2957echo "configure:2958: checking size of char" >&5
    28662958if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    28672959  echo $ac_n "(cached) $ac_c" 1>&6
     
    28712963else
    28722964  cat > conftest.$ac_ext <<EOF
    2873 #line 2874 "configure"
     2965#line 2966 "configure"
    28742966#include "confdefs.h"
    28752967#include <stdio.h>
     
    28822974}
    28832975EOF
    2884 if { (eval echo configure:2885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2976if { (eval echo configure:2977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    28852977then
    28862978  ac_cv_sizeof_char=`cat conftestval`
     
    29022994
    29032995echo $ac_n "checking size of short""... $ac_c" 1>&6
    2904 echo "configure:2905: checking size of short" >&5
     2996echo "configure:2997: checking size of short" >&5
    29052997if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    29062998  echo $ac_n "(cached) $ac_c" 1>&6
     
    29103002else
    29113003  cat > conftest.$ac_ext <<EOF
    2912 #line 2913 "configure"
     3004#line 3005 "configure"
    29133005#include "confdefs.h"
    29143006#include <stdio.h>
     
    29213013}
    29223014EOF
    2923 if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3015if { (eval echo configure:3016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29243016then
    29253017  ac_cv_sizeof_short=`cat conftestval`
     
    29413033
    29423034echo $ac_n "checking size of int""... $ac_c" 1>&6
    2943 echo "configure:2944: checking size of int" >&5
     3035echo "configure:3036: checking size of int" >&5
    29443036if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    29453037  echo $ac_n "(cached) $ac_c" 1>&6
     
    29493041else
    29503042  cat > conftest.$ac_ext <<EOF
    2951 #line 2952 "configure"
     3043#line 3044 "configure"
    29523044#include "confdefs.h"
    29533045#include <stdio.h>
     
    29603052}
    29613053EOF
    2962 if { (eval echo configure:2963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3054if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    29633055then
    29643056  ac_cv_sizeof_int=`cat conftestval`
     
    29803072
    29813073echo $ac_n "checking size of long""... $ac_c" 1>&6
    2982 echo "configure:2983: checking size of long" >&5
     3074echo "configure:3075: checking size of long" >&5
    29833075if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    29843076  echo $ac_n "(cached) $ac_c" 1>&6
     
    29883080else
    29893081  cat > conftest.$ac_ext <<EOF
    2990 #line 2991 "configure"
     3082#line 3083 "configure"
    29913083#include "confdefs.h"
    29923084#include <stdio.h>
     
    29993091}
    30003092EOF
    3001 if { (eval echo configure:3002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3093if { (eval echo configure:3094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30023094then
    30033095  ac_cv_sizeof_long=`cat conftestval`
     
    30193111
    30203112echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3021 echo "configure:3022: checking size of void*" >&5
     3113echo "configure:3114: checking size of void*" >&5
    30223114if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    30233115  echo $ac_n "(cached) $ac_c" 1>&6
     
    30273119else
    30283120  cat > conftest.$ac_ext <<EOF
    3029 #line 3030 "configure"
     3121#line 3122 "configure"
    30303122#include "confdefs.h"
    30313123#include <stdio.h>
     
    30383130}
    30393131EOF
    3040 if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3132if { (eval echo configure:3133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30413133then
    30423134  ac_cv_sizeof_voidp=`cat conftestval`
     
    30583150
    30593151echo $ac_n "checking size of double""... $ac_c" 1>&6
    3060 echo "configure:3061: checking size of double" >&5
     3152echo "configure:3153: checking size of double" >&5
    30613153if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    30623154  echo $ac_n "(cached) $ac_c" 1>&6
     
    30663158else
    30673159  cat > conftest.$ac_ext <<EOF
    3068 #line 3069 "configure"
     3160#line 3161 "configure"
    30693161#include "confdefs.h"
    30703162#include <stdio.h>
     
    30773169}
    30783170EOF
    3079 if { (eval echo configure:3080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3171if { (eval echo configure:3172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30803172then
    30813173  ac_cv_sizeof_double=`cat conftestval`
     
    30973189
    30983190echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3099 echo "configure:3100: checking whether byte ordering is bigendian" >&5
     3191echo "configure:3192: checking whether byte ordering is bigendian" >&5
    31003192if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    31013193  echo $ac_n "(cached) $ac_c" 1>&6
     
    31043196# See if sys/param.h defines the BYTE_ORDER macro.
    31053197cat > conftest.$ac_ext <<EOF
    3106 #line 3107 "configure"
     3198#line 3199 "configure"
    31073199#include "confdefs.h"
    31083200#include <sys/types.h>
     
    31153207; return 0; }
    31163208EOF
    3117 if { (eval echo configure:3118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3209if { (eval echo configure:3210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31183210  rm -rf conftest*
    31193211  # It does; now see whether it defined to BIG_ENDIAN or not.
    31203212cat > conftest.$ac_ext <<EOF
    3121 #line 3122 "configure"
     3213#line 3214 "configure"
    31223214#include "confdefs.h"
    31233215#include <sys/types.h>
     
    31303222; return 0; }
    31313223EOF
    3132 if { (eval echo configure:3133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3224if { (eval echo configure:3225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31333225  rm -rf conftest*
    31343226  ac_cv_c_bigendian=yes
     
    31503242else
    31513243  cat > conftest.$ac_ext <<EOF
    3152 #line 3153 "configure"
     3244#line 3245 "configure"
    31533245#include "confdefs.h"
    31543246main () {
     
    31633255}
    31643256EOF
    3165 if { (eval echo configure:3166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3257if { (eval echo configure:3258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31663258then
    31673259  ac_cv_c_bigendian=no
     
    32003292
    32013293echo $ac_n "checking size of system page""... $ac_c" 1>&6
    3202 echo "configure:3203: checking size of system page" >&5
     3294echo "configure:3295: checking size of system page" >&5
    32033295if eval "test \"`echo '$''{'ac_cv_pagesize'+set}'`\" = set"; then
    32043296  echo $ac_n "(cached) $ac_c" 1>&6
     
    32083300else
    32093301  cat > conftest.$ac_ext <<EOF
    3210 #line 3211 "configure"
     3302#line 3303 "configure"
    32113303#include "confdefs.h"
    32123304#include <stdio.h>
     
    32223314}
    32233315EOF
    3224 if { (eval echo configure:3225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3316if { (eval echo configure:3317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32253317then
    32263318  ac_cv_pagesize=`cat conftestval`
     
    32463338
    32473339echo $ac_n "checking for page aligned valloc""... $ac_c" 1>&6
    3248 echo "configure:3249: checking for page aligned valloc" >&5
     3340echo "configure:3341: checking for page aligned valloc" >&5
    32493341if eval "test \"`echo '$''{'ac_cv_have_page_alignment'+set}'`\" = set"; then
    32503342  echo $ac_n "(cached) $ac_c" 1>&6
     
    32923384else
    32933385  cat > conftest.$ac_ext <<EOF
    3294 #line 3295 "configure"
     3386#line 3387 "configure"
    32953387#include "confdefs.h"
    32963388
     
    32993391
    33003392EOF
    3301 if { (eval echo configure:3302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3393if { (eval echo configure:3394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33023394then
    33033395  ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat  conftestval`
     
    33163408else
    33173409  cat > conftest.$ac_ext <<EOF
    3318 #line 3319 "configure"
     3410#line 3411 "configure"
    33193411#include "confdefs.h"
    33203412
     
    33233415
    33243416EOF
    3325 if { (eval echo configure:3326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3417if { (eval echo configure:3418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33263418then
    33273419  ac_cv_have_page_alignment="ac_cv_usable_pagesize="`cat  conftestval`
     
    33433435else
    33443436  cat > conftest.$ac_ext <<EOF
    3345 #line 3346 "configure"
     3437#line 3438 "configure"
    33463438#include "confdefs.h"
    33473439
     
    33523444
    33533445EOF
    3354 if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3446if { (eval echo configure:3447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33553447then
    33563448  ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat  conftestval`
     
    33693461else
    33703462  cat > conftest.$ac_ext <<EOF
    3371 #line 3372 "configure"
     3463#line 3464 "configure"
    33723464#include "confdefs.h"
    33733465
     
    33783470
    33793471EOF
    3380 if { (eval echo configure:3381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3472if { (eval echo configure:3473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33813473then
    33823474  ac_cv_have_page_alignment="ac_cv_have_gmalloc=yes; ac_cv_usable_pagesize="`cat  conftestval`
     
    35133605if test "${with_perl5+set}" != set; then
    35143606  echo $ac_n "checking for perl5""... $ac_c" 1>&6
    3515 echo "configure:3516: checking for perl5" >&5
     3607echo "configure:3608: checking for perl5" >&5
    35163608    if eval "test \"`echo '$''{'ac_cv_prog_perl5'+set}'`\" = set"; then
    35173609  echo $ac_n "(cached) $ac_c" 1>&6
     
    35503642set dummy $ac_prog; ac_word=$2
    35513643echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    3552 echo "configure:3553: checking for $ac_word" >&5
     3644echo "configure:3645: checking for $ac_word" >&5
    35533645if eval "test \"`echo '$''{'ac_cv_prog_PERL5'+set}'`\" = set"; then
    35543646  echo $ac_n "(cached) $ac_c" 1>&6
     
    35573649  ac_cv_prog_PERL5="$PERL5" # Let the user override the test.
    35583650else
    3559   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
    3560   for ac_dir in $PATH; do
     3651  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
     3652  ac_dummy="$PATH"
     3653  for ac_dir in $ac_dummy; do
    35613654    test -z "$ac_dir" && ac_dir=.
    35623655    if test -f $ac_dir/$ac_word; then
     
    35893682ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    35903683echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3591 echo "configure:3592: checking for $ac_hdr" >&5
     3684echo "configure:3685: checking for $ac_hdr" >&5
    35923685if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    35933686  echo $ac_n "(cached) $ac_c" 1>&6
    35943687else
    35953688  cat > conftest.$ac_ext <<EOF
    3596 #line 3597 "configure"
     3689#line 3690 "configure"
    35973690#include "confdefs.h"
    35983691#include <$ac_hdr>
    35993692EOF
    36003693ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3601 { (eval echo configure:3602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    3602 ac_err=`grep -v '^ *+' conftest.out`
     3694{ (eval echo configure:3695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3695ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    36033696if test -z "$ac_err"; then
    36043697  rm -rf conftest*
     
    36293722ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    36303723echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3631 echo "configure:3632: checking for $ac_hdr" >&5
     3724echo "configure:3725: checking for $ac_hdr" >&5
    36323725if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    36333726  echo $ac_n "(cached) $ac_c" 1>&6
    36343727else
    36353728  cat > conftest.$ac_ext <<EOF
    3636 #line 3637 "configure"
     3729#line 3730 "configure"
    36373730#include "confdefs.h"
    36383731#include <$ac_hdr>
    36393732EOF
    36403733ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3641 { (eval echo configure:3642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    3642 ac_err=`grep -v '^ *+' conftest.out`
     3734{ (eval echo configure:3735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3735ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    36433736if test -z "$ac_err"; then
    36443737  rm -rf conftest*
     
    36693762ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    36703763echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3671 echo "configure:3672: checking for $ac_hdr" >&5
     3764echo "configure:3765: checking for $ac_hdr" >&5
    36723765if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    36733766  echo $ac_n "(cached) $ac_c" 1>&6
    36743767else
    36753768  cat > conftest.$ac_ext <<EOF
    3676 #line 3677 "configure"
     3769#line 3770 "configure"
    36773770#include "confdefs.h"
    36783771#include <$ac_hdr>
    36793772EOF
    36803773ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3681 { (eval echo configure:3682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    3682 ac_err=`grep -v '^ *+' conftest.out`
     3774{ (eval echo configure:3775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3775ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    36833776if test -z "$ac_err"; then
    36843777  rm -rf conftest*
     
    37093802if test "$with_readline" != no; then
    37103803  echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3711 echo "configure:3712: checking for tgetent in -lncurses" >&5
     3804echo "configure:3805: checking for tgetent in -lncurses" >&5
    37123805ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    37133806if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37173810LIBS="-lncurses  $LIBS"
    37183811cat > conftest.$ac_ext <<EOF
    3719 #line 3720 "configure"
     3812#line 3813 "configure"
    37203813#include "confdefs.h"
    37213814/* Override any gcc2 internal prototype to avoid an error.  */
     
    37283821; return 0; }
    37293822EOF
    3730 if { (eval echo configure:3731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3823if { (eval echo configure:3824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37313824  rm -rf conftest*
    37323825  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37553848\
    37563849   echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3757 echo "configure:3758: checking for tgetent in -lcurses" >&5
     3850echo "configure:3851: checking for tgetent in -lcurses" >&5
    37583851ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    37593852if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37633856LIBS="-lcurses  $LIBS"
    37643857cat > conftest.$ac_ext <<EOF
    3765 #line 3766 "configure"
     3858#line 3859 "configure"
    37663859#include "confdefs.h"
    37673860/* Override any gcc2 internal prototype to avoid an error.  */
     
    37743867; return 0; }
    37753868EOF
    3776 if { (eval echo configure:3777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3869if { (eval echo configure:3870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37773870  rm -rf conftest*
    37783871  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38013894\
    38023895   echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    3803 echo "configure:3804: checking for tgetent in -ltermcap" >&5
     3896echo "configure:3897: checking for tgetent in -ltermcap" >&5
    38043897ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    38053898if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38093902LIBS="-ltermcap  $LIBS"
    38103903cat > conftest.$ac_ext <<EOF
    3811 #line 3812 "configure"
     3904#line 3905 "configure"
    38123905#include "confdefs.h"
    38133906/* Override any gcc2 internal prototype to avoid an error.  */
     
    38203913; return 0; }
    38213914EOF
    3822 if { (eval echo configure:3823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3915if { (eval echo configure:3916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38233916  rm -rf conftest*
    38243917  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38523945
    38533946   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    3854 echo "configure:3855: checking for rl_abort in -lreadline" >&5
     3947echo "configure:3948: checking for rl_abort in -lreadline" >&5
    38553948ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    38563949if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    38603953LIBS="-lreadline  $LIBS"
    38613954cat > conftest.$ac_ext <<EOF
    3862 #line 3863 "configure"
     3955#line 3956 "configure"
    38633956#include "confdefs.h"
    38643957/* Override any gcc2 internal prototype to avoid an error.  */
     
    38713964; return 0; }
    38723965EOF
    3873 if { (eval echo configure:3874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3966if { (eval echo configure:3967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    38743967  rm -rf conftest*
    38753968  eval "ac_cv_lib_$ac_lib_var=yes"
     
    39023995ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    39033996echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3904 echo "configure:3905: checking for $ac_hdr" >&5
     3997echo "configure:3998: checking for $ac_hdr" >&5
    39053998if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    39063999  echo $ac_n "(cached) $ac_c" 1>&6
    39074000else
    39084001  cat > conftest.$ac_ext <<EOF
    3909 #line 3910 "configure"
     4002#line 4003 "configure"
    39104003#include "confdefs.h"
    39114004#include <$ac_hdr>
    39124005EOF
    39134006ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3914 { (eval echo configure:3915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    3915 ac_err=`grep -v '^ *+' conftest.out`
     4007{ (eval echo configure:4008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4008ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    39164009if test -z "$ac_err"; then
    39174010  rm -rf conftest*
     
    39414034      test "$ac_cv_header_readline_readline_h" = yes; then
    39424035     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    3943 echo "configure:3944: checking whether readline.h is ok" >&5
     4036echo "configure:4037: checking whether readline.h is ok" >&5
    39444037     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    39454038  echo $ac_n "(cached) $ac_c" 1>&6
    39464039else
    39474040  cat > conftest.$ac_ext <<EOF
    3948 #line 3949 "configure"
     4041#line 4042 "configure"
    39494042#include "confdefs.h"
    39504043#include<unistd.h>
     
    39714064; return 0; }
    39724065EOF
    3973 if { (eval echo configure:3974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4066if { (eval echo configure:4067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39744067  rm -rf conftest*
    39754068  ac_cv_header_readline_readline_h_ok="yes"
     
    39874080#not ok -- try once more with explicitly declaring everything
    39884081      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    3989 echo "configure:3990: checking whether or not we nevertheless can use readline" >&5
     4082echo "configure:4083: checking whether or not we nevertheless can use readline" >&5
    39904083      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    39914084  echo $ac_n "(cached) $ac_c" 1>&6
    39924085else
    39934086  cat > conftest.$ac_ext <<EOF
    3994 #line 3995 "configure"
     4087#line 4088 "configure"
    39954088#include "confdefs.h"
    39964089#include <stdio.h>
     
    40224115; return 0; }
    40234116EOF
    4024 if { (eval echo configure:4025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4117if { (eval echo configure:4118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40254118  rm -rf conftest*
    40264119  ac_cv_have_readline="yes"
     
    40534146    echo "configure: warning: building without readline: disabling fancy display" 1>&2
    40544147    echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    4055 echo "configure:4056: checking for tgetent in -lncurses" >&5
     4148echo "configure:4149: checking for tgetent in -lncurses" >&5
    40564149ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    40574150if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40614154LIBS="-lncurses  $LIBS"
    40624155cat > conftest.$ac_ext <<EOF
    4063 #line 4064 "configure"
     4156#line 4157 "configure"
    40644157#include "confdefs.h"
    40654158/* Override any gcc2 internal prototype to avoid an error.  */
     
    40724165; return 0; }
    40734166EOF
    4074 if { (eval echo configure:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4167if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40754168  rm -rf conftest*
    40764169  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40994192\
    41004193    echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    4101 echo "configure:4102: checking for tgetent in -lcurses" >&5
     4194echo "configure:4195: checking for tgetent in -lcurses" >&5
    41024195ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    41034196if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41074200LIBS="-lcurses  $LIBS"
    41084201cat > conftest.$ac_ext <<EOF
    4109 #line 4110 "configure"
     4202#line 4203 "configure"
    41104203#include "confdefs.h"
    41114204/* Override any gcc2 internal prototype to avoid an error.  */
     
    41184211; return 0; }
    41194212EOF
    4120 if { (eval echo configure:4121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4213if { (eval echo configure:4214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41214214  rm -rf conftest*
    41224215  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41454238\
    41464239    echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    4147 echo "configure:4148: checking for tgetent in -ltermcap" >&5
     4240echo "configure:4241: checking for tgetent in -ltermcap" >&5
    41484241ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    41494242if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41534246LIBS="-ltermcap  $LIBS"
    41544247cat > conftest.$ac_ext <<EOF
    4155 #line 4156 "configure"
     4248#line 4249 "configure"
    41564249#include "confdefs.h"
    41574250/* Override any gcc2 internal prototype to avoid an error.  */
     
    41644257; return 0; }
    41654258EOF
    4166 if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4259if { (eval echo configure:4260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41674260  rm -rf conftest*
    41684261  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42034296else
    42044297    echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    4205 echo "configure:4206: checking for tgetent in -lncurses" >&5
     4298echo "configure:4299: checking for tgetent in -lncurses" >&5
    42064299ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    42074300if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42114304LIBS="-lncurses  $LIBS"
    42124305cat > conftest.$ac_ext <<EOF
    4213 #line 4214 "configure"
     4306#line 4307 "configure"
    42144307#include "confdefs.h"
    42154308/* Override any gcc2 internal prototype to avoid an error.  */
     
    42224315; return 0; }
    42234316EOF
    4224 if { (eval echo configure:4225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4317if { (eval echo configure:4318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42254318  rm -rf conftest*
    42264319  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42494342\
    42504343    echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    4251 echo "configure:4252: checking for tgetent in -lcurses" >&5
     4344echo "configure:4345: checking for tgetent in -lcurses" >&5
    42524345ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    42534346if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42574350LIBS="-lcurses  $LIBS"
    42584351cat > conftest.$ac_ext <<EOF
    4259 #line 4260 "configure"
     4352#line 4353 "configure"
    42604353#include "confdefs.h"
    42614354/* Override any gcc2 internal prototype to avoid an error.  */
     
    42684361; return 0; }
    42694362EOF
    4270 if { (eval echo configure:4271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4363if { (eval echo configure:4364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42714364  rm -rf conftest*
    42724365  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42954388\
    42964389    echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    4297 echo "configure:4298: checking for tgetent in -ltermcap" >&5
     4390echo "configure:4391: checking for tgetent in -ltermcap" >&5
    42984391ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    42994392if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43034396LIBS="-ltermcap  $LIBS"
    43044397cat > conftest.$ac_ext <<EOF
    4305 #line 4306 "configure"
     4398#line 4399 "configure"
    43064399#include "confdefs.h"
    43074400/* Override any gcc2 internal prototype to avoid an error.  */
     
    43144407; return 0; }
    43154408EOF
    4316 if { (eval echo configure:4317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4409if { (eval echo configure:4410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43174410  rm -rf conftest*
    43184411  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43564449# gmp, smallgmp, MP, MPT, factory, libfac
    43574450echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6
    4358 echo "configure:4359: checking for mpq_init in -lgmp" >&5
     4451echo "configure:4452: checking for mpq_init in -lgmp" >&5
    43594452ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'`
    43604453if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43644457LIBS="-lgmp  $LIBS"
    43654458cat > conftest.$ac_ext <<EOF
    4366 #line 4367 "configure"
     4459#line 4460 "configure"
    43674460#include "confdefs.h"
    43684461/* Override any gcc2 internal prototype to avoid an error.  */
     
    43754468; return 0; }
    43764469EOF
    4377 if { (eval echo configure:4378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4470if { (eval echo configure:4471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43784471  rm -rf conftest*
    43794472  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44064499fi
    44074500echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6
    4408 echo "configure:4409: checking for mpz_init in -lsmallgmp" >&5
     4501echo "configure:4502: checking for mpz_init in -lsmallgmp" >&5
    44094502ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'`
    44104503if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44144507LIBS="-lsmallgmp  $LIBS"
    44154508cat > conftest.$ac_ext <<EOF
    4416 #line 4417 "configure"
     4509#line 4510 "configure"
    44174510#include "confdefs.h"
    44184511/* Override any gcc2 internal prototype to avoid an error.  */
     
    44254518; return 0; }
    44264519EOF
    4427 if { (eval echo configure:4428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4520if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44284521  rm -rf conftest*
    44294522  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44534546
    44544547echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4455 echo "configure:4456: checking for IMP_PutGmpInt in -lMP" >&5
     4548echo "configure:4549: checking for IMP_PutGmpInt in -lMP" >&5
    44564549ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    44574550if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    44614554LIBS="-lMP  $LIBS"
    44624555cat > conftest.$ac_ext <<EOF
    4463 #line 4464 "configure"
     4556#line 4557 "configure"
    44644557#include "confdefs.h"
    44654558/* Override any gcc2 internal prototype to avoid an error.  */
     
    44724565; return 0; }
    44734566EOF
    4474 if { (eval echo configure:4475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4567if { (eval echo configure:4568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    44754568  rm -rf conftest*
    44764569  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45004593
    45014594echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4502 echo "configure:4503: checking for MPT_GetTree in -lMPT" >&5
     4595echo "configure:4596: checking for MPT_GetTree in -lMPT" >&5
    45034596ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    45044597if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    45084601LIBS="-lMPT  $LIBS"
    45094602cat > conftest.$ac_ext <<EOF
    4510 #line 4511 "configure"
     4603#line 4604 "configure"
    45114604#include "confdefs.h"
    45124605/* Override any gcc2 internal prototype to avoid an error.  */
     
    45194612; return 0; }
    45204613EOF
    4521 if { (eval echo configure:4522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4614if { (eval echo configure:4615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45224615  rm -rf conftest*
    45234616  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45474640
    45484641echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4549 echo "configure:4550: checking for atof in -lsingcf" >&5
     4642echo "configure:4643: checking for atof in -lsingcf" >&5
    45504643ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    45514644if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    45554648LIBS="-lsingcf  $LIBS"
    45564649cat > conftest.$ac_ext <<EOF
    4557 #line 4558 "configure"
     4650#line 4651 "configure"
    45584651#include "confdefs.h"
    45594652/* Override any gcc2 internal prototype to avoid an error.  */
     
    45664659; return 0; }
    45674660EOF
    4568 if { (eval echo configure:4569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4661if { (eval echo configure:4662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    45694662  rm -rf conftest*
    45704663  eval "ac_cv_lib_$ac_lib_var=yes"
     
    45944687
    45954688echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4596 echo "configure:4597: checking for atof in -lsingfac" >&5
     4689echo "configure:4690: checking for atof in -lsingfac" >&5
    45974690ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    45984691if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    46024695LIBS="-lsingfac  $LIBS"
    46034696cat > conftest.$ac_ext <<EOF
    4604 #line 4605 "configure"
     4697#line 4698 "configure"
    46054698#include "confdefs.h"
    46064699/* Override any gcc2 internal prototype to avoid an error.  */
     
    46134706; return 0; }
    46144707EOF
    4615 if { (eval echo configure:4616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4708if { (eval echo configure:4709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    46164709  rm -rf conftest*
    46174710  eval "ac_cv_lib_$ac_lib_var=yes"
     
    46454738ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    46464739echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4647 echo "configure:4648: checking for $ac_hdr" >&5
     4740echo "configure:4741: checking for $ac_hdr" >&5
    46484741if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    46494742  echo $ac_n "(cached) $ac_c" 1>&6
    46504743else
    46514744  cat > conftest.$ac_ext <<EOF
    4652 #line 4653 "configure"
     4745#line 4746 "configure"
    46534746#include "confdefs.h"
    46544747#include <$ac_hdr>
    46554748EOF
    46564749ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4657 { (eval echo configure:4658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    4658 ac_err=`grep -v '^ *+' conftest.out`
     4750{ (eval echo configure:4751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4751ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    46594752if test -z "$ac_err"; then
    46604753  rm -rf conftest*
     
    47124805# evaluate results
    47134806echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4714 echo "configure:4715: checking which apint package to use" >&5
     4807echo "configure:4808: checking which apint package to use" >&5
    47154808if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    47164809  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    47564849if test "$with_dl" != no; then
    47574850  echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
    4758 echo "configure:4759: checking for dlopen in -ldl" >&5
     4851echo "configure:4852: checking for dlopen in -ldl" >&5
    47594852ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
    47604853if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    47644857LIBS="-ldl  $LIBS"
    47654858cat > conftest.$ac_ext <<EOF
    4766 #line 4767 "configure"
     4859#line 4860 "configure"
    47674860#include "confdefs.h"
    47684861/* Override any gcc2 internal prototype to avoid an error.  */
     
    47754868; return 0; }
    47764869EOF
    4777 if { (eval echo configure:4778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4870if { (eval echo configure:4871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    47784871  rm -rf conftest*
    47794872  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48134906  fi
    48144907  echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    4815 echo "configure:4816: checking for shl_load in -ldld" >&5
     4908echo "configure:4909: checking for shl_load in -ldld" >&5
    48164909ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    48174910if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    48214914LIBS="-ldld  $LIBS"
    48224915cat > conftest.$ac_ext <<EOF
    4823 #line 4824 "configure"
     4916#line 4917 "configure"
    48244917#include "confdefs.h"
    48254918/* Override any gcc2 internal prototype to avoid an error.  */
     
    48324925; return 0; }
    48334926EOF
    4834 if { (eval echo configure:4835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     4927if { (eval echo configure:4928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    48354928  rm -rf conftest*
    48364929  eval "ac_cv_lib_$ac_lib_var=yes"
     
    48724965
    48734966echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4874 echo "configure:4875: checking whether to have MP" >&5
     4967echo "configure:4968: checking whether to have MP" >&5
    48754968if test "${with_MP}" != yes && test "${with_MP}" != no; then
    48764969  if (test "${will_have_gmp}" = yes) && \
     
    49034996
    49044997echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4905 echo "configure:4906: checking whether to have factory" >&5
     4998echo "configure:4999: checking whether to have factory" >&5
    49064999if test "${with_factory}" != yes && test "${with_factory}" != no; then
    49075000  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    49345027
    49355028echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4936 echo "configure:4937: checking whether to have libfac" >&5
     5029echo "configure:5030: checking whether to have libfac" >&5
    49375030if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    49385031  if (test "${will_have_factory}" = yes) && \
     
    49665059
    49675060echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4968 echo "configure:4969: checking whether to have dbm links" >&5
     5061echo "configure:5062: checking whether to have dbm links" >&5
    49695062if test "$with_dbm" != no; then
    49705063  cat >> confdefs.h <<\EOF
     
    49785071
    49795072echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4980 echo "configure:4981: checking whether to have namespaces" >&5
     5073echo "configure:5074: checking whether to have namespaces" >&5
    49815074if test "$with_namespaces" != yes; then
    49825075  echo "$ac_t""no" 1>&6
     
    49905083
    49915084echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6
    4992 echo "configure:4993: checking whether to have dynamic loading" >&5
     5085echo "configure:5086: checking whether to have dynamic loading" >&5
    49935086if test "$with_dl" != yes; then
    49945087  echo "$ac_t""no" 1>&6
     
    50035096        HPUX-9)
    50045097          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    5005 echo "configure:5006: checking for shl_load in -ldld" >&5
     5098echo "configure:5099: checking for shl_load in -ldld" >&5
    50065099ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    50075100if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    50115104LIBS="-ldld  $LIBS"
    50125105cat > conftest.$ac_ext <<EOF
    5013 #line 5014 "configure"
     5106#line 5107 "configure"
    50145107#include "confdefs.h"
    50155108/* Override any gcc2 internal prototype to avoid an error.  */
     
    50225115; return 0; }
    50235116EOF
    5024 if { (eval echo configure:5025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     5117if { (eval echo configure:5118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    50255118  rm -rf conftest*
    50265119  eval "ac_cv_lib_$ac_lib_var=yes"
     
    50545147        HPUX-10)
    50555148          echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
    5056 echo "configure:5057: checking for shl_load in -ldld" >&5
     5149echo "configure:5150: checking for shl_load in -ldld" >&5
    50575150ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
    50585151if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    50625155LIBS="-ldld  $LIBS"
    50635156cat > conftest.$ac_ext <<EOF
    5064 #line 5065 "configure"
     5157#line 5158 "configure"
    50655158#include "confdefs.h"
    50665159/* Override any gcc2 internal prototype to avoid an error.  */
     
    50735166; return 0; }
    50745167EOF
    5075 if { (eval echo configure:5076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     5168if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    50765169  rm -rf conftest*
    50775170  eval "ac_cv_lib_$ac_lib_var=yes"
     
    51125205
    51135206echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6
    5114 echo "configure:5115: checking whether to use mtrack" >&5
     5207echo "configure:5208: checking whether to use mtrack" >&5
    51155208if test "$with_mtrack" = yes && test "$ac_cv_singuname" = ix86-Linux; then
    51165209  echo "$ac_t""yes" 1>&6
     
    51265219
    51275220echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6
    5128 echo "configure:5129: checking which exponent type to use" >&5
     5221echo "configure:5222: checking which exponent type to use" >&5
    51295222if test "$with_exp_type" = "char"; then
    51305223  echo "$ac_t""char" 1>&6
     
    51825275# and sets the high bit in the cache file unless we assign to the vars.
    51835276(set) 2>&1 |
    5184   case `(ac_space=' '; set) 2>&1` in
     5277  case `(ac_space=' '; set | grep ac_space) 2>&1` in
    51855278  *ac_space=\ *)
    51865279    # `set' does not quote correctly, so add quotes (double-quote substitution
     
    52495342    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    52505343  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    5251     echo "$CONFIG_STATUS generated by autoconf version 2.12"
     5344    echo "$CONFIG_STATUS generated by autoconf version 2.13"
    52525345    exit 0 ;;
    52535346  -help | --help | --hel | --he | --h)
     
    52685361$ac_vpsub
    52695362$extrasub
     5363s%@SHELL@%$SHELL%g
    52705364s%@CFLAGS@%$CFLAGS%g
    52715365s%@CPPFLAGS@%$CPPFLAGS%g
    52725366s%@CXXFLAGS@%$CXXFLAGS%g
     5367s%@FFLAGS@%$FFLAGS%g
    52735368s%@DEFS@%$DEFS%g
    52745369s%@LDFLAGS@%$LDFLAGS%g
  • Singular/extra.cc

    r571625 r0e002d  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: extra.cc,v 1.117 1999-11-17 10:51:04 obachman Exp $ */
     4/* $Id: extra.cc,v 1.118 1999-11-19 16:42:39 obachman Exp $ */
    55/*
    66* ABSTRACT: general interface to internals of Singular ("system" command)
     
    11221122      poly p = (poly) h->Data();
    11231123      ring cr = currRing;
    1124       ring r = rCurrRingAssure_C_dp();
     1124      ring r = rCurrRingAssure_SyzComp_CompLastBlock();
    11251125      poly p_r = prCopyR(p, cr);
    11261126      pTest(p_r);
    11271127      pWrite(p_r);
    1128       rChangeCurrRing(cr, TRUE);
     1128      rWrite(r);
     1129      pDelete(&p_r);
     1130      assume(rCurrRingAssure_SyzComp() == currRing &&
     1131             rCurrRingAssure_CompLastBlock() == currRing &&
     1132             rCurrRingAssure_SyzComp_CompLastBlock() == currRing);
     1133      if (r != cr)
     1134      {
     1135        rChangeCurrRing(cr, TRUE);
     1136        rKill(r);
     1137      }
    11291138      return FALSE;
    11301139    }
  • Singular/ideals.cc

    r571625 r0e002d  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ideals.cc,v 1.75 1999-11-17 12:09:24 obachman Exp $ */
     4/* $Id: ideals.cc,v 1.76 1999-11-19 16:42:40 obachman Exp $ */
    55/*
    66* ABSTRACT - all basic methods to manipulate ideals
     
    10861086
    10871087  ring orig_ring=currRing;
    1088   ring syz_ring=rCurrRingAssureSyzComp();
     1088  ring syz_ring=rCurrRingAssure_SyzComp();
    10891089  rSetSyzComp(length);
    10901090
     
    12101210
    12111211  ring orig_ring=currRing;
    1212   ring syz_ring=rCurrRingAssureSyzComp();
     1212  ring syz_ring=rCurrRingAssure_SyzComp();
    12131213  rSetSyzComp(syzComp);
    12141214
     
    13641364  assume(currRing != NULL);
    13651365  ring orig_ring=currRing;
    1366   ring syz_ring=rCurrRingAssureSyzComp();
     1366  ring syz_ring=rCurrRingAssure_SyzComp();
    13671367
    13681368  if (setSyzComp)
     
    14761476
    14771477  ring orig_ring=currRing;
    1478   ring syz_ring=rCurrRingAssureSyzComp();
     1478  ring syz_ring=rCurrRingAssure_SyzComp();
    14791479  rSetSyzComp(k);
    14801480
     
    15771577
    15781578  ring orig_ring=currRing;
    1579   ring syz_ring=rCurrRingAssureSyzComp();
     1579  ring syz_ring=rCurrRingAssure_SyzComp();
    15801580  rSetSyzComp(k);
    15811581
     
    16621662
    16631663  ring orig_ring=currRing;
    1664   ring syz_ring=rCurrRingAssureSyzComp();
     1664  ring syz_ring=rCurrRingAssure_SyzComp();
    16651665  rSetSyzComp(max(k,1));
    16661666
     
    18781878  hom = (tHomog)idHomModule(s_h4,currQuotient,&weights1);
    18791879  ring orig_ring=currRing;
    1880   ring syz_ring=rCurrRingAssureSyzComp();
     1880  ring syz_ring=rCurrRingAssure_SyzComp();
    18811881  rSetSyzComp(kmax-1);
    18821882  if (orig_ring!=syz_ring)
     
    28122812{
    28132813  ring orig_ring=currRing;
    2814   ring syz_ring=rCurrRingAssureSyzComp();
     2814  ring syz_ring=rCurrRingAssure_SyzComp();
    28152815  rSetSyzComp(length);
    28162816
     
    29122912
    29132913  ring orig_ring=currRing;
    2914   ring syz_ring=rCurrRingAssureSyzComp();
     2914  ring syz_ring=rCurrRingAssure_SyzComp();
    29152915  rSetSyzComp(length);
    29162916  ideal s_temp;
  • Singular/ring.cc

    r571625 r0e002d  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: ring.cc,v 1.88 1999-11-19 15:17:47 Singular Exp $ */
     4/* $Id: ring.cc,v 1.89 1999-11-19 16:42:41 obachman Exp $ */
    55
    66/*
     
    17381738{
    17391739  if (r == NULL) return NULL;
    1740   rTest(r);
    17411740  int i,j;
    17421741  ring res=(ring)AllocSizeOf(ip_sring);
    17431742
    17441743  memcpy4(res,r,sizeof(ip_sring));
     1744  res->VarOffset = NULL;
    17451745  res->ref=0;
    17461746  if (r->parameter!=NULL)
     
    17921792  if (r->qideal!=NULL)
    17931793  {
    1794     if (copy_qideal) res->qideal= idCopy(r->qideal);
     1794    if (copy_qideal) res->qideal= idrCopyR_NoSort(r->qideal, r);
    17951795    else res->qideal = NULL;
    17961796  }
     
    19951995  if (r == NULL)
    19961996  {
    1997     Werror("Null ring in %s:%d\n", fn, l);
     1997    Warn("Null ring in %s:%d\n", fn, l);
    19981998    return FALSE;
    19991999  }
     
    20152015  if (r->VarOffset == NULL)
    20162016  {
    2017     Werror("Null ring VarOffset -- no rComplete (?) in n %s:%d\n", fn, l);
     2017    Warn("Null ring VarOffset -- no rComplete (?) in n %s:%d\n", fn, l);
    20182018    return FALSE;
    20192019  }
     
    20242024  if ((r->OrdSize==0)!=(r->typ==NULL))
    20252025  {
    2026     Werror("mismatch OrdSize and typ-pointer in %s:%d",fn,l);
     2026    Warn("mismatch OrdSize and typ-pointer in %s:%d",fn,l);
    20272027    return FALSE;
    20282028  }
     
    20422042        {
    20432043          if(((short)r->VarOffset[i]) == r->typ[j].data.cp.place)
    2044             Print("ordrec %d conflicts with var %d\n",j,i);
     2044            Warn("ordrec %d conflicts with var %d\n",j,i);
    20452045        }
    20462046        else
     
    20482048         && (r->VarOffset[i]/(sizeof(long)/sizeof(Exponent_t)))
    20492049           == (size_t)r->typ[j].data.dp.place)
    2050           Print("ordrec %d conflicts with var %d\n",j,i);
     2050          Warn("ordrec %d conflicts with var %d\n",j,i);
    20512051      }
    20522052    }
     
    20592059        if ((r->VarOffset[i] >> 24) >31)
    20602060      #endif
    2061           Print("bit_start out of range:%d\n",r->VarOffset[i] >> 24);
     2061          Warn("bit_start out of range:%d\n",r->VarOffset[i] >> 24);
    20622062    #else
    20632063      tmp=r->VarOffset[i];
     
    20652065    if ((tmp<0) ||(tmp>r->ExpESize-1))
    20662066    {
    2067       Print("varoffset out of range for var %d: %d\n",i,tmp);
     2067      Warn("varoffset out of range for var %d: %d\n",i,tmp);
    20682068    }
    20692069  }
     
    20762076      {
    20772077        if (r->typ[j].data.dp.start > r->typ[j].data.dp.end)
    2078           Print("in ordrec %d: start(%d) > end(%d)\n",j,
     2078          Warn("in ordrec %d: start(%d) > end(%d)\n",j,
    20792079            r->typ[j].data.dp.start, r->typ[j].data.dp.end);
    20802080        if ((r->typ[j].data.dp.start < 1)
    20812081        || (r->typ[j].data.dp.end > r->N))
    2082           Print("in ordrec %d: start(%d)<1 or end(%d)>vars(%d)\n",j,
     2082          Warn("in ordrec %d: start(%d)<1 or end(%d)>vars(%d)\n",j,
    20832083            r->typ[j].data.dp.start, r->typ[j].data.dp.end,r->N);
    20842084      }
     
    22792279     case 0x3:        bits=2;  break;
    22802280     default:
    2281        Werror("unknown bitmask %xl",r->bitmask);
     2281       Warn("unknown bitmask %xl",r->bitmask);
    22822282       return TRUE;
    22832283  }
     
    31023102{
    31033103  if (r == NULL) return;
    3104   if (r->mm_specHeap != NULL)
    3105     mmUnGetSpecHeap(&(r->mm_specHeap));
    3106   Free((ADDRESS)r->VarOffset, (r->N +1)*sizeof(int));
    3107   if (r->order != NULL)
    3108   {
    3109     if (r->order[0] == ringorder_s && r->typ[0].data.syz.limit > 0)
    3110     {
    3111       Free(r->typ[0].data.syz.syz_index,
    3112            (r->typ[0].data.syz.limit +1)*sizeof(int));
    3113     }
    3114   }
    3115   if (r->OrdSize!=0 && r->typ != NULL)
    3116   {
    3117     Free((ADDRESS)r->typ,r->OrdSize*sizeof(sro_ord));
    3118   }
    3119   if (r->ordsgn != NULL && r->pCompLSize != 0)
    3120     Free((ADDRESS)r->ordsgn,r->pCompLSize*sizeof(long));
     3104  if (r->VarOffset != NULL)
     3105  {
     3106    if (r->mm_specHeap != NULL)
     3107      mmUnGetSpecHeap(&(r->mm_specHeap));
     3108 
     3109    Free((ADDRESS)r->VarOffset, (r->N +1)*sizeof(int));
     3110    if (r->order != NULL)
     3111    {
     3112      if (r->order[0] == ringorder_s && r->typ[0].data.syz.limit > 0)
     3113      {
     3114        Free(r->typ[0].data.syz.syz_index,
     3115             (r->typ[0].data.syz.limit +1)*sizeof(int));
     3116      }
     3117    }
     3118    if (r->OrdSize!=0 && r->typ != NULL)
     3119    {
     3120      Free((ADDRESS)r->typ,r->OrdSize*sizeof(sro_ord));
     3121    }
     3122    if (r->ordsgn != NULL && r->pCompLSize != 0)
     3123      Free((ADDRESS)r->ordsgn,r->pCompLSize*sizeof(long));
     3124  }
    31213125}
    31223126
     
    32233227}
    32243228
    3225 #if 0
    3226 /*2
    3227  * create a copy of the ring r, which must be equivalent to currRing
    3228  * used for qring definition,..
    3229  * (i.e.: normal rings: same nCopy as currRing;
    3230  *        qring:        same nCopy, same idCopy as currRing)
    3231  */
    3232 ring   rCopyAndAddSComps(ring r)
    3233 {
    3234   int i,j;
    3235   int *pi;
    3236   ring res=(ring)AllocSizeOf(ip_sring);
    3237 
    3238   memcpy4(res,r,sizeof(ip_sring));
    3239   res->ref=0;
    3240   if (r->parameter!=NULL)
    3241   {
    3242     res->minpoly=nCopy(r->minpoly);
    3243     int l=rPar(r);
    3244     res->parameter=(char **)Alloc(l*sizeof(char_ptr));
    3245     int i;
    3246     for(i=0;i<r->P;i++)
    3247     {
    3248       res->parameter[i]=mstrdup(r->parameter[i]);
    3249     }
    3250   }
    3251   res->names   = (char **)Alloc(r->N * sizeof(char_ptr));
    3252   i=1; // ringorder_C ->  ringorder_S
    3253   pi=r->order;
    3254   while ((*pi)!=0) { i++;pi++; }
    3255   res->wvhdl   = (int **)Alloc(i * sizeof(int_ptr));
    3256   res->order   = (int *) Alloc(i * sizeof(int));
    3257   res->block0  = (int *) Alloc(i * sizeof(int));
    3258   res->block1  = (int *) Alloc(i * sizeof(int));
    3259   for (j=0; j<i; j++)
    3260   {
    3261     if (r->wvhdl[j]!=NULL)
    3262     {
    3263       res->wvhdl[j]=(int*)AllocL(mmSizeL((ADDRESS)r->wvhdl[j]));
    3264       memcpy(res->wvhdl[j],r->wvhdl[j],mmSizeL((ADDRESS)r->wvhdl[j]));
    3265     }
    3266     else
    3267       res->wvhdl[j]=NULL;
    3268   }
    3269   memcpy4(res->order+1,r->order,i * sizeof(int));
    3270   memcpy4(res->block0+1,r->block0,i * sizeof(int));
    3271   memcpy4(res->block1+1,r->block1,i * sizeof(int));
    3272   for (i=0; i<res->N; i++)
    3273   {
    3274     res->names[i] = mstrdup(r->names[i]);
    3275   }
    3276   res->idroot = NULL;
    3277   if (r->qideal!=NULL) res->qideal= idCopy(r->qideal);
    3278   // add the additional ordering:
    3279   res->order[1]=ringorder_S;
    3280   res->block0[1]=1;
    3281   res->block1[1]=0; // block1-block0 is the length
    3282   res->wvhdl[1]=NULL;
    3283   rComplete(res, 1);
    3284   return res;
    3285 }
    3286 #endif
    32873229
    32883230/*2
     
    33373279
    33383280// for the time being, this is still here
    3339 static ring rAssureSyzComp(ring r);
    3340 ring rCurrRingAssureSyzComp()
    3341 {
    3342   ring r = rAssureSyzComp(currRing);
     3281static ring rAssure_SyzComp(ring r, BOOLEAN complete = TRUE);
     3282ring rCurrRingAssure_SyzComp()
     3283{
     3284  ring r = rAssure_SyzComp(currRing);
    33433285  if (r != currRing)
    33443286  {
     
    33553297}
    33563298
    3357 static ring rAssureSyzComp(ring r)
     3299static ring rAssure_SyzComp(ring r, BOOLEAN complete = TRUE)
    33583300{
    33593301  if (r->order[0] == ringorder_s) return r;
    3360 
    33613302  ring res=rCopy0(r, FALSE, FALSE);
    33623303  int i=rBlocks(r);
     
    33843325  res->wvhdl = wvhdl;
    33853326
    3386   rComplete(res,1);
     3327  if (complete) rComplete(res, 1);
    33873328  return res;
    33883329}
    33893330
     3331static ring rAssure_CompLastBlock(ring r, BOOLEAN complete = TRUE)
     3332{
     3333  int last_block = rBlocks(r) - 2;
     3334  if (r->order[last_block] != ringorder_c &&
     3335      r->order[last_block] != ringorder_C)
     3336  {
     3337    int c_pos = 0;
     3338    int i;
     3339   
     3340    for (i=0; i< last_block; i++)
     3341    {
     3342      if (r->order[i] == ringorder_c || r->order[i] == ringorder_C)
     3343      {
     3344        c_pos = i;
     3345        break;
     3346      }
     3347    }
     3348    if (c_pos != -1)
     3349    {
     3350      ring new_r = rCopy0(r, FALSE, TRUE);
     3351      for (i=c_pos+1; i<=last_block; i++)
     3352      {
     3353        new_r->order[i-1] = new_r->order[i];
     3354        new_r->block0[i-1] = new_r->block0[i];
     3355        new_r->block1[i-1] = new_r->block1[i];
     3356        new_r->wvhdl[i-1] = new_r->wvhdl[i];
     3357      }
     3358      new_r->order[last_block] = r->order[c_pos];
     3359      new_r->block0[last_block] = r->block0[c_pos];
     3360      new_r->block1[last_block] = r->block1[c_pos];
     3361      new_r->wvhdl[last_block] = r->wvhdl[c_pos];
     3362      if (complete) rComplete(new_r, 1);
     3363      return new_r;
     3364    }
     3365  }
     3366  return r;
     3367}
     3368
     3369ring rCurrRingAssure_CompLastBlock()
     3370{
     3371  ring new_r = rAssure_CompLastBlock(currRing);
     3372  if (currRing != new_r)
     3373  {
     3374    ring old_r = currRing;
     3375    rChangeCurrRing(new_r, TRUE);
     3376    if (old_r->qideal != NULL)
     3377    {
     3378      new_r->qideal = idrCopyR(old_r->qideal, old_r);
     3379      currQuotient = new_r->qideal;
     3380    }
     3381  }
     3382  return new_r;
     3383}
     3384
     3385ring rCurrRingAssure_SyzComp_CompLastBlock()
     3386{
     3387  ring new_r_1 = rAssure_CompLastBlock(currRing, FALSE);
     3388  ring new_r = rAssure_SyzComp(new_r_1, FALSE);
     3389 
     3390  if (new_r != currRing)
     3391  {
     3392    ring old_r = currRing;   
     3393    if (new_r_1 != new_r && new_r_1 != old_r) rDelete(new_r_1);
     3394    rComplete(new_r, 1);
     3395    rChangeCurrRing(new_r, TRUE);
     3396    if (old_r->qideal != NULL)
     3397    {
     3398      new_r->qideal = idrCopyR(old_r->qideal, old_r);
     3399      currQuotient = new_r->qideal;
     3400    }
     3401    rTest(new_r);
     3402    rTest(old_r);
     3403  }
     3404  return new_r;
     3405}
    33903406
    33913407// use this for global orderings consisting of two blocks
     
    33963412
    33973413  assume(b1 == ringorder_c || b1 == ringorder_C ||
    3398          b2 == ringorder_c || b1 == ringorder_C ||
     3414         b2 == ringorder_c || b2 == ringorder_C ||
    33993415         b2 == ringorder_S);
    34003416
    3401   if (r_blocks == 2 && currRing->order[0] == b1 && currRing->order[2] == 0)
     3417#if THOMAS_HAS_FIXED_ALLRES
     3418  if (r_blocks == 3 &&
     3419      currRing->order[0] == b1 &&
     3420      currRing->order[1] == b2 &&
     3421      currRing->order[2] == 0)
    34023422    return currRing;
    3403 
    3404   ring res = rCopy0(currRing, FALSE, FALSE);
     3423#endif
     3424
     3425  ring res = rCopy0(currRing, TRUE, FALSE);
    34053426  res->order = (int*)Alloc0(3*sizeof(int));
    34063427  res->block0 = (int*)Alloc0(3*sizeof(int));
  • Singular/ring.h

    r571625 r0e002d  
    77* ABSTRACT - the interpreter related ring operations
    88*/
    9 /* $Id: ring.h,v 1.43 1999-11-18 14:47:02 obachman Exp $ */
     9/* $Id: ring.h,v 1.44 1999-11-19 16:42:42 obachman Exp $ */
    1010
    1111/* includes */
     
    192192
    193193// Ring Manipulations
    194 ring   rCurrRingAssureSyzComp();
     194ring   rCurrRingAssure_SyzComp();
    195195void   rSetSyzComp(int k);
    196196ring   rCurrRingAssure_dp_S();
    197197ring   rCurrRingAssure_dp_C();
    198198ring   rCurrRingAssure_C_dp();
     199// makes sure that c/C ordering is last ordering
     200ring   rCurrRingAssure_CompLastBlock();
     201// makes sure that c/C ordering is last ordering and SyzIndex is first
     202ring   rCurrRingAssure_SyzComp_CompLastBlock();
     203
    199204// return the max-comonent wchich has syzIndex i
    200205// Assume: i<= syzIndex_limit
  • Singular/syz.cc

    r571625 r0e002d  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz.cc,v 1.30 1999-11-18 18:43:57 siebert Exp $ */
     4/* $Id: syz.cc,v 1.31 1999-11-19 16:42:42 obachman Exp $ */
    55
    66/*
     
    424424/*--- initialize the syzygy-ring -----------------------------*/
    425425  ring origR = currRing;
    426   ring syz_ring = rCurrRingAssureSyzComp();
     426  ring syz_ring = rCurrRingAssure_SyzComp();
    427427  rSetSyzComp(rk_arg);
    428428 
  • Singular/syz2.cc

    r571625 r0e002d  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: syz2.cc,v 1.9 1999-11-18 18:43:58 siebert Exp $ */
     4/* $Id: syz2.cc,v 1.10 1999-11-19 16:42:43 obachman Exp $ */
    55/*
    66* ABSTRACT: resolutions
     
    954954  // Creare dp,S ring and change to it
    955955  syzstr->syRing = rCurrRingAssure_dp_C();
    956   assume(syzstr->syRing != origR);
    957956
    958957  // set initial ShiftedComps
Note: See TracChangeset for help on using the changeset viewer.