Changeset 457d8d6 in git
- Timestamp:
- Mar 8, 2001, 2:05:15 PM (22 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 5a8b9c4598a09a1500a99df3038cb27e10a0215f
- Parents:
- 65b27c5c9be783dc3dacb25081a2b1227c9d5425
- Location:
- Singular
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r65b27c r457d8d6 1800 1800 fi 1801 1801 ;; 1802 SunOS-5) 1803 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 1804 echo "configure:1805: checking for dlopen in -ldl" >&5 1805 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 1806 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1807 echo $ac_n "(cached) $ac_c" 1>&6 1808 else 1809 ac_save_LIBS="$LIBS" 1810 LIBS="-ldl $LIBS" 1811 cat > 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. */ 1817 char dlopen(); 1818 1819 int main() { 1820 dlopen() 1821 ; return 0; } 1822 EOF 1823 if { (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" 1826 else 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" 1831 fi 1832 rm -f conftest* 1833 LIBS="$ac_save_LIBS" 1834 1835 fi 1836 if 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 1842 EOF 1843 1844 LIBS="-ldl $LIBS" 1845 1846 else 1847 echo "$ac_t""no" 1>&6 1848 fi 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 ;; 1802 1857 IRIX-6) 1803 1858 LD_DYN_FLAGS="-lc" … … 1813 1868 # heder file checks 1814 1869 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1815 echo "configure:18 16: checking for ANSI C header files" >&51870 echo "configure:1871: checking for ANSI C header files" >&5 1816 1871 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1817 1872 echo $ac_n "(cached) $ac_c" 1>&6 1818 1873 else 1819 1874 cat > conftest.$ac_ext <<EOF 1820 #line 18 21"configure"1875 #line 1876 "configure" 1821 1876 #include "confdefs.h" 1822 1877 #include <stdlib.h> … … 1826 1881 EOF 1827 1882 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1828 { (eval echo configure:18 29: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1883 { (eval echo configure:1884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1829 1884 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1830 1885 if test -z "$ac_err"; then … … 1843 1898 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1844 1899 cat > conftest.$ac_ext <<EOF 1845 #line 1 846"configure"1900 #line 1901 "configure" 1846 1901 #include "confdefs.h" 1847 1902 #include <string.h> … … 1861 1916 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1862 1917 cat > conftest.$ac_ext <<EOF 1863 #line 1 864"configure"1918 #line 1919 "configure" 1864 1919 #include "confdefs.h" 1865 1920 #include <stdlib.h> … … 1882 1937 else 1883 1938 cat > conftest.$ac_ext <<EOF 1884 #line 1 885"configure"1939 #line 1940 "configure" 1885 1940 #include "confdefs.h" 1886 1941 #include <ctype.h> … … 1893 1948 1894 1949 EOF 1895 if { (eval echo configure:1 896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1950 if { (eval echo configure:1951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1896 1951 then 1897 1952 : … … 1920 1975 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1921 1976 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1922 echo "configure:19 23: checking for $ac_hdr" >&51977 echo "configure:1978: checking for $ac_hdr" >&5 1923 1978 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1924 1979 echo $ac_n "(cached) $ac_c" 1>&6 1925 1980 else 1926 1981 cat > conftest.$ac_ext <<EOF 1927 #line 19 28"configure"1982 #line 1983 "configure" 1928 1983 #include "confdefs.h" 1929 1984 #include <$ac_hdr> 1930 1985 EOF 1931 1986 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1932 { (eval echo configure:19 33: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1987 { (eval echo configure:1988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1933 1988 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1934 1989 if test -z "$ac_err"; then … … 1962 2017 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1963 2018 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1964 echo "configure: 1965: checking for $ac_hdr" >&52019 echo "configure:2020: checking for $ac_hdr" >&5 1965 2020 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1966 2021 echo $ac_n "(cached) $ac_c" 1>&6 1967 2022 else 1968 2023 cat > conftest.$ac_ext <<EOF 1969 #line 1970"configure"2024 #line 2025 "configure" 1970 2025 #include "confdefs.h" 1971 2026 #include <$ac_hdr> 1972 2027 EOF 1973 2028 ac_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; } 1975 2030 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1976 2031 if test -z "$ac_err"; then … … 2001 2056 # typedefs, structures 2002 2057 echo $ac_n "checking for working const""... $ac_c" 1>&6 2003 echo "configure:20 04: checking for working const" >&52058 echo "configure:2059: checking for working const" >&5 2004 2059 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2005 2060 echo $ac_n "(cached) $ac_c" 1>&6 2006 2061 else 2007 2062 cat > conftest.$ac_ext <<EOF 2008 #line 20 09"configure"2063 #line 2064 "configure" 2009 2064 #include "confdefs.h" 2010 2065 … … 2055 2110 ; return 0; } 2056 2111 EOF 2057 if { (eval echo configure:2 058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2112 if { (eval echo configure:2113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2058 2113 rm -rf conftest* 2059 2114 ac_cv_c_const=yes … … 2076 2131 2077 2132 echo $ac_n "checking for inline""... $ac_c" 1>&6 2078 echo "configure:2 079: checking for inline" >&52133 echo "configure:2134: checking for inline" >&5 2079 2134 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2080 2135 echo $ac_n "(cached) $ac_c" 1>&6 … … 2083 2138 for ac_kw in inline __inline__ __inline; do 2084 2139 cat > conftest.$ac_ext <<EOF 2085 #line 2 086"configure"2140 #line 2141 "configure" 2086 2141 #include "confdefs.h" 2087 2142 … … 2090 2145 ; return 0; } 2091 2146 EOF 2092 if { (eval echo configure:2 093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2147 if { (eval echo configure:2148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2093 2148 rm -rf conftest* 2094 2149 ac_cv_c_inline=$ac_kw; break … … 2116 2171 2117 2172 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2118 echo "configure:21 19: checking for size_t" >&52173 echo "configure:2174: checking for size_t" >&5 2119 2174 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2120 2175 echo $ac_n "(cached) $ac_c" 1>&6 2121 2176 else 2122 2177 cat > conftest.$ac_ext <<EOF 2123 #line 21 24"configure"2178 #line 2179 "configure" 2124 2179 #include "confdefs.h" 2125 2180 #include <sys/types.h> … … 2149 2204 2150 2205 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2151 echo "configure:2 152: checking whether time.h and sys/time.h may both be included" >&52206 echo "configure:2207: checking whether time.h and sys/time.h may both be included" >&5 2152 2207 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2153 2208 echo $ac_n "(cached) $ac_c" 1>&6 2154 2209 else 2155 2210 cat > conftest.$ac_ext <<EOF 2156 #line 2 157"configure"2211 #line 2212 "configure" 2157 2212 #include "confdefs.h" 2158 2213 #include <sys/types.h> … … 2163 2218 ; return 0; } 2164 2219 EOF 2165 if { (eval echo configure:2 166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2220 if { (eval echo configure:2221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2166 2221 rm -rf conftest* 2167 2222 ac_cv_header_time=yes … … 2184 2239 2185 2240 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2186 echo "configure:2 187: checking whether struct tm is in sys/time.h or time.h" >&52241 echo "configure:2242: checking whether struct tm is in sys/time.h or time.h" >&5 2187 2242 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2188 2243 echo $ac_n "(cached) $ac_c" 1>&6 2189 2244 else 2190 2245 cat > conftest.$ac_ext <<EOF 2191 #line 2 192"configure"2246 #line 2247 "configure" 2192 2247 #include "confdefs.h" 2193 2248 #include <sys/types.h> … … 2197 2252 ; return 0; } 2198 2253 EOF 2199 if { (eval echo configure:22 00: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2254 if { (eval echo configure:2255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2200 2255 rm -rf conftest* 2201 2256 ac_cv_struct_tm=time.h … … 2222 2277 # for constant arguments. Useless! 2223 2278 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2224 echo "configure:22 25: checking for working alloca.h" >&52279 echo "configure:2280: checking for working alloca.h" >&5 2225 2280 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2226 2281 echo $ac_n "(cached) $ac_c" 1>&6 2227 2282 else 2228 2283 cat > conftest.$ac_ext <<EOF 2229 #line 22 30"configure"2284 #line 2285 "configure" 2230 2285 #include "confdefs.h" 2231 2286 #include <alloca.h> … … 2234 2289 ; return 0; } 2235 2290 EOF 2236 if { (eval echo configure:22 37: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2291 if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2237 2292 rm -rf conftest* 2238 2293 ac_cv_header_alloca_h=yes … … 2255 2310 2256 2311 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2257 echo "configure:2 258: checking for alloca" >&52312 echo "configure:2313: checking for alloca" >&5 2258 2313 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2259 2314 echo $ac_n "(cached) $ac_c" 1>&6 2260 2315 else 2261 2316 cat > conftest.$ac_ext <<EOF 2262 #line 2 263"configure"2317 #line 2318 "configure" 2263 2318 #include "confdefs.h" 2264 2319 … … 2288 2343 ; return 0; } 2289 2344 EOF 2290 if { (eval echo configure:2 291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2345 if { (eval echo configure:2346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2291 2346 rm -rf conftest* 2292 2347 ac_cv_func_alloca_works=yes … … 2320 2375 2321 2376 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2322 echo "configure:23 23: checking whether alloca needs Cray hooks" >&52377 echo "configure:2378: checking whether alloca needs Cray hooks" >&5 2323 2378 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2324 2379 echo $ac_n "(cached) $ac_c" 1>&6 2325 2380 else 2326 2381 cat > conftest.$ac_ext <<EOF 2327 #line 23 28"configure"2382 #line 2383 "configure" 2328 2383 #include "confdefs.h" 2329 2384 #if defined(CRAY) && ! defined(CRAY2) … … 2350 2405 for ac_func in _getb67 GETB67 getb67; do 2351 2406 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2352 echo "configure:2 353: checking for $ac_func" >&52407 echo "configure:2408: checking for $ac_func" >&5 2353 2408 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2354 2409 echo $ac_n "(cached) $ac_c" 1>&6 2355 2410 else 2356 2411 cat > conftest.$ac_ext <<EOF 2357 #line 2 358"configure"2412 #line 2413 "configure" 2358 2413 #include "confdefs.h" 2359 2414 /* System header to define __stub macros and hopefully few prototypes, … … 2378 2433 ; return 0; } 2379 2434 EOF 2380 if { (eval echo configure:2 381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2435 if { (eval echo configure:2436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2381 2436 rm -rf conftest* 2382 2437 eval "ac_cv_func_$ac_func=yes" … … 2405 2460 2406 2461 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2407 echo "configure:24 08: checking stack direction for C alloca" >&52462 echo "configure:2463: checking stack direction for C alloca" >&5 2408 2463 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2409 2464 echo $ac_n "(cached) $ac_c" 1>&6 … … 2413 2468 else 2414 2469 cat > conftest.$ac_ext <<EOF 2415 #line 24 16"configure"2470 #line 2471 "configure" 2416 2471 #include "confdefs.h" 2417 2472 find_stack_direction () … … 2432 2487 } 2433 2488 EOF 2434 if { (eval echo configure:24 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2489 if { (eval echo configure:2490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2435 2490 then 2436 2491 ac_cv_c_stack_direction=1 … … 2455 2510 if test $ac_cv_prog_gcc = yes; then 2456 2511 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2457 echo "configure:2 458: checking whether ${CC-cc} needs -traditional" >&52512 echo "configure:2513: checking whether ${CC-cc} needs -traditional" >&5 2458 2513 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2459 2514 echo $ac_n "(cached) $ac_c" 1>&6 … … 2461 2516 ac_pattern="Autoconf.*'x'" 2462 2517 cat > conftest.$ac_ext <<EOF 2463 #line 2 464"configure"2518 #line 2519 "configure" 2464 2519 #include "confdefs.h" 2465 2520 #include <sgtty.h> … … 2479 2534 if test $ac_cv_prog_gcc_traditional = no; then 2480 2535 cat > conftest.$ac_ext <<EOF 2481 #line 2 482"configure"2536 #line 2537 "configure" 2482 2537 #include "confdefs.h" 2483 2538 #include <termio.h> … … 2504 2559 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2505 2560 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2506 echo "configure:25 07: checking for $ac_hdr" >&52561 echo "configure:2562: checking for $ac_hdr" >&5 2507 2562 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2508 2563 echo $ac_n "(cached) $ac_c" 1>&6 2509 2564 else 2510 2565 cat > conftest.$ac_ext <<EOF 2511 #line 25 12"configure"2566 #line 2567 "configure" 2512 2567 #include "confdefs.h" 2513 2568 #include <$ac_hdr> 2514 2569 EOF 2515 2570 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2516 { (eval echo configure:25 17: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2571 { (eval echo configure:2572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2517 2572 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2518 2573 if test -z "$ac_err"; then … … 2543 2598 do 2544 2599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2545 echo "configure:2 546: checking for $ac_func" >&52600 echo "configure:2601: checking for $ac_func" >&5 2546 2601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2547 2602 echo $ac_n "(cached) $ac_c" 1>&6 2548 2603 else 2549 2604 cat > conftest.$ac_ext <<EOF 2550 #line 2 551"configure"2605 #line 2606 "configure" 2551 2606 #include "confdefs.h" 2552 2607 /* System header to define __stub macros and hopefully few prototypes, … … 2571 2626 ; return 0; } 2572 2627 EOF 2573 if { (eval echo configure:2 574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2628 if { (eval echo configure:2629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2574 2629 rm -rf conftest* 2575 2630 eval "ac_cv_func_$ac_func=yes" … … 2596 2651 2597 2652 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2598 echo "configure:2 599: checking for working mmap" >&52653 echo "configure:2654: checking for working mmap" >&5 2599 2654 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2600 2655 echo $ac_n "(cached) $ac_c" 1>&6 … … 2604 2659 else 2605 2660 cat > conftest.$ac_ext <<EOF 2606 #line 26 07"configure"2661 #line 2662 "configure" 2607 2662 #include "confdefs.h" 2608 2663 … … 2744 2799 2745 2800 EOF 2746 if { (eval echo configure:2 747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2801 if { (eval echo configure:2802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2747 2802 then 2748 2803 ac_cv_func_mmap_fixed_mapped=yes … … 2767 2822 2768 2823 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2769 echo "configure:2 770: checking return type of signal handlers" >&52824 echo "configure:2825: checking return type of signal handlers" >&5 2770 2825 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2771 2826 echo $ac_n "(cached) $ac_c" 1>&6 2772 2827 else 2773 2828 cat > conftest.$ac_ext <<EOF 2774 #line 2 775"configure"2829 #line 2830 "configure" 2775 2830 #include "confdefs.h" 2776 2831 #include <sys/types.h> … … 2789 2844 ; return 0; } 2790 2845 EOF 2791 if { (eval echo configure:2 792: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2846 if { (eval echo configure:2847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2792 2847 rm -rf conftest* 2793 2848 ac_cv_type_signal=void … … 2808 2863 2809 2864 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2810 echo "configure:28 11: checking for vprintf" >&52865 echo "configure:2866: checking for vprintf" >&5 2811 2866 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2812 2867 echo $ac_n "(cached) $ac_c" 1>&6 2813 2868 else 2814 2869 cat > conftest.$ac_ext <<EOF 2815 #line 28 16"configure"2870 #line 2871 "configure" 2816 2871 #include "confdefs.h" 2817 2872 /* System header to define __stub macros and hopefully few prototypes, … … 2836 2891 ; return 0; } 2837 2892 EOF 2838 if { (eval echo configure:28 39: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2893 if { (eval echo configure:2894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2839 2894 rm -rf conftest* 2840 2895 eval "ac_cv_func_vprintf=yes" … … 2860 2915 if test "$ac_cv_func_vprintf" != yes; then 2861 2916 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2862 echo "configure:2 863: checking for _doprnt" >&52917 echo "configure:2918: checking for _doprnt" >&5 2863 2918 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2864 2919 echo $ac_n "(cached) $ac_c" 1>&6 2865 2920 else 2866 2921 cat > conftest.$ac_ext <<EOF 2867 #line 2 868"configure"2922 #line 2923 "configure" 2868 2923 #include "confdefs.h" 2869 2924 /* System header to define __stub macros and hopefully few prototypes, … … 2888 2943 ; return 0; } 2889 2944 EOF 2890 if { (eval echo configure:2 891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2945 if { (eval echo configure:2946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2891 2946 rm -rf conftest* 2892 2947 eval "ac_cv_func__doprnt=yes" … … 2914 2969 2915 2970 echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6 2916 echo "configure:29 17: checking for library containing setenv" >&52971 echo "configure:2972: checking for library containing setenv" >&5 2917 2972 if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then 2918 2973 echo $ac_n "(cached) $ac_c" 1>&6 … … 2921 2976 ac_cv_search_setenv="no" 2922 2977 cat > conftest.$ac_ext <<EOF 2923 #line 29 24"configure"2978 #line 2979 "configure" 2924 2979 #include "confdefs.h" 2925 2980 /* Override any gcc2 internal prototype to avoid an error. */ … … 2932 2987 ; return 0; } 2933 2988 EOF 2934 if { (eval echo configure:29 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2989 if { (eval echo configure:2990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2935 2990 rm -rf conftest* 2936 2991 ac_cv_search_setenv="none required" … … 2943 2998 LIBS="-l$i $ac_func_search_save_LIBS" 2944 2999 cat > conftest.$ac_ext <<EOF 2945 #line 2946"configure"3000 #line 3001 "configure" 2946 3001 #include "confdefs.h" 2947 3002 /* Override any gcc2 internal prototype to avoid an error. */ … … 2954 3009 ; return 0; } 2955 3010 EOF 2956 if { (eval echo configure: 2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3011 if { (eval echo configure:3012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2957 3012 rm -rf conftest* 2958 3013 ac_cv_search_setenv="-l$i" … … 2977 3032 do 2978 3033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2979 echo "configure: 2980: checking for $ac_func" >&53034 echo "configure:3035: checking for $ac_func" >&5 2980 3035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2981 3036 echo $ac_n "(cached) $ac_c" 1>&6 2982 3037 else 2983 3038 cat > conftest.$ac_ext <<EOF 2984 #line 2985"configure"3039 #line 3040 "configure" 2985 3040 #include "confdefs.h" 2986 3041 /* System header to define __stub macros and hopefully few prototypes, … … 3005 3060 ; return 0; } 3006 3061 EOF 3007 if { (eval echo configure:30 08: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3062 if { (eval echo configure:3063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3008 3063 rm -rf conftest* 3009 3064 eval "ac_cv_func_$ac_func=yes" … … 3034 3089 # arithmetic shifts 3035 3090 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 3036 echo "configure:30 37: checking whether your machine has correct arithmetic shifts" >&53091 echo "configure:3092: checking whether your machine has correct arithmetic shifts" >&5 3037 3092 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 3038 3093 echo $ac_n "(cached) $ac_c" 1>&6 … … 3047 3102 else 3048 3103 cat > conftest.$ac_ext <<EOF 3049 #line 3 050"configure"3104 #line 3105 "configure" 3050 3105 #include "confdefs.h" 3051 3106 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 3052 3107 EOF 3053 if { (eval echo configure:3 054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3108 if { (eval echo configure:3109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3054 3109 then 3055 3110 ac_cv_shift=yes … … 3076 3131 # check for a peculiar constructor initialization 3077 3132 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 3078 echo "configure:3 079: checking whether explicit C++ constructor calls are allowed" >&53133 echo "configure:3134: checking whether explicit C++ constructor calls are allowed" >&5 3079 3134 3080 3135 ac_ext=C … … 3089 3144 else 3090 3145 cat > conftest.$ac_ext <<EOF 3091 #line 3 092"configure"3146 #line 3147 "configure" 3092 3147 #include "confdefs.h" 3093 3148 … … 3107 3162 ; return 0; } 3108 3163 EOF 3109 if { (eval echo configure:31 10: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3164 if { (eval echo configure:3165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3110 3165 rm -rf conftest* 3111 3166 ac_cv_explicit_const=yes … … 3136 3191 # sprintf returns number of printed chars 3137 3192 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 3138 echo "configure:31 39: checking whether vsprintf returns number of printed chars" >&53193 echo "configure:3194: checking whether vsprintf returns number of printed chars" >&5 3139 3194 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 3140 3195 echo $ac_n "(cached) $ac_c" 1>&6 … … 3144 3199 else 3145 3200 cat > conftest.$ac_ext <<EOF 3146 #line 3 147"configure"3201 #line 3202 "configure" 3147 3202 #include "confdefs.h" 3148 3203 #include <stdio.h> 3149 3204 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 3150 3205 EOF 3151 if { (eval echo configure:3 152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3206 if { (eval echo configure:3207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3152 3207 then 3153 3208 ac_cv_returns_n_of_chars=yes … … 3175 3230 # determine ALIGN_8 3176 3231 echo $ac_n "checking size of char""... $ac_c" 1>&6 3177 echo "configure:3 178: checking size of char" >&53232 echo "configure:3233: checking size of char" >&5 3178 3233 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 3179 3234 echo $ac_n "(cached) $ac_c" 1>&6 … … 3183 3238 else 3184 3239 cat > conftest.$ac_ext <<EOF 3185 #line 3 186"configure"3240 #line 3241 "configure" 3186 3241 #include "confdefs.h" 3187 3242 #include <stdio.h> … … 3194 3249 } 3195 3250 EOF 3196 if { (eval echo configure:3 197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3251 if { (eval echo configure:3252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3197 3252 then 3198 3253 ac_cv_sizeof_char=`cat conftestval` … … 3214 3269 3215 3270 echo $ac_n "checking size of short""... $ac_c" 1>&6 3216 echo "configure:32 17: checking size of short" >&53271 echo "configure:3272: checking size of short" >&5 3217 3272 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3218 3273 echo $ac_n "(cached) $ac_c" 1>&6 … … 3222 3277 else 3223 3278 cat > conftest.$ac_ext <<EOF 3224 #line 32 25"configure"3279 #line 3280 "configure" 3225 3280 #include "confdefs.h" 3226 3281 #include <stdio.h> … … 3233 3288 } 3234 3289 EOF 3235 if { (eval echo configure:32 36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3290 if { (eval echo configure:3291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3236 3291 then 3237 3292 ac_cv_sizeof_short=`cat conftestval` … … 3253 3308 3254 3309 echo $ac_n "checking size of int""... $ac_c" 1>&6 3255 echo "configure:3 256: checking size of int" >&53310 echo "configure:3311: checking size of int" >&5 3256 3311 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3257 3312 echo $ac_n "(cached) $ac_c" 1>&6 … … 3261 3316 else 3262 3317 cat > conftest.$ac_ext <<EOF 3263 #line 3 264"configure"3318 #line 3319 "configure" 3264 3319 #include "confdefs.h" 3265 3320 #include <stdio.h> … … 3272 3327 } 3273 3328 EOF 3274 if { (eval echo configure:3 275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3329 if { (eval echo configure:3330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3275 3330 then 3276 3331 ac_cv_sizeof_int=`cat conftestval` … … 3292 3347 3293 3348 echo $ac_n "checking size of long""... $ac_c" 1>&6 3294 echo "configure:3 295: checking size of long" >&53349 echo "configure:3350: checking size of long" >&5 3295 3350 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3296 3351 echo $ac_n "(cached) $ac_c" 1>&6 … … 3300 3355 else 3301 3356 cat > conftest.$ac_ext <<EOF 3302 #line 33 03"configure"3357 #line 3358 "configure" 3303 3358 #include "confdefs.h" 3304 3359 #include <stdio.h> … … 3311 3366 } 3312 3367 EOF 3313 if { (eval echo configure:33 14: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3368 if { (eval echo configure:3369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3314 3369 then 3315 3370 ac_cv_sizeof_long=`cat conftestval` … … 3331 3386 3332 3387 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3333 echo "configure:33 34: checking size of void*" >&53388 echo "configure:3389: checking size of void*" >&5 3334 3389 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3335 3390 echo $ac_n "(cached) $ac_c" 1>&6 … … 3339 3394 else 3340 3395 cat > conftest.$ac_ext <<EOF 3341 #line 33 42"configure"3396 #line 3397 "configure" 3342 3397 #include "confdefs.h" 3343 3398 #include <stdio.h> … … 3350 3405 } 3351 3406 EOF 3352 if { (eval echo configure:3 353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3407 if { (eval echo configure:3408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3353 3408 then 3354 3409 ac_cv_sizeof_voidp=`cat conftestval` … … 3370 3425 3371 3426 echo $ac_n "checking size of double""... $ac_c" 1>&6 3372 echo "configure:3 373: checking size of double" >&53427 echo "configure:3428: checking size of double" >&5 3373 3428 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3374 3429 echo $ac_n "(cached) $ac_c" 1>&6 … … 3378 3433 else 3379 3434 cat > conftest.$ac_ext <<EOF 3380 #line 3 381"configure"3435 #line 3436 "configure" 3381 3436 #include "confdefs.h" 3382 3437 #include <stdio.h> … … 3389 3444 } 3390 3445 EOF 3391 if { (eval echo configure:3 392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3446 if { (eval echo configure:3447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3392 3447 then 3393 3448 ac_cv_sizeof_double=`cat conftestval` … … 3409 3464 3410 3465 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3411 echo "configure:34 12: checking whether byte ordering is bigendian" >&53466 echo "configure:3467: checking whether byte ordering is bigendian" >&5 3412 3467 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3413 3468 echo $ac_n "(cached) $ac_c" 1>&6 … … 3416 3471 # See if sys/param.h defines the BYTE_ORDER macro. 3417 3472 cat > conftest.$ac_ext <<EOF 3418 #line 34 19"configure"3473 #line 3474 "configure" 3419 3474 #include "confdefs.h" 3420 3475 #include <sys/types.h> … … 3427 3482 ; return 0; } 3428 3483 EOF 3429 if { (eval echo configure:34 30: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3484 if { (eval echo configure:3485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3430 3485 rm -rf conftest* 3431 3486 # It does; now see whether it defined to BIG_ENDIAN or not. 3432 3487 cat > conftest.$ac_ext <<EOF 3433 #line 34 34"configure"3488 #line 3489 "configure" 3434 3489 #include "confdefs.h" 3435 3490 #include <sys/types.h> … … 3442 3497 ; return 0; } 3443 3498 EOF 3444 if { (eval echo configure:3 445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3499 if { (eval echo configure:3500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3445 3500 rm -rf conftest* 3446 3501 ac_cv_c_bigendian=yes … … 3462 3517 else 3463 3518 cat > conftest.$ac_ext <<EOF 3464 #line 3 465"configure"3519 #line 3520 "configure" 3465 3520 #include "confdefs.h" 3466 3521 main () { … … 3475 3530 } 3476 3531 EOF 3477 if { (eval echo configure:3 478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3532 if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3478 3533 then 3479 3534 ac_cv_c_bigendian=no … … 3593 3648 3594 3649 echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6 3595 echo "configure:3 596: checking whether to use dynamic linking" >&53650 echo "configure:3651: checking whether to use dynamic linking" >&5 3596 3651 if test "$with_dl" != no && test "$ac_lib_dl" = yes; then 3597 3652 cat >> confdefs.h <<\EOF … … 3606 3661 3607 3662 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3608 echo "configure:36 09: checking for tgetent in -lncurses" >&53663 echo "configure:3664: checking for tgetent in -lncurses" >&5 3609 3664 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3610 3665 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3614 3669 LIBS="-lncurses $LIBS" 3615 3670 cat > conftest.$ac_ext <<EOF 3616 #line 36 17"configure"3671 #line 3672 "configure" 3617 3672 #include "confdefs.h" 3618 3673 /* Override any gcc2 internal prototype to avoid an error. */ … … 3625 3680 ; return 0; } 3626 3681 EOF 3627 if { (eval echo configure:36 28: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3682 if { (eval echo configure:3683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3628 3683 rm -rf conftest* 3629 3684 eval "ac_cv_lib_$ac_lib_var=yes" … … 3652 3707 \ 3653 3708 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3654 echo "configure:3 655: checking for tgetent in -lcurses" >&53709 echo "configure:3710: checking for tgetent in -lcurses" >&5 3655 3710 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3656 3711 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3660 3715 LIBS="-lcurses $LIBS" 3661 3716 cat > conftest.$ac_ext <<EOF 3662 #line 3 663"configure"3717 #line 3718 "configure" 3663 3718 #include "confdefs.h" 3664 3719 /* Override any gcc2 internal prototype to avoid an error. */ … … 3671 3726 ; return 0; } 3672 3727 EOF 3673 if { (eval echo configure:3 674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3728 if { (eval echo configure:3729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3674 3729 rm -rf conftest* 3675 3730 eval "ac_cv_lib_$ac_lib_var=yes" … … 3698 3753 \ 3699 3754 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3700 echo "configure:37 01: checking for tgetent in -ltermcap" >&53755 echo "configure:3756: checking for tgetent in -ltermcap" >&5 3701 3756 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3702 3757 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3706 3761 LIBS="-ltermcap $LIBS" 3707 3762 cat > conftest.$ac_ext <<EOF 3708 #line 37 09"configure"3763 #line 3764 "configure" 3709 3764 #include "confdefs.h" 3710 3765 /* Override any gcc2 internal prototype to avoid an error. */ … … 3717 3772 ; return 0; } 3718 3773 EOF 3719 if { (eval echo configure:37 20: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3774 if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3720 3775 rm -rf conftest* 3721 3776 eval "ac_cv_lib_$ac_lib_var=yes" … … 3766 3821 3767 3822 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3768 echo "configure:3 769: checking for rl_abort in -lreadline" >&53823 echo "configure:3824: checking for rl_abort in -lreadline" >&5 3769 3824 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3770 3825 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3774 3829 LIBS="-lreadline $LIBS" 3775 3830 cat > conftest.$ac_ext <<EOF 3776 #line 3 777"configure"3831 #line 3832 "configure" 3777 3832 #include "confdefs.h" 3778 3833 /* Override any gcc2 internal prototype to avoid an error. */ … … 3788 3843 ; return 0; } 3789 3844 EOF 3790 if { (eval echo configure:3 791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3845 if { (eval echo configure:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3791 3846 rm -rf conftest* 3792 3847 eval "ac_cv_lib_$ac_lib_var=yes" … … 3816 3871 3817 3872 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 3818 echo "configure:38 19: checking how to run the C++ preprocessor" >&53873 echo "configure:3874: checking how to run the C++ preprocessor" >&5 3819 3874 if test -z "$CXXCPP"; then 3820 3875 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 3829 3884 CXXCPP="${CXX-g++} -E" 3830 3885 cat > conftest.$ac_ext <<EOF 3831 #line 38 32"configure"3886 #line 3887 "configure" 3832 3887 #include "confdefs.h" 3833 3888 #include <stdlib.h> 3834 3889 EOF 3835 3890 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3836 { (eval echo configure:38 37: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3891 { (eval echo configure:3892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3837 3892 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3838 3893 if test -z "$ac_err"; then … … 3862 3917 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3863 3918 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3864 echo "configure:3 865: checking for $ac_hdr" >&53919 echo "configure:3920: checking for $ac_hdr" >&5 3865 3920 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3866 3921 echo $ac_n "(cached) $ac_c" 1>&6 3867 3922 else 3868 3923 cat > conftest.$ac_ext <<EOF 3869 #line 3 870"configure"3924 #line 3925 "configure" 3870 3925 #include "confdefs.h" 3871 3926 #include <$ac_hdr> 3872 3927 EOF 3873 3928 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3874 { (eval echo configure:3 875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3929 { (eval echo configure:3930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3875 3930 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3876 3931 if test -z "$ac_err"; then … … 3901 3956 test "$ac_cv_header_readline_readline_h" = yes; then 3902 3957 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3903 echo "configure:39 04: checking whether readline.h is ok" >&53958 echo "configure:3959: checking whether readline.h is ok" >&5 3904 3959 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3905 3960 echo $ac_n "(cached) $ac_c" 1>&6 3906 3961 else 3907 3962 cat > conftest.$ac_ext <<EOF 3908 #line 39 09"configure"3963 #line 3964 "configure" 3909 3964 #include "confdefs.h" 3910 3965 #include<unistd.h> … … 3931 3986 ; return 0; } 3932 3987 EOF 3933 if { (eval echo configure:39 34: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3988 if { (eval echo configure:3989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3934 3989 rm -rf conftest* 3935 3990 ac_cv_header_readline_readline_h_ok="yes" … … 3947 4002 #not ok -- try once more with explicitly declaring everything 3948 4003 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" >&54004 echo "configure:4005: checking whether or not we nevertheless can use readline" >&5 3950 4005 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3951 4006 echo $ac_n "(cached) $ac_c" 1>&6 3952 4007 else 3953 4008 cat > conftest.$ac_ext <<EOF 3954 #line 3955"configure"4009 #line 4010 "configure" 3955 4010 #include "confdefs.h" 3956 4011 #include <stdio.h> … … 3986 4041 ; return 0; } 3987 4042 EOF 3988 if { (eval echo configure: 3989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4043 if { (eval echo configure:4044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3989 4044 rm -rf conftest* 3990 4045 ac_cv_have_readline="yes" … … 4025 4080 4026 4081 echo $ac_n "checking which readline to use""... $ac_c" 1>&6 4027 echo "configure:40 28: checking which readline to use" >&54082 echo "configure:4083: checking which readline to use" >&5 4028 4083 if test "$ac_cv_with_readline" = dynamic; then 4029 4084 echo "$ac_t""dynamic" 1>&6 … … 4043 4098 # gmp, smallgmp, MP, MPT, factory, libfac 4044 4099 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 4045 echo "configure:4 046: checking for main in -lgmp" >&54100 echo "configure:4101: checking for main in -lgmp" >&5 4046 4101 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 4047 4102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4051 4106 LIBS="-lgmp $LIBS" 4052 4107 cat > conftest.$ac_ext <<EOF 4053 #line 4 054"configure"4108 #line 4109 "configure" 4054 4109 #include "confdefs.h" 4055 4110 … … 4058 4113 ; return 0; } 4059 4114 EOF 4060 if { (eval echo configure:4 061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4115 if { (eval echo configure:4116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4061 4116 rm -rf conftest* 4062 4117 eval "ac_cv_lib_$ac_lib_var=yes" … … 4089 4144 fi 4090 4145 echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6 4091 echo "configure:4 092: checking for main in -lsmallgmp" >&54146 echo "configure:4147: checking for main in -lsmallgmp" >&5 4092 4147 ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'` 4093 4148 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4097 4152 LIBS="-lsmallgmp $LIBS" 4098 4153 cat > conftest.$ac_ext <<EOF 4099 #line 41 00"configure"4154 #line 4155 "configure" 4100 4155 #include "confdefs.h" 4101 4156 … … 4104 4159 ; return 0; } 4105 4160 EOF 4106 if { (eval echo configure:41 07: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4161 if { (eval echo configure:4162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4107 4162 rm -rf conftest* 4108 4163 eval "ac_cv_lib_$ac_lib_var=yes" … … 4133 4188 SAVE_LIBS=$LIBS 4134 4189 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4135 echo "configure:41 36: checking for IMP_PutGmpInt in -lMP" >&54190 echo "configure:4191: checking for IMP_PutGmpInt in -lMP" >&5 4136 4191 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4137 4192 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4141 4196 LIBS="-lMP $MP_LIBS $LIBS" 4142 4197 cat > conftest.$ac_ext <<EOF 4143 #line 41 44"configure"4198 #line 4199 "configure" 4144 4199 #include "confdefs.h" 4145 4200 /* Override any gcc2 internal prototype to avoid an error. */ … … 4152 4207 ; return 0; } 4153 4208 EOF 4154 if { (eval echo configure:4 155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4209 if { (eval echo configure:4210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4155 4210 rm -rf conftest* 4156 4211 eval "ac_cv_lib_$ac_lib_var=yes" … … 4180 4235 4181 4236 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4182 echo "configure:4 183: checking for MPT_GetTree in -lMPT" >&54237 echo "configure:4238: checking for MPT_GetTree in -lMPT" >&5 4183 4238 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4184 4239 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4188 4243 LIBS="-lMPT $MP_LIBS $LIBS" 4189 4244 cat > conftest.$ac_ext <<EOF 4190 #line 4 191"configure"4245 #line 4246 "configure" 4191 4246 #include "confdefs.h" 4192 4247 /* Override any gcc2 internal prototype to avoid an error. */ … … 4199 4254 ; return 0; } 4200 4255 EOF 4201 if { (eval echo configure:42 02: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4256 if { (eval echo configure:4257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4202 4257 rm -rf conftest* 4203 4258 eval "ac_cv_lib_$ac_lib_var=yes" … … 4228 4283 LIBS=$SAVE_LIBS 4229 4284 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4230 echo "configure:42 31: checking for atof in -lsingcf" >&54285 echo "configure:4286: checking for atof in -lsingcf" >&5 4231 4286 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4232 4287 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4236 4291 LIBS="-lsingcf $LIBS" 4237 4292 cat > conftest.$ac_ext <<EOF 4238 #line 42 39"configure"4293 #line 4294 "configure" 4239 4294 #include "confdefs.h" 4240 4295 /* Override any gcc2 internal prototype to avoid an error. */ … … 4247 4302 ; return 0; } 4248 4303 EOF 4249 if { (eval echo configure:4 250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4304 if { (eval echo configure:4305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4250 4305 rm -rf conftest* 4251 4306 eval "ac_cv_lib_$ac_lib_var=yes" … … 4275 4330 4276 4331 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4277 echo "configure:4 278: checking for atof in -lsingfac" >&54332 echo "configure:4333: checking for atof in -lsingfac" >&5 4278 4333 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4279 4334 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4283 4338 LIBS="-lsingfac $LIBS" 4284 4339 cat > conftest.$ac_ext <<EOF 4285 #line 4 286"configure"4340 #line 4341 "configure" 4286 4341 #include "confdefs.h" 4287 4342 /* Override any gcc2 internal prototype to avoid an error. */ … … 4294 4349 ; return 0; } 4295 4350 EOF 4296 if { (eval echo configure:4 297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4351 if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4297 4352 rm -rf conftest* 4298 4353 eval "ac_cv_lib_$ac_lib_var=yes" … … 4322 4377 4323 4378 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 4324 echo "configure:43 25: checking for omTestAddr in -lomalloc" >&54379 echo "configure:4380: checking for omTestAddr in -lomalloc" >&5 4325 4380 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 4326 4381 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4330 4385 LIBS="-lomalloc $LIBS" 4331 4386 cat > conftest.$ac_ext <<EOF 4332 #line 43 33"configure"4387 #line 4388 "configure" 4333 4388 #include "confdefs.h" 4334 4389 /* Override any gcc2 internal prototype to avoid an error. */ … … 4341 4396 ; return 0; } 4342 4397 EOF 4343 if { (eval echo configure:43 44: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4398 if { (eval echo configure:4399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4344 4399 rm -rf conftest* 4345 4400 eval "ac_cv_lib_$ac_lib_var=yes" … … 4369 4424 4370 4425 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 4371 echo "configure:4 372: checking for main in -lomalloc_ndebug" >&54426 echo "configure:4427: checking for main in -lomalloc_ndebug" >&5 4372 4427 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 4373 4428 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4377 4432 LIBS="-lomalloc_ndebug $LIBS" 4378 4433 cat > conftest.$ac_ext <<EOF 4379 #line 4 380"configure"4434 #line 4435 "configure" 4380 4435 #include "confdefs.h" 4381 4436 … … 4384 4439 ; return 0; } 4385 4440 EOF 4386 if { (eval echo configure:4 387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4441 if { (eval echo configure:4442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4387 4442 rm -rf conftest* 4388 4443 eval "ac_cv_lib_$ac_lib_var=yes" … … 4416 4471 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4417 4472 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4418 echo "configure:44 19: checking for $ac_hdr" >&54473 echo "configure:4474: checking for $ac_hdr" >&5 4419 4474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4420 4475 echo $ac_n "(cached) $ac_c" 1>&6 4421 4476 else 4422 4477 cat > conftest.$ac_ext <<EOF 4423 #line 44 24"configure"4478 #line 4479 "configure" 4424 4479 #include "confdefs.h" 4425 4480 #include <$ac_hdr> 4426 4481 EOF 4427 4482 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4428 { (eval echo configure:44 29: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4483 { (eval echo configure:4484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4429 4484 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4430 4485 if test -z "$ac_err"; then … … 4495 4550 4496 4551 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4497 echo "configure:4 498: checking which apint package to use" >&54552 echo "configure:4553: checking which apint package to use" >&5 4498 4553 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4499 4554 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4537 4592 # 4538 4593 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4539 echo "configure:45 40: checking whether to have MP" >&54594 echo "configure:4595: checking whether to have MP" >&5 4540 4595 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4541 4596 if (test "${will_have_gmp}" = yes) && \ … … 4572 4627 4573 4628 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4574 echo "configure:4 575: checking whether to have factory" >&54629 echo "configure:4630: checking whether to have factory" >&5 4575 4630 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4576 4631 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4603 4658 4604 4659 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4605 echo "configure:46 06: checking whether to have libfac" >&54660 echo "configure:4661: checking whether to have libfac" >&5 4606 4661 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4607 4662 if (test "${will_have_factory}" = yes) && \ … … 4637 4692 4638 4693 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4639 echo "configure:46 40: checking whether to have dbm links" >&54694 echo "configure:4695: checking whether to have dbm links" >&5 4640 4695 if test "$with_dbm" != no; then 4641 4696 cat >> confdefs.h <<\EOF … … 4649 4704 4650 4705 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 4651 echo "configure:4 652: checking whether to have namespaces" >&54652 if test "$with_namespaces" != yes; then4653 echo "$ac_t"" no" 1>&64706 echo "configure:4707: checking whether to have namespaces" >&5 4707 if test "$with_namespaces" != no; then 4708 echo "$ac_t""yes" 1>&6 4654 4709 else 4655 4710 cat >> confdefs.h <<\EOF … … 4657 4712 EOF 4658 4713 4659 echo "$ac_t"" yes" 1>&64714 echo "$ac_t""no" 1>&6 4660 4715 fi 4661 4716 4662 4717 echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6 4663 echo "configure:4 664: checking whether to have dynamic modules" >&54664 if test "$with_dynamic_modules" != yes|| test "$ac_have_dl" != yes; then4718 echo "configure:4719: checking whether to have dynamic modules" >&5 4719 if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then 4665 4720 echo "$ac_t""no" 1>&6 4666 4721 else … … 4673 4728 4674 4729 echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6 4675 echo "configure:4 676: checking whether to have dynamic kernel" >&54730 echo "configure:4731: checking whether to have dynamic kernel" >&5 4676 4731 if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then 4677 4732 DL_KERNEL=1 … … 4683 4738 4684 4739 echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6 4685 echo "configure:4 686: checking whether to have Plural" >&54740 echo "configure:4741: checking whether to have Plural" >&5 4686 4741 if test "$with_plural" != yes; then 4687 4742 echo "$ac_t""no" 1>&6 -
Singular/configure.in
r65b27c r457d8d6 310 310 if test "$ac_cv_lib_dl_dlopen" = yes; then 311 311 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" 312 321 SFLAGS="-fpic -DPIC" 313 322 SLDFLAGS=-shared … … 796 805 797 806 AC_MSG_CHECKING(whether to have dynamic modules) 798 if test "$with_dynamic_modules" = =no || test "$ac_have_dl" != yes; then807 if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then 799 808 AC_MSG_RESULT(no) 800 809 else -
Singular/distrib.h
r65b27c r457d8d6 1 #undef MAKE_DISTRIBUTION 1 #undef MAKE_DISTRIBUTION -
Singular/kstd1.cc
r65b27c r457d8d6 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd1.cc,v 1.8 2 2001-02-28 11:56:27 levandovExp $ */4 /* $Id: kstd1.cc,v 1.83 2001-03-08 13:05:11 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 1199 1199 enterpairs(strat->P.p,strat->sl,strat->P.ecart,0,strat, strat->tl); 1200 1200 // 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), 1202 1203 strat, strat->tl); 1203 1204 … … 1524 1525 long i=p_GetComp(p, r); 1525 1526 if (i==0) return o; 1527 assume((i>0) && (i<=kModW->length())); 1526 1528 return o+(*kModW)[i-1]; 1527 1529 } -
Singular/kstd2.cc
r65b27c r457d8d6 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd2.cc,v 1.7 3 2001-02-21 10:39:25Singular Exp $ */4 /* $Id: kstd2.cc,v 1.74 2001-03-08 13:05:12 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: alg. of Buchberger … … 599 599 strat->P.GetP(strat->lmBin); 600 600 601 int pos=posInS(strat,strat->sl,strat->P.p );601 int pos=posInS(strat,strat->sl,strat->P.p,strat->P.ecart); 602 602 603 603 // reduce the tail and normailze poly -
Singular/kstdfac.cc
r65b27c r457d8d6 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstdfac.cc,v 1.5 0 2001-02-21 10:39:25Singular Exp $ */4 /* $Id: kstdfac.cc,v 1.51 2001-03-08 13:05:12 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: factorizing alg. of Buchberger … … 312 312 int pos; 313 313 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); 315 315 if (TEST_OPT_INTSTRATEGY) 316 316 { … … 596 596 int pos; 597 597 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); 599 599 600 600 // we have already reduced all elements from fac.... -
Singular/kutil.cc
r65b27c r457d8d6 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kutil.cc,v 1.9 7 2001-02-21 15:41:47Singular Exp $ */4 /* $Id: kutil.cc,v 1.98 2001-03-08 13:05:13 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: kernel: utils for kStd … … 1597 1597 for (i=1; i<=strat->sl; i++) 1598 1598 { 1599 at = posInS(strat,i-1,strat->S[i] );1599 at = posInS(strat,i-1,strat->S[i],strat->ecartS[i]); 1600 1600 if (at != i) 1601 1601 { … … 1637 1637 * otherwise, bba has to be changed 1638 1638 */ 1639 int posInS (kStrategy strat, int length,poly p )1639 int posInS (kStrategy strat, int length,poly p, int ecart_p) 1640 1640 { 1641 1641 if(length==-1) return 0; … … 1677 1677 loop 1678 1678 { 1679 int dummy;1680 1679 if (an >= en-1) 1681 1680 { … … 1683 1682 if (pLmCmp(set[an],p) == -cmp_int) return en; 1684 1683 if ((cmp_int!=1) 1685 && (( pFDeg(set[an])+strat->ecartS[an])<pLDeg(p,&dummy)))1684 && ((strat->ecartS[an])<ecart_p)) 1686 1685 return an; 1687 1686 return en; … … 1693 1692 { 1694 1693 if ((cmp_int!=1) 1695 &&(( pFDeg(set[i])+strat->ecartS[i])<pLDeg(p,&dummy)))1694 &&((strat->ecartS[i])<ecart_p)) 1696 1695 en=i; 1697 1696 else … … 2942 2941 else 2943 2942 { 2944 pos = posInS(strat,strat->sl,h.p );2943 pos = posInS(strat,strat->sl,h.p,h.ecart); 2945 2944 } 2946 2945 h.sev = pGetShortExpVector(h.p); … … 2983 2982 else 2984 2983 { 2985 pos = posInS(strat,strat->sl,h.p );2984 pos = posInS(strat,strat->sl,h.p,h.ecart); 2986 2985 } 2987 2986 h.sev = pGetShortExpVector(h.p); … … 3041 3040 else 3042 3041 { 3043 pos = posInS(strat,strat->sl,h.p );3042 pos = posInS(strat,strat->sl,h.p,h.ecart); 3044 3043 } 3045 3044 h.sev = pGetShortExpVector(h.p); … … 3145 3144 else 3146 3145 { 3147 pos = posInS(strat,strat->sl,h.p );3146 pos = posInS(strat,strat->sl,h.p,h.ecart); 3148 3147 } 3149 3148 h.sev = pGetShortExpVector(h.p); … … 3183 3182 else 3184 3183 { 3185 pos = posInS(strat,strat->sl,h.p );3184 pos = posInS(strat,strat->sl,h.p,h.ecart); 3186 3185 } 3187 3186 h.sev = pGetShortExpVector(h.p); … … 3235 3234 h.sev = pGetShortExpVector(h.p); 3236 3235 h.SetpFDeg(); 3237 pos = posInS(strat,strat->sl,h.p );3236 pos = posInS(strat,strat->sl,h.p,h.ecart); 3238 3237 enterpairsSpecial(h.p,strat->sl,h.ecart,pos,strat,strat->tl+1); 3239 3238 strat->enterS(h,pos,strat, strat->tl+1); -
Singular/kutil.h
r65b27c r457d8d6 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: kutil.h,v 1.5 8 2001-02-21 10:39:27Singular Exp $ */6 /* $Id: kutil.h,v 1.59 2001-03-08 13:05:14 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT: kernel: utils for kStd … … 310 310 void initEcartPairBba (LObject* Lp,poly f,poly g,int ecartF,int ecartG); 311 311 void initEcartPairMora (LObject* Lp,poly f,poly g,int ecartF,int ecartG); 312 int posInS (kStrategy strat,int length,poly p );312 int posInS (kStrategy strat,int length,poly p, int ecart_p); 313 313 int posInT0 (const TSet set,const int length,LObject &p); 314 314 int posInT1 (const TSet set,const int length,LObject &p); -
Singular/pDebug.cc
r65b27c r457d8d6 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: pDebug.cc,v 1.1 7 2000-12-06 11:03:26Singular Exp $9 * Version: $Id: pDebug.cc,v 1.18 2001-03-08 13:05:14 Singular Exp $ 10 10 *******************************************************************/ 11 11 … … 228 228 pPolyAssumeReturnMsg(!n_IsZero(p->coef, r), "Zero coef"); 229 229 230 // check for valid comp 231 pPolyAssumeReturnMsg(p_GetComp(p, r) >= 0 && (p_GetComp(p, r)<65000), "component out of range ?"); 230 232 // check for mix poly/vec representation 231 233 pPolyAssumeReturnMsg(ismod == (p_GetComp(p, r) > 0), "mixed poly/vector"); -
Singular/p_Procs_Set.h
r65b27c r457d8d6 12 12 * Author: obachman (Olaf Bachmann) 13 13 * Created: 12/00 14 * Version: $Id: p_Procs_Set.h,v 1. 3 2000-12-31 15:14:40 obachmanExp $14 * Version: $Id: p_Procs_Set.h,v 1.4 2001-03-08 13:05:15 Singular Exp $ 15 15 *******************************************************************/ 16 16 … … 135 135 136 136 assume(p_Procs != NULL); 137 #ifdef RDEBUG137 //#ifdef RDEBUG 138 138 memset(p_Procs, 0, sizeof(p_Procs_s)); 139 #endif139 //#endif 140 140 _p_procs = p_Procs; 141 141 assume(IsValidSpec(field, length, ord)); … … 159 159 CheckProc(p_kBucketSetLm); 160 160 161 /* 161 162 assume(p_Procs->pp_Mult_mm_Noether != pp_Mult_mm_Noether__FieldGeneral_LengthGeneral_OrdGeneral || 162 163 p_Procs->p_Minus_mm_Mult_qq == p_Minus_mm_Mult_qq__FieldGeneral_LengthGeneral_OrdGeneral || 163 164 r->OrdSgn == 1 || r->LexOrder); 165 */ 164 166 } 165 167 -
Singular/p_polys.cc
r65b27c r457d8d6 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_polys.cc,v 1.1 5 2001-01-09 15:40:12Singular Exp $9 * Version: $Id: p_polys.cc,v 1.16 2001-03-08 13:05:15 Singular Exp $ 10 10 *******************************************************************/ 11 11 … … 337 337 long pLDeg0c(poly p,int *l, ring r) 338 338 { 339 assume(p!=NULL); 340 #ifdef PDEBUG 341 _p_Test(p,r,PDEBUG); 342 #endif 339 343 p_CheckPolyRing(p, r); 340 344 long o; … … 361 365 pp = p; 362 366 } 367 #ifdef PDEBUG 368 _p_Test(pp,r,PDEBUG); 369 #endif 363 370 o = r->pFDeg(pp, r); 364 371 }
Note: See TracChangeset
for help on using the changeset viewer.