Changeset 3bb3e6a in git
- Timestamp:
- May 24, 1998, 2:09:23 PM (25 years ago)
- Branches:
- (u'spielwiese', 'd1ba061a762c62d3a25159d8da8b6e17332291fa')
- Children:
- 45f7bfcca3edf19f70b4d4e83236758f8d71c6da
- Parents:
- 96b804631b095d8928ec2c241293ce9015190de7
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r96b804 r3bb3e6a 2415 2415 fi 2416 2416 2417 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&62418 echo "configure:2419: checking whether stat file-mode macros are broken" >&52419 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then2420 echo $ac_n "(cached) $ac_c" 1>&62421 else2422 cat > conftest.$ac_ext <<EOF2423 #line 2424 "configure"2424 #include "confdefs.h"2425 #include <sys/types.h>2426 #include <sys/stat.h>2427 2428 #if defined(S_ISBLK) && defined(S_IFDIR)2429 # if S_ISBLK (S_IFDIR)2430 You lose.2431 # endif2432 #endif2433 2434 #if defined(S_ISBLK) && defined(S_IFCHR)2435 # if S_ISBLK (S_IFCHR)2436 You lose.2437 # endif2438 #endif2439 2440 #if defined(S_ISLNK) && defined(S_IFREG)2441 # if S_ISLNK (S_IFREG)2442 You lose.2443 # endif2444 #endif2445 2446 #if defined(S_ISSOCK) && defined(S_IFREG)2447 # if S_ISSOCK (S_IFREG)2448 You lose.2449 # endif2450 #endif2451 2452 EOF2453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |2454 egrep "You lose" >/dev/null 2>&1; then2455 rm -rf conftest*2456 ac_cv_header_stat_broken=yes2457 else2458 rm -rf conftest*2459 ac_cv_header_stat_broken=no2460 fi2461 rm -f conftest*2462 2463 fi2464 2465 echo "$ac_t""$ac_cv_header_stat_broken" 1>&62466 if test $ac_cv_header_stat_broken = yes; then2467 cat >> confdefs.h <<\EOF2468 #define STAT_MACROS_BROKEN 12469 EOF2470 2471 fi2472 2473 2417 for ac_hdr in limits.h unistd.h 2474 2418 do 2475 2419 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2476 2420 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2477 echo "configure:24 78: checking for $ac_hdr" >&52421 echo "configure:2422: checking for $ac_hdr" >&5 2478 2422 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2479 2423 echo $ac_n "(cached) $ac_c" 1>&6 2480 2424 else 2481 2425 cat > conftest.$ac_ext <<EOF 2482 #line 24 83"configure"2426 #line 2427 "configure" 2483 2427 #include "confdefs.h" 2484 2428 #include <$ac_hdr> 2485 2429 EOF 2486 2430 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2487 { (eval echo configure:24 88: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2431 { (eval echo configure:2432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2488 2432 ac_err=`grep -v '^ *+' conftest.out` 2489 2433 if test -z "$ac_err"; then … … 2517 2461 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2518 2462 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2519 echo "configure:2 520: checking for $ac_hdr" >&52463 echo "configure:2464: checking for $ac_hdr" >&5 2520 2464 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2521 2465 echo $ac_n "(cached) $ac_c" 1>&6 2522 2466 else 2523 2467 cat > conftest.$ac_ext <<EOF 2524 #line 2 525"configure"2468 #line 2469 "configure" 2525 2469 #include "confdefs.h" 2526 2470 #include <$ac_hdr> 2527 2471 EOF 2528 2472 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2529 { (eval echo configure:2 530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2473 { (eval echo configure:2474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2530 2474 ac_err=`grep -v '^ *+' conftest.out` 2531 2475 if test -z "$ac_err"; then … … 2556 2500 WITH_DBM=no 2557 2501 echo $ac_n "checking whether to build with dbm links""... $ac_c" 1>&6 2558 echo "configure:25 59: checking whether to build with dbm links" >&52502 echo "configure:2503: checking whether to build with dbm links" >&5 2559 2503 if test "$with_dbm" != no; then 2560 2504 cat >> confdefs.h <<\EOF … … 2570 2514 2571 2515 echo $ac_n "checking for working const""... $ac_c" 1>&6 2572 echo "configure:25 73: checking for working const" >&52516 echo "configure:2517: checking for working const" >&5 2573 2517 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then 2574 2518 echo $ac_n "(cached) $ac_c" 1>&6 2575 2519 else 2576 2520 cat > conftest.$ac_ext <<EOF 2577 #line 25 78"configure"2521 #line 2522 "configure" 2578 2522 #include "confdefs.h" 2579 2523 … … 2624 2568 ; return 0; } 2625 2569 EOF 2626 if { (eval echo configure:2 627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2570 if { (eval echo configure:2571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2627 2571 rm -rf conftest* 2628 2572 ac_cv_c_const=yes … … 2645 2589 2646 2590 echo $ac_n "checking for inline""... $ac_c" 1>&6 2647 echo "configure:2 648: checking for inline" >&52591 echo "configure:2592: checking for inline" >&5 2648 2592 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then 2649 2593 echo $ac_n "(cached) $ac_c" 1>&6 … … 2652 2596 for ac_kw in inline __inline__ __inline; do 2653 2597 cat > conftest.$ac_ext <<EOF 2654 #line 2 655"configure"2598 #line 2599 "configure" 2655 2599 #include "confdefs.h" 2656 2600 … … 2659 2603 ; return 0; } 2660 2604 EOF 2661 if { (eval echo configure:26 62: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2605 if { (eval echo configure:2606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2662 2606 rm -rf conftest* 2663 2607 ac_cv_c_inline=$ac_kw; break … … 2685 2629 2686 2630 echo $ac_n "checking for size_t""... $ac_c" 1>&6 2687 echo "configure:26 88: checking for size_t" >&52631 echo "configure:2632: checking for size_t" >&5 2688 2632 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then 2689 2633 echo $ac_n "(cached) $ac_c" 1>&6 2690 2634 else 2691 2635 cat > conftest.$ac_ext <<EOF 2692 #line 26 93"configure"2636 #line 2637 "configure" 2693 2637 #include "confdefs.h" 2694 2638 #include <sys/types.h> … … 2718 2662 2719 2663 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 2720 echo "configure:2 721: checking whether time.h and sys/time.h may both be included" >&52664 echo "configure:2665: checking whether time.h and sys/time.h may both be included" >&5 2721 2665 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then 2722 2666 echo $ac_n "(cached) $ac_c" 1>&6 2723 2667 else 2724 2668 cat > conftest.$ac_ext <<EOF 2725 #line 2 726"configure"2669 #line 2670 "configure" 2726 2670 #include "confdefs.h" 2727 2671 #include <sys/types.h> … … 2732 2676 ; return 0; } 2733 2677 EOF 2734 if { (eval echo configure:2 735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2678 if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2735 2679 rm -rf conftest* 2736 2680 ac_cv_header_time=yes … … 2753 2697 2754 2698 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 2755 echo "configure:27 56: checking whether struct tm is in sys/time.h or time.h" >&52699 echo "configure:2700: checking whether struct tm is in sys/time.h or time.h" >&5 2756 2700 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then 2757 2701 echo $ac_n "(cached) $ac_c" 1>&6 2758 2702 else 2759 2703 cat > conftest.$ac_ext <<EOF 2760 #line 27 61"configure"2704 #line 2705 "configure" 2761 2705 #include "confdefs.h" 2762 2706 #include <sys/types.h> … … 2766 2710 ; return 0; } 2767 2711 EOF 2768 if { (eval echo configure:27 69: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2712 if { (eval echo configure:2713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2769 2713 rm -rf conftest* 2770 2714 ac_cv_struct_tm=time.h … … 2790 2734 # for constant arguments. Useless! 2791 2735 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 2792 echo "configure:27 93: checking for working alloca.h" >&52736 echo "configure:2737: checking for working alloca.h" >&5 2793 2737 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then 2794 2738 echo $ac_n "(cached) $ac_c" 1>&6 2795 2739 else 2796 2740 cat > conftest.$ac_ext <<EOF 2797 #line 27 98"configure"2741 #line 2742 "configure" 2798 2742 #include "confdefs.h" 2799 2743 #include <alloca.h> … … 2802 2746 ; return 0; } 2803 2747 EOF 2804 if { (eval echo configure:2 805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2748 if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2805 2749 rm -rf conftest* 2806 2750 ac_cv_header_alloca_h=yes … … 2823 2767 2824 2768 echo $ac_n "checking for alloca""... $ac_c" 1>&6 2825 echo "configure:2 826: checking for alloca" >&52769 echo "configure:2770: checking for alloca" >&5 2826 2770 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then 2827 2771 echo $ac_n "(cached) $ac_c" 1>&6 2828 2772 else 2829 2773 cat > conftest.$ac_ext <<EOF 2830 #line 2 831"configure"2774 #line 2775 "configure" 2831 2775 #include "confdefs.h" 2832 2776 … … 2851 2795 ; return 0; } 2852 2796 EOF 2853 if { (eval echo configure:2 854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2797 if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2854 2798 rm -rf conftest* 2855 2799 ac_cv_func_alloca_works=yes … … 2883 2827 2884 2828 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 2885 echo "configure:28 86: checking whether alloca needs Cray hooks" >&52829 echo "configure:2830: checking whether alloca needs Cray hooks" >&5 2886 2830 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then 2887 2831 echo $ac_n "(cached) $ac_c" 1>&6 2888 2832 else 2889 2833 cat > conftest.$ac_ext <<EOF 2890 #line 28 91"configure"2834 #line 2835 "configure" 2891 2835 #include "confdefs.h" 2892 2836 #if defined(CRAY) && ! defined(CRAY2) … … 2913 2857 for ac_func in _getb67 GETB67 getb67; do 2914 2858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 2915 echo "configure:2 916: checking for $ac_func" >&52859 echo "configure:2860: checking for $ac_func" >&5 2916 2860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 2917 2861 echo $ac_n "(cached) $ac_c" 1>&6 2918 2862 else 2919 2863 cat > conftest.$ac_ext <<EOF 2920 #line 2 921"configure"2864 #line 2865 "configure" 2921 2865 #include "confdefs.h" 2922 2866 /* System header to define __stub macros and hopefully few prototypes, … … 2941 2885 ; return 0; } 2942 2886 EOF 2943 if { (eval echo configure:2 944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then2887 if { (eval echo configure:2888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 2944 2888 rm -rf conftest* 2945 2889 eval "ac_cv_func_$ac_func=yes" … … 2968 2912 2969 2913 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 2970 echo "configure:29 71: checking stack direction for C alloca" >&52914 echo "configure:2915: checking stack direction for C alloca" >&5 2971 2915 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then 2972 2916 echo $ac_n "(cached) $ac_c" 1>&6 … … 2976 2920 else 2977 2921 cat > conftest.$ac_ext <<EOF 2978 #line 29 79"configure"2922 #line 2923 "configure" 2979 2923 #include "confdefs.h" 2980 2924 find_stack_direction () … … 2995 2939 } 2996 2940 EOF 2997 if { (eval echo configure:29 98: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null2941 if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 2998 2942 then 2999 2943 ac_cv_c_stack_direction=1 … … 3018 2962 if test $ac_cv_prog_gcc = yes; then 3019 2963 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 3020 echo "configure: 3021: checking whether ${CC-cc} needs -traditional" >&52964 echo "configure:2965: checking whether ${CC-cc} needs -traditional" >&5 3021 2965 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then 3022 2966 echo $ac_n "(cached) $ac_c" 1>&6 … … 3024 2968 ac_pattern="Autoconf.*'x'" 3025 2969 cat > conftest.$ac_ext <<EOF 3026 #line 3027"configure"2970 #line 2971 "configure" 3027 2971 #include "confdefs.h" 3028 2972 #include <sgtty.h> … … 3042 2986 if test $ac_cv_prog_gcc_traditional = no; then 3043 2987 cat > conftest.$ac_ext <<EOF 3044 #line 3045"configure"2988 #line 2989 "configure" 3045 2989 #include "confdefs.h" 3046 2990 #include <termio.h> … … 3067 3011 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3068 3012 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3069 echo "configure:30 70: checking for $ac_hdr" >&53013 echo "configure:3014: checking for $ac_hdr" >&5 3070 3014 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3071 3015 echo $ac_n "(cached) $ac_c" 1>&6 3072 3016 else 3073 3017 cat > conftest.$ac_ext <<EOF 3074 #line 30 75"configure"3018 #line 3019 "configure" 3075 3019 #include "confdefs.h" 3076 3020 #include <$ac_hdr> 3077 3021 EOF 3078 3022 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3079 { (eval echo configure:30 80: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3023 { (eval echo configure:3024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3080 3024 ac_err=`grep -v '^ *+' conftest.out` 3081 3025 if test -z "$ac_err"; then … … 3106 3050 do 3107 3051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3108 echo "configure:3 109: checking for $ac_func" >&53052 echo "configure:3053: checking for $ac_func" >&5 3109 3053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3110 3054 echo $ac_n "(cached) $ac_c" 1>&6 3111 3055 else 3112 3056 cat > conftest.$ac_ext <<EOF 3113 #line 3 114"configure"3057 #line 3058 "configure" 3114 3058 #include "confdefs.h" 3115 3059 /* System header to define __stub macros and hopefully few prototypes, … … 3134 3078 ; return 0; } 3135 3079 EOF 3136 if { (eval echo configure:3 137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3080 if { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3137 3081 rm -rf conftest* 3138 3082 eval "ac_cv_func_$ac_func=yes" … … 3159 3103 3160 3104 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 3161 echo "configure:31 62: checking for working mmap" >&53105 echo "configure:3106: checking for working mmap" >&5 3162 3106 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then 3163 3107 echo $ac_n "(cached) $ac_c" 1>&6 … … 3167 3111 else 3168 3112 cat > conftest.$ac_ext <<EOF 3169 #line 31 70"configure"3113 #line 3114 "configure" 3170 3114 #include "confdefs.h" 3171 3115 … … 3307 3251 3308 3252 EOF 3309 if { (eval echo configure:3 310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3253 if { (eval echo configure:3254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3310 3254 then 3311 3255 ac_cv_func_mmap_fixed_mapped=yes … … 3330 3274 3331 3275 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 3332 echo "configure:3 333: checking return type of signal handlers" >&53276 echo "configure:3277: checking return type of signal handlers" >&5 3333 3277 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then 3334 3278 echo $ac_n "(cached) $ac_c" 1>&6 3335 3279 else 3336 3280 cat > conftest.$ac_ext <<EOF 3337 #line 3 338"configure"3281 #line 3282 "configure" 3338 3282 #include "confdefs.h" 3339 3283 #include <sys/types.h> … … 3352 3296 ; return 0; } 3353 3297 EOF 3354 if { (eval echo configure:3 355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3298 if { (eval echo configure:3299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3355 3299 rm -rf conftest* 3356 3300 ac_cv_type_signal=void … … 3371 3315 3372 3316 echo $ac_n "checking for vprintf""... $ac_c" 1>&6 3373 echo "configure:33 74: checking for vprintf" >&53317 echo "configure:3318: checking for vprintf" >&5 3374 3318 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then 3375 3319 echo $ac_n "(cached) $ac_c" 1>&6 3376 3320 else 3377 3321 cat > conftest.$ac_ext <<EOF 3378 #line 33 79"configure"3322 #line 3323 "configure" 3379 3323 #include "confdefs.h" 3380 3324 /* System header to define __stub macros and hopefully few prototypes, … … 3399 3343 ; return 0; } 3400 3344 EOF 3401 if { (eval echo configure:3 402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3345 if { (eval echo configure:3346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3402 3346 rm -rf conftest* 3403 3347 eval "ac_cv_func_vprintf=yes" … … 3423 3367 if test "$ac_cv_func_vprintf" != yes; then 3424 3368 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6 3425 echo "configure:3 426: checking for _doprnt" >&53369 echo "configure:3370: checking for _doprnt" >&5 3426 3370 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then 3427 3371 echo $ac_n "(cached) $ac_c" 1>&6 3428 3372 else 3429 3373 cat > conftest.$ac_ext <<EOF 3430 #line 3 431"configure"3374 #line 3375 "configure" 3431 3375 #include "confdefs.h" 3432 3376 /* System header to define __stub macros and hopefully few prototypes, … … 3451 3395 ; return 0; } 3452 3396 EOF 3453 if { (eval echo configure:3 454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3397 if { (eval echo configure:3398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3454 3398 rm -rf conftest* 3455 3399 eval "ac_cv_func__doprnt=yes" … … 3475 3419 fi 3476 3420 3477 for ac_func in gettimeofday atexit bcopy getcwd getwd sbrk readlink 3421 for ac_func in gettimeofday atexit bcopy getcwd getwd sbrk readlink sleep 3478 3422 do 3479 3423 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 3480 echo "configure:34 81: checking for $ac_func" >&53424 echo "configure:3425: checking for $ac_func" >&5 3481 3425 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then 3482 3426 echo $ac_n "(cached) $ac_c" 1>&6 3483 3427 else 3484 3428 cat > conftest.$ac_ext <<EOF 3485 #line 34 86"configure"3429 #line 3430 "configure" 3486 3430 #include "confdefs.h" 3487 3431 /* System header to define __stub macros and hopefully few prototypes, … … 3506 3450 ; return 0; } 3507 3451 EOF 3508 if { (eval echo configure:3 509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3452 if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3509 3453 rm -rf conftest* 3510 3454 eval "ac_cv_func_$ac_func=yes" … … 3533 3477 3534 3478 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 3535 echo "configure:3 536: checking whether your machine has correct arithmetic shifts" >&53479 echo "configure:3480: checking whether your machine has correct arithmetic shifts" >&5 3536 3480 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 3537 3481 echo $ac_n "(cached) $ac_c" 1>&6 … … 3546 3490 else 3547 3491 cat > conftest.$ac_ext <<EOF 3548 #line 3 549"configure"3492 #line 3493 "configure" 3549 3493 #include "confdefs.h" 3550 3494 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); } 3551 3495 EOF 3552 if { (eval echo configure:3 553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3496 if { (eval echo configure:3497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3553 3497 then 3554 3498 ac_cv_shift=yes … … 3573 3517 3574 3518 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 3575 echo "configure:35 76: checking whether vsprintf returns number of printed chars" >&53519 echo "configure:3520: checking whether vsprintf returns number of printed chars" >&5 3576 3520 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 3577 3521 echo $ac_n "(cached) $ac_c" 1>&6 … … 3581 3525 else 3582 3526 cat > conftest.$ac_ext <<EOF 3583 #line 35 84"configure"3527 #line 3528 "configure" 3584 3528 #include "confdefs.h" 3585 3529 #include <stdio.h> 3586 3530 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 3587 3531 EOF 3588 if { (eval echo configure:35 89: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3532 if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3589 3533 then 3590 3534 ac_cv_returns_n_of_chars=yes … … 3612 3556 3613 3557 echo $ac_n "checking size of char""... $ac_c" 1>&6 3614 echo "configure:3 615: checking size of char" >&53558 echo "configure:3559: checking size of char" >&5 3615 3559 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 3616 3560 echo $ac_n "(cached) $ac_c" 1>&6 … … 3620 3564 else 3621 3565 cat > conftest.$ac_ext <<EOF 3622 #line 3 623"configure"3566 #line 3567 "configure" 3623 3567 #include "confdefs.h" 3624 3568 #include <stdio.h> … … 3631 3575 } 3632 3576 EOF 3633 if { (eval echo configure:3 634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3577 if { (eval echo configure:3578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3634 3578 then 3635 3579 ac_cv_sizeof_char=`cat conftestval` … … 3651 3595 3652 3596 echo $ac_n "checking size of short""... $ac_c" 1>&6 3653 echo "configure:3 654: checking size of short" >&53597 echo "configure:3598: checking size of short" >&5 3654 3598 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3655 3599 echo $ac_n "(cached) $ac_c" 1>&6 … … 3659 3603 else 3660 3604 cat > conftest.$ac_ext <<EOF 3661 #line 36 62"configure"3605 #line 3606 "configure" 3662 3606 #include "confdefs.h" 3663 3607 #include <stdio.h> … … 3670 3614 } 3671 3615 EOF 3672 if { (eval echo configure:36 73: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3616 if { (eval echo configure:3617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3673 3617 then 3674 3618 ac_cv_sizeof_short=`cat conftestval` … … 3690 3634 3691 3635 echo $ac_n "checking size of int""... $ac_c" 1>&6 3692 echo "configure:36 93: checking size of int" >&53636 echo "configure:3637: checking size of int" >&5 3693 3637 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3694 3638 echo $ac_n "(cached) $ac_c" 1>&6 … … 3698 3642 else 3699 3643 cat > conftest.$ac_ext <<EOF 3700 #line 3 701"configure"3644 #line 3645 "configure" 3701 3645 #include "confdefs.h" 3702 3646 #include <stdio.h> … … 3709 3653 } 3710 3654 EOF 3711 if { (eval echo configure:3 712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3655 if { (eval echo configure:3656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3712 3656 then 3713 3657 ac_cv_sizeof_int=`cat conftestval` … … 3729 3673 3730 3674 echo $ac_n "checking size of long""... $ac_c" 1>&6 3731 echo "configure:3 732: checking size of long" >&53675 echo "configure:3676: checking size of long" >&5 3732 3676 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3733 3677 echo $ac_n "(cached) $ac_c" 1>&6 … … 3737 3681 else 3738 3682 cat > conftest.$ac_ext <<EOF 3739 #line 3 740"configure"3683 #line 3684 "configure" 3740 3684 #include "confdefs.h" 3741 3685 #include <stdio.h> … … 3748 3692 } 3749 3693 EOF 3750 if { (eval echo configure:3 751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3694 if { (eval echo configure:3695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3751 3695 then 3752 3696 ac_cv_sizeof_long=`cat conftestval` … … 3768 3712 3769 3713 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3770 echo "configure:37 71: checking size of void*" >&53714 echo "configure:3715: checking size of void*" >&5 3771 3715 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3772 3716 echo $ac_n "(cached) $ac_c" 1>&6 … … 3776 3720 else 3777 3721 cat > conftest.$ac_ext <<EOF 3778 #line 37 79"configure"3722 #line 3723 "configure" 3779 3723 #include "confdefs.h" 3780 3724 #include <stdio.h> … … 3787 3731 } 3788 3732 EOF 3789 if { (eval echo configure:37 90: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3733 if { (eval echo configure:3734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3790 3734 then 3791 3735 ac_cv_sizeof_voidp=`cat conftestval` … … 3807 3751 3808 3752 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 3809 echo "configure:3 810: checking whether byte ordering is bigendian" >&53753 echo "configure:3754: checking whether byte ordering is bigendian" >&5 3810 3754 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 3811 3755 echo $ac_n "(cached) $ac_c" 1>&6 … … 3814 3758 # See if sys/param.h defines the BYTE_ORDER macro. 3815 3759 cat > conftest.$ac_ext <<EOF 3816 #line 3 817"configure"3760 #line 3761 "configure" 3817 3761 #include "confdefs.h" 3818 3762 #include <sys/types.h> … … 3825 3769 ; return 0; } 3826 3770 EOF 3827 if { (eval echo configure:3 828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3771 if { (eval echo configure:3772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3828 3772 rm -rf conftest* 3829 3773 # It does; now see whether it defined to BIG_ENDIAN or not. 3830 3774 cat > conftest.$ac_ext <<EOF 3831 #line 3 832"configure"3775 #line 3776 "configure" 3832 3776 #include "confdefs.h" 3833 3777 #include <sys/types.h> … … 3840 3784 ; return 0; } 3841 3785 EOF 3842 if { (eval echo configure:3 843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3786 if { (eval echo configure:3787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3843 3787 rm -rf conftest* 3844 3788 ac_cv_c_bigendian=yes … … 3860 3804 else 3861 3805 cat > conftest.$ac_ext <<EOF 3862 #line 38 63"configure"3806 #line 3807 "configure" 3863 3807 #include "confdefs.h" 3864 3808 main () { … … 3873 3817 } 3874 3818 EOF 3875 if { (eval echo configure:38 76: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null3819 if { (eval echo configure:3820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null 3876 3820 then 3877 3821 ac_cv_c_bigendian=no … … 3906 3850 3907 3851 echo $ac_n "checking which exponent types to use""... $ac_c" 1>&6 3908 echo "configure:3 909: checking which exponent types to use" >&53852 echo "configure:3853: checking which exponent types to use" >&5 3909 3853 if test "$with_exp_type" = "char"; then 3910 3854 echo "$ac_t""char" 1>&6 … … 3940 3884 3941 3885 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 3942 echo "configure:3 943: checking whether _AIX is defined" >&53886 echo "configure:3887: checking whether _AIX is defined" >&5 3943 3887 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 3944 3888 echo $ac_n "(cached) $ac_c" 1>&6 3945 3889 else 3946 3890 cat > conftest.$ac_ext <<EOF 3947 #line 3 948"configure"3891 #line 3892 "configure" 3948 3892 #include "confdefs.h" 3949 3893 #ifdef _AIX -
Singular/configure.in
r96b804 r3bb3e6a 395 395 396 396 AC_HEADER_STDC 397 AC_HEADER_STAT398 397 AC_CHECK_HEADERS(limits.h unistd.h,, 399 398 AC_MSG_ERROR(Can not compile without limits.h unistd.h)) … … 430 429 AC_TYPE_SIGNAL 431 430 AC_FUNC_VPRINTF 432 AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd sbrk readlink )431 AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd sbrk readlink sleep) 433 432 434 433 dnl -
Singular/iparith.cc
r96b804 r3bb3e6a 267 267 { "sres", 0, SRES_CMD , CMD_2}, 268 268 #endif 269 { "status", 0, STATUS_CMD, CMD_ 23},269 { "status", 0, STATUS_CMD, CMD_M}, 270 270 { "std", 0, STD_CMD , CMD_12}, 271 271 { "string", 0, STRING_CMD , ROOT_DECL_LIST}, … … 3956 3956 return b; 3957 3957 } 3958 static BOOLEAN jjCALL3ARG(leftv res, leftv u) 3959 { 3960 leftv v = u->next; 3961 leftv w = v->next; 3962 u->next = NULL; 3963 v->next = NULL; 3964 BOOLEAN b = iiExprArith3(res, iiOp, u, v, w); 3965 u->next = v; 3966 v->next = w; 3967 return b; 3968 } 3969 3958 3970 static BOOLEAN jjCOEF_M(leftv res, leftv v) 3959 3971 { … … 4298 4310 return FALSE; 4299 4311 } 4312 4313 static BOOLEAN jjSTATUS_M(leftv res, leftv v) 4314 { 4315 if ((v->Typ() != LINK_CMD) || 4316 (v->next->Typ() != STRING_CMD) || 4317 (v->next->next->Typ() != STRING_CMD) || 4318 (v->next->next->next->Typ() != INT_CMD)) 4319 return TRUE; 4320 jjSTATUS3(res, v, v->next, v->next->next); 4321 #ifdef HAVE_SLEEP 4322 if (((int) res->data) == 0) 4323 { 4324 sleep((int) v->next->next->next->Data()); 4325 jjSTATUS3(res, v, v->next, v->next->next); 4326 } 4327 #endif 4328 return FALSE; 4329 } 4330 4331 4300 4332 /*=================== operations with many arg.: table =================*/ 4301 4333 /* number_of_args: -1: any, -2: any >0, .. */ … … 4326 4358 ,{jjTEST, TEST_CMD, NONE, -2 } 4327 4359 ,{iiWRITE, WRITE_CMD, NONE, -2 } 4360 ,{jjCALL2ARG, STATUS_CMD, STRING_CMD, 2 } 4361 ,{jjCALL3ARG, STATUS_CMD, INT_CMD, 3 } 4362 ,{jjSTATUS_M, STATUS_CMD, INT_CMD, 4 } 4328 4363 ,{NULL, 0, 0, 0 } 4329 4364 }; -
Singular/mod2.h.in
r96b804 r3bb3e6a 67 67 /* Define if sprintf does not return number of printed chars */ 68 68 #undef BSD_SPRINTF 69 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */70 #undef STAT_MACROS_BROKEN71 69 /* Define if you have the getcwd function. */ 72 70 #undef HAVE_GETCWD … … 77 75 /* Define if you have readlink */ 78 76 #undef HAVE_READLINK 77 /* Define if you have sleep */ 78 #undef HAVE_SLEEP 79 79 /* Define sizeof(char) */ 80 80 #define SIZEOF_CHAR 1
Note: See TracChangeset
for help on using the changeset viewer.