Changeset 457d8d6 in git


Ignore:
Timestamp:
Mar 8, 2001, 2:05:15 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c7af8613769b29c741d6c338945669719f1fc4f8')
Children:
5a8b9c4598a09a1500a99df3038cb27e10a0215f
Parents:
65b27c5c9be783dc3dacb25081a2b1227c9d5425
Message:
*hannes: posInS shall only use head terms


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

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r65b27c r457d8d6  
    18001800          fi
    18011801        ;;
     1802        SunOS-5)
     1803          echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
     1804echo "configure:1805: checking for dlopen in -ldl" >&5
     1805ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
     1806if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     1807  echo $ac_n "(cached) $ac_c" 1>&6
     1808else
     1809  ac_save_LIBS="$LIBS"
     1810LIBS="-ldl  $LIBS"
     1811cat > conftest.$ac_ext <<EOF
     1812#line 1813 "configure"
     1813#include "confdefs.h"
     1814/* Override any gcc2 internal prototype to avoid an error.  */
     1815/* We use char because int might match the return type of a gcc2
     1816    builtin and then its argument prototype would still apply.  */
     1817char dlopen();
     1818
     1819int main() {
     1820dlopen()
     1821; return 0; }
     1822EOF
     1823if { (eval echo configure:1824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     1824  rm -rf conftest*
     1825  eval "ac_cv_lib_$ac_lib_var=yes"
     1826else
     1827  echo "configure: failed program was:" >&5
     1828  cat conftest.$ac_ext >&5
     1829  rm -rf conftest*
     1830  eval "ac_cv_lib_$ac_lib_var=no"
     1831fi
     1832rm -f conftest*
     1833LIBS="$ac_save_LIBS"
     1834
     1835fi
     1836if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
     1837  echo "$ac_t""yes" 1>&6
     1838    ac_tr_lib=HAVE_LIB`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1839    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
     1840  cat >> confdefs.h <<EOF
     1841#define $ac_tr_lib 1
     1842EOF
     1843
     1844  LIBS="-ldl $LIBS"
     1845
     1846else
     1847  echo "$ac_t""no" 1>&6
     1848fi
     1849
     1850          if test "$ac_cv_lib_dl_dlopen" = yes; then
     1851                LD_DYN_FLAGS="-ldl -Xlinker -E"
     1852                SFLAGS="-fpic -DPIC"
     1853                SLDFLAGS=-shared
     1854                ac_lib_dl=yes
     1855          fi
     1856        ;;
    18021857        IRIX-6)
    18031858          LD_DYN_FLAGS="-lc"
     
    18131868# heder file checks
    18141869echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
    1815 echo "configure:1816: checking for ANSI C header files" >&5
     1870echo "configure:1871: checking for ANSI C header files" >&5
    18161871if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    18171872  echo $ac_n "(cached) $ac_c" 1>&6
    18181873else
    18191874  cat > conftest.$ac_ext <<EOF
    1820 #line 1821 "configure"
     1875#line 1876 "configure"
    18211876#include "confdefs.h"
    18221877#include <stdlib.h>
     
    18261881EOF
    18271882ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1828 { (eval echo configure:1829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1883{ (eval echo configure:1884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18291884ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    18301885if test -z "$ac_err"; then
     
    18431898  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    18441899cat > conftest.$ac_ext <<EOF
    1845 #line 1846 "configure"
     1900#line 1901 "configure"
    18461901#include "confdefs.h"
    18471902#include <string.h>
     
    18611916  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    18621917cat > conftest.$ac_ext <<EOF
    1863 #line 1864 "configure"
     1918#line 1919 "configure"
    18641919#include "confdefs.h"
    18651920#include <stdlib.h>
     
    18821937else
    18831938  cat > conftest.$ac_ext <<EOF
    1884 #line 1885 "configure"
     1939#line 1940 "configure"
    18851940#include "confdefs.h"
    18861941#include <ctype.h>
     
    18931948
    18941949EOF
    1895 if { (eval echo configure:1896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     1950if { (eval echo configure:1951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    18961951then
    18971952  :
     
    19201975ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19211976echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1922 echo "configure:1923: checking for $ac_hdr" >&5
     1977echo "configure:1978: checking for $ac_hdr" >&5
    19231978if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19241979  echo $ac_n "(cached) $ac_c" 1>&6
    19251980else
    19261981  cat > conftest.$ac_ext <<EOF
    1927 #line 1928 "configure"
     1982#line 1983 "configure"
    19281983#include "confdefs.h"
    19291984#include <$ac_hdr>
    19301985EOF
    19311986ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1932 { (eval echo configure:1933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1987{ (eval echo configure:1988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19331988ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19341989if test -z "$ac_err"; then
     
    19622017ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    19632018echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    1964 echo "configure:1965: checking for $ac_hdr" >&5
     2019echo "configure:2020: checking for $ac_hdr" >&5
    19652020if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19662021  echo $ac_n "(cached) $ac_c" 1>&6
    19672022else
    19682023  cat > conftest.$ac_ext <<EOF
    1969 #line 1970 "configure"
     2024#line 2025 "configure"
    19702025#include "confdefs.h"
    19712026#include <$ac_hdr>
    19722027EOF
    19732028ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1974 { (eval echo configure:1975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2029{ (eval echo configure:2030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19752030ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    19762031if test -z "$ac_err"; then
     
    20012056# typedefs, structures
    20022057echo $ac_n "checking for working const""... $ac_c" 1>&6
    2003 echo "configure:2004: checking for working const" >&5
     2058echo "configure:2059: checking for working const" >&5
    20042059if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    20052060  echo $ac_n "(cached) $ac_c" 1>&6
    20062061else
    20072062  cat > conftest.$ac_ext <<EOF
    2008 #line 2009 "configure"
     2063#line 2064 "configure"
    20092064#include "confdefs.h"
    20102065
     
    20552110; return 0; }
    20562111EOF
    2057 if { (eval echo configure:2058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2112if { (eval echo configure:2113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20582113  rm -rf conftest*
    20592114  ac_cv_c_const=yes
     
    20762131
    20772132echo $ac_n "checking for inline""... $ac_c" 1>&6
    2078 echo "configure:2079: checking for inline" >&5
     2133echo "configure:2134: checking for inline" >&5
    20792134if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    20802135  echo $ac_n "(cached) $ac_c" 1>&6
     
    20832138for ac_kw in inline __inline__ __inline; do
    20842139  cat > conftest.$ac_ext <<EOF
    2085 #line 2086 "configure"
     2140#line 2141 "configure"
    20862141#include "confdefs.h"
    20872142
     
    20902145; return 0; }
    20912146EOF
    2092 if { (eval echo configure:2093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2147if { (eval echo configure:2148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    20932148  rm -rf conftest*
    20942149  ac_cv_c_inline=$ac_kw; break
     
    21162171
    21172172echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2118 echo "configure:2119: checking for size_t" >&5
     2173echo "configure:2174: checking for size_t" >&5
    21192174if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    21202175  echo $ac_n "(cached) $ac_c" 1>&6
    21212176else
    21222177  cat > conftest.$ac_ext <<EOF
    2123 #line 2124 "configure"
     2178#line 2179 "configure"
    21242179#include "confdefs.h"
    21252180#include <sys/types.h>
     
    21492204
    21502205echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2151 echo "configure:2152: checking whether time.h and sys/time.h may both be included" >&5
     2206echo "configure:2207: checking whether time.h and sys/time.h may both be included" >&5
    21522207if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    21532208  echo $ac_n "(cached) $ac_c" 1>&6
    21542209else
    21552210  cat > conftest.$ac_ext <<EOF
    2156 #line 2157 "configure"
     2211#line 2212 "configure"
    21572212#include "confdefs.h"
    21582213#include <sys/types.h>
     
    21632218; return 0; }
    21642219EOF
    2165 if { (eval echo configure:2166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2220if { (eval echo configure:2221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    21662221  rm -rf conftest*
    21672222  ac_cv_header_time=yes
     
    21842239
    21852240echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2186 echo "configure:2187: checking whether struct tm is in sys/time.h or time.h" >&5
     2241echo "configure:2242: checking whether struct tm is in sys/time.h or time.h" >&5
    21872242if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    21882243  echo $ac_n "(cached) $ac_c" 1>&6
    21892244else
    21902245  cat > conftest.$ac_ext <<EOF
    2191 #line 2192 "configure"
     2246#line 2247 "configure"
    21922247#include "confdefs.h"
    21932248#include <sys/types.h>
     
    21972252; return 0; }
    21982253EOF
    2199 if { (eval echo configure:2200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2254if { (eval echo configure:2255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    22002255  rm -rf conftest*
    22012256  ac_cv_struct_tm=time.h
     
    22222277# for constant arguments.  Useless!
    22232278echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2224 echo "configure:2225: checking for working alloca.h" >&5
     2279echo "configure:2280: checking for working alloca.h" >&5
    22252280if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    22262281  echo $ac_n "(cached) $ac_c" 1>&6
    22272282else
    22282283  cat > conftest.$ac_ext <<EOF
    2229 #line 2230 "configure"
     2284#line 2285 "configure"
    22302285#include "confdefs.h"
    22312286#include <alloca.h>
     
    22342289; return 0; }
    22352290EOF
    2236 if { (eval echo configure:2237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2291if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22372292  rm -rf conftest*
    22382293  ac_cv_header_alloca_h=yes
     
    22552310
    22562311echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2257 echo "configure:2258: checking for alloca" >&5
     2312echo "configure:2313: checking for alloca" >&5
    22582313if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    22592314  echo $ac_n "(cached) $ac_c" 1>&6
    22602315else
    22612316  cat > conftest.$ac_ext <<EOF
    2262 #line 2263 "configure"
     2317#line 2318 "configure"
    22632318#include "confdefs.h"
    22642319
     
    22882343; return 0; }
    22892344EOF
    2290 if { (eval echo configure:2291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2345if { (eval echo configure:2346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    22912346  rm -rf conftest*
    22922347  ac_cv_func_alloca_works=yes
     
    23202375
    23212376echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2322 echo "configure:2323: checking whether alloca needs Cray hooks" >&5
     2377echo "configure:2378: checking whether alloca needs Cray hooks" >&5
    23232378if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    23242379  echo $ac_n "(cached) $ac_c" 1>&6
    23252380else
    23262381  cat > conftest.$ac_ext <<EOF
    2327 #line 2328 "configure"
     2382#line 2383 "configure"
    23282383#include "confdefs.h"
    23292384#if defined(CRAY) && ! defined(CRAY2)
     
    23502405for ac_func in _getb67 GETB67 getb67; do
    23512406  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2352 echo "configure:2353: checking for $ac_func" >&5
     2407echo "configure:2408: checking for $ac_func" >&5
    23532408if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    23542409  echo $ac_n "(cached) $ac_c" 1>&6
    23552410else
    23562411  cat > conftest.$ac_ext <<EOF
    2357 #line 2358 "configure"
     2412#line 2413 "configure"
    23582413#include "confdefs.h"
    23592414/* System header to define __stub macros and hopefully few prototypes,
     
    23782433; return 0; }
    23792434EOF
    2380 if { (eval echo configure:2381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2435if { (eval echo configure:2436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    23812436  rm -rf conftest*
    23822437  eval "ac_cv_func_$ac_func=yes"
     
    24052460
    24062461echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2407 echo "configure:2408: checking stack direction for C alloca" >&5
     2462echo "configure:2463: checking stack direction for C alloca" >&5
    24082463if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    24092464  echo $ac_n "(cached) $ac_c" 1>&6
     
    24132468else
    24142469  cat > conftest.$ac_ext <<EOF
    2415 #line 2416 "configure"
     2470#line 2471 "configure"
    24162471#include "confdefs.h"
    24172472find_stack_direction ()
     
    24322487}
    24332488EOF
    2434 if { (eval echo configure:2435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2489if { (eval echo configure:2490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    24352490then
    24362491  ac_cv_c_stack_direction=1
     
    24552510if test $ac_cv_prog_gcc = yes; then
    24562511    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    2457 echo "configure:2458: checking whether ${CC-cc} needs -traditional" >&5
     2512echo "configure:2513: checking whether ${CC-cc} needs -traditional" >&5
    24582513if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    24592514  echo $ac_n "(cached) $ac_c" 1>&6
     
    24612516    ac_pattern="Autoconf.*'x'"
    24622517  cat > conftest.$ac_ext <<EOF
    2463 #line 2464 "configure"
     2518#line 2519 "configure"
    24642519#include "confdefs.h"
    24652520#include <sgtty.h>
     
    24792534  if test $ac_cv_prog_gcc_traditional = no; then
    24802535    cat > conftest.$ac_ext <<EOF
    2481 #line 2482 "configure"
     2536#line 2537 "configure"
    24822537#include "confdefs.h"
    24832538#include <termio.h>
     
    25042559ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    25052560echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2506 echo "configure:2507: checking for $ac_hdr" >&5
     2561echo "configure:2562: checking for $ac_hdr" >&5
    25072562if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25082563  echo $ac_n "(cached) $ac_c" 1>&6
    25092564else
    25102565  cat > conftest.$ac_ext <<EOF
    2511 #line 2512 "configure"
     2566#line 2567 "configure"
    25122567#include "confdefs.h"
    25132568#include <$ac_hdr>
    25142569EOF
    25152570ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2516 { (eval echo configure:2517: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2571{ (eval echo configure:2572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25172572ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    25182573if test -z "$ac_err"; then
     
    25432598do
    25442599echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2545 echo "configure:2546: checking for $ac_func" >&5
     2600echo "configure:2601: checking for $ac_func" >&5
    25462601if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    25472602  echo $ac_n "(cached) $ac_c" 1>&6
    25482603else
    25492604  cat > conftest.$ac_ext <<EOF
    2550 #line 2551 "configure"
     2605#line 2606 "configure"
    25512606#include "confdefs.h"
    25522607/* System header to define __stub macros and hopefully few prototypes,
     
    25712626; return 0; }
    25722627EOF
    2573 if { (eval echo configure:2574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2628if { (eval echo configure:2629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    25742629  rm -rf conftest*
    25752630  eval "ac_cv_func_$ac_func=yes"
     
    25962651
    25972652echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2598 echo "configure:2599: checking for working mmap" >&5
     2653echo "configure:2654: checking for working mmap" >&5
    25992654if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    26002655  echo $ac_n "(cached) $ac_c" 1>&6
     
    26042659else
    26052660  cat > conftest.$ac_ext <<EOF
    2606 #line 2607 "configure"
     2661#line 2662 "configure"
    26072662#include "confdefs.h"
    26082663
     
    27442799
    27452800EOF
    2746 if { (eval echo configure:2747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     2801if { (eval echo configure:2802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    27472802then
    27482803  ac_cv_func_mmap_fixed_mapped=yes
     
    27672822
    27682823echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    2769 echo "configure:2770: checking return type of signal handlers" >&5
     2824echo "configure:2825: checking return type of signal handlers" >&5
    27702825if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    27712826  echo $ac_n "(cached) $ac_c" 1>&6
    27722827else
    27732828  cat > conftest.$ac_ext <<EOF
    2774 #line 2775 "configure"
     2829#line 2830 "configure"
    27752830#include "confdefs.h"
    27762831#include <sys/types.h>
     
    27892844; return 0; }
    27902845EOF
    2791 if { (eval echo configure:2792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2846if { (eval echo configure:2847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27922847  rm -rf conftest*
    27932848  ac_cv_type_signal=void
     
    28082863
    28092864echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    2810 echo "configure:2811: checking for vprintf" >&5
     2865echo "configure:2866: checking for vprintf" >&5
    28112866if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    28122867  echo $ac_n "(cached) $ac_c" 1>&6
    28132868else
    28142869  cat > conftest.$ac_ext <<EOF
    2815 #line 2816 "configure"
     2870#line 2871 "configure"
    28162871#include "confdefs.h"
    28172872/* System header to define __stub macros and hopefully few prototypes,
     
    28362891; return 0; }
    28372892EOF
    2838 if { (eval echo configure:2839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2893if { (eval echo configure:2894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28392894  rm -rf conftest*
    28402895  eval "ac_cv_func_vprintf=yes"
     
    28602915if test "$ac_cv_func_vprintf" != yes; then
    28612916echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    2862 echo "configure:2863: checking for _doprnt" >&5
     2917echo "configure:2918: checking for _doprnt" >&5
    28632918if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    28642919  echo $ac_n "(cached) $ac_c" 1>&6
    28652920else
    28662921  cat > conftest.$ac_ext <<EOF
    2867 #line 2868 "configure"
     2922#line 2923 "configure"
    28682923#include "confdefs.h"
    28692924/* System header to define __stub macros and hopefully few prototypes,
     
    28882943; return 0; }
    28892944EOF
    2890 if { (eval echo configure:2891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2945if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    28912946  rm -rf conftest*
    28922947  eval "ac_cv_func__doprnt=yes"
     
    29142969
    29152970echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6
    2916 echo "configure:2917: checking for library containing setenv" >&5
     2971echo "configure:2972: checking for library containing setenv" >&5
    29172972if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then
    29182973  echo $ac_n "(cached) $ac_c" 1>&6
     
    29212976ac_cv_search_setenv="no"
    29222977cat > conftest.$ac_ext <<EOF
    2923 #line 2924 "configure"
     2978#line 2979 "configure"
    29242979#include "confdefs.h"
    29252980/* Override any gcc2 internal prototype to avoid an error.  */
     
    29322987; return 0; }
    29332988EOF
    2934 if { (eval echo configure:2935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2989if { (eval echo configure:2990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29352990  rm -rf conftest*
    29362991  ac_cv_search_setenv="none required"
     
    29432998LIBS="-l$i  $ac_func_search_save_LIBS"
    29442999cat > conftest.$ac_ext <<EOF
    2945 #line 2946 "configure"
     3000#line 3001 "configure"
    29463001#include "confdefs.h"
    29473002/* Override any gcc2 internal prototype to avoid an error.  */
     
    29543009; return 0; }
    29553010EOF
    2956 if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3011if { (eval echo configure:3012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    29573012  rm -rf conftest*
    29583013  ac_cv_search_setenv="-l$i"
     
    29773032do
    29783033echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2979 echo "configure:2980: checking for $ac_func" >&5
     3034echo "configure:3035: checking for $ac_func" >&5
    29803035if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    29813036  echo $ac_n "(cached) $ac_c" 1>&6
    29823037else
    29833038  cat > conftest.$ac_ext <<EOF
    2984 #line 2985 "configure"
     3039#line 3040 "configure"
    29853040#include "confdefs.h"
    29863041/* System header to define __stub macros and hopefully few prototypes,
     
    30053060; return 0; }
    30063061EOF
    3007 if { (eval echo configure:3008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3062if { (eval echo configure:3063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    30083063  rm -rf conftest*
    30093064  eval "ac_cv_func_$ac_func=yes"
     
    30343089# arithmetic shifts
    30353090echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    3036 echo "configure:3037: checking whether your machine has correct arithmetic shifts" >&5
     3091echo "configure:3092: checking whether your machine has correct arithmetic shifts" >&5
    30373092if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    30383093  echo $ac_n "(cached) $ac_c" 1>&6
     
    30473102else
    30483103  cat > conftest.$ac_ext <<EOF
    3049 #line 3050 "configure"
     3104#line 3105 "configure"
    30503105#include "confdefs.h"
    30513106 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    30523107EOF
    3053 if { (eval echo configure:3054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3108if { (eval echo configure:3109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    30543109then
    30553110  ac_cv_shift=yes
     
    30763131# check for a peculiar constructor initialization
    30773132echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6
    3078 echo "configure:3079: checking whether explicit C++ constructor calls are allowed" >&5
     3133echo "configure:3134: checking whether explicit C++ constructor calls are allowed" >&5
    30793134
    30803135ac_ext=C
     
    30893144else
    30903145  cat > conftest.$ac_ext <<EOF
    3091 #line 3092 "configure"
     3146#line 3147 "configure"
    30923147#include "confdefs.h"
    30933148
     
    31073162; return 0; }
    31083163EOF
    3109 if { (eval echo configure:3110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3164if { (eval echo configure:3165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31103165  rm -rf conftest*
    31113166  ac_cv_explicit_const=yes
     
    31363191# sprintf returns number of printed chars
    31373192echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3138 echo "configure:3139: checking whether vsprintf returns number of printed chars" >&5
     3193echo "configure:3194: checking whether vsprintf returns number of printed chars" >&5
    31393194if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    31403195  echo $ac_n "(cached) $ac_c" 1>&6
     
    31443199else
    31453200  cat > conftest.$ac_ext <<EOF
    3146 #line 3147 "configure"
     3201#line 3202 "configure"
    31473202#include "confdefs.h"
    31483203#include <stdio.h>
    31493204 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    31503205EOF
    3151 if { (eval echo configure:3152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3206if { (eval echo configure:3207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31523207then
    31533208  ac_cv_returns_n_of_chars=yes
     
    31753230# determine ALIGN_8
    31763231echo $ac_n "checking size of char""... $ac_c" 1>&6
    3177 echo "configure:3178: checking size of char" >&5
     3232echo "configure:3233: checking size of char" >&5
    31783233if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    31793234  echo $ac_n "(cached) $ac_c" 1>&6
     
    31833238else
    31843239  cat > conftest.$ac_ext <<EOF
    3185 #line 3186 "configure"
     3240#line 3241 "configure"
    31863241#include "confdefs.h"
    31873242#include <stdio.h>
     
    31943249}
    31953250EOF
    3196 if { (eval echo configure:3197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3251if { (eval echo configure:3252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    31973252then
    31983253  ac_cv_sizeof_char=`cat conftestval`
     
    32143269
    32153270echo $ac_n "checking size of short""... $ac_c" 1>&6
    3216 echo "configure:3217: checking size of short" >&5
     3271echo "configure:3272: checking size of short" >&5
    32173272if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    32183273  echo $ac_n "(cached) $ac_c" 1>&6
     
    32223277else
    32233278  cat > conftest.$ac_ext <<EOF
    3224 #line 3225 "configure"
     3279#line 3280 "configure"
    32253280#include "confdefs.h"
    32263281#include <stdio.h>
     
    32333288}
    32343289EOF
    3235 if { (eval echo configure:3236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3290if { (eval echo configure:3291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32363291then
    32373292  ac_cv_sizeof_short=`cat conftestval`
     
    32533308
    32543309echo $ac_n "checking size of int""... $ac_c" 1>&6
    3255 echo "configure:3256: checking size of int" >&5
     3310echo "configure:3311: checking size of int" >&5
    32563311if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    32573312  echo $ac_n "(cached) $ac_c" 1>&6
     
    32613316else
    32623317  cat > conftest.$ac_ext <<EOF
    3263 #line 3264 "configure"
     3318#line 3319 "configure"
    32643319#include "confdefs.h"
    32653320#include <stdio.h>
     
    32723327}
    32733328EOF
    3274 if { (eval echo configure:3275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3329if { (eval echo configure:3330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    32753330then
    32763331  ac_cv_sizeof_int=`cat conftestval`
     
    32923347
    32933348echo $ac_n "checking size of long""... $ac_c" 1>&6
    3294 echo "configure:3295: checking size of long" >&5
     3349echo "configure:3350: checking size of long" >&5
    32953350if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    32963351  echo $ac_n "(cached) $ac_c" 1>&6
     
    33003355else
    33013356  cat > conftest.$ac_ext <<EOF
    3302 #line 3303 "configure"
     3357#line 3358 "configure"
    33033358#include "confdefs.h"
    33043359#include <stdio.h>
     
    33113366}
    33123367EOF
    3313 if { (eval echo configure:3314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3368if { (eval echo configure:3369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33143369then
    33153370  ac_cv_sizeof_long=`cat conftestval`
     
    33313386
    33323387echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3333 echo "configure:3334: checking size of void*" >&5
     3388echo "configure:3389: checking size of void*" >&5
    33343389if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    33353390  echo $ac_n "(cached) $ac_c" 1>&6
     
    33393394else
    33403395  cat > conftest.$ac_ext <<EOF
    3341 #line 3342 "configure"
     3396#line 3397 "configure"
    33423397#include "confdefs.h"
    33433398#include <stdio.h>
     
    33503405}
    33513406EOF
    3352 if { (eval echo configure:3353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3407if { (eval echo configure:3408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    33533408then
    33543409  ac_cv_sizeof_voidp=`cat conftestval`
     
    33703425
    33713426echo $ac_n "checking size of double""... $ac_c" 1>&6
    3372 echo "configure:3373: checking size of double" >&5
     3427echo "configure:3428: checking size of double" >&5
    33733428if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then
    33743429  echo $ac_n "(cached) $ac_c" 1>&6
     
    33783433else
    33793434  cat > conftest.$ac_ext <<EOF
    3380 #line 3381 "configure"
     3435#line 3436 "configure"
    33813436#include "confdefs.h"
    33823437#include <stdio.h>
     
    33893444}
    33903445EOF
    3391 if { (eval echo configure:3392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./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
    33923447then
    33933448  ac_cv_sizeof_double=`cat conftestval`
     
    34093464
    34103465echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3411 echo "configure:3412: checking whether byte ordering is bigendian" >&5
     3466echo "configure:3467: checking whether byte ordering is bigendian" >&5
    34123467if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    34133468  echo $ac_n "(cached) $ac_c" 1>&6
     
    34163471# See if sys/param.h defines the BYTE_ORDER macro.
    34173472cat > conftest.$ac_ext <<EOF
    3418 #line 3419 "configure"
     3473#line 3474 "configure"
    34193474#include "confdefs.h"
    34203475#include <sys/types.h>
     
    34273482; return 0; }
    34283483EOF
    3429 if { (eval echo configure:3430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3484if { (eval echo configure:3485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34303485  rm -rf conftest*
    34313486  # It does; now see whether it defined to BIG_ENDIAN or not.
    34323487cat > conftest.$ac_ext <<EOF
    3433 #line 3434 "configure"
     3488#line 3489 "configure"
    34343489#include "confdefs.h"
    34353490#include <sys/types.h>
     
    34423497; return 0; }
    34433498EOF
    3444 if { (eval echo configure:3445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3499if { (eval echo configure:3500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    34453500  rm -rf conftest*
    34463501  ac_cv_c_bigendian=yes
     
    34623517else
    34633518  cat > conftest.$ac_ext <<EOF
    3464 #line 3465 "configure"
     3519#line 3520 "configure"
    34653520#include "confdefs.h"
    34663521main () {
     
    34753530}
    34763531EOF
    3477 if { (eval echo configure:3478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
     3532if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    34783533then
    34793534  ac_cv_c_bigendian=no
     
    35933648
    35943649echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6
    3595 echo "configure:3596: checking whether to use dynamic linking" >&5
     3650echo "configure:3651: checking whether to use dynamic linking" >&5
    35963651if test "$with_dl" != no && test "$ac_lib_dl" = yes; then
    35973652  cat >> confdefs.h <<\EOF
     
    36063661
    36073662echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
    3608 echo "configure:3609: checking for tgetent in -lncurses" >&5
     3663echo "configure:3664: checking for tgetent in -lncurses" >&5
    36093664ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
    36103665if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    36143669LIBS="-lncurses  $LIBS"
    36153670cat > conftest.$ac_ext <<EOF
    3616 #line 3617 "configure"
     3671#line 3672 "configure"
    36173672#include "confdefs.h"
    36183673/* Override any gcc2 internal prototype to avoid an error.  */
     
    36253680; return 0; }
    36263681EOF
    3627 if { (eval echo configure:3628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3682if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36283683  rm -rf conftest*
    36293684  eval "ac_cv_lib_$ac_lib_var=yes"
     
    36523707\
    36533708 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
    3654 echo "configure:3655: checking for tgetent in -lcurses" >&5
     3709echo "configure:3710: checking for tgetent in -lcurses" >&5
    36553710ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
    36563711if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    36603715LIBS="-lcurses  $LIBS"
    36613716cat > conftest.$ac_ext <<EOF
    3662 #line 3663 "configure"
     3717#line 3718 "configure"
    36633718#include "confdefs.h"
    36643719/* Override any gcc2 internal prototype to avoid an error.  */
     
    36713726; return 0; }
    36723727EOF
    3673 if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3728if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    36743729  rm -rf conftest*
    36753730  eval "ac_cv_lib_$ac_lib_var=yes"
     
    36983753\
    36993754  echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
    3700 echo "configure:3701: checking for tgetent in -ltermcap" >&5
     3755echo "configure:3756: checking for tgetent in -ltermcap" >&5
    37013756ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
    37023757if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37063761LIBS="-ltermcap  $LIBS"
    37073762cat > conftest.$ac_ext <<EOF
    3708 #line 3709 "configure"
     3763#line 3764 "configure"
    37093764#include "confdefs.h"
    37103765/* Override any gcc2 internal prototype to avoid an error.  */
     
    37173772; return 0; }
    37183773EOF
    3719 if { (eval echo configure:3720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3774if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37203775  rm -rf conftest*
    37213776  eval "ac_cv_lib_$ac_lib_var=yes"
     
    37663821
    37673822   echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6
    3768 echo "configure:3769: checking for rl_abort in -lreadline" >&5
     3823echo "configure:3824: checking for rl_abort in -lreadline" >&5
    37693824ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'`
    37703825if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    37743829LIBS="-lreadline  $LIBS"
    37753830cat > conftest.$ac_ext <<EOF
    3776 #line 3777 "configure"
     3831#line 3832 "configure"
    37773832#include "confdefs.h"
    37783833/* Override any gcc2 internal prototype to avoid an error.  */
     
    37883843; return 0; }
    37893844EOF
    3790 if { (eval echo configure:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3845if { (eval echo configure:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    37913846  rm -rf conftest*
    37923847  eval "ac_cv_lib_$ac_lib_var=yes"
     
    38163871
    38173872   echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
    3818 echo "configure:3819: checking how to run the C++ preprocessor" >&5
     3873echo "configure:3874: checking how to run the C++ preprocessor" >&5
    38193874if test -z "$CXXCPP"; then
    38203875if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
     
    38293884  CXXCPP="${CXX-g++} -E"
    38303885  cat > conftest.$ac_ext <<EOF
    3831 #line 3832 "configure"
     3886#line 3887 "configure"
    38323887#include "confdefs.h"
    38333888#include <stdlib.h>
    38343889EOF
    38353890ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3836 { (eval echo configure:3837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3891{ (eval echo configure:3892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    38373892ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    38383893if test -z "$ac_err"; then
     
    38623917ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    38633918echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3864 echo "configure:3865: checking for $ac_hdr" >&5
     3919echo "configure:3920: checking for $ac_hdr" >&5
    38653920if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    38663921  echo $ac_n "(cached) $ac_c" 1>&6
    38673922else
    38683923  cat > conftest.$ac_ext <<EOF
    3869 #line 3870 "configure"
     3924#line 3925 "configure"
    38703925#include "confdefs.h"
    38713926#include <$ac_hdr>
    38723927EOF
    38733928ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3874 { (eval echo configure:3875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3929{ (eval echo configure:3930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    38753930ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    38763931if test -z "$ac_err"; then
     
    39013956      test "$ac_cv_header_readline_readline_h" = yes; then
    39023957     echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6
    3903 echo "configure:3904: checking whether readline.h is ok" >&5
     3958echo "configure:3959: checking whether readline.h is ok" >&5
    39043959     if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then
    39053960  echo $ac_n "(cached) $ac_c" 1>&6
    39063961else
    39073962  cat > conftest.$ac_ext <<EOF
    3908 #line 3909 "configure"
     3963#line 3964 "configure"
    39093964#include "confdefs.h"
    39103965#include<unistd.h>
     
    39313986; return 0; }
    39323987EOF
    3933 if { (eval echo configure:3934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     3988if { (eval echo configure:3989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39343989  rm -rf conftest*
    39353990  ac_cv_header_readline_readline_h_ok="yes"
     
    39474002#not ok -- try once more with explicitly declaring everything
    39484003      echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6
    3949 echo "configure:3950: checking whether or not we nevertheless can use readline" >&5
     4004echo "configure:4005: checking whether or not we nevertheless can use readline" >&5
    39504005      if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then
    39514006  echo $ac_n "(cached) $ac_c" 1>&6
    39524007else
    39534008  cat > conftest.$ac_ext <<EOF
    3954 #line 3955 "configure"
     4009#line 4010 "configure"
    39554010#include "confdefs.h"
    39564011#include <stdio.h>
     
    39864041; return 0; }
    39874042EOF
    3988 if { (eval echo configure:3989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4043if { (eval echo configure:4044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    39894044  rm -rf conftest*
    39904045  ac_cv_have_readline="yes"
     
    40254080
    40264081echo $ac_n "checking which readline to use""... $ac_c" 1>&6
    4027 echo "configure:4028: checking which readline to use" >&5
     4082echo "configure:4083: checking which readline to use" >&5
    40284083if test "$ac_cv_with_readline" = dynamic; then
    40294084  echo "$ac_t""dynamic" 1>&6
     
    40434098# gmp, smallgmp, MP, MPT, factory, libfac
    40444099echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
    4045 echo "configure:4046: checking for main in -lgmp" >&5
     4100echo "configure:4101: checking for main in -lgmp" >&5
    40464101ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
    40474102if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40514106LIBS="-lgmp  $LIBS"
    40524107cat > conftest.$ac_ext <<EOF
    4053 #line 4054 "configure"
     4108#line 4109 "configure"
    40544109#include "confdefs.h"
    40554110
     
    40584113; return 0; }
    40594114EOF
    4060 if { (eval echo configure:4061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4115if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    40614116  rm -rf conftest*
    40624117  eval "ac_cv_lib_$ac_lib_var=yes"
     
    40894144fi
    40904145echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6
    4091 echo "configure:4092: checking for main in -lsmallgmp" >&5
     4146echo "configure:4147: checking for main in -lsmallgmp" >&5
    40924147ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'`
    40934148if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    40974152LIBS="-lsmallgmp  $LIBS"
    40984153cat > conftest.$ac_ext <<EOF
    4099 #line 4100 "configure"
     4154#line 4155 "configure"
    41004155#include "confdefs.h"
    41014156
     
    41044159; return 0; }
    41054160EOF
    4106 if { (eval echo configure:4107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4161if { (eval echo configure:4162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41074162  rm -rf conftest*
    41084163  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41334188SAVE_LIBS=$LIBS
    41344189echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6
    4135 echo "configure:4136: checking for IMP_PutGmpInt in -lMP" >&5
     4190echo "configure:4191: checking for IMP_PutGmpInt in -lMP" >&5
    41364191ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'`
    41374192if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41414196LIBS="-lMP $MP_LIBS $LIBS"
    41424197cat > conftest.$ac_ext <<EOF
    4143 #line 4144 "configure"
     4198#line 4199 "configure"
    41444199#include "confdefs.h"
    41454200/* Override any gcc2 internal prototype to avoid an error.  */
     
    41524207; return 0; }
    41534208EOF
    4154 if { (eval echo configure:4155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4209if { (eval echo configure:4210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    41554210  rm -rf conftest*
    41564211  eval "ac_cv_lib_$ac_lib_var=yes"
     
    41804235
    41814236echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6
    4182 echo "configure:4183: checking for MPT_GetTree in -lMPT" >&5
     4237echo "configure:4238: checking for MPT_GetTree in -lMPT" >&5
    41834238ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'`
    41844239if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    41884243LIBS="-lMPT $MP_LIBS $LIBS"
    41894244cat > conftest.$ac_ext <<EOF
    4190 #line 4191 "configure"
     4245#line 4246 "configure"
    41914246#include "confdefs.h"
    41924247/* Override any gcc2 internal prototype to avoid an error.  */
     
    41994254; return 0; }
    42004255EOF
    4201 if { (eval echo configure:4202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4256if { (eval echo configure:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42024257  rm -rf conftest*
    42034258  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42284283LIBS=$SAVE_LIBS
    42294284echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6
    4230 echo "configure:4231: checking for atof in -lsingcf" >&5
     4285echo "configure:4286: checking for atof in -lsingcf" >&5
    42314286ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'`
    42324287if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42364291LIBS="-lsingcf  $LIBS"
    42374292cat > conftest.$ac_ext <<EOF
    4238 #line 4239 "configure"
     4293#line 4294 "configure"
    42394294#include "confdefs.h"
    42404295/* Override any gcc2 internal prototype to avoid an error.  */
     
    42474302; return 0; }
    42484303EOF
    4249 if { (eval echo configure:4250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4304if { (eval echo configure:4305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42504305  rm -rf conftest*
    42514306  eval "ac_cv_lib_$ac_lib_var=yes"
     
    42754330
    42764331echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6
    4277 echo "configure:4278: checking for atof in -lsingfac" >&5
     4332echo "configure:4333: checking for atof in -lsingfac" >&5
    42784333ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'`
    42794334if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    42834338LIBS="-lsingfac  $LIBS"
    42844339cat > conftest.$ac_ext <<EOF
    4285 #line 4286 "configure"
     4340#line 4341 "configure"
    42864341#include "confdefs.h"
    42874342/* Override any gcc2 internal prototype to avoid an error.  */
     
    42944349; return 0; }
    42954350EOF
    4296 if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4351if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    42974352  rm -rf conftest*
    42984353  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43224377
    43234378echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6
    4324 echo "configure:4325: checking for omTestAddr in -lomalloc" >&5
     4379echo "configure:4380: checking for omTestAddr in -lomalloc" >&5
    43254380ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'`
    43264381if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43304385LIBS="-lomalloc  $LIBS"
    43314386cat > conftest.$ac_ext <<EOF
    4332 #line 4333 "configure"
     4387#line 4388 "configure"
    43334388#include "confdefs.h"
    43344389/* Override any gcc2 internal prototype to avoid an error.  */
     
    43414396; return 0; }
    43424397EOF
    4343 if { (eval echo configure:4344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4398if { (eval echo configure:4399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43444399  rm -rf conftest*
    43454400  eval "ac_cv_lib_$ac_lib_var=yes"
     
    43694424
    43704425echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6
    4371 echo "configure:4372: checking for main in -lomalloc_ndebug" >&5
     4426echo "configure:4427: checking for main in -lomalloc_ndebug" >&5
    43724427ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'`
    43734428if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    43774432LIBS="-lomalloc_ndebug  $LIBS"
    43784433cat > conftest.$ac_ext <<EOF
    4379 #line 4380 "configure"
     4434#line 4435 "configure"
    43804435#include "confdefs.h"
    43814436
     
    43844439; return 0; }
    43854440EOF
    4386 if { (eval echo configure:4387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     4441if { (eval echo configure:4442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    43874442  rm -rf conftest*
    43884443  eval "ac_cv_lib_$ac_lib_var=yes"
     
    44164471ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    44174472echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    4418 echo "configure:4419: checking for $ac_hdr" >&5
     4473echo "configure:4474: checking for $ac_hdr" >&5
    44194474if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    44204475  echo $ac_n "(cached) $ac_c" 1>&6
    44214476else
    44224477  cat > conftest.$ac_ext <<EOF
    4423 #line 4424 "configure"
     4478#line 4479 "configure"
    44244479#include "confdefs.h"
    44254480#include <$ac_hdr>
    44264481EOF
    44274482ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    4428 { (eval echo configure:4429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     4483{ (eval echo configure:4484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    44294484ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    44304485if test -z "$ac_err"; then
     
    44954550
    44964551echo $ac_n "checking which apint package to use""... $ac_c" 1>&6
    4497 echo "configure:4498: checking which apint package to use" >&5
     4552echo "configure:4553: checking which apint package to use" >&5
    44984553if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then
    44994554  if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then
     
    45374592#
    45384593echo $ac_n "checking whether to have MP""... $ac_c" 1>&6
    4539 echo "configure:4540: checking whether to have MP" >&5
     4594echo "configure:4595: checking whether to have MP" >&5
    45404595if test "${with_MP}" != yes && test "${with_MP}" != no; then
    45414596  if (test "${will_have_gmp}" = yes) && \
     
    45724627
    45734628echo $ac_n "checking whether to have factory""... $ac_c" 1>&6
    4574 echo "configure:4575: checking whether to have factory" >&5
     4629echo "configure:4630: checking whether to have factory" >&5
    45754630if test "${with_factory}" != yes && test "${with_factory}" != no; then
    45764631  if test "$ac_factory_ok" =  yes || test "$enable_factory" = yes; then
     
    46034658
    46044659echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6
    4605 echo "configure:4606: checking whether to have libfac" >&5
     4660echo "configure:4661: checking whether to have libfac" >&5
    46064661if test "${with_libfac}" != yes && test "${with_libfac}" != no; then
    46074662  if (test "${will_have_factory}" = yes) && \
     
    46374692
    46384693echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6
    4639 echo "configure:4640: checking whether to have dbm links" >&5
     4694echo "configure:4695: checking whether to have dbm links" >&5
    46404695if test "$with_dbm" != no; then
    46414696  cat >> confdefs.h <<\EOF
     
    46494704
    46504705echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6
    4651 echo "configure:4652: checking whether to have namespaces" >&5
    4652 if test "$with_namespaces" != yes; then
    4653   echo "$ac_t""no" 1>&6
     4706echo "configure:4707: checking whether to have namespaces" >&5
     4707if test "$with_namespaces" != no; then
     4708  echo "$ac_t""yes" 1>&6
    46544709else
    46554710  cat >> confdefs.h <<\EOF
     
    46574712EOF
    46584713
    4659   echo "$ac_t""yes" 1>&6
     4714  echo "$ac_t""no" 1>&6
    46604715fi
    46614716
    46624717echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6
    4663 echo "configure:4664: checking whether to have dynamic modules" >&5
    4664 if test "$with_dynamic_modules" != yes || test "$ac_have_dl" != yes; then
     4718echo "configure:4719: checking whether to have dynamic modules" >&5
     4719if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    46654720  echo "$ac_t""no" 1>&6
    46664721else
     
    46734728
    46744729echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6
    4675 echo "configure:4676: checking whether to have dynamic kernel" >&5
     4730echo "configure:4731: checking whether to have dynamic kernel" >&5
    46764731if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then
    46774732  DL_KERNEL=1
     
    46834738
    46844739echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6
    4685 echo "configure:4686: checking whether to have Plural" >&5
     4740echo "configure:4741: checking whether to have Plural" >&5
    46864741if test "$with_plural" != yes; then
    46874742  echo "$ac_t""no" 1>&6
  • Singular/configure.in

    r65b27c r457d8d6  
    310310          if test "$ac_cv_lib_dl_dlopen" = yes; then
    311311                LD_DYN_FLAGS="-ldl -rdynamic"
     312                SFLAGS="-fpic -DPIC"
     313                SLDFLAGS=-shared
     314                ac_lib_dl=yes
     315          fi
     316        ;;
     317        SunOS-5)
     318          AC_CHECK_LIB(dl, dlopen)
     319          if test "$ac_cv_lib_dl_dlopen" = yes; then
     320                LD_DYN_FLAGS="-ldl -Xlinker -E"
    312321                SFLAGS="-fpic -DPIC"
    313322                SLDFLAGS=-shared
     
    796805
    797806AC_MSG_CHECKING(whether to have dynamic modules)
    798 if test "$with_dynamic_modules" == no || test "$ac_have_dl" != yes; then
     807if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then
    799808  AC_MSG_RESULT(no)
    800809else
  • Singular/distrib.h

    r65b27c r457d8d6  
    1 #undef MAKE_DISTRIBUTION       
     1#undef MAKE_DISTRIBUTION 
  • Singular/kstd1.cc

    r65b27c r457d8d6  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd1.cc,v 1.82 2001-02-28 11:56:27 levandov Exp $ */
     4/* $Id: kstd1.cc,v 1.83 2001-03-08 13:05:11 Singular Exp $ */
    55/*
    66* ABSTRACT:
     
    11991199      enterpairs(strat->P.p,strat->sl,strat->P.ecart,0,strat, strat->tl);
    12001200      // put in S
    1201       strat->enterS(strat->P, posInS(strat,strat->sl,strat->P.p),
     1201      strat->enterS(strat->P,
     1202                    posInS(strat,strat->sl,strat->P.p, strat->P.ecart),
    12021203                    strat, strat->tl);
    12031204
     
    15241525  long i=p_GetComp(p, r);
    15251526  if (i==0) return o;
     1527  assume((i>0) && (i<=kModW->length()));
    15261528  return o+(*kModW)[i-1];
    15271529}
  • Singular/kstd2.cc

    r65b27c r457d8d6  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstd2.cc,v 1.73 2001-02-21 10:39:25 Singular Exp $ */
     4/* $Id: kstd2.cc,v 1.74 2001-03-08 13:05:12 Singular Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: alg. of Buchberger
     
    599599      strat->P.GetP(strat->lmBin);
    600600
    601       int pos=posInS(strat,strat->sl,strat->P.p);
     601      int pos=posInS(strat,strat->sl,strat->P.p,strat->P.ecart);
    602602
    603603      // reduce the tail and normailze poly
  • Singular/kstdfac.cc

    r65b27c r457d8d6  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kstdfac.cc,v 1.50 2001-02-21 10:39:25 Singular Exp $ */
     4/* $Id: kstdfac.cc,v 1.51 2001-03-08 13:05:12 Singular Exp $ */
    55/*
    66*  ABSTRACT -  Kernel: factorizing alg. of Buchberger
     
    312312      int pos;
    313313      if (n->sl==-1) pos=0;
    314       else pos=posInS(n,n->sl,n->P.p);
     314      else pos=posInS(n,n->sl,n->P.p,n->P.ecart);
    315315      if (TEST_OPT_INTSTRATEGY)
    316316      {
     
    596596        int pos;
    597597        if (n->sl==-1) pos=0;
    598         else pos=posInS(n,n->sl,n->P.p);
     598        else pos=posInS(n,n->sl,n->P.p,n->P.ecart);
    599599
    600600        // we have already reduced all elements from fac....
  • Singular/kutil.cc

    r65b27c r457d8d6  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: kutil.cc,v 1.97 2001-02-21 15:41:47 Singular Exp $ */
     4/* $Id: kutil.cc,v 1.98 2001-03-08 13:05:13 Singular Exp $ */
    55/*
    66* ABSTRACT: kernel: utils for kStd
     
    15971597  for (i=1; i<=strat->sl; i++)
    15981598  {
    1599     at = posInS(strat,i-1,strat->S[i]);
     1599    at = posInS(strat,i-1,strat->S[i],strat->ecartS[i]);
    16001600    if (at != i)
    16011601    {
     
    16371637*             otherwise, bba has to be changed
    16381638*/
    1639 int posInS (kStrategy strat, int length,poly p)
     1639int posInS (kStrategy strat, int length,poly p, int ecart_p)
    16401640{
    16411641  if(length==-1) return 0;
     
    16771677    loop
    16781678    {
    1679       int dummy;
    16801679      if (an >= en-1)
    16811680      {
     
    16831682        if (pLmCmp(set[an],p) == -cmp_int) return en;
    16841683        if ((cmp_int!=1)
    1685         && ((pFDeg(set[an])+strat->ecartS[an])<pLDeg(p,&dummy)))
     1684        && ((strat->ecartS[an])<ecart_p))
    16861685          return an;
    16871686        return en;
     
    16931692      {
    16941693        if ((cmp_int!=1)
    1695         &&((pFDeg(set[i])+strat->ecartS[i])<pLDeg(p,&dummy)))
     1694        &&((strat->ecartS[i])<ecart_p))
    16961695          en=i;
    16971696        else
     
    29422941          else
    29432942          {
    2944             pos = posInS(strat,strat->sl,h.p);
     2943            pos = posInS(strat,strat->sl,h.p,h.ecart);
    29452944          }
    29462945          h.sev = pGetShortExpVector(h.p);
     
    29832982          else
    29842983          {
    2985             pos = posInS(strat,strat->sl,h.p);
     2984            pos = posInS(strat,strat->sl,h.p,h.ecart);
    29862985          }
    29872986          h.sev = pGetShortExpVector(h.p);
     
    30413040          else
    30423041          {
    3043             pos = posInS(strat,strat->sl,h.p);
     3042            pos = posInS(strat,strat->sl,h.p,h.ecart);
    30443043          }
    30453044          h.sev = pGetShortExpVector(h.p);
     
    31453144          else
    31463145          {
    3147             pos = posInS(strat,strat->sl,h.p);
     3146            pos = posInS(strat,strat->sl,h.p,h.ecart);
    31483147          }
    31493148          h.sev = pGetShortExpVector(h.p);
     
    31833182        else
    31843183        {
    3185           pos = posInS(strat,strat->sl,h.p);
     3184          pos = posInS(strat,strat->sl,h.p,h.ecart);
    31863185        }
    31873186        h.sev = pGetShortExpVector(h.p);
     
    32353234          h.sev = pGetShortExpVector(h.p);
    32363235          h.SetpFDeg();
    3237           pos = posInS(strat,strat->sl,h.p);
     3236          pos = posInS(strat,strat->sl,h.p,h.ecart);
    32383237          enterpairsSpecial(h.p,strat->sl,h.ecart,pos,strat,strat->tl+1);
    32393238          strat->enterS(h,pos,strat, strat->tl+1);
  • Singular/kutil.h

    r65b27c r457d8d6  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: kutil.h,v 1.58 2001-02-21 10:39:27 Singular Exp $ */
     6/* $Id: kutil.h,v 1.59 2001-03-08 13:05:14 Singular Exp $ */
    77/*
    88* ABSTRACT: kernel: utils for kStd
     
    310310void initEcartPairBba (LObject* Lp,poly f,poly g,int ecartF,int ecartG);
    311311void initEcartPairMora (LObject* Lp,poly f,poly g,int ecartF,int ecartG);
    312 int posInS (kStrategy strat,int length,poly p);
     312int posInS (kStrategy strat,int length,poly p, int ecart_p);
    313313int posInT0 (const TSet set,const int length,LObject &p);
    314314int posInT1 (const TSet set,const int length,LObject &p);
  • Singular/pDebug.cc

    r65b27c r457d8d6  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: pDebug.cc,v 1.17 2000-12-06 11:03:26 Singular Exp $
     9 *  Version: $Id: pDebug.cc,v 1.18 2001-03-08 13:05:14 Singular Exp $
    1010 *******************************************************************/
    1111
     
    228228    pPolyAssumeReturnMsg(!n_IsZero(p->coef, r), "Zero coef");
    229229
     230    // check for valid comp
     231    pPolyAssumeReturnMsg(p_GetComp(p, r) >= 0 && (p_GetComp(p, r)<65000), "component out of range ?");
    230232    // check for mix poly/vec representation
    231233    pPolyAssumeReturnMsg(ismod == (p_GetComp(p, r) > 0), "mixed poly/vector");
  • Singular/p_Procs_Set.h

    r65b27c r457d8d6  
    1212 *  Author:  obachman (Olaf Bachmann)
    1313 *  Created: 12/00
    14  *  Version: $Id: p_Procs_Set.h,v 1.3 2000-12-31 15:14:40 obachman Exp $
     14 *  Version: $Id: p_Procs_Set.h,v 1.4 2001-03-08 13:05:15 Singular Exp $
    1515 *******************************************************************/
    1616
     
    135135 
    136136  assume(p_Procs != NULL);
    137 #ifdef RDEBUG
     137//#ifdef RDEBUG
    138138  memset(p_Procs, 0, sizeof(p_Procs_s));
    139 #endif
     139//#endif
    140140  _p_procs = p_Procs;
    141141  assume(IsValidSpec(field, length, ord));
     
    159159  CheckProc(p_kBucketSetLm);
    160160
     161/*
    161162  assume(p_Procs->pp_Mult_mm_Noether != pp_Mult_mm_Noether__FieldGeneral_LengthGeneral_OrdGeneral ||
    162163         p_Procs->p_Minus_mm_Mult_qq == p_Minus_mm_Mult_qq__FieldGeneral_LengthGeneral_OrdGeneral ||
    163164         r->OrdSgn == 1 || r->LexOrder);
     165*/
    164166}
    165167
  • Singular/p_polys.cc

    r65b27c r457d8d6  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: p_polys.cc,v 1.15 2001-01-09 15:40:12 Singular Exp $
     9 *  Version: $Id: p_polys.cc,v 1.16 2001-03-08 13:05:15 Singular Exp $
    1010 *******************************************************************/
    1111
     
    337337long pLDeg0c(poly p,int *l, ring r)
    338338{
     339  assume(p!=NULL);
     340#ifdef PDEBUG
     341  _p_Test(p,r,PDEBUG);
     342#endif
    339343  p_CheckPolyRing(p, r);
    340344  long o;
     
    361365      pp = p;
    362366    }
     367#ifdef PDEBUG
     368    _p_Test(pp,r,PDEBUG);
     369#endif
    363370    o = r->pFDeg(pp, r);
    364371  }
Note: See TracChangeset for help on using the changeset viewer.