Changeset f92bde in git
- Timestamp:
- Jan 27, 2009, 7:02:34 PM (14 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- a5ee4208416ea7d11e8ca286f77d8d41523d37c9
- Parents:
- eb3a15776eb3d18d3b17580abe04d3d9021786bd
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
reb3a157 rf92bde 2131 2131 SFLAGS="-fpic -fPIC -DPIC" 2132 2132 SLDFLAGS="-fPIC -DPIC -shared" 2133 LD=gcc 2133 if test "${LD+set}" != set; then 2134 LD="${LD}" 2135 else 2136 LD=gcc 2137 fi 2134 2138 ac_lib_dl=yes 2135 2139 fi … … 2137 2141 *Linux*) 2138 2142 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 2139 echo "configure:214 0: checking for dlopen in -ldl" >&52143 echo "configure:2144: checking for dlopen in -ldl" >&5 2140 2144 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 2141 2145 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2145 2149 LIBS="-ldl $LIBS" 2146 2150 cat > conftest.$ac_ext <<EOF 2147 #line 21 48"configure"2151 #line 2152 "configure" 2148 2152 #include "confdefs.h" 2149 2153 /* Override any gcc2 internal prototype to avoid an error. */ … … 2156 2160 ; return 0; } 2157 2161 EOF 2158 if { (eval echo configure:21 59: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2162 if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2159 2163 rm -rf conftest* 2160 2164 eval "ac_cv_lib_$ac_lib_var=yes" … … 2187 2191 SFLAGS="-fpic -DPIC" 2188 2192 SLDFLAGS=-shared 2189 LD=ld 2193 if test "${LD+set}" != set; then 2194 LD="${LD}" 2195 else 2196 LD=ld 2197 fi 2190 2198 ac_lib_dl=yes 2191 2199 fi … … 2195 2203 SFLAGS="-fPIC -DPIC" 2196 2204 SLDFLAGS="-w -no_unresolved -_SYSTYPE_SVR4 -n32 -shared" 2197 LD=ld 2205 if test "${LD+set}" != set; then 2206 LD="${LD}" 2207 else 2208 LD=ld 2209 fi 2198 2210 ac_lib_dl=yes 2199 2211 ;; 2200 2212 SunOS-5) 2201 2213 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 2202 echo "configure:22 03: checking for dlopen in -ldl" >&52214 echo "configure:2215: checking for dlopen in -ldl" >&5 2203 2215 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 2204 2216 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2208 2220 LIBS="-ldl $LIBS" 2209 2221 cat > conftest.$ac_ext <<EOF 2210 #line 22 11"configure"2222 #line 2223 "configure" 2211 2223 #include "confdefs.h" 2212 2224 /* Override any gcc2 internal prototype to avoid an error. */ … … 2219 2231 ; return 0; } 2220 2232 EOF 2221 if { (eval echo configure:22 22: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2233 if { (eval echo configure:2234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2222 2234 rm -rf conftest* 2223 2235 eval "ac_cv_lib_$ac_lib_var=yes" … … 2250 2262 SFLAGS="-fpic -DPIC" 2251 2263 SLDFLAGS=-shared 2252 LD=$CC 2264 if test "${LD+set}" != set; then 2265 LD="${LD}" 2266 else 2267 LD=$CC 2268 fi 2253 2269 ac_lib_dl=yes 2254 2270 fi … … 2257 2273 ppcMac-darwin) 2258 2274 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 2259 echo "configure:22 60: checking for dlopen in -ldl" >&52275 echo "configure:2276: checking for dlopen in -ldl" >&5 2260 2276 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 2261 2277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2265 2281 LIBS="-ldl $LIBS" 2266 2282 cat > conftest.$ac_ext <<EOF 2267 #line 22 68"configure"2283 #line 2284 "configure" 2268 2284 #include "confdefs.h" 2269 2285 /* Override any gcc2 internal prototype to avoid an error. */ … … 2276 2292 ; return 0; } 2277 2293 EOF 2278 if { (eval echo configure:22 79: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2294 if { (eval echo configure:2295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2279 2295 rm -rf conftest* 2280 2296 eval "ac_cv_lib_$ac_lib_var=yes" … … 2313 2329 ix86Mac-darwin) 2314 2330 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 2315 echo "configure:23 16: checking for dlopen in -ldl" >&52331 echo "configure:2332: checking for dlopen in -ldl" >&5 2316 2332 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 2317 2333 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2321 2337 LIBS="-ldl $LIBS" 2322 2338 cat > conftest.$ac_ext <<EOF 2323 #line 23 24"configure"2339 #line 2340 "configure" 2324 2340 #include "confdefs.h" 2325 2341 /* Override any gcc2 internal prototype to avoid an error. */ … … 2332 2348 ; return 0; } 2333 2349 EOF 2334 if { (eval echo configure:23 35: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2350 if { (eval echo configure:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2335 2351 rm -rf conftest* 2336 2352 eval "ac_cv_lib_$ac_lib_var=yes" … … 2369 2385 ix86-freebsd) 2370 2386 echo $ac_n "checking for dlopen in -lc""... $ac_c" 1>&6 2371 echo "configure:23 72: checking for dlopen in -lc" >&52387 echo "configure:2388: checking for dlopen in -lc" >&5 2372 2388 ac_lib_var=`echo c'_'dlopen | sed 'y%./+-%__p_%'` 2373 2389 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2377 2393 LIBS="-lc $LIBS" 2378 2394 cat > conftest.$ac_ext <<EOF 2379 #line 23 80"configure"2395 #line 2396 "configure" 2380 2396 #include "confdefs.h" 2381 2397 /* Override any gcc2 internal prototype to avoid an error. */ … … 2388 2404 ; return 0; } 2389 2405 EOF 2390 if { (eval echo configure:2 391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2406 if { (eval echo configure:2407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2391 2407 rm -rf conftest* 2392 2408 eval "ac_cv_lib_$ac_lib_var=yes" … … 2433 2449 # heder file checks 2434 2450 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 2435 echo "configure:24 36: checking for ANSI C header files" >&52451 echo "configure:2452: checking for ANSI C header files" >&5 2436 2452 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then 2437 2453 echo $ac_n "(cached) $ac_c" 1>&6 2438 2454 else 2439 2455 cat > conftest.$ac_ext <<EOF 2440 #line 24 41"configure"2456 #line 2457 "configure" 2441 2457 #include "confdefs.h" 2442 2458 #include <stdlib.h> … … 2446 2462 EOF 2447 2463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2448 { (eval echo configure:24 49: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2464 { (eval echo configure:2465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2449 2465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2450 2466 if test -z "$ac_err"; then … … 2463 2479 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2464 2480 cat > conftest.$ac_ext <<EOF 2465 #line 24 66"configure"2481 #line 2482 "configure" 2466 2482 #include "confdefs.h" 2467 2483 #include <string.h> … … 2481 2497 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2482 2498 cat > conftest.$ac_ext <<EOF 2483 #line 2 484"configure"2499 #line 2500 "configure" 2484 2500 #include "confdefs.h" 2485 2501 #include <stdlib.h> … … 2502 2518 else 2503 2519 cat > conftest.$ac_ext <<EOF 2504 #line 25 05"configure"2520 #line 2521 "configure" 2505 2521 #include "confdefs.h" 2506 2522 #include <ctype.h> … … 2513 2529 2514 2530 EOF 2515 if { (eval echo configure:25 16: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null2531 if { (eval echo configure:2532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2516 2532 then 2517 2533 : … … 2540 2556 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2541 2557 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2542 echo "configure:25 43: checking for $ac_hdr" >&52558 echo "configure:2559: checking for $ac_hdr" >&5 2543 2559 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2544 2560 echo $ac_n "(cached) $ac_c" 1>&6 2545 2561 else 2546 2562 cat > conftest.$ac_ext <<EOF 2547 #line 25 48"configure"2563 #line 2564 "configure" 2548 2564 #include "confdefs.h" 2549 2565 #include <$ac_hdr> 2550 2566 EOF 2551 2567 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2552 { (eval echo configure:25 53: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2568 { (eval echo configure:2569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2553 2569 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2554 2570 if test -z "$ac_err"; then … … 2584 2600 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2585 2601 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2586 echo "configure:2 587: checking for $ac_hdr" >&52602 echo "configure:2603: checking for $ac_hdr" >&5 2587 2603 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2588 2604 echo $ac_n "(cached) $ac_c" 1>&6 2589 2605 else 2590 2606 cat > conftest.$ac_ext <<EOF 2591 #line 2 592"configure"2607 #line 2608 "configure" 2592 2608 #include "confdefs.h" 2593 2609 #include <$ac_hdr> 2594 2610 EOF 2595 2611 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2596 { (eval echo configure:2 597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2612 { (eval echo configure:2613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2597 2613 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2598 2614 if test -z "$ac_err"; then … … 2623 2639 # typedefs, structures 2624 2640 echo $ac_n "checking for working const""... $ac_c" 1>&6 2625 echo "configure:26 26: checking for working const" >&52641 echo "configure:2642: checking for working const" >&5 2626 2642 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2627 2643 echo $ac_n "(cached) $ac_c" 1>&6 2628 2644 else 2629 2645 cat > conftest.$ac_ext <<EOF 2630 #line 26 31"configure"2646 #line 2647 "configure" 2631 2647 #include "confdefs.h" 2632 2648 … … 2677 2693 ; return 0; } 2678 2694 EOF 2679 if { (eval echo configure:26 80: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2695 if { (eval echo configure:2696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2680 2696 rm -rf conftest* 2681 2697 ac_cv_c_const=yes … … 2698 2714 2699 2715 echo $ac_n "checking for inline""... $ac_c" 1>&6 2700 echo "configure:27 01: checking for inline" >&52716 echo "configure:2717: checking for inline" >&5 2701 2717 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2702 2718 echo $ac_n "(cached) $ac_c" 1>&6 … … 2705 2721 for ac_kw in inline __inline__ __inline; do 2706 2722 cat > conftest.$ac_ext <<EOF 2707 #line 27 08"configure"2723 #line 2724 "configure" 2708 2724 #include "confdefs.h" 2709 2725 … … 2712 2728 ; return 0; } 2713 2729 EOF 2714 if { (eval echo configure:27 15: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2730 if { (eval echo configure:2731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2715 2731 rm -rf conftest* 2716 2732 ac_cv_c_inline=$ac_kw; break … … 2738 2754 2739 2755 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2740 echo "configure:27 41: checking for size_t" >&52756 echo "configure:2757: checking for size_t" >&5 2741 2757 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2742 2758 echo $ac_n "(cached) $ac_c" 1>&6 2743 2759 else 2744 2760 cat > conftest.$ac_ext <<EOF 2745 #line 27 46"configure"2761 #line 2762 "configure" 2746 2762 #include "confdefs.h" 2747 2763 #include <sys/types.h> … … 2771 2787 2772 2788 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2773 echo "configure:27 74: checking whether struct tm is in sys/time.h or time.h" >&52789 echo "configure:2790: checking whether struct tm is in sys/time.h or time.h" >&5 2774 2790 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2775 2791 echo $ac_n "(cached) $ac_c" 1>&6 2776 2792 else 2777 2793 cat > conftest.$ac_ext <<EOF 2778 #line 27 79"configure"2794 #line 2795 "configure" 2779 2795 #include "confdefs.h" 2780 2796 #include <sys/types.h> … … 2784 2800 ; return 0; } 2785 2801 EOF 2786 if { (eval echo configure:2 787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2802 if { (eval echo configure:2803: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2787 2803 rm -rf conftest* 2788 2804 ac_cv_struct_tm=time.h … … 2805 2821 2806 2822 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2807 echo "configure:28 08: checking whether time.h and sys/time.h may both be included" >&52823 echo "configure:2824: checking whether time.h and sys/time.h may both be included" >&5 2808 2824 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2809 2825 echo $ac_n "(cached) $ac_c" 1>&6 2810 2826 else 2811 2827 cat > conftest.$ac_ext <<EOF 2812 #line 28 13"configure"2828 #line 2829 "configure" 2813 2829 #include "confdefs.h" 2814 2830 #include <sys/types.h> … … 2819 2835 ; return 0; } 2820 2836 EOF 2821 if { (eval echo configure:28 22: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2837 if { (eval echo configure:2838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2822 2838 rm -rf conftest* 2823 2839 ac_cv_header_time=yes … … 2844 2860 # for constant arguments. Useless! 2845 2861 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2846 echo "configure:28 47: checking for working alloca.h" >&52862 echo "configure:2863: checking for working alloca.h" >&5 2847 2863 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2848 2864 echo $ac_n "(cached) $ac_c" 1>&6 2849 2865 else 2850 2866 cat > conftest.$ac_ext <<EOF 2851 #line 28 52"configure"2867 #line 2868 "configure" 2852 2868 #include "confdefs.h" 2853 2869 #include <alloca.h> … … 2856 2872 ; return 0; } 2857 2873 EOF 2858 if { (eval echo configure:28 59: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2874 if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2859 2875 rm -rf conftest* 2860 2876 ac_cv_header_alloca_h=yes … … 2877 2893 2878 2894 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2879 echo "configure:28 80: checking for alloca" >&52895 echo "configure:2896: checking for alloca" >&5 2880 2896 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2881 2897 echo $ac_n "(cached) $ac_c" 1>&6 2882 2898 else 2883 2899 cat > conftest.$ac_ext <<EOF 2884 #line 2 885"configure"2900 #line 2901 "configure" 2885 2901 #include "confdefs.h" 2886 2902 … … 2910 2926 ; return 0; } 2911 2927 EOF 2912 if { (eval echo configure:29 13: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2928 if { (eval echo configure:2929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2913 2929 rm -rf conftest* 2914 2930 ac_cv_func_alloca_works=yes … … 2942 2958 2943 2959 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2944 echo "configure:29 45: checking whether alloca needs Cray hooks" >&52960 echo "configure:2961: checking whether alloca needs Cray hooks" >&5 2945 2961 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2946 2962 echo $ac_n "(cached) $ac_c" 1>&6 2947 2963 else 2948 2964 cat > conftest.$ac_ext <<EOF 2949 #line 29 50"configure"2965 #line 2966 "configure" 2950 2966 #include "confdefs.h" 2951 2967 #if defined(CRAY) && ! defined(CRAY2) … … 2972 2988 for ac_func in _getb67 GETB67 getb67; do 2973 2989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2974 echo "configure:29 75: checking for $ac_func" >&52990 echo "configure:2991: checking for $ac_func" >&5 2975 2991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2976 2992 echo $ac_n "(cached) $ac_c" 1>&6 2977 2993 else 2978 2994 cat > conftest.$ac_ext <<EOF 2979 #line 29 80"configure"2995 #line 2996 "configure" 2980 2996 #include "confdefs.h" 2981 2997 /* System header to define __stub macros and hopefully few prototypes, … … 3000 3016 ; return 0; } 3001 3017 EOF 3002 if { (eval echo configure:30 03: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3018 if { (eval echo configure:3019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3003 3019 rm -rf conftest* 3004 3020 eval "ac_cv_func_$ac_func=yes" … … 3027 3043 3028 3044 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 3029 echo "configure:30 30: checking stack direction for C alloca" >&53045 echo "configure:3046: checking stack direction for C alloca" >&5 3030 3046 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 3031 3047 echo $ac_n "(cached) $ac_c" 1>&6 … … 3035 3051 else 3036 3052 cat > conftest.$ac_ext <<EOF 3037 #line 30 38"configure"3053 #line 3054 "configure" 3038 3054 #include "confdefs.h" 3039 3055 find_stack_direction () … … 3054 3070 } 3055 3071 EOF 3056 if { (eval echo configure:30 57: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3072 if { (eval echo configure:3073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3057 3073 then 3058 3074 ac_cv_c_stack_direction=1 … … 3077 3093 if test $ac_cv_prog_gcc = yes; then 3078 3094 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 3079 echo "configure:30 80: checking whether ${CC-cc} needs -traditional" >&53095 echo "configure:3096: checking whether ${CC-cc} needs -traditional" >&5 3080 3096 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 3081 3097 echo $ac_n "(cached) $ac_c" 1>&6 … … 3083 3099 ac_pattern="Autoconf.*'x'" 3084 3100 cat > conftest.$ac_ext <<EOF 3085 #line 3 086"configure"3101 #line 3102 "configure" 3086 3102 #include "confdefs.h" 3087 3103 #include <sgtty.h> … … 3101 3117 if test $ac_cv_prog_gcc_traditional = no; then 3102 3118 cat > conftest.$ac_ext <<EOF 3103 #line 31 04"configure"3119 #line 3120 "configure" 3104 3120 #include "confdefs.h" 3105 3121 #include <termio.h> … … 3126 3142 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3127 3143 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3128 echo "configure:31 29: checking for $ac_hdr" >&53144 echo "configure:3145: checking for $ac_hdr" >&5 3129 3145 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3130 3146 echo $ac_n "(cached) $ac_c" 1>&6 3131 3147 else 3132 3148 cat > conftest.$ac_ext <<EOF 3133 #line 31 34"configure"3149 #line 3150 "configure" 3134 3150 #include "confdefs.h" 3135 3151 #include <$ac_hdr> 3136 3152 EOF 3137 3153 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3138 { (eval echo configure:31 39: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3154 { (eval echo configure:3155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3139 3155 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 3140 3156 if test -z "$ac_err"; then … … 3165 3181 do 3166 3182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3167 echo "configure:31 68: checking for $ac_func" >&53183 echo "configure:3184: checking for $ac_func" >&5 3168 3184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3169 3185 echo $ac_n "(cached) $ac_c" 1>&6 3170 3186 else 3171 3187 cat > conftest.$ac_ext <<EOF 3172 #line 31 73"configure"3188 #line 3189 "configure" 3173 3189 #include "confdefs.h" 3174 3190 /* System header to define __stub macros and hopefully few prototypes, … … 3193 3209 ; return 0; } 3194 3210 EOF 3195 if { (eval echo configure:3 196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3211 if { (eval echo configure:3212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3196 3212 rm -rf conftest* 3197 3213 eval "ac_cv_func_$ac_func=yes" … … 3218 3234 3219 3235 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3220 echo "configure:32 21: checking for working mmap" >&53236 echo "configure:3237: checking for working mmap" >&5 3221 3237 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3222 3238 echo $ac_n "(cached) $ac_c" 1>&6 … … 3226 3242 else 3227 3243 cat > conftest.$ac_ext <<EOF 3228 #line 32 29"configure"3244 #line 3245 "configure" 3229 3245 #include "confdefs.h" 3230 3246 … … 3366 3382 3367 3383 EOF 3368 if { (eval echo configure:33 69: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3384 if { (eval echo configure:3385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3369 3385 then 3370 3386 ac_cv_func_mmap_fixed_mapped=yes … … 3389 3405 3390 3406 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 3391 echo "configure:3 392: checking return type of signal handlers" >&53407 echo "configure:3408: checking return type of signal handlers" >&5 3392 3408 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 3393 3409 echo $ac_n "(cached) $ac_c" 1>&6 3394 3410 else 3395 3411 cat > conftest.$ac_ext <<EOF 3396 #line 3 397"configure"3412 #line 3413 "configure" 3397 3413 #include "confdefs.h" 3398 3414 #include <sys/types.h> … … 3411 3427 ; return 0; } 3412 3428 EOF 3413 if { (eval echo configure:34 14: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3429 if { (eval echo configure:3430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3414 3430 rm -rf conftest* 3415 3431 ac_cv_type_signal=void … … 3430 3446 3431 3447 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 3432 echo "configure:34 33: checking for vprintf" >&53448 echo "configure:3449: checking for vprintf" >&5 3433 3449 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 3434 3450 echo $ac_n "(cached) $ac_c" 1>&6 3435 3451 else 3436 3452 cat > conftest.$ac_ext <<EOF 3437 #line 34 38"configure"3453 #line 3454 "configure" 3438 3454 #include "confdefs.h" 3439 3455 /* System header to define __stub macros and hopefully few prototypes, … … 3458 3474 ; return 0; } 3459 3475 EOF 3460 if { (eval echo configure:34 61: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3476 if { (eval echo configure:3477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3461 3477 rm -rf conftest* 3462 3478 eval "ac_cv_func_vprintf=yes" … … 3482 3498 if test "$ac_cv_func_vprintf" != yes; then 3483 3499 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 3484 echo "configure:3 485: checking for _doprnt" >&53500 echo "configure:3501: checking for _doprnt" >&5 3485 3501 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 3486 3502 echo $ac_n "(cached) $ac_c" 1>&6 3487 3503 else 3488 3504 cat > conftest.$ac_ext <<EOF 3489 #line 3 490"configure"3505 #line 3506 "configure" 3490 3506 #include "confdefs.h" 3491 3507 /* System header to define __stub macros and hopefully few prototypes, … … 3510 3526 ; return 0; } 3511 3527 EOF 3512 if { (eval echo configure:35 13: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3528 if { (eval echo configure:3529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3513 3529 rm -rf conftest* 3514 3530 eval "ac_cv_func__doprnt=yes" … … 3536 3552 3537 3553 echo $ac_n "checking for library containing setenv""... $ac_c" 1>&6 3538 echo "configure:35 39: checking for library containing setenv" >&53554 echo "configure:3555: checking for library containing setenv" >&5 3539 3555 if eval "test \"`echo '$''{'ac_cv_search_setenv'+set}'`\" = set"; then 3540 3556 echo $ac_n "(cached) $ac_c" 1>&6 … … 3543 3559 ac_cv_search_setenv="no" 3544 3560 cat > conftest.$ac_ext <<EOF 3545 #line 35 46"configure"3561 #line 3562 "configure" 3546 3562 #include "confdefs.h" 3547 3563 /* Override any gcc2 internal prototype to avoid an error. */ … … 3554 3570 ; return 0; } 3555 3571 EOF 3556 if { (eval echo configure:35 57: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3572 if { (eval echo configure:3573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3557 3573 rm -rf conftest* 3558 3574 ac_cv_search_setenv="none required" … … 3565 3581 LIBS="-l$i $ac_func_search_save_LIBS" 3566 3582 cat > conftest.$ac_ext <<EOF 3567 #line 35 68"configure"3583 #line 3584 "configure" 3568 3584 #include "confdefs.h" 3569 3585 /* Override any gcc2 internal prototype to avoid an error. */ … … 3576 3592 ; return 0; } 3577 3593 EOF 3578 if { (eval echo configure:35 79: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3594 if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3579 3595 rm -rf conftest* 3580 3596 ac_cv_search_setenv="-l$i" … … 3600 3616 do 3601 3617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3602 echo "configure:36 03: checking for $ac_func" >&53618 echo "configure:3619: checking for $ac_func" >&5 3603 3619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3604 3620 echo $ac_n "(cached) $ac_c" 1>&6 3605 3621 else 3606 3622 cat > conftest.$ac_ext <<EOF 3607 #line 36 08"configure"3623 #line 3624 "configure" 3608 3624 #include "confdefs.h" 3609 3625 /* System header to define __stub macros and hopefully few prototypes, … … 3628 3644 ; return 0; } 3629 3645 EOF 3630 if { (eval echo configure:36 31: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then3646 if { (eval echo configure:3647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 3631 3647 rm -rf conftest* 3632 3648 eval "ac_cv_func_$ac_func=yes" … … 3657 3673 # arithmetic shifts 3658 3674 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 3659 echo "configure:36 60: checking whether your machine has correct arithmetic shifts" >&53675 echo "configure:3676: checking whether your machine has correct arithmetic shifts" >&5 3660 3676 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 3661 3677 echo $ac_n "(cached) $ac_c" 1>&6 … … 3670 3686 else 3671 3687 cat > conftest.$ac_ext <<EOF 3672 #line 36 73"configure"3688 #line 3689 "configure" 3673 3689 #include "confdefs.h" 3674 3690 int main() { if (-2 >> 1 == -1) return(0); else return(1); } 3675 3691 EOF 3676 if { (eval echo configure:36 77: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3692 if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3677 3693 then 3678 3694 ac_cv_shift=yes … … 3699 3715 # check for a peculiar constructor initialization 3700 3716 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 3701 echo "configure:37 02: checking whether explicit C++ constructor calls are allowed" >&53717 echo "configure:3718: checking whether explicit C++ constructor calls are allowed" >&5 3702 3718 3703 3719 ac_ext=C … … 3712 3728 else 3713 3729 cat > conftest.$ac_ext <<EOF 3714 #line 37 15"configure"3730 #line 3731 "configure" 3715 3731 #include "confdefs.h" 3716 3732 … … 3730 3746 ; return 0; } 3731 3747 EOF 3732 if { (eval echo configure:37 33: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3748 if { (eval echo configure:3749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3733 3749 rm -rf conftest* 3734 3750 ac_cv_explicit_const=yes … … 3759 3775 # sprintf returns number of printed chars 3760 3776 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 3761 echo "configure:37 62: checking whether vsprintf returns number of printed chars" >&53777 echo "configure:3778: checking whether vsprintf returns number of printed chars" >&5 3762 3778 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 3763 3779 echo $ac_n "(cached) $ac_c" 1>&6 … … 3767 3783 else 3768 3784 cat > conftest.$ac_ext <<EOF 3769 #line 37 70"configure"3785 #line 3786 "configure" 3770 3786 #include "confdefs.h" 3771 3787 #include <stdio.h> 3772 3788 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 3773 3789 EOF 3774 if { (eval echo configure:37 75: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3790 if { (eval echo configure:3791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3775 3791 then 3776 3792 ac_cv_returns_n_of_chars=yes … … 3798 3814 # determine ALIGN_8 3799 3815 echo $ac_n "checking size of char""... $ac_c" 1>&6 3800 echo "configure:38 01: checking size of char" >&53816 echo "configure:3817: checking size of char" >&5 3801 3817 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 3802 3818 echo $ac_n "(cached) $ac_c" 1>&6 … … 3806 3822 else 3807 3823 cat > conftest.$ac_ext <<EOF 3808 #line 38 09"configure"3824 #line 3825 "configure" 3809 3825 #include "confdefs.h" 3810 3826 #include <stdio.h> … … 3817 3833 } 3818 3834 EOF 3819 if { (eval echo configure:38 20: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3835 if { (eval echo configure:3836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3820 3836 then 3821 3837 ac_cv_sizeof_char=`cat conftestval` … … 3837 3853 3838 3854 echo $ac_n "checking size of short""... $ac_c" 1>&6 3839 echo "configure:38 40: checking size of short" >&53855 echo "configure:3856: checking size of short" >&5 3840 3856 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3841 3857 echo $ac_n "(cached) $ac_c" 1>&6 … … 3845 3861 else 3846 3862 cat > conftest.$ac_ext <<EOF 3847 #line 38 48"configure"3863 #line 3864 "configure" 3848 3864 #include "confdefs.h" 3849 3865 #include <stdio.h> … … 3856 3872 } 3857 3873 EOF 3858 if { (eval echo configure:38 59: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3874 if { (eval echo configure:3875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3859 3875 then 3860 3876 ac_cv_sizeof_short=`cat conftestval` … … 3876 3892 3877 3893 echo $ac_n "checking size of int""... $ac_c" 1>&6 3878 echo "configure:38 79: checking size of int" >&53894 echo "configure:3895: checking size of int" >&5 3879 3895 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3880 3896 echo $ac_n "(cached) $ac_c" 1>&6 … … 3884 3900 else 3885 3901 cat > conftest.$ac_ext <<EOF 3886 #line 3 887"configure"3902 #line 3903 "configure" 3887 3903 #include "confdefs.h" 3888 3904 #include <stdio.h> … … 3895 3911 } 3896 3912 EOF 3897 if { (eval echo configure:3 898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3913 if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3898 3914 then 3899 3915 ac_cv_sizeof_int=`cat conftestval` … … 3915 3931 3916 3932 echo $ac_n "checking size of long""... $ac_c" 1>&6 3917 echo "configure:39 18: checking size of long" >&53933 echo "configure:3934: checking size of long" >&5 3918 3934 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3919 3935 echo $ac_n "(cached) $ac_c" 1>&6 … … 3923 3939 else 3924 3940 cat > conftest.$ac_ext <<EOF 3925 #line 39 26"configure"3941 #line 3942 "configure" 3926 3942 #include "confdefs.h" 3927 3943 #include <stdio.h> … … 3934 3950 } 3935 3951 EOF 3936 if { (eval echo configure:39 37: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3952 if { (eval echo configure:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3937 3953 then 3938 3954 ac_cv_sizeof_long=`cat conftestval` … … 3954 3970 3955 3971 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3956 echo "configure:39 57: checking size of void*" >&53972 echo "configure:3973: checking size of void*" >&5 3957 3973 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3958 3974 echo $ac_n "(cached) $ac_c" 1>&6 … … 3962 3978 else 3963 3979 cat > conftest.$ac_ext <<EOF 3964 #line 39 65"configure"3980 #line 3981 "configure" 3965 3981 #include "confdefs.h" 3966 3982 #include <stdio.h> … … 3973 3989 } 3974 3990 EOF 3975 if { (eval echo configure:39 76: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3991 if { (eval echo configure:3992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3976 3992 then 3977 3993 ac_cv_sizeof_voidp=`cat conftestval` … … 3993 4009 3994 4010 echo $ac_n "checking size of double""... $ac_c" 1>&6 3995 echo "configure: 3996: checking size of double" >&54011 echo "configure:4012: checking size of double" >&5 3996 4012 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 3997 4013 echo $ac_n "(cached) $ac_c" 1>&6 … … 4001 4017 else 4002 4018 cat > conftest.$ac_ext <<EOF 4003 #line 40 04"configure"4019 #line 4020 "configure" 4004 4020 #include "confdefs.h" 4005 4021 #include <stdio.h> … … 4012 4028 } 4013 4029 EOF 4014 if { (eval echo configure:40 15: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4030 if { (eval echo configure:4031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4015 4031 then 4016 4032 ac_cv_sizeof_double=`cat conftestval` … … 4032 4048 4033 4049 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 4034 echo "configure:40 35: checking whether byte ordering is bigendian" >&54050 echo "configure:4051: checking whether byte ordering is bigendian" >&5 4035 4051 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 4036 4052 echo $ac_n "(cached) $ac_c" 1>&6 … … 4039 4055 # See if sys/param.h defines the BYTE_ORDER macro. 4040 4056 cat > conftest.$ac_ext <<EOF 4041 #line 40 42"configure"4057 #line 4058 "configure" 4042 4058 #include "confdefs.h" 4043 4059 #include <sys/types.h> … … 4050 4066 ; return 0; } 4051 4067 EOF 4052 if { (eval echo configure:40 53: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4068 if { (eval echo configure:4069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4053 4069 rm -rf conftest* 4054 4070 # It does; now see whether it defined to BIG_ENDIAN or not. 4055 4071 cat > conftest.$ac_ext <<EOF 4056 #line 40 57"configure"4072 #line 4073 "configure" 4057 4073 #include "confdefs.h" 4058 4074 #include <sys/types.h> … … 4065 4081 ; return 0; } 4066 4082 EOF 4067 if { (eval echo configure:40 68: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4083 if { (eval echo configure:4084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4068 4084 rm -rf conftest* 4069 4085 ac_cv_c_bigendian=yes … … 4085 4101 else 4086 4102 cat > conftest.$ac_ext <<EOF 4087 #line 4 088"configure"4103 #line 4104 "configure" 4088 4104 #include "confdefs.h" 4089 4105 main () { … … 4098 4114 } 4099 4115 EOF 4100 if { (eval echo configure:41 01: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4116 if { (eval echo configure:4117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4101 4117 then 4102 4118 ac_cv_c_bigendian=no … … 4246 4262 4247 4263 echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6 4248 echo "configure:42 49: checking whether to use dynamic linking" >&54264 echo "configure:4265: checking whether to use dynamic linking" >&5 4249 4265 if test "$with_dl" != no && test "$ac_lib_dl" = yes; then 4250 4266 cat >> confdefs.h <<\EOF … … 4259 4275 4260 4276 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 4261 echo "configure:42 62: checking for tgetent in -lncurses" >&54277 echo "configure:4278: checking for tgetent in -lncurses" >&5 4262 4278 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 4263 4279 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4267 4283 LIBS="-lncurses $LIBS" 4268 4284 cat > conftest.$ac_ext <<EOF 4269 #line 42 70"configure"4285 #line 4286 "configure" 4270 4286 #include "confdefs.h" 4271 4287 /* Override any gcc2 internal prototype to avoid an error. */ … … 4278 4294 ; return 0; } 4279 4295 EOF 4280 if { (eval echo configure:42 81: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4296 if { (eval echo configure:4297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4281 4297 rm -rf conftest* 4282 4298 eval "ac_cv_lib_$ac_lib_var=yes" … … 4305 4321 \ 4306 4322 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 4307 echo "configure:43 08: checking for tgetent in -lcurses" >&54323 echo "configure:4324: checking for tgetent in -lcurses" >&5 4308 4324 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 4309 4325 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4313 4329 LIBS="-lcurses $LIBS" 4314 4330 cat > conftest.$ac_ext <<EOF 4315 #line 43 16"configure"4331 #line 4332 "configure" 4316 4332 #include "confdefs.h" 4317 4333 /* Override any gcc2 internal prototype to avoid an error. */ … … 4324 4340 ; return 0; } 4325 4341 EOF 4326 if { (eval echo configure:43 27: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4342 if { (eval echo configure:4343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4327 4343 rm -rf conftest* 4328 4344 eval "ac_cv_lib_$ac_lib_var=yes" … … 4351 4367 \ 4352 4368 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 4353 echo "configure:43 54: checking for tgetent in -ltermcap" >&54369 echo "configure:4370: checking for tgetent in -ltermcap" >&5 4354 4370 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 4355 4371 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4359 4375 LIBS="-ltermcap $LIBS" 4360 4376 cat > conftest.$ac_ext <<EOF 4361 #line 43 62"configure"4377 #line 4378 "configure" 4362 4378 #include "confdefs.h" 4363 4379 /* Override any gcc2 internal prototype to avoid an error. */ … … 4370 4386 ; return 0; } 4371 4387 EOF 4372 if { (eval echo configure:43 73: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4388 if { (eval echo configure:4389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4373 4389 rm -rf conftest* 4374 4390 eval "ac_cv_lib_$ac_lib_var=yes" … … 4419 4435 4420 4436 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 4421 echo "configure:44 22: checking for rl_abort in -lreadline" >&54437 echo "configure:4438: checking for rl_abort in -lreadline" >&5 4422 4438 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 4423 4439 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4427 4443 LIBS="-lreadline $LIBS" 4428 4444 cat > conftest.$ac_ext <<EOF 4429 #line 44 30"configure"4445 #line 4446 "configure" 4430 4446 #include "confdefs.h" 4431 4447 /* Override any gcc2 internal prototype to avoid an error. */ … … 4441 4457 ; return 0; } 4442 4458 EOF 4443 if { (eval echo configure:44 44: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4459 if { (eval echo configure:4460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4444 4460 rm -rf conftest* 4445 4461 eval "ac_cv_lib_$ac_lib_var=yes" … … 4469 4485 4470 4486 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 4471 echo "configure:44 72: checking how to run the C++ preprocessor" >&54487 echo "configure:4488: checking how to run the C++ preprocessor" >&5 4472 4488 if test -z "$CXXCPP"; then 4473 4489 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 4482 4498 CXXCPP="${CXX-g++} -E" 4483 4499 cat > conftest.$ac_ext <<EOF 4484 #line 4 485"configure"4500 #line 4501 "configure" 4485 4501 #include "confdefs.h" 4486 4502 #include <stdlib.h> 4487 4503 EOF 4488 4504 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4489 { (eval echo configure:4 490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4505 { (eval echo configure:4506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4490 4506 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4491 4507 if test -z "$ac_err"; then … … 4515 4531 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4516 4532 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4517 echo "configure:45 18: checking for $ac_hdr" >&54533 echo "configure:4534: checking for $ac_hdr" >&5 4518 4534 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4519 4535 echo $ac_n "(cached) $ac_c" 1>&6 4520 4536 else 4521 4537 cat > conftest.$ac_ext <<EOF 4522 #line 45 23"configure"4538 #line 4539 "configure" 4523 4539 #include "confdefs.h" 4524 4540 #include <$ac_hdr> 4525 4541 EOF 4526 4542 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4527 { (eval echo configure:45 28: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4543 { (eval echo configure:4544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4528 4544 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4529 4545 if test -z "$ac_err"; then … … 4554 4570 test "$ac_cv_header_readline_readline_h" = yes; then 4555 4571 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 4556 echo "configure:45 57: checking whether readline.h is ok" >&54572 echo "configure:4573: checking whether readline.h is ok" >&5 4557 4573 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 4558 4574 echo $ac_n "(cached) $ac_c" 1>&6 4559 4575 else 4560 4576 cat > conftest.$ac_ext <<EOF 4561 #line 45 62"configure"4577 #line 4578 "configure" 4562 4578 #include "confdefs.h" 4563 4579 #include<unistd.h> … … 4572 4588 ; return 0; } 4573 4589 EOF 4574 if { (eval echo configure:45 75: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4590 if { (eval echo configure:4591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4575 4591 rm -rf conftest* 4576 4592 ac_cv_header_readline_readline_h_ok="yes" … … 4588 4604 #not ok -- try once more with explicitly declaring everything 4589 4605 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 4590 echo "configure:4 591: checking whether or not we nevertheless can use readline" >&54606 echo "configure:4607: checking whether or not we nevertheless can use readline" >&5 4591 4607 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 4592 4608 echo $ac_n "(cached) $ac_c" 1>&6 4593 4609 else 4594 4610 cat > conftest.$ac_ext <<EOF 4595 #line 4 596"configure"4611 #line 4612 "configure" 4596 4612 #include "confdefs.h" 4597 4613 #include <stdio.h> … … 4627 4643 ; return 0; } 4628 4644 EOF 4629 if { (eval echo configure:46 30: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4645 if { (eval echo configure:4646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4630 4646 rm -rf conftest* 4631 4647 ac_cv_have_readline="yes" … … 4666 4682 4667 4683 echo $ac_n "checking which readline to use""... $ac_c" 1>&6 4668 echo "configure:46 69: checking which readline to use" >&54684 echo "configure:4685: checking which readline to use" >&5 4669 4685 if test "$ac_cv_with_readline" = dynamic; then 4670 4686 echo "$ac_t""dynamic" 1>&6 … … 4686 4702 # gmp, MP, MPT, factory, libfac 4687 4703 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 4688 echo "configure:4 689: checking for main in -lgmp" >&54704 echo "configure:4705: checking for main in -lgmp" >&5 4689 4705 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 4690 4706 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4694 4710 LIBS="-lgmp $LIBS" 4695 4711 cat > conftest.$ac_ext <<EOF 4696 #line 4 697"configure"4712 #line 4713 "configure" 4697 4713 #include "confdefs.h" 4698 4714 … … 4701 4717 ; return 0; } 4702 4718 EOF 4703 if { (eval echo configure:47 04: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4719 if { (eval echo configure:4720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4704 4720 rm -rf conftest* 4705 4721 eval "ac_cv_lib_$ac_lib_var=yes" … … 4730 4746 SAVE_LIBS=$LIBS 4731 4747 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4732 echo "configure:47 33: checking for IMP_PutGmpInt in -lMP" >&54748 echo "configure:4749: checking for IMP_PutGmpInt in -lMP" >&5 4733 4749 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4734 4750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4738 4754 LIBS="-lMP $MP_LIBS $LIBS" 4739 4755 cat > conftest.$ac_ext <<EOF 4740 #line 47 41"configure"4756 #line 4757 "configure" 4741 4757 #include "confdefs.h" 4742 4758 /* Override any gcc2 internal prototype to avoid an error. */ … … 4749 4765 ; return 0; } 4750 4766 EOF 4751 if { (eval echo configure:47 52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4767 if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4752 4768 rm -rf conftest* 4753 4769 eval "ac_cv_lib_$ac_lib_var=yes" … … 4777 4793 4778 4794 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4779 echo "configure:47 80: checking for MPT_GetTree in -lMPT" >&54795 echo "configure:4796: checking for MPT_GetTree in -lMPT" >&5 4780 4796 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4781 4797 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4785 4801 LIBS="-lMPT $MP_LIBS $LIBS" 4786 4802 cat > conftest.$ac_ext <<EOF 4787 #line 4 788"configure"4803 #line 4804 "configure" 4788 4804 #include "confdefs.h" 4789 4805 /* Override any gcc2 internal prototype to avoid an error. */ … … 4796 4812 ; return 0; } 4797 4813 EOF 4798 if { (eval echo configure:4 799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4814 if { (eval echo configure:4815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4799 4815 rm -rf conftest* 4800 4816 eval "ac_cv_lib_$ac_lib_var=yes" … … 4825 4841 LIBS=$SAVE_LIBS 4826 4842 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4827 echo "configure:48 28: checking for atof in -lsingcf" >&54843 echo "configure:4844: checking for atof in -lsingcf" >&5 4828 4844 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4829 4845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4833 4849 LIBS="-lsingcf $LIBS" 4834 4850 cat > conftest.$ac_ext <<EOF 4835 #line 48 36"configure"4851 #line 4852 "configure" 4836 4852 #include "confdefs.h" 4837 4853 /* Override any gcc2 internal prototype to avoid an error. */ … … 4844 4860 ; return 0; } 4845 4861 EOF 4846 if { (eval echo configure:48 47: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4862 if { (eval echo configure:4863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4847 4863 rm -rf conftest* 4848 4864 eval "ac_cv_lib_$ac_lib_var=yes" … … 4872 4888 4873 4889 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4874 echo "configure:48 75: checking for atof in -lsingfac" >&54890 echo "configure:4891: checking for atof in -lsingfac" >&5 4875 4891 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4876 4892 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4880 4896 LIBS="-lsingfac $LIBS" 4881 4897 cat > conftest.$ac_ext <<EOF 4882 #line 48 83"configure"4898 #line 4899 "configure" 4883 4899 #include "confdefs.h" 4884 4900 /* Override any gcc2 internal prototype to avoid an error. */ … … 4891 4907 ; return 0; } 4892 4908 EOF 4893 if { (eval echo configure:4 894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4909 if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4894 4910 rm -rf conftest* 4895 4911 eval "ac_cv_lib_$ac_lib_var=yes" … … 4919 4935 4920 4936 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 4921 echo "configure:49 22: checking for omTestAddr in -lomalloc" >&54937 echo "configure:4938: checking for omTestAddr in -lomalloc" >&5 4922 4938 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 4923 4939 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4927 4943 LIBS="-lomalloc $LIBS" 4928 4944 cat > conftest.$ac_ext <<EOF 4929 #line 49 30"configure"4945 #line 4946 "configure" 4930 4946 #include "confdefs.h" 4931 4947 /* Override any gcc2 internal prototype to avoid an error. */ … … 4938 4954 ; return 0; } 4939 4955 EOF 4940 if { (eval echo configure:49 41: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4956 if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4941 4957 rm -rf conftest* 4942 4958 eval "ac_cv_lib_$ac_lib_var=yes" … … 4966 4982 4967 4983 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 4968 echo "configure:49 69: checking for main in -lomalloc_ndebug" >&54984 echo "configure:4985: checking for main in -lomalloc_ndebug" >&5 4969 4985 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 4970 4986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4974 4990 LIBS="-lomalloc_ndebug $LIBS" 4975 4991 cat > conftest.$ac_ext <<EOF 4976 #line 49 77"configure"4992 #line 4993 "configure" 4977 4993 #include "confdefs.h" 4978 4994 … … 4981 4997 ; return 0; } 4982 4998 EOF 4983 if { (eval echo configure: 4984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4999 if { (eval echo configure:5000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4984 5000 rm -rf conftest* 4985 5001 eval "ac_cv_lib_$ac_lib_var=yes" … … 5009 5025 5010 5026 echo $ac_n "checking for main in -lntl""... $ac_c" 1>&6 5011 echo "configure:50 12: checking for main in -lntl" >&55027 echo "configure:5028: checking for main in -lntl" >&5 5012 5028 ac_lib_var=`echo ntl'_'main | sed 'y%./+-%__p_%'` 5013 5029 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5017 5033 LIBS="-lntl $LIBS" 5018 5034 cat > conftest.$ac_ext <<EOF 5019 #line 50 20"configure"5035 #line 5036 "configure" 5020 5036 #include "confdefs.h" 5021 5037 … … 5024 5040 ; return 0; } 5025 5041 EOF 5026 if { (eval echo configure:50 27: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5042 if { (eval echo configure:5043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5027 5043 rm -rf conftest* 5028 5044 eval "ac_cv_lib_$ac_lib_var=yes" … … 5057 5073 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5058 5074 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5059 echo "configure:50 60: checking for $ac_hdr" >&55075 echo "configure:5076: checking for $ac_hdr" >&5 5060 5076 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5061 5077 echo $ac_n "(cached) $ac_c" 1>&6 5062 5078 else 5063 5079 cat > conftest.$ac_ext <<EOF 5064 #line 50 65"configure"5080 #line 5081 "configure" 5065 5081 #include "confdefs.h" 5066 5082 #include <$ac_hdr> 5067 5083 EOF 5068 5084 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5069 { (eval echo configure:50 70: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5085 { (eval echo configure:5086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5070 5086 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5071 5087 if test -z "$ac_err"; then … … 5095 5111 5096 5112 echo $ac_n "checking whether to use Boost""... $ac_c" 1>&6 5097 echo "configure:5 098: checking whether to use Boost" >&55113 echo "configure:5114: checking whether to use Boost" >&5 5098 5114 if test "$with_Boost" != no; then 5099 5115 echo "$ac_t""yes" 1>&6 … … 5110 5126 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5111 5127 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5112 echo "configure:51 13: checking for $ac_hdr" >&55128 echo "configure:5129: checking for $ac_hdr" >&5 5113 5129 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5114 5130 echo $ac_n "(cached) $ac_c" 1>&6 5115 5131 else 5116 5132 cat > conftest.$ac_ext <<EOF 5117 #line 51 18"configure"5133 #line 5134 "configure" 5118 5134 #include "confdefs.h" 5119 5135 #include <$ac_hdr> 5120 5136 EOF 5121 5137 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5122 { (eval echo configure:51 23: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5138 { (eval echo configure:5139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5123 5139 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5124 5140 if test -z "$ac_err"; then … … 5156 5172 echo "$ac_t""no" 1>&6 5157 5173 echo $ac_n "checking whether to use std::vector""... $ac_c" 1>&6 5158 echo "configure:51 59: checking whether to use std::vector" >&55174 echo "configure:5175: checking whether to use std::vector" >&5 5159 5175 if test "$with_stdvec" != yes; then 5160 5176 echo "$ac_t""no" 1>&6 … … 5205 5221 SAVE_LIBS=$LIBS 5206 5222 echo $ac_n "checking for __stack_chk_fail_local in -lc_nonshared""... $ac_c" 1>&6 5207 echo "configure:52 08: checking for __stack_chk_fail_local in -lc_nonshared" >&55223 echo "configure:5224: checking for __stack_chk_fail_local in -lc_nonshared" >&5 5208 5224 ac_lib_var=`echo c_nonshared'_'__stack_chk_fail_local | sed 'y%./+-%__p_%'` 5209 5225 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5213 5229 LIBS="-lc_nonshared $LIBS" 5214 5230 cat > conftest.$ac_ext <<EOF 5215 #line 52 16"configure"5231 #line 5232 "configure" 5216 5232 #include "confdefs.h" 5217 5233 /* Override any gcc2 internal prototype to avoid an error. */ … … 5224 5240 ; return 0; } 5225 5241 EOF 5226 if { (eval echo configure:52 27: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5242 if { (eval echo configure:5243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5227 5243 rm -rf conftest* 5228 5244 eval "ac_cv_lib_$ac_lib_var=yes" … … 5254 5270 5255 5271 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 5256 echo "configure:52 57: checking which apint package to use" >&55272 echo "configure:5273: checking which apint package to use" >&5 5257 5273 if test "${with_apint}" != gmp; then 5258 5274 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 5276 5292 5277 5293 echo $ac_n "checking whether to use libsvd""... $ac_c" 1>&6 5278 echo "configure:52 79: checking whether to use libsvd" >&55294 echo "configure:5295: checking whether to use libsvd" >&5 5279 5295 if test "$with_svd" = yes; then 5280 5296 echo "$ac_t""yes" 1>&6 … … 5291 5307 # 5292 5308 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 5293 echo "configure:5 294: checking whether to have MP" >&55309 echo "configure:5310: checking whether to have MP" >&5 5294 5310 if test "${with_MP}" != yes && test "${with_MP}" != no; then 5295 5311 if (test "${will_have_gmp}" = yes) && \ … … 5326 5342 5327 5343 echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6 5328 echo "configure:53 29: checking whether to have NTL" >&55344 echo "configure:5345: checking whether to have NTL" >&5 5329 5345 if test "${with_NTL}" = yes ; then 5330 5346 echo "$ac_t""yes" 1>&6 … … 5335 5351 5336 5352 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 5337 echo "configure:53 38: checking whether to have factory" >&55353 echo "configure:5354: checking whether to have factory" >&5 5338 5354 if test "${with_factory}" != yes && test "${with_factory}" != no; then 5339 5355 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 5366 5382 5367 5383 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 5368 echo "configure:53 69: checking whether to have libfac" >&55384 echo "configure:5385: checking whether to have libfac" >&5 5369 5385 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 5370 5386 if (test "${will_have_factory}" = yes) && \ … … 5408 5424 5409 5425 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 5410 echo "configure:54 11: checking whether to have dbm links" >&55426 echo "configure:5427: checking whether to have dbm links" >&5 5411 5427 if test "$with_dbm" != no; then 5412 5428 cat >> confdefs.h <<\EOF … … 5420 5436 5421 5437 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 5422 echo "configure:54 23: checking whether to have namespaces" >&55438 echo "configure:5439: checking whether to have namespaces" >&5 5423 5439 if test "$with_namespaces" != no; then 5424 5440 echo "$ac_t""yes" 1>&6 … … 5432 5448 5433 5449 echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6 5434 echo "configure:54 35: checking whether to have dynamic modules" >&55450 echo "configure:5451: checking whether to have dynamic modules" >&5 5435 5451 if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then 5436 5452 echo "$ac_t""no" 1>&6 … … 5444 5460 5445 5461 echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6 5446 echo "configure:54 47: checking whether to have dynamic kernel" >&55462 echo "configure:5463: checking whether to have dynamic kernel" >&5 5447 5463 if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then 5448 5464 DL_KERNEL=1 … … 5454 5470 5455 5471 echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6 5456 echo "configure:54 57: checking whether to have Plural" >&55472 echo "configure:5473: checking whether to have Plural" >&5 5457 5473 if test "$with_Plural" != no && test "$enable_Plural" != no; then 5458 5474 cat >> confdefs.h <<\EOF -
Singular/configure.in
reb3a157 rf92bde 410 410 SFLAGS="-fpic -fPIC -DPIC" 411 411 SLDFLAGS="-fPIC -DPIC -shared" 412 LD=gcc 412 if test "${LD+set}" != set; then 413 LD="${LD}" 414 else 415 LD=gcc 416 fi 413 417 ac_lib_dl=yes 414 418 fi … … 420 424 SFLAGS="-fpic -DPIC" 421 425 SLDFLAGS=-shared 422 LD=ld 426 if test "${LD+set}" != set; then 427 LD="${LD}" 428 else 429 LD=ld 430 fi 423 431 ac_lib_dl=yes 424 432 fi … … 428 436 SFLAGS="-fPIC -DPIC" 429 437 SLDFLAGS="-w -no_unresolved -_SYSTYPE_SVR4 -n32 -shared" 430 LD=ld 438 if test "${LD+set}" != set; then 439 LD="${LD}" 440 else 441 LD=ld 442 fi 431 443 ac_lib_dl=yes 432 444 ;; … … 437 449 SFLAGS="-fpic -DPIC" 438 450 SLDFLAGS=-shared 439 LD=$CC 451 if test "${LD+set}" != set; then 452 LD="${LD}" 453 else 454 LD=$CC 455 fi 440 456 ac_lib_dl=yes 441 457 fi
Note: See TracChangeset
for help on using the changeset viewer.