Changeset 937cbcd in git
- Timestamp:
- Apr 10, 2001, 4:38:02 PM (22 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 056f984352b62381971753cc6ad8090071018aef
- Parents:
- 866c965df4a8fea183871c4dc52586b73c9a7e4f
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r866c96 r937cbcd 1742 1742 SFLAGS="-fPIC -DPIC" 1743 1743 SLDFLAGS=-shared 1744 LD=gcc 1744 1745 ac_lib_dl=yes 1745 1746 fi … … 1747 1748 *Linux*) 1748 1749 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 1749 echo "configure:175 0: checking for dlopen in -ldl" >&51750 echo "configure:1751: checking for dlopen in -ldl" >&5 1750 1751 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 1751 1752 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1755 1756 LIBS="-ldl $LIBS" 1756 1757 cat > conftest.$ac_ext <<EOF 1757 #line 175 8"configure"1758 #line 1759 "configure" 1758 1759 #include "confdefs.h" 1759 1760 /* Override any gcc2 internal prototype to avoid an error. */ … … 1766 1767 ; return 0; } 1767 1768 EOF 1768 if { (eval echo configure:17 69: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1769 if { (eval echo configure:1770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1769 1770 rm -rf conftest* 1770 1771 eval "ac_cv_lib_$ac_lib_var=yes" … … 1797 1798 SFLAGS="-fpic -DPIC" 1798 1799 SLDFLAGS=-shared 1800 LD=ld 1799 1801 ac_lib_dl=yes 1800 1802 fi … … 1802 1804 SunOS-5) 1803 1805 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 1804 echo "configure:180 5: checking for dlopen in -ldl" >&51806 echo "configure:1807: checking for dlopen in -ldl" >&5 1805 1807 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 1806 1808 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 1810 1812 LIBS="-ldl $LIBS" 1811 1813 cat > conftest.$ac_ext <<EOF 1812 #line 181 3"configure"1814 #line 1815 "configure" 1813 1815 #include "confdefs.h" 1814 1816 /* Override any gcc2 internal prototype to avoid an error. */ … … 1821 1823 ; return 0; } 1822 1824 EOF 1823 if { (eval echo configure:182 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then1825 if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1824 1826 rm -rf conftest* 1825 1827 eval "ac_cv_lib_$ac_lib_var=yes" … … 1859 1861 SFLAGS="-fPIC -DPIC" 1860 1862 SLDFLAGS="-w -no_unresolved -_SYSTYPE_SVR4 -n32 -shared" 1863 LD=ld 1861 1864 ac_lib_dl=yes 1862 1865 ;; … … 1865 1868 1866 1869 1870 1867 1871 LIBS=${SAVE_LIBS} 1868 1872 … … 1870 1874 # heder file checks 1871 1875 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 1872 echo "configure:187 3: checking for ANSI C header files" >&51876 echo "configure:1877: checking for ANSI C header files" >&5 1873 1877 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 1874 1878 echo $ac_n "(cached) $ac_c" 1>&6 1875 1879 else 1876 1880 cat > conftest.$ac_ext <<EOF 1877 #line 18 78"configure"1881 #line 1882 "configure" 1878 1882 #include "confdefs.h" 1879 1883 #include <stdlib.h> … … 1883 1887 EOF 1884 1888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1885 { (eval echo configure:18 86: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1889 { (eval echo configure:1890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1886 1890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1887 1891 if test -z "$ac_err"; then … … 1900 1904 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 1901 1905 cat > conftest.$ac_ext <<EOF 1902 #line 190 3"configure"1906 #line 1907 "configure" 1903 1907 #include "confdefs.h" 1904 1908 #include <string.h> … … 1918 1922 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 1919 1923 cat > conftest.$ac_ext <<EOF 1920 #line 192 1"configure"1924 #line 1925 "configure" 1921 1925 #include "confdefs.h" 1922 1926 #include <stdlib.h> … … 1939 1943 else 1940 1944 cat > conftest.$ac_ext <<EOF 1941 #line 194 2"configure"1945 #line 1946 "configure" 1942 1946 #include "confdefs.h" 1943 1947 #include <ctype.h> … … 1950 1954 1951 1955 EOF 1952 if { (eval echo configure:195 3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null1956 if { (eval echo configure:1957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1953 1957 then 1954 1958 : … … 1977 1981 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1978 1982 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1979 echo "configure:198 0: checking for $ac_hdr" >&51983 echo "configure:1984: checking for $ac_hdr" >&5 1980 1984 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1981 1985 echo $ac_n "(cached) $ac_c" 1>&6 1982 1986 else 1983 1987 cat > conftest.$ac_ext <<EOF 1984 #line 198 5"configure"1988 #line 1989 "configure" 1985 1989 #include "confdefs.h" 1986 1990 #include <$ac_hdr> 1987 1991 EOF 1988 1992 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1989 { (eval echo configure:199 0: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1993 { (eval echo configure:1994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1990 1994 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1991 1995 if test -z "$ac_err"; then … … 2019 2023 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2020 2024 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2021 echo "configure:202 2: checking for $ac_hdr" >&52025 echo "configure:2026: checking for $ac_hdr" >&5 2022 2026 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2023 2027 echo $ac_n "(cached) $ac_c" 1>&6 2024 2028 else 2025 2029 cat > conftest.$ac_ext <<EOF 2026 #line 20 27"configure"2030 #line 2031 "configure" 2027 2031 #include "confdefs.h" 2028 2032 #include <$ac_hdr> 2029 2033 EOF 2030 2034 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2031 { (eval echo configure:203 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2035 { (eval echo configure:2036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2032 2036 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2033 2037 if test -z "$ac_err"; then … … 2058 2062 # typedefs, structures 2059 2063 echo $ac_n "checking for working const""... $ac_c" 1>&6 2060 echo "configure:206 1: checking for working const" >&52064 echo "configure:2065: checking for working const" >&5 2061 2065 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2062 2066 echo $ac_n "(cached) $ac_c" 1>&6 2063 2067 else 2064 2068 cat > conftest.$ac_ext <<EOF 2065 #line 20 66"configure"2069 #line 2070 "configure" 2066 2070 #include "confdefs.h" 2067 2071 … … 2112 2116 ; return 0; } 2113 2117 EOF 2114 if { (eval echo configure:211 5: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2118 if { (eval echo configure:2119: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2115 2119 rm -rf conftest* 2116 2120 ac_cv_c_const=yes … … 2133 2137 2134 2138 echo $ac_n "checking for inline""... $ac_c" 1>&6 2135 echo "configure:21 36: checking for inline" >&52139 echo "configure:2140: checking for inline" >&5 2136 2140 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2137 2141 echo $ac_n "(cached) $ac_c" 1>&6 … … 2140 2144 for ac_kw in inline __inline__ __inline; do 2141 2145 cat > conftest.$ac_ext <<EOF 2142 #line 214 3"configure"2146 #line 2147 "configure" 2143 2147 #include "confdefs.h" 2144 2148 … … 2147 2151 ; return 0; } 2148 2152 EOF 2149 if { (eval echo configure:215 0: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2153 if { (eval echo configure:2154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2150 2154 rm -rf conftest* 2151 2155 ac_cv_c_inline=$ac_kw; break … … 2173 2177 2174 2178 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2175 echo "configure:21 76: checking for size_t" >&52179 echo "configure:2180: checking for size_t" >&5 2176 2180 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2177 2181 echo $ac_n "(cached) $ac_c" 1>&6 2178 2182 else 2179 2183 cat > conftest.$ac_ext <<EOF 2180 #line 218 1"configure"2184 #line 2185 "configure" 2181 2185 #include "confdefs.h" 2182 2186 #include <sys/types.h> … … 2206 2210 2207 2211 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2208 echo "configure:22 09: checking whether time.h and sys/time.h may both be included" >&52212 echo "configure:2213: checking whether time.h and sys/time.h may both be included" >&5 2209 2213 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2210 2214 echo $ac_n "(cached) $ac_c" 1>&6 2211 2215 else 2212 2216 cat > conftest.$ac_ext <<EOF 2213 #line 221 4"configure"2217 #line 2218 "configure" 2214 2218 #include "confdefs.h" 2215 2219 #include <sys/types.h> … … 2220 2224 ; return 0; } 2221 2225 EOF 2222 if { (eval echo configure:222 3: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2226 if { (eval echo configure:2227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2223 2227 rm -rf conftest* 2224 2228 ac_cv_header_time=yes … … 2241 2245 2242 2246 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2243 echo "configure:224 4: checking whether struct tm is in sys/time.h or time.h" >&52247 echo "configure:2248: checking whether struct tm is in sys/time.h or time.h" >&5 2244 2248 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2245 2249 echo $ac_n "(cached) $ac_c" 1>&6 2246 2250 else 2247 2251 cat > conftest.$ac_ext <<EOF 2248 #line 22 49"configure"2252 #line 2253 "configure" 2249 2253 #include "confdefs.h" 2250 2254 #include <sys/types.h> … … 2254 2258 ; return 0; } 2255 2259 EOF 2256 if { (eval echo configure:22 57: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2260 if { (eval echo configure:2261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2257 2261 rm -rf conftest* 2258 2262 ac_cv_struct_tm=time.h … … 2279 2283 # for constant arguments. Useless! 2280 2284 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2281 echo "configure:228 2: checking for working alloca.h" >&52285 echo "configure:2286: checking for working alloca.h" >&5 2282 2286 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2283 2287 echo $ac_n "(cached) $ac_c" 1>&6 2284 2288 else 2285 2289 cat > conftest.$ac_ext <<EOF 2286 #line 22 87"configure"2290 #line 2291 "configure" 2287 2291 #include "confdefs.h" 2288 2292 #include <alloca.h> … … 2291 2295 ; return 0; } 2292 2296 EOF 2293 if { (eval echo configure:229 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2297 if { (eval echo configure:2298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2294 2298 rm -rf conftest* 2295 2299 ac_cv_header_alloca_h=yes … … 2312 2316 2313 2317 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2314 echo "configure:231 5: checking for alloca" >&52318 echo "configure:2319: checking for alloca" >&5 2315 2319 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2316 2320 echo $ac_n "(cached) $ac_c" 1>&6 2317 2321 else 2318 2322 cat > conftest.$ac_ext <<EOF 2319 #line 232 0"configure"2323 #line 2324 "configure" 2320 2324 #include "confdefs.h" 2321 2325 … … 2345 2349 ; return 0; } 2346 2350 EOF 2347 if { (eval echo configure:23 48: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2351 if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2348 2352 rm -rf conftest* 2349 2353 ac_cv_func_alloca_works=yes … … 2377 2381 2378 2382 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2379 echo "configure:238 0: checking whether alloca needs Cray hooks" >&52383 echo "configure:2384: checking whether alloca needs Cray hooks" >&5 2380 2384 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2381 2385 echo $ac_n "(cached) $ac_c" 1>&6 2382 2386 else 2383 2387 cat > conftest.$ac_ext <<EOF 2384 #line 238 5"configure"2388 #line 2389 "configure" 2385 2389 #include "confdefs.h" 2386 2390 #if defined(CRAY) && ! defined(CRAY2) … … 2407 2411 for ac_func in _getb67 GETB67 getb67; do 2408 2412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2409 echo "configure:241 0: checking for $ac_func" >&52413 echo "configure:2414: checking for $ac_func" >&5 2410 2414 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2411 2415 echo $ac_n "(cached) $ac_c" 1>&6 2412 2416 else 2413 2417 cat > conftest.$ac_ext <<EOF 2414 #line 241 5"configure"2418 #line 2419 "configure" 2415 2419 #include "confdefs.h" 2416 2420 /* System header to define __stub macros and hopefully few prototypes, … … 2435 2439 ; return 0; } 2436 2440 EOF 2437 if { (eval echo configure:24 38: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2441 if { (eval echo configure:2442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2438 2442 rm -rf conftest* 2439 2443 eval "ac_cv_func_$ac_func=yes" … … 2462 2466 2463 2467 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2464 echo "configure:246 5: checking stack direction for C alloca" >&52468 echo "configure:2469: checking stack direction for C alloca" >&5 2465 2469 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2466 2470 echo $ac_n "(cached) $ac_c" 1>&6 … … 2470 2474 else 2471 2475 cat > conftest.$ac_ext <<EOF 2472 #line 247 3"configure"2476 #line 2477 "configure" 2473 2477 #include "confdefs.h" 2474 2478 find_stack_direction () … … 2489 2493 } 2490 2494 EOF 2491 if { (eval echo configure:249 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2495 if { (eval echo configure:2496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2492 2496 then 2493 2497 ac_cv_c_stack_direction=1 … … 2512 2516 if test $ac_cv_prog_gcc = yes; then 2513 2517 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 2514 echo "configure:251 5: checking whether ${CC-cc} needs -traditional" >&52518 echo "configure:2519: checking whether ${CC-cc} needs -traditional" >&5 2515 2519 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 2516 2520 echo $ac_n "(cached) $ac_c" 1>&6 … … 2518 2522 ac_pattern="Autoconf.*'x'" 2519 2523 cat > conftest.$ac_ext <<EOF 2520 #line 252 1"configure"2524 #line 2525 "configure" 2521 2525 #include "confdefs.h" 2522 2526 #include <sgtty.h> … … 2536 2540 if test $ac_cv_prog_gcc_traditional = no; then 2537 2541 cat > conftest.$ac_ext <<EOF 2538 #line 25 39"configure"2542 #line 2543 "configure" 2539 2543 #include "confdefs.h" 2540 2544 #include <termio.h> … … 2561 2565 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2562 2566 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2563 echo "configure:256 4: checking for $ac_hdr" >&52567 echo "configure:2568: checking for $ac_hdr" >&5 2564 2568 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2565 2569 echo $ac_n "(cached) $ac_c" 1>&6 2566 2570 else 2567 2571 cat > conftest.$ac_ext <<EOF 2568 #line 25 69"configure"2572 #line 2573 "configure" 2569 2573 #include "confdefs.h" 2570 2574 #include <$ac_hdr> 2571 2575 EOF 2572 2576 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2573 { (eval echo configure:257 4: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2577 { (eval echo configure:2578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2574 2578 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2575 2579 if test -z "$ac_err"; then … … 2600 2604 do 2601 2605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2602 echo "configure:260 3: checking for $ac_func" >&52606 echo "configure:2607: checking for $ac_func" >&5 2603 2607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2604 2608 echo $ac_n "(cached) $ac_c" 1>&6 2605 2609 else 2606 2610 cat > conftest.$ac_ext <<EOF 2607 #line 26 08"configure"2611 #line 2612 "configure" 2608 2612 #include "confdefs.h" 2609 2613 /* System header to define __stub macros and hopefully few prototypes, … … 2628 2632 ; return 0; } 2629 2633 EOF 2630 if { (eval echo configure:263 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2634 if { (eval echo configure:2635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2631 2635 rm -rf conftest* 2632 2636 eval "ac_cv_func_$ac_func=yes" … … 2653 2657 2654 2658 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 2655 echo "configure:26 56: checking for working mmap" >&52659 echo "configure:2660: checking for working mmap" >&5 2656 2660 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 2657 2661 echo $ac_n "(cached) $ac_c" 1>&6 … … 2661 2665 else 2662 2666 cat > conftest.$ac_ext <<EOF 2663 #line 266 4"configure"2667 #line 2668 "configure" 2664 2668 #include "confdefs.h" 2665 2669 … … 2801 2805 2802 2806 EOF 2803 if { (eval echo configure:280 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2807 if { (eval echo configure:2808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2804 2808 then 2805 2809 ac_cv_func_mmap_fixed_mapped=yes … … 2824 2828 2825 2829 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 2826 echo "configure:28 27: checking return type of signal handlers" >&52830 echo "configure:2831: checking return type of signal handlers" >&5 2827 2831 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 2828 2832 echo $ac_n "(cached) $ac_c" 1>&6 2829 2833 else 2830 2834 cat > conftest.$ac_ext <<EOF 2831 #line 283 2"configure"2835 #line 2836 "configure" 2832 2836 #include "confdefs.h" 2833 2837 #include <sys/types.h> … … 2846 2850 ; return 0; } 2847 2851 EOF 2848 if { (eval echo configure:28 49: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2852 if { (eval echo configure:2853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2849 2853 rm -rf conftest* 2850 2854 ac_cv_type_signal=void … … 2865 2869 2866 2870 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 2867 echo "configure:28 68: checking for vprintf" >&52871 echo "configure:2872: checking for vprintf" >&5 2868 2872 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 2869 2873 echo $ac_n "(cached) $ac_c" 1>&6 2870 2874 else 2871 2875 cat > conftest.$ac_ext <<EOF 2872 #line 287 3"configure"2876 #line 2877 "configure" 2873 2877 #include "confdefs.h" 2874 2878 /* System header to define __stub macros and hopefully few prototypes, … … 2893 2897 ; return 0; } 2894 2898 EOF 2895 if { (eval echo configure:2 896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2899 if { (eval echo configure:2900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2896 2900 rm -rf conftest* 2897 2901 eval "ac_cv_func_vprintf=yes" … … 2917 2921 if test "$ac_cv_func_vprintf" != yes; then 2918 2922 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 2919 echo "configure:292 0: checking for _doprnt" >&52923 echo "configure:2924: checking for _doprnt" >&5 2920 2924 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 2921 2925 echo $ac_n "(cached) $ac_c" 1>&6 2922 2926 else 2923 2927 cat > conftest.$ac_ext <<EOF 2924 #line 292 5"configure"2928 #line 2929 "configure" 2925 2929 #include "confdefs.h" 2926 2930 /* System header to define __stub macros and hopefully few prototypes, … … 2945 2949 ; return 0; } 2946 2950 EOF 2947 if { (eval echo configure:29 48: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2951 if { (eval echo configure:2952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2948 2952 rm -rf conftest* 2949 2953 eval "ac_cv_func__doprnt=yes" … … 2971 2975 2972 2976 echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6 2973 echo "configure:297 4: checking for library containing setenv" >&52977 echo "configure:2978: checking for library containing setenv" >&5 2974 2978 if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then 2975 2979 echo $ac_n "(cached) $ac_c" 1>&6 … … 2978 2982 ac_cv_search_setenv="no" 2979 2983 cat > conftest.$ac_ext <<EOF 2980 #line 298 1"configure"2984 #line 2985 "configure" 2981 2985 #include "confdefs.h" 2982 2986 /* Override any gcc2 internal prototype to avoid an error. */ … … 2989 2993 ; return 0; } 2990 2994 EOF 2991 if { (eval echo configure:299 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2995 if { (eval echo configure:2996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2992 2996 rm -rf conftest* 2993 2997 ac_cv_search_setenv="none required" … … 3000 3004 LIBS="-l$i $ac_func_search_save_LIBS" 3001 3005 cat > conftest.$ac_ext <<EOF 3002 #line 300 3"configure"3006 #line 3007 "configure" 3003 3007 #include "confdefs.h" 3004 3008 /* Override any gcc2 internal prototype to avoid an error. */ … … 3011 3015 ; return 0; } 3012 3016 EOF 3013 if { (eval echo configure:301 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3017 if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3014 3018 rm -rf conftest* 3015 3019 ac_cv_search_setenv="-l$i" … … 3034 3038 do 3035 3039 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3036 echo "configure:30 37: checking for $ac_func" >&53040 echo "configure:3041: checking for $ac_func" >&5 3037 3041 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3038 3042 echo $ac_n "(cached) $ac_c" 1>&6 3039 3043 else 3040 3044 cat > conftest.$ac_ext <<EOF 3041 #line 304 2"configure"3045 #line 3046 "configure" 3042 3046 #include "confdefs.h" 3043 3047 /* System header to define __stub macros and hopefully few prototypes, … … 3062 3066 ; return 0; } 3063 3067 EOF 3064 if { (eval echo configure:306 5: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3068 if { (eval echo configure:3069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3065 3069 rm -rf conftest* 3066 3070 eval "ac_cv_func_$ac_func=yes" … … 3091 3095 # arithmetic shifts 3092 3096 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 3093 echo "configure:309 4: checking whether your machine has correct arithmetic shifts" >&53097 echo "configure:3098: checking whether your machine has correct arithmetic shifts" >&5 3094 3098 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 3095 3099 echo $ac_n "(cached) $ac_c" 1>&6 … … 3104 3108 else 3105 3109 cat > conftest.$ac_ext <<EOF 3106 #line 31 07"configure"3110 #line 3111 "configure" 3107 3111 #include "confdefs.h" 3108 3112 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 3109 3113 EOF 3110 if { (eval echo configure:311 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3111 3115 then 3112 3116 ac_cv_shift=yes … … 3133 3137 # check for a peculiar constructor initialization 3134 3138 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 3135 echo "configure:31 36: checking whether explicit C++ constructor calls are allowed" >&53139 echo "configure:3140: checking whether explicit C++ constructor calls are allowed" >&5 3136 3140 3137 3141 ac_ext=C … … 3146 3150 else 3147 3151 cat > conftest.$ac_ext <<EOF 3148 #line 31 49"configure"3152 #line 3153 "configure" 3149 3153 #include "confdefs.h" 3150 3154 … … 3164 3168 ; return 0; } 3165 3169 EOF 3166 if { (eval echo configure:31 67: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3170 if { (eval echo configure:3171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3167 3171 rm -rf conftest* 3168 3172 ac_cv_explicit_const=yes … … 3193 3197 # sprintf returns number of printed chars 3194 3198 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 3195 echo "configure:3 196: checking whether vsprintf returns number of printed chars" >&53199 echo "configure:3200: checking whether vsprintf returns number of printed chars" >&5 3196 3200 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 3197 3201 echo $ac_n "(cached) $ac_c" 1>&6 … … 3201 3205 else 3202 3206 cat > conftest.$ac_ext <<EOF 3203 #line 320 4"configure"3207 #line 3208 "configure" 3204 3208 #include "confdefs.h" 3205 3209 #include <stdio.h> 3206 3210 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 3207 3211 EOF 3208 if { (eval echo configure:32 09: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3212 if { (eval echo configure:3213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3209 3213 then 3210 3214 ac_cv_returns_n_of_chars=yes … … 3232 3236 # determine ALIGN_8 3233 3237 echo $ac_n "checking size of char""... $ac_c" 1>&6 3234 echo "configure:323 5: checking size of char" >&53238 echo "configure:3239: checking size of char" >&5 3235 3239 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 3236 3240 echo $ac_n "(cached) $ac_c" 1>&6 … … 3240 3244 else 3241 3245 cat > conftest.$ac_ext <<EOF 3242 #line 324 3"configure"3246 #line 3247 "configure" 3243 3247 #include "confdefs.h" 3244 3248 #include <stdio.h> … … 3251 3255 } 3252 3256 EOF 3253 if { (eval echo configure:325 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3257 if { (eval echo configure:3258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3254 3258 then 3255 3259 ac_cv_sizeof_char=`cat conftestval` … … 3271 3275 3272 3276 echo $ac_n "checking size of short""... $ac_c" 1>&6 3273 echo "configure:327 4: checking size of short" >&53277 echo "configure:3278: checking size of short" >&5 3274 3278 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3275 3279 echo $ac_n "(cached) $ac_c" 1>&6 … … 3279 3283 else 3280 3284 cat > conftest.$ac_ext <<EOF 3281 #line 328 2"configure"3285 #line 3286 "configure" 3282 3286 #include "confdefs.h" 3283 3287 #include <stdio.h> … … 3290 3294 } 3291 3295 EOF 3292 if { (eval echo configure:329 3: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3296 if { (eval echo configure:3297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3293 3297 then 3294 3298 ac_cv_sizeof_short=`cat conftestval` … … 3310 3314 3311 3315 echo $ac_n "checking size of int""... $ac_c" 1>&6 3312 echo "configure:331 3: checking size of int" >&53316 echo "configure:3317: checking size of int" >&5 3313 3317 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3314 3318 echo $ac_n "(cached) $ac_c" 1>&6 … … 3318 3322 else 3319 3323 cat > conftest.$ac_ext <<EOF 3320 #line 332 1"configure"3324 #line 3325 "configure" 3321 3325 #include "confdefs.h" 3322 3326 #include <stdio.h> … … 3329 3333 } 3330 3334 EOF 3331 if { (eval echo configure:333 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3335 if { (eval echo configure:3336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3332 3336 then 3333 3337 ac_cv_sizeof_int=`cat conftestval` … … 3349 3353 3350 3354 echo $ac_n "checking size of long""... $ac_c" 1>&6 3351 echo "configure:335 2: checking size of long" >&53355 echo "configure:3356: checking size of long" >&5 3352 3356 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3353 3357 echo $ac_n "(cached) $ac_c" 1>&6 … … 3357 3361 else 3358 3362 cat > conftest.$ac_ext <<EOF 3359 #line 336 0"configure"3363 #line 3364 "configure" 3360 3364 #include "confdefs.h" 3361 3365 #include <stdio.h> … … 3368 3372 } 3369 3373 EOF 3370 if { (eval echo configure:337 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3374 if { (eval echo configure:3375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3371 3375 then 3372 3376 ac_cv_sizeof_long=`cat conftestval` … … 3388 3392 3389 3393 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3390 echo "configure:339 1: checking size of void*" >&53394 echo "configure:3395: checking size of void*" >&5 3391 3395 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3392 3396 echo $ac_n "(cached) $ac_c" 1>&6 … … 3396 3400 else 3397 3401 cat > conftest.$ac_ext <<EOF 3398 #line 3 399"configure"3402 #line 3403 "configure" 3399 3403 #include "confdefs.h" 3400 3404 #include <stdio.h> … … 3407 3411 } 3408 3412 EOF 3409 if { (eval echo configure:341 0: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3413 if { (eval echo configure:3414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3410 3414 then 3411 3415 ac_cv_sizeof_voidp=`cat conftestval` … … 3427 3431 3428 3432 echo $ac_n "checking size of double""... $ac_c" 1>&6 3429 echo "configure:343 0: checking size of double" >&53433 echo "configure:3434: checking size of double" >&5 3430 3434 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3431 3435 echo $ac_n "(cached) $ac_c" 1>&6 … … 3435 3439 else 3436 3440 cat > conftest.$ac_ext <<EOF 3437 #line 34 38"configure"3441 #line 3442 "configure" 3438 3442 #include "confdefs.h" 3439 3443 #include <stdio.h> … … 3446 3450 } 3447 3451 EOF 3448 if { (eval echo configure:34 49: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3452 if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3449 3453 then 3450 3454 ac_cv_sizeof_double=`cat conftestval` … … 3466 3470 3467 3471 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3468 echo "configure:34 69: checking whether byte ordering is bigendian" >&53472 echo "configure:3473: checking whether byte ordering is bigendian" >&5 3469 3473 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3470 3474 echo $ac_n "(cached) $ac_c" 1>&6 … … 3473 3477 # See if sys/param.h defines the BYTE_ORDER macro. 3474 3478 cat > conftest.$ac_ext <<EOF 3475 #line 34 76"configure"3479 #line 3480 "configure" 3476 3480 #include "confdefs.h" 3477 3481 #include <sys/types.h> … … 3484 3488 ; return 0; } 3485 3489 EOF 3486 if { (eval echo configure:34 87: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3490 if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3487 3491 rm -rf conftest* 3488 3492 # It does; now see whether it defined to BIG_ENDIAN or not. 3489 3493 cat > conftest.$ac_ext <<EOF 3490 #line 349 1"configure"3494 #line 3495 "configure" 3491 3495 #include "confdefs.h" 3492 3496 #include <sys/types.h> … … 3499 3503 ; return 0; } 3500 3504 EOF 3501 if { (eval echo configure:350 2: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3505 if { (eval echo configure:3506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3502 3506 rm -rf conftest* 3503 3507 ac_cv_c_bigendian=yes … … 3519 3523 else 3520 3524 cat > conftest.$ac_ext <<EOF 3521 #line 352 2"configure"3525 #line 3526 "configure" 3522 3526 #include "confdefs.h" 3523 3527 main () { … … 3532 3536 } 3533 3537 EOF 3534 if { (eval echo configure:353 5: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3538 if { (eval echo configure:3539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3535 3539 then 3536 3540 ac_cv_c_bigendian=no … … 3650 3654 3651 3655 echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6 3652 echo "configure:365 3: checking whether to use dynamic linking" >&53656 echo "configure:3657: checking whether to use dynamic linking" >&5 3653 3657 if test "$with_dl" != no && test "$ac_lib_dl" = yes; then 3654 3658 cat >> confdefs.h <<\EOF … … 3663 3667 3664 3668 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3665 echo "configure:36 66: checking for tgetent in -lncurses" >&53669 echo "configure:3670: checking for tgetent in -lncurses" >&5 3666 3670 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3667 3671 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3671 3675 LIBS="-lncurses $LIBS" 3672 3676 cat > conftest.$ac_ext <<EOF 3673 #line 367 4"configure"3677 #line 3678 "configure" 3674 3678 #include "confdefs.h" 3675 3679 /* Override any gcc2 internal prototype to avoid an error. */ … … 3682 3686 ; return 0; } 3683 3687 EOF 3684 if { (eval echo configure:368 5: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3688 if { (eval echo configure:3689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3685 3689 rm -rf conftest* 3686 3690 eval "ac_cv_lib_$ac_lib_var=yes" … … 3709 3713 \ 3710 3714 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3711 echo "configure:371 2: checking for tgetent in -lcurses" >&53715 echo "configure:3716: checking for tgetent in -lcurses" >&5 3712 3716 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3713 3717 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3717 3721 LIBS="-lcurses $LIBS" 3718 3722 cat > conftest.$ac_ext <<EOF 3719 #line 372 0"configure"3723 #line 3724 "configure" 3720 3724 #include "confdefs.h" 3721 3725 /* Override any gcc2 internal prototype to avoid an error. */ … … 3728 3732 ; return 0; } 3729 3733 EOF 3730 if { (eval echo configure:373 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3734 if { (eval echo configure:3735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3731 3735 rm -rf conftest* 3732 3736 eval "ac_cv_lib_$ac_lib_var=yes" … … 3755 3759 \ 3756 3760 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3757 echo "configure:37 58: checking for tgetent in -ltermcap" >&53761 echo "configure:3762: checking for tgetent in -ltermcap" >&5 3758 3762 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3759 3763 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3763 3767 LIBS="-ltermcap $LIBS" 3764 3768 cat > conftest.$ac_ext <<EOF 3765 #line 37 66"configure"3769 #line 3770 "configure" 3766 3770 #include "confdefs.h" 3767 3771 /* Override any gcc2 internal prototype to avoid an error. */ … … 3774 3778 ; return 0; } 3775 3779 EOF 3776 if { (eval echo configure:37 77: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3780 if { (eval echo configure:3781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3777 3781 rm -rf conftest* 3778 3782 eval "ac_cv_lib_$ac_lib_var=yes" … … 3823 3827 3824 3828 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3825 echo "configure:38 26: checking for rl_abort in -lreadline" >&53829 echo "configure:3830: checking for rl_abort in -lreadline" >&5 3826 3830 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3827 3831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3831 3835 LIBS="-lreadline $LIBS" 3832 3836 cat > conftest.$ac_ext <<EOF 3833 #line 383 4"configure"3837 #line 3838 "configure" 3834 3838 #include "confdefs.h" 3835 3839 /* Override any gcc2 internal prototype to avoid an error. */ … … 3845 3849 ; return 0; } 3846 3850 EOF 3847 if { (eval echo configure:38 48: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3851 if { (eval echo configure:3852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3848 3852 rm -rf conftest* 3849 3853 eval "ac_cv_lib_$ac_lib_var=yes" … … 3873 3877 3874 3878 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 3875 echo "configure:38 76: checking how to run the C++ preprocessor" >&53879 echo "configure:3880: checking how to run the C++ preprocessor" >&5 3876 3880 if test -z "$CXXCPP"; then 3877 3881 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 3886 3890 CXXCPP="${CXX-g++} -E" 3887 3891 cat > conftest.$ac_ext <<EOF 3888 #line 38 89"configure"3892 #line 3893 "configure" 3889 3893 #include "confdefs.h" 3890 3894 #include <stdlib.h> 3891 3895 EOF 3892 3896 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3893 { (eval echo configure:389 4: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3897 { (eval echo configure:3898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3894 3898 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3895 3899 if test -z "$ac_err"; then … … 3919 3923 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3920 3924 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3921 echo "configure:392 2: checking for $ac_hdr" >&53925 echo "configure:3926: checking for $ac_hdr" >&5 3922 3926 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3923 3927 echo $ac_n "(cached) $ac_c" 1>&6 3924 3928 else 3925 3929 cat > conftest.$ac_ext <<EOF 3926 #line 39 27"configure"3930 #line 3931 "configure" 3927 3931 #include "confdefs.h" 3928 3932 #include <$ac_hdr> 3929 3933 EOF 3930 3934 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3931 { (eval echo configure:393 2: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3935 { (eval echo configure:3936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3932 3936 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3933 3937 if test -z "$ac_err"; then … … 3958 3962 test "$ac_cv_header_readline_readline_h" = yes; then 3959 3963 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3960 echo "configure:396 1: checking whether readline.h is ok" >&53964 echo "configure:3965: checking whether readline.h is ok" >&5 3961 3965 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3962 3966 echo $ac_n "(cached) $ac_c" 1>&6 3963 3967 else 3964 3968 cat > conftest.$ac_ext <<EOF 3965 #line 39 66"configure"3969 #line 3970 "configure" 3966 3970 #include "confdefs.h" 3967 3971 #include<unistd.h> … … 3988 3992 ; return 0; } 3989 3993 EOF 3990 if { (eval echo configure:399 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3994 if { (eval echo configure:3995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3991 3995 rm -rf conftest* 3992 3996 ac_cv_header_readline_readline_h_ok="yes" … … 4004 4008 #not ok -- try once more with explicitly declaring everything 4005 4009 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 4006 echo "configure:40 07: checking whether or not we nevertheless can use readline" >&54010 echo "configure:4011: checking whether or not we nevertheless can use readline" >&5 4007 4011 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 4008 4012 echo $ac_n "(cached) $ac_c" 1>&6 4009 4013 else 4010 4014 cat > conftest.$ac_ext <<EOF 4011 #line 401 2"configure"4015 #line 4016 "configure" 4012 4016 #include "confdefs.h" 4013 4017 #include <stdio.h> … … 4043 4047 ; return 0; } 4044 4048 EOF 4045 if { (eval echo configure:40 46: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4049 if { (eval echo configure:4050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4046 4050 rm -rf conftest* 4047 4051 ac_cv_have_readline="yes" … … 4082 4086 4083 4087 echo $ac_n "checking which readline to use""... $ac_c" 1>&6 4084 echo "configure:408 5: checking which readline to use" >&54088 echo "configure:4089: checking which readline to use" >&5 4085 4089 if test "$ac_cv_with_readline" = dynamic; then 4086 4090 echo "$ac_t""dynamic" 1>&6 … … 4100 4104 # gmp, smallgmp, MP, MPT, factory, libfac 4101 4105 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 4102 echo "configure:410 3: checking for main in -lgmp" >&54106 echo "configure:4107: checking for main in -lgmp" >&5 4103 4107 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 4104 4108 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4108 4112 LIBS="-lgmp $LIBS" 4109 4113 cat > conftest.$ac_ext <<EOF 4110 #line 411 1"configure"4114 #line 4115 "configure" 4111 4115 #include "confdefs.h" 4112 4116 … … 4115 4119 ; return 0; } 4116 4120 EOF 4117 if { (eval echo configure:41 18: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4121 if { (eval echo configure:4122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4118 4122 rm -rf conftest* 4119 4123 eval "ac_cv_lib_$ac_lib_var=yes" … … 4146 4150 fi 4147 4151 echo $ac_n "checking for main in -lsmallgmp""... $ac_c" 1>&6 4148 echo "configure:41 49: checking for main in -lsmallgmp" >&54152 echo "configure:4153: checking for main in -lsmallgmp" >&5 4149 4153 ac_lib_var=`echo smallgmp'_'main | sed 'y%./+-%__p_%'` 4150 4154 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4154 4158 LIBS="-lsmallgmp $LIBS" 4155 4159 cat > conftest.$ac_ext <<EOF 4156 #line 41 57"configure"4160 #line 4161 "configure" 4157 4161 #include "confdefs.h" 4158 4162 … … 4161 4165 ; return 0; } 4162 4166 EOF 4163 if { (eval echo configure:416 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4167 if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4164 4168 rm -rf conftest* 4165 4169 eval "ac_cv_lib_$ac_lib_var=yes" … … 4190 4194 SAVE_LIBS=$LIBS 4191 4195 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4192 echo "configure:419 3: checking for IMP_PutGmpInt in -lMP" >&54196 echo "configure:4197: checking for IMP_PutGmpInt in -lMP" >&5 4193 4197 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4194 4198 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4198 4202 LIBS="-lMP $MP_LIBS $LIBS" 4199 4203 cat > conftest.$ac_ext <<EOF 4200 #line 420 1"configure"4204 #line 4205 "configure" 4201 4205 #include "confdefs.h" 4202 4206 /* Override any gcc2 internal prototype to avoid an error. */ … … 4209 4213 ; return 0; } 4210 4214 EOF 4211 if { (eval echo configure:421 2: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4215 if { (eval echo configure:4216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4212 4216 rm -rf conftest* 4213 4217 eval "ac_cv_lib_$ac_lib_var=yes" … … 4237 4241 4238 4242 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4239 echo "configure:424 0: checking for MPT_GetTree in -lMPT" >&54243 echo "configure:4244: checking for MPT_GetTree in -lMPT" >&5 4240 4244 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4241 4245 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4245 4249 LIBS="-lMPT $MP_LIBS $LIBS" 4246 4250 cat > conftest.$ac_ext <<EOF 4247 #line 42 48"configure"4251 #line 4252 "configure" 4248 4252 #include "confdefs.h" 4249 4253 /* Override any gcc2 internal prototype to avoid an error. */ … … 4256 4260 ; return 0; } 4257 4261 EOF 4258 if { (eval echo configure:42 59: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4262 if { (eval echo configure:4263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4259 4263 rm -rf conftest* 4260 4264 eval "ac_cv_lib_$ac_lib_var=yes" … … 4285 4289 LIBS=$SAVE_LIBS 4286 4290 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4287 echo "configure:42 88: checking for atof in -lsingcf" >&54291 echo "configure:4292: checking for atof in -lsingcf" >&5 4288 4292 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4289 4293 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4293 4297 LIBS="-lsingcf $LIBS" 4294 4298 cat > conftest.$ac_ext <<EOF 4295 #line 4 296"configure"4299 #line 4300 "configure" 4296 4300 #include "confdefs.h" 4297 4301 /* Override any gcc2 internal prototype to avoid an error. */ … … 4304 4308 ; return 0; } 4305 4309 EOF 4306 if { (eval echo configure:43 07: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4310 if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4307 4311 rm -rf conftest* 4308 4312 eval "ac_cv_lib_$ac_lib_var=yes" … … 4332 4336 4333 4337 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4334 echo "configure:433 5: checking for atof in -lsingfac" >&54338 echo "configure:4339: checking for atof in -lsingfac" >&5 4335 4339 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4336 4340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4340 4344 LIBS="-lsingfac $LIBS" 4341 4345 cat > conftest.$ac_ext <<EOF 4342 #line 434 3"configure"4346 #line 4347 "configure" 4343 4347 #include "confdefs.h" 4344 4348 /* Override any gcc2 internal prototype to avoid an error. */ … … 4351 4355 ; return 0; } 4352 4356 EOF 4353 if { (eval echo configure:435 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4357 if { (eval echo configure:4358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4354 4358 rm -rf conftest* 4355 4359 eval "ac_cv_lib_$ac_lib_var=yes" … … 4379 4383 4380 4384 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 4381 echo "configure:438 2: checking for omTestAddr in -lomalloc" >&54385 echo "configure:4386: checking for omTestAddr in -lomalloc" >&5 4382 4386 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 4383 4387 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4387 4391 LIBS="-lomalloc $LIBS" 4388 4392 cat > conftest.$ac_ext <<EOF 4389 #line 439 0"configure"4393 #line 4394 "configure" 4390 4394 #include "confdefs.h" 4391 4395 /* Override any gcc2 internal prototype to avoid an error. */ … … 4398 4402 ; return 0; } 4399 4403 EOF 4400 if { (eval echo configure:440 1: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4404 if { (eval echo configure:4405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4401 4405 rm -rf conftest* 4402 4406 eval "ac_cv_lib_$ac_lib_var=yes" … … 4426 4430 4427 4431 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 4428 echo "configure:44 29: checking for main in -lomalloc_ndebug" >&54432 echo "configure:4433: checking for main in -lomalloc_ndebug" >&5 4429 4433 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 4430 4434 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4434 4438 LIBS="-lomalloc_ndebug $LIBS" 4435 4439 cat > conftest.$ac_ext <<EOF 4436 #line 44 37"configure"4440 #line 4441 "configure" 4437 4441 #include "confdefs.h" 4438 4442 … … 4441 4445 ; return 0; } 4442 4446 EOF 4443 if { (eval echo configure:444 4: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4447 if { (eval echo configure:4448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4444 4448 rm -rf conftest* 4445 4449 eval "ac_cv_lib_$ac_lib_var=yes" … … 4473 4477 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4474 4478 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4475 echo "configure:44 76: checking for $ac_hdr" >&54479 echo "configure:4480: checking for $ac_hdr" >&5 4476 4480 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4477 4481 echo $ac_n "(cached) $ac_c" 1>&6 4478 4482 else 4479 4483 cat > conftest.$ac_ext <<EOF 4480 #line 448 1"configure"4484 #line 4485 "configure" 4481 4485 #include "confdefs.h" 4482 4486 #include <$ac_hdr> 4483 4487 EOF 4484 4488 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4485 { (eval echo configure:44 86: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4489 { (eval echo configure:4490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4486 4490 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4487 4491 if test -z "$ac_err"; then … … 4552 4556 4553 4557 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4554 echo "configure:455 5: checking which apint package to use" >&54558 echo "configure:4559: checking which apint package to use" >&5 4555 4559 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4556 4560 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4594 4598 # 4595 4599 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4596 echo "configure:4 597: checking whether to have MP" >&54600 echo "configure:4601: checking whether to have MP" >&5 4597 4601 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4598 4602 if (test "${will_have_gmp}" = yes) && \ … … 4629 4633 4630 4634 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4631 echo "configure:463 2: checking whether to have factory" >&54635 echo "configure:4636: checking whether to have factory" >&5 4632 4636 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4633 4637 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4660 4664 4661 4665 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4662 echo "configure:466 3: checking whether to have libfac" >&54666 echo "configure:4667: checking whether to have libfac" >&5 4663 4667 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4664 4668 if (test "${will_have_factory}" = yes) && \ … … 4694 4698 4695 4699 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4696 echo "configure:4 697: checking whether to have dbm links" >&54700 echo "configure:4701: checking whether to have dbm links" >&5 4697 4701 if test "$with_dbm" != no; then 4698 4702 cat >> confdefs.h <<\EOF … … 4706 4710 4707 4711 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 4708 echo "configure:47 09: checking whether to have namespaces" >&54712 echo "configure:4713: checking whether to have namespaces" >&5 4709 4713 if test "$with_namespaces" != no; then 4710 4714 echo "$ac_t""yes" 1>&6 … … 4718 4722 4719 4723 echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6 4720 echo "configure:472 1: checking whether to have dynamic modules" >&54724 echo "configure:4725: checking whether to have dynamic modules" >&5 4721 4725 if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then 4722 4726 echo "$ac_t""no" 1>&6 … … 4730 4734 4731 4735 echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6 4732 echo "configure:473 3: checking whether to have dynamic kernel" >&54736 echo "configure:4737: checking whether to have dynamic kernel" >&5 4733 4737 if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then 4734 4738 DL_KERNEL=1 … … 4740 4744 4741 4745 echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6 4742 echo "configure:474 3: checking whether to have Plural" >&54746 echo "configure:4747: checking whether to have Plural" >&5 4743 4747 if test "$with_plural" != yes; then 4744 4748 echo "$ac_t""no" 1>&6 … … 4918 4922 s%@SFLAGS@%$SFLAGS%g 4919 4923 s%@SLDFLAGS@%$SLDFLAGS%g 4924 s%@LD@%$LD%g 4920 4925 s%@ALLOCA@%$ALLOCA%g 4921 4926 s%@CXXCPP@%$CXXCPP%g -
Singular/configure.in
r866c96 r937cbcd 303 303 SFLAGS="-fPIC -DPIC" 304 304 SLDFLAGS=-shared 305 LD=gcc 305 306 ac_lib_dl=yes 306 307 fi … … 312 313 SFLAGS="-fpic -DPIC" 313 314 SLDFLAGS=-shared 315 LD=ld 314 316 ac_lib_dl=yes 315 317 fi … … 328 330 SFLAGS="-fPIC -DPIC" 329 331 SLDFLAGS="-w -no_unresolved -_SYSTYPE_SVR4 -n32 -shared" 332 LD=ld 330 333 ac_lib_dl=yes 331 334 ;; … … 334 337 AC_SUBST(SFLAGS) 335 338 AC_SUBST(SLDFLAGS) 339 AC_SUBST(LD) 336 340 LIBS=${SAVE_LIBS} 337 341
Note: See TracChangeset
for help on using the changeset viewer.