Changeset adeaee in git
- Timestamp:
- May 22, 1997, 5:02:53 PM (26 years ago)
- Branches:
- (u'spielwiese', 'a7324b6e0b44a1a8ed3fa4d9ca3e2ff210ddd52c')
- Children:
- 30acf1687e42365e829aab1dac6dca1fe7e85058
- Parents:
- 2b3f238c740deb3d586dc1d5b379ddadb848cbaa
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/ChangeLog
r2b3f23 radeaee 1 Thu May 22 16:39:16 1997 Olaf Bachmann <obachman@schlupp.mathematik.uni-kl.de (Olaf Bachmann)> 2 3 * mod2.h.in: Added HAVE_BUILTIN_GMP which is set by configure 4 1 5 * hannes: ipshell.cc: fixed a bug in iiExport (multiple exports in rings) 2 6 subexpr.cc: implemented sleftv::Copy for ring/qring -
Singular/configure
r2b3f23 radeaee 1517 1517 NEED_LIBS=$LIBS 1518 1518 1519 if test "$with_gmp" != no; then 1519 if test "$with_builtingmp" = yes; then 1520 cat >> confdefs.h <<\EOF 1521 #define HAVE_BUILTIN_GMP 1 1522 EOF 1523 1524 cat >> confdefs.h <<\EOF 1525 #define HAVE_GMP 1 1526 EOF 1527 1528 ac_gmp_ok=yes 1529 elif test "$with_gmp" != no; then 1520 1530 echo $ac_n "checking for -lgmp""... $ac_c" 1>&6 1521 1531 ac_lib_var=`echo gmp_mpz_init | tr '.-/+' '___p'` … … 1526 1536 LIBS="-lgmp $LIBS" 1527 1537 cat > conftest.$ac_ext <<EOF 1528 #line 15 29 "configure"1538 #line 1539 "configure" 1529 1539 #include "confdefs.h" 1530 1540 /* Override any gcc2 internal prototype to avoid an error. */ … … 1536 1546 ; return 0; } 1537 1547 EOF 1538 if { (eval echo configure:15 39: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1548 if { (eval echo configure:1549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1539 1549 rm -rf conftest* 1540 1550 eval "ac_cv_lib_$ac_lib_var=yes" … … 1566 1576 else 1567 1577 cat > conftest.$ac_ext <<EOF 1568 #line 15 69 "configure"1578 #line 1579 "configure" 1569 1579 #include "confdefs.h" 1570 1580 #include <gmp.h> 1571 1581 EOF 1572 1582 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1573 { (eval echo configure:15 74: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1583 { (eval echo configure:1584: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1574 1584 ac_err=`grep -v '^ *+' conftest.out` 1575 1585 if test -z "$ac_err"; then … … 1625 1635 LIBS="-lMP $LIBS" 1626 1636 cat > conftest.$ac_ext <<EOF 1627 #line 16 28 "configure"1637 #line 1638 "configure" 1628 1638 #include "confdefs.h" 1629 1639 /* Override any gcc2 internal prototype to avoid an error. */ … … 1635 1645 ; return 0; } 1636 1646 EOF 1637 if { (eval echo configure:16 38: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1647 if { (eval echo configure:1648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1638 1648 rm -rf conftest* 1639 1649 eval "ac_cv_lib_$ac_lib_var=yes" … … 1667 1677 LIBS="-lMPT $LIBS" 1668 1678 cat > conftest.$ac_ext <<EOF 1669 #line 16 70 "configure"1679 #line 1680 "configure" 1670 1680 #include "confdefs.h" 1671 1681 /* Override any gcc2 internal prototype to avoid an error. */ … … 1677 1687 ; return 0; } 1678 1688 EOF 1679 if { (eval echo configure:16 80: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1689 if { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1680 1690 rm -rf conftest* 1681 1691 eval "ac_cv_lib_$ac_lib_var=yes" … … 1710 1720 else 1711 1721 cat > conftest.$ac_ext <<EOF 1712 #line 17 13 "configure"1722 #line 1723 "configure" 1713 1723 #include "confdefs.h" 1714 1724 #include <$ac_hdr> 1715 1725 EOF 1716 1726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1717 { (eval echo configure:17 18: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1727 { (eval echo configure:1728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1718 1728 ac_err=`grep -v '^ *+' conftest.out` 1719 1729 if test -z "$ac_err"; then … … 1778 1788 LIBS="-lsingcf $LIBS" 1779 1789 cat > conftest.$ac_ext <<EOF 1780 #line 17 81 "configure"1790 #line 1791 "configure" 1781 1791 #include "confdefs.h" 1782 1792 /* Override any gcc2 internal prototype to avoid an error. */ … … 1788 1798 ; return 0; } 1789 1799 EOF 1790 if { (eval echo configure:1 791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1800 if { (eval echo configure:1801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1791 1801 rm -rf conftest* 1792 1802 eval "ac_cv_lib_$ac_lib_var=yes" … … 1821 1831 else 1822 1832 cat > conftest.$ac_ext <<EOF 1823 #line 18 24 "configure"1833 #line 1834 "configure" 1824 1834 #include "confdefs.h" 1825 1835 #include <$ac_hdr> 1826 1836 EOF 1827 1837 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; }1838 { (eval echo configure:1839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1829 1839 ac_err=`grep -v '^ *+' conftest.out` 1830 1840 if test -z "$ac_err"; then … … 1887 1897 LIBS="-lsingfac $LIBS" 1888 1898 cat > conftest.$ac_ext <<EOF 1889 #line 1 890 "configure"1899 #line 1900 "configure" 1890 1900 #include "confdefs.h" 1891 1901 /* Override any gcc2 internal prototype to avoid an error. */ … … 1897 1907 ; return 0; } 1898 1908 EOF 1899 if { (eval echo configure:19 00: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then1909 if { (eval echo configure:1910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 1900 1910 rm -rf conftest* 1901 1911 eval "ac_cv_lib_$ac_lib_var=yes" … … 1930 1940 else 1931 1941 cat > conftest.$ac_ext <<EOF 1932 #line 19 33 "configure"1942 #line 1943 "configure" 1933 1943 #include "confdefs.h" 1934 1944 #include <$ac_hdr> 1935 1945 EOF 1936 1946 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1937 { (eval echo configure:19 38: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1947 { (eval echo configure:1948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1938 1948 ac_err=`grep -v '^ *+' conftest.out` 1939 1949 if test -z "$ac_err"; then … … 1994 2004 else 1995 2005 cat > conftest.$ac_ext <<EOF 1996 #line 1997 "configure"2006 #line 2007 "configure" 1997 2007 #include "confdefs.h" 1998 2008 main(){return(0);} 1999 2009 EOF 2000 { (eval echo configure:20 01: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2010 { (eval echo configure:2011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2001 2011 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2002 2012 ac_cv_c_cross=no … … 2016 2026 else 2017 2027 cat > conftest.$ac_ext <<EOF 2018 #line 20 19 "configure"2028 #line 2029 "configure" 2019 2029 #include "confdefs.h" 2020 2030 #include <stdlib.h> … … 2024 2034 EOF 2025 2035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2026 { (eval echo configure:20 27: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2036 { (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2027 2037 ac_err=`grep -v '^ *+' conftest.out` 2028 2038 if test -z "$ac_err"; then … … 2039 2049 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2040 2050 cat > conftest.$ac_ext <<EOF 2041 #line 20 42 "configure"2051 #line 2052 "configure" 2042 2052 #include "confdefs.h" 2043 2053 #include <string.h> … … 2057 2067 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2058 2068 cat > conftest.$ac_ext <<EOF 2059 #line 20 60 "configure"2069 #line 2070 "configure" 2060 2070 #include "confdefs.h" 2061 2071 #include <stdlib.h> … … 2078 2088 else 2079 2089 cat > conftest.$ac_ext <<EOF 2080 #line 20 81 "configure"2090 #line 2091 "configure" 2081 2091 #include "confdefs.h" 2082 2092 #include <ctype.h> … … 2089 2099 2090 2100 EOF 2091 { (eval echo configure:2 092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2101 { (eval echo configure:2102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2092 2102 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2093 2103 : … … 2117 2127 else 2118 2128 cat > conftest.$ac_ext <<EOF 2119 #line 21 20 "configure"2129 #line 2130 "configure" 2120 2130 #include "confdefs.h" 2121 2131 #include <$ac_hdr> 2122 2132 EOF 2123 2133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2124 { (eval echo configure:21 25: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2134 { (eval echo configure:2135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2125 2135 ac_err=`grep -v '^ *+' conftest.out` 2126 2136 if test -z "$ac_err"; then … … 2156 2166 else 2157 2167 cat > conftest.$ac_ext <<EOF 2158 #line 21 59 "configure"2168 #line 2169 "configure" 2159 2169 #include "confdefs.h" 2160 2170 #include <$ac_hdr> 2161 2171 EOF 2162 2172 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2163 { (eval echo configure:21 64: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2173 { (eval echo configure:2174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2164 2174 ac_err=`grep -v '^ *+' conftest.out` 2165 2175 if test -z "$ac_err"; then … … 2191 2201 else 2192 2202 cat > conftest.$ac_ext <<EOF 2193 #line 2 194 "configure"2203 #line 2204 "configure" 2194 2204 #include "confdefs.h" 2195 2205 … … 2241 2251 ; return 0; } 2242 2252 EOF 2243 if { (eval echo configure:22 44: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2253 if { (eval echo configure:2254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2244 2254 rm -rf conftest* 2245 2255 ac_cv_c_const=yes … … 2267 2277 for ac_kw in inline __inline__ __inline; do 2268 2278 cat > conftest.$ac_ext <<EOF 2269 #line 22 70 "configure"2279 #line 2280 "configure" 2270 2280 #include "confdefs.h" 2271 2281 … … 2275 2285 ; return 0; } 2276 2286 EOF 2277 if { (eval echo configure:22 78: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2287 if { (eval echo configure:2288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2278 2288 rm -rf conftest* 2279 2289 ac_cv_c_inline=$ac_kw; break … … 2303 2313 else 2304 2314 cat > conftest.$ac_ext <<EOF 2305 #line 23 06 "configure"2315 #line 2316 "configure" 2306 2316 #include "confdefs.h" 2307 2317 #include <sys/types.h> … … 2334 2344 else 2335 2345 cat > conftest.$ac_ext <<EOF 2336 #line 23 37 "configure"2346 #line 2347 "configure" 2337 2347 #include "confdefs.h" 2338 2348 #include <sys/types.h> … … 2344 2354 ; return 0; } 2345 2355 EOF 2346 if { (eval echo configure:23 47: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2356 if { (eval echo configure:2357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2347 2357 rm -rf conftest* 2348 2358 ac_cv_header_time=yes … … 2368 2378 else 2369 2379 cat > conftest.$ac_ext <<EOF 2370 #line 23 71 "configure"2380 #line 2381 "configure" 2371 2381 #include "confdefs.h" 2372 2382 #include <sys/types.h> … … 2377 2387 ; return 0; } 2378 2388 EOF 2379 if { (eval echo configure:23 80: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2389 if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2380 2390 rm -rf conftest* 2381 2391 ac_cv_struct_tm=time.h … … 2404 2414 else 2405 2415 cat > conftest.$ac_ext <<EOF 2406 #line 24 07 "configure"2416 #line 2417 "configure" 2407 2417 #include "confdefs.h" 2408 2418 #include <alloca.h> … … 2412 2422 ; return 0; } 2413 2423 EOF 2414 if { (eval echo configure:24 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2424 if { (eval echo configure:2425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2415 2425 rm -rf conftest* 2416 2426 ac_cv_header_alloca_h=yes … … 2436 2446 else 2437 2447 cat > conftest.$ac_ext <<EOF 2438 #line 24 39 "configure"2448 #line 2449 "configure" 2439 2449 #include "confdefs.h" 2440 2450 … … 2460 2470 ; return 0; } 2461 2471 EOF 2462 if { (eval echo configure:24 63: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2472 if { (eval echo configure:2473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2463 2473 rm -rf conftest* 2464 2474 ac_cv_func_alloca=yes … … 2495 2505 else 2496 2506 cat > conftest.$ac_ext <<EOF 2497 #line 2 498 "configure"2507 #line 2508 "configure" 2498 2508 #include "confdefs.h" 2499 2509 #if defined(CRAY) && ! defined(CRAY2) … … 2524 2534 else 2525 2535 cat > conftest.$ac_ext <<EOF 2526 #line 25 27 "configure"2536 #line 2537 "configure" 2527 2537 #include "confdefs.h" 2528 2538 /* System header to define __stub macros and hopefully few prototypes, … … 2546 2556 ; return 0; } 2547 2557 EOF 2548 if { (eval echo configure:25 49: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2558 if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2549 2559 rm -rf conftest* 2550 2560 eval "ac_cv_func_$ac_func=yes" … … 2578 2588 else 2579 2589 cat > conftest.$ac_ext <<EOF 2580 #line 25 81 "configure"2590 #line 2591 "configure" 2581 2591 #include "confdefs.h" 2582 2592 find_stack_direction () … … 2597 2607 } 2598 2608 EOF 2599 { (eval echo configure:26 00: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2609 { (eval echo configure:2610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2600 2610 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2601 2611 ac_cv_c_stack_direction=1 … … 2621 2631 ac_pattern="Autoconf.*'x'" 2622 2632 cat > conftest.$ac_ext <<EOF 2623 #line 26 24 "configure"2633 #line 2634 "configure" 2624 2634 #include "confdefs.h" 2625 2635 #include <sgtty.h> … … 2639 2649 if test $ac_cv_prog_gcc_traditional = no; then 2640 2650 cat > conftest.$ac_ext <<EOF 2641 #line 26 42 "configure"2651 #line 2652 "configure" 2642 2652 #include "confdefs.h" 2643 2653 #include <termio.h> … … 2667 2677 else 2668 2678 cat > conftest.$ac_ext <<EOF 2669 #line 26 70 "configure"2679 #line 2680 "configure" 2670 2680 #include "confdefs.h" 2671 2681 /* System header to define __stub macros and hopefully few prototypes, … … 2689 2699 ; return 0; } 2690 2700 EOF 2691 if { (eval echo configure:2 692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2701 if { (eval echo configure:2702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2692 2702 rm -rf conftest* 2693 2703 eval "ac_cv_func_$ac_func=yes" … … 2719 2729 else 2720 2730 cat > conftest.$ac_ext <<EOF 2721 #line 27 22 "configure"2731 #line 2732 "configure" 2722 2732 #include "confdefs.h" 2723 2733 … … 2788 2798 2789 2799 EOF 2790 { (eval echo configure:2 791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }2800 { (eval echo configure:2801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 2791 2801 if test -s conftest && (./conftest; exit) 2>/dev/null; then 2792 2802 ac_cv_func_mmap=yes … … 2811 2821 else 2812 2822 cat > conftest.$ac_ext <<EOF 2813 #line 28 14 "configure"2823 #line 2824 "configure" 2814 2824 #include "confdefs.h" 2815 2825 #include <sys/types.h> … … 2829 2839 ; return 0; } 2830 2840 EOF 2831 if { (eval echo configure:28 32: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2841 if { (eval echo configure:2842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2832 2842 rm -rf conftest* 2833 2843 ac_cv_type_signal=void … … 2851 2861 else 2852 2862 cat > conftest.$ac_ext <<EOF 2853 #line 28 54 "configure"2863 #line 2864 "configure" 2854 2864 #include "confdefs.h" 2855 2865 /* System header to define __stub macros and hopefully few prototypes, … … 2873 2883 ; return 0; } 2874 2884 EOF 2875 if { (eval echo configure:28 76: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2885 if { (eval echo configure:2886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2876 2886 rm -rf conftest* 2877 2887 eval "ac_cv_func_vprintf=yes" … … 2899 2909 else 2900 2910 cat > conftest.$ac_ext <<EOF 2901 #line 29 02 "configure"2911 #line 2912 "configure" 2902 2912 #include "confdefs.h" 2903 2913 /* System header to define __stub macros and hopefully few prototypes, … … 2921 2931 ; return 0; } 2922 2932 EOF 2923 if { (eval echo configure:29 24: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2933 if { (eval echo configure:2934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2924 2934 rm -rf conftest* 2925 2935 eval "ac_cv_func__doprnt=yes" … … 2950 2960 else 2951 2961 cat > conftest.$ac_ext <<EOF 2952 #line 29 53 "configure"2962 #line 2963 "configure" 2953 2963 #include "confdefs.h" 2954 2964 /* System header to define __stub macros and hopefully few prototypes, … … 2972 2982 ; return 0; } 2973 2983 EOF 2974 if { (eval echo configure:29 75: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then2984 if { (eval echo configure:2985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then 2975 2985 rm -rf conftest* 2976 2986 eval "ac_cv_func_$ac_func=yes" … … 3004 3014 else 3005 3015 cat > conftest.$ac_ext <<EOF 3006 #line 30 07 "configure"3016 #line 3017 "configure" 3007 3017 #include "confdefs.h" 3008 3018 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 3009 3019 EOF 3010 { (eval echo configure:30 11: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3020 { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3011 3021 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3012 3022 ac_cv_shift=yes … … 3034 3044 else 3035 3045 cat > conftest.$ac_ext <<EOF 3036 #line 30 37 "configure"3046 #line 3047 "configure" 3037 3047 #include "confdefs.h" 3038 3048 int main() {if (sizeof(int) == 4) exit(0); else exit(1); } 3039 3049 EOF 3040 { (eval echo configure:30 41: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3050 { (eval echo configure:3051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3041 3051 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3042 3052 ac_cv_sizeof_int_equals_four=yes … … 3064 3074 else 3065 3075 cat > conftest.$ac_ext <<EOF 3066 #line 30 67 "configure"3076 #line 3077 "configure" 3067 3077 #include "confdefs.h" 3068 3078 int main() {if (sizeof(long) == sizeof(void*)) exit(0); else exit(1); } 3069 3079 EOF 3070 { (eval echo configure:30 71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3080 { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3071 3081 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3072 3082 ac_cv_sizeof_long_equals_voidp=yes … … 3093 3103 else 3094 3104 cat > conftest.$ac_ext <<EOF 3095 #line 3 096 "configure"3105 #line 3106 "configure" 3096 3106 #include "confdefs.h" 3097 3107 #include <stdio.h> 3098 3108 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 3099 3109 EOF 3100 { (eval echo configure:31 01: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3110 { (eval echo configure:3111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3101 3111 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3102 3112 ac_cv_returns_n_of_chars=yes … … 3126 3136 else 3127 3137 cat > conftest.$ac_ext <<EOF 3128 #line 31 29 "configure"3138 #line 3139 "configure" 3129 3139 #include "confdefs.h" 3130 3140 #include <stdio.h> … … 3137 3147 } 3138 3148 EOF 3139 { (eval echo configure:31 40: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }3149 { (eval echo configure:3150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } 3140 3150 if test -s conftest && (./conftest; exit) 2>/dev/null; then 3141 3151 ac_cv_sizeof_voidp=`cat conftestval` … … 3159 3169 else 3160 3170 cat > conftest.$ac_ext <<EOF 3161 #line 31 62 "configure"3171 #line 3172 "configure" 3162 3172 #include "confdefs.h" 3163 3173 #ifdef _AIX -
Singular/configure.in
r2b3f23 radeaee 190 190 191 191 dnl Check gmp 192 if test "$with_gmp" != no; then 192 if test "$with_builtingmp" = yes; then 193 AC_DEFINE(HAVE_BUILTIN_GMP) 194 AC_DEFINE(HAVE_GMP) 195 ac_gmp_ok=yes 196 elif test "$with_gmp" != no; then 193 197 AC_CHECK_LIB(gmp, mpz_init) 194 198 AC_CHECK_HEADER(gmp.h) -
Singular/mod2.h.in
r2b3f23 radeaee 24 24 /* Define to use gmp for rational arithmetic */ 25 25 #undef HAVE_GMP 26 /* Define to have built in gmp */ 27 #undef HAVE_BUILTIN_GMP 26 28 /* Define to have MP links */ 27 29 #undef HAVE_MPSR -
configure
r2b3f23 radeaee 1307 1307 enable_MP=no 1308 1308 ac_configure_args="$ac_configure_args --disable-MP" 1309 fi 1310 1311 if test "$with_builtingmp" = yes; then 1312 enable_gmp=yes 1313 ac_configure_args="$ac_configure_args --enable-gmp" 1309 1314 fi 1310 1315 -
configure.in
r2b3f23 radeaee 170 170 fi 171 171 172 if test "$with_builtingmp" = yes; then 173 enable_gmp=yes 174 ac_configure_args="$ac_configure_args --enable-gmp" 175 fi 176 172 177 AC_MSG_CHECKING(whether to configure and build factory lib) 173 178 if test "$enable_factory" != yes && test "$enable_factory" != no; then
Note: See TracChangeset
for help on using the changeset viewer.