Changeset 3bb3e6a in git


Ignore:
Timestamp:
May 24, 1998, 2:09:23 PM (25 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'd1ba061a762c62d3a25159d8da8b6e17332291fa')
Children:
45f7bfcca3edf19f70b4d4e83236758f8d71c6da
Parents:
96b804631b095d8928ec2c241293ce9015190de7
Message:
* status with sleep


git-svn-id: file:///usr/local/Singular/svn/trunk@1961 2c84dea3-7e68-4137-9b89-c4e89433aadc
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • Singular/configure

    r96b804 r3bb3e6a  
    24152415fi
    24162416
    2417 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
    2418 echo "configure:2419: checking whether stat file-mode macros are broken" >&5
    2419 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
    2420   echo $ac_n "(cached) $ac_c" 1>&6
    2421 else
    2422   cat > conftest.$ac_ext <<EOF
    2423 #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 # endif
    2432 #endif
    2433 
    2434 #if defined(S_ISBLK) && defined(S_IFCHR)
    2435 # if S_ISBLK (S_IFCHR)
    2436 You lose.
    2437 # endif
    2438 #endif
    2439 
    2440 #if defined(S_ISLNK) && defined(S_IFREG)
    2441 # if S_ISLNK (S_IFREG)
    2442 You lose.
    2443 # endif
    2444 #endif
    2445 
    2446 #if defined(S_ISSOCK) && defined(S_IFREG)
    2447 # if S_ISSOCK (S_IFREG)
    2448 You lose.
    2449 # endif
    2450 #endif
    2451 
    2452 EOF
    2453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2454   egrep "You lose" >/dev/null 2>&1; then
    2455   rm -rf conftest*
    2456   ac_cv_header_stat_broken=yes
    2457 else
    2458   rm -rf conftest*
    2459   ac_cv_header_stat_broken=no
    2460 fi
    2461 rm -f conftest*
    2462 
    2463 fi
    2464 
    2465 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
    2466 if test $ac_cv_header_stat_broken = yes; then
    2467   cat >> confdefs.h <<\EOF
    2468 #define STAT_MACROS_BROKEN 1
    2469 EOF
    2470 
    2471 fi
    2472 
    24732417for ac_hdr in limits.h unistd.h
    24742418do
    24752419ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    24762420echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2477 echo "configure:2478: checking for $ac_hdr" >&5
     2421echo "configure:2422: checking for $ac_hdr" >&5
    24782422if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24792423  echo $ac_n "(cached) $ac_c" 1>&6
    24802424else
    24812425  cat > conftest.$ac_ext <<EOF
    2482 #line 2483 "configure"
     2426#line 2427 "configure"
    24832427#include "confdefs.h"
    24842428#include <$ac_hdr>
    24852429EOF
    24862430ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2487 { (eval echo configure:2488: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2431{ (eval echo configure:2432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24882432ac_err=`grep -v '^ *+' conftest.out`
    24892433if test -z "$ac_err"; then
     
    25172461ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    25182462echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2519 echo "configure:2520: checking for $ac_hdr" >&5
     2463echo "configure:2464: checking for $ac_hdr" >&5
    25202464if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25212465  echo $ac_n "(cached) $ac_c" 1>&6
    25222466else
    25232467  cat > conftest.$ac_ext <<EOF
    2524 #line 2525 "configure"
     2468#line 2469 "configure"
    25252469#include "confdefs.h"
    25262470#include <$ac_hdr>
    25272471EOF
    25282472ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2529 { (eval echo configure:2530: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2473{ (eval echo configure:2474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25302474ac_err=`grep -v '^ *+' conftest.out`
    25312475if test -z "$ac_err"; then
     
    25562500WITH_DBM=no
    25572501echo $ac_n "checking whether to build with dbm links""... $ac_c" 1>&6
    2558 echo "configure:2559: checking whether to build with dbm links" >&5
     2502echo "configure:2503: checking whether to build with dbm links" >&5
    25592503if test "$with_dbm" != no; then
    25602504  cat >> confdefs.h <<\EOF
     
    25702514
    25712515echo $ac_n "checking for working const""... $ac_c" 1>&6
    2572 echo "configure:2573: checking for working const" >&5
     2516echo "configure:2517: checking for working const" >&5
    25732517if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    25742518  echo $ac_n "(cached) $ac_c" 1>&6
    25752519else
    25762520  cat > conftest.$ac_ext <<EOF
    2577 #line 2578 "configure"
     2521#line 2522 "configure"
    25782522#include "confdefs.h"
    25792523
     
    26242568; return 0; }
    26252569EOF
    2626 if { (eval echo configure:2627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2570if { (eval echo configure:2571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26272571  rm -rf conftest*
    26282572  ac_cv_c_const=yes
     
    26452589
    26462590echo $ac_n "checking for inline""... $ac_c" 1>&6
    2647 echo "configure:2648: checking for inline" >&5
     2591echo "configure:2592: checking for inline" >&5
    26482592if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
    26492593  echo $ac_n "(cached) $ac_c" 1>&6
     
    26522596for ac_kw in inline __inline__ __inline; do
    26532597  cat > conftest.$ac_ext <<EOF
    2654 #line 2655 "configure"
     2598#line 2599 "configure"
    26552599#include "confdefs.h"
    26562600
     
    26592603; return 0; }
    26602604EOF
    2661 if { (eval echo configure:2662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2605if { (eval echo configure:2606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    26622606  rm -rf conftest*
    26632607  ac_cv_c_inline=$ac_kw; break
     
    26852629
    26862630echo $ac_n "checking for size_t""... $ac_c" 1>&6
    2687 echo "configure:2688: checking for size_t" >&5
     2631echo "configure:2632: checking for size_t" >&5
    26882632if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    26892633  echo $ac_n "(cached) $ac_c" 1>&6
    26902634else
    26912635  cat > conftest.$ac_ext <<EOF
    2692 #line 2693 "configure"
     2636#line 2637 "configure"
    26932637#include "confdefs.h"
    26942638#include <sys/types.h>
     
    27182662
    27192663echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
    2720 echo "configure:2721: checking whether time.h and sys/time.h may both be included" >&5
     2664echo "configure:2665: checking whether time.h and sys/time.h may both be included" >&5
    27212665if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    27222666  echo $ac_n "(cached) $ac_c" 1>&6
    27232667else
    27242668  cat > conftest.$ac_ext <<EOF
    2725 #line 2726 "configure"
     2669#line 2670 "configure"
    27262670#include "confdefs.h"
    27272671#include <sys/types.h>
     
    27322676; return 0; }
    27332677EOF
    2734 if { (eval echo configure:2735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2678if { (eval echo configure:2679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27352679  rm -rf conftest*
    27362680  ac_cv_header_time=yes
     
    27532697
    27542698echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
    2755 echo "configure:2756: checking whether struct tm is in sys/time.h or time.h" >&5
     2699echo "configure:2700: checking whether struct tm is in sys/time.h or time.h" >&5
    27562700if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
    27572701  echo $ac_n "(cached) $ac_c" 1>&6
    27582702else
    27592703  cat > conftest.$ac_ext <<EOF
    2760 #line 2761 "configure"
     2704#line 2705 "configure"
    27612705#include "confdefs.h"
    27622706#include <sys/types.h>
     
    27662710; return 0; }
    27672711EOF
    2768 if { (eval echo configure:2769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2712if { (eval echo configure:2713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    27692713  rm -rf conftest*
    27702714  ac_cv_struct_tm=time.h
     
    27902734# for constant arguments.  Useless!
    27912735echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
    2792 echo "configure:2793: checking for working alloca.h" >&5
     2736echo "configure:2737: checking for working alloca.h" >&5
    27932737if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
    27942738  echo $ac_n "(cached) $ac_c" 1>&6
    27952739else
    27962740  cat > conftest.$ac_ext <<EOF
    2797 #line 2798 "configure"
     2741#line 2742 "configure"
    27982742#include "confdefs.h"
    27992743#include <alloca.h>
     
    28022746; return 0; }
    28032747EOF
    2804 if { (eval echo configure:2805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2748if { (eval echo configure:2749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    28052749  rm -rf conftest*
    28062750  ac_cv_header_alloca_h=yes
     
    28232767
    28242768echo $ac_n "checking for alloca""... $ac_c" 1>&6
    2825 echo "configure:2826: checking for alloca" >&5
     2769echo "configure:2770: checking for alloca" >&5
    28262770if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
    28272771  echo $ac_n "(cached) $ac_c" 1>&6
    28282772else
    28292773  cat > conftest.$ac_ext <<EOF
    2830 #line 2831 "configure"
     2774#line 2775 "configure"
    28312775#include "confdefs.h"
    28322776
     
    28512795; return 0; }
    28522796EOF
    2853 if { (eval echo configure:2854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2797if { (eval echo configure:2798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    28542798  rm -rf conftest*
    28552799  ac_cv_func_alloca_works=yes
     
    28832827
    28842828echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
    2885 echo "configure:2886: checking whether alloca needs Cray hooks" >&5
     2829echo "configure:2830: checking whether alloca needs Cray hooks" >&5
    28862830if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
    28872831  echo $ac_n "(cached) $ac_c" 1>&6
    28882832else
    28892833  cat > conftest.$ac_ext <<EOF
    2890 #line 2891 "configure"
     2834#line 2835 "configure"
    28912835#include "confdefs.h"
    28922836#if defined(CRAY) && ! defined(CRAY2)
     
    29132857for ac_func in _getb67 GETB67 getb67; do
    29142858  echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2915 echo "configure:2916: checking for $ac_func" >&5
     2859echo "configure:2860: checking for $ac_func" >&5
    29162860if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    29172861  echo $ac_n "(cached) $ac_c" 1>&6
    29182862else
    29192863  cat > conftest.$ac_ext <<EOF
    2920 #line 2921 "configure"
     2864#line 2865 "configure"
    29212865#include "confdefs.h"
    29222866/* System header to define __stub macros and hopefully few prototypes,
     
    29412885; return 0; }
    29422886EOF
    2943 if { (eval echo configure:2944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     2887if { (eval echo configure:2888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    29442888  rm -rf conftest*
    29452889  eval "ac_cv_func_$ac_func=yes"
     
    29682912
    29692913echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
    2970 echo "configure:2971: checking stack direction for C alloca" >&5
     2914echo "configure:2915: checking stack direction for C alloca" >&5
    29712915if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
    29722916  echo $ac_n "(cached) $ac_c" 1>&6
     
    29762920else
    29772921  cat > conftest.$ac_ext <<EOF
    2978 #line 2979 "configure"
     2922#line 2923 "configure"
    29792923#include "confdefs.h"
    29802924find_stack_direction ()
     
    29952939}
    29962940EOF
    2997 if { (eval echo configure:2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     2941if { (eval echo configure:2942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    29982942then
    29992943  ac_cv_c_stack_direction=1
     
    30182962if test $ac_cv_prog_gcc = yes; then
    30192963    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    3020 echo "configure:3021: checking whether ${CC-cc} needs -traditional" >&5
     2964echo "configure:2965: checking whether ${CC-cc} needs -traditional" >&5
    30212965if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
    30222966  echo $ac_n "(cached) $ac_c" 1>&6
     
    30242968    ac_pattern="Autoconf.*'x'"
    30252969  cat > conftest.$ac_ext <<EOF
    3026 #line 3027 "configure"
     2970#line 2971 "configure"
    30272971#include "confdefs.h"
    30282972#include <sgtty.h>
     
    30422986  if test $ac_cv_prog_gcc_traditional = no; then
    30432987    cat > conftest.$ac_ext <<EOF
    3044 #line 3045 "configure"
     2988#line 2989 "configure"
    30452989#include "confdefs.h"
    30462990#include <termio.h>
     
    30673011ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    30683012echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    3069 echo "configure:3070: checking for $ac_hdr" >&5
     3013echo "configure:3014: checking for $ac_hdr" >&5
    30703014if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    30713015  echo $ac_n "(cached) $ac_c" 1>&6
    30723016else
    30733017  cat > conftest.$ac_ext <<EOF
    3074 #line 3075 "configure"
     3018#line 3019 "configure"
    30753019#include "confdefs.h"
    30763020#include <$ac_hdr>
    30773021EOF
    30783022ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3079 { (eval echo configure:3080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3023{ (eval echo configure:3024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    30803024ac_err=`grep -v '^ *+' conftest.out`
    30813025if test -z "$ac_err"; then
     
    31063050do
    31073051echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3108 echo "configure:3109: checking for $ac_func" >&5
     3052echo "configure:3053: checking for $ac_func" >&5
    31093053if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    31103054  echo $ac_n "(cached) $ac_c" 1>&6
    31113055else
    31123056  cat > conftest.$ac_ext <<EOF
    3113 #line 3114 "configure"
     3057#line 3058 "configure"
    31143058#include "confdefs.h"
    31153059/* System header to define __stub macros and hopefully few prototypes,
     
    31343078; return 0; }
    31353079EOF
    3136 if { (eval echo configure:3137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3080if { (eval echo configure:3081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    31373081  rm -rf conftest*
    31383082  eval "ac_cv_func_$ac_func=yes"
     
    31593103
    31603104echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    3161 echo "configure:3162: checking for working mmap" >&5
     3105echo "configure:3106: checking for working mmap" >&5
    31623106if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    31633107  echo $ac_n "(cached) $ac_c" 1>&6
     
    31673111else
    31683112  cat > conftest.$ac_ext <<EOF
    3169 #line 3170 "configure"
     3113#line 3114 "configure"
    31703114#include "confdefs.h"
    31713115
     
    33073251
    33083252EOF
    3309 if { (eval echo configure:3310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3253if { (eval echo configure:3254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    33103254then
    33113255  ac_cv_func_mmap_fixed_mapped=yes
     
    33303274
    33313275echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
    3332 echo "configure:3333: checking return type of signal handlers" >&5
     3276echo "configure:3277: checking return type of signal handlers" >&5
    33333277if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
    33343278  echo $ac_n "(cached) $ac_c" 1>&6
    33353279else
    33363280  cat > conftest.$ac_ext <<EOF
    3337 #line 3338 "configure"
     3281#line 3282 "configure"
    33383282#include "confdefs.h"
    33393283#include <sys/types.h>
     
    33523296; return 0; }
    33533297EOF
    3354 if { (eval echo configure:3355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3298if { (eval echo configure:3299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33553299  rm -rf conftest*
    33563300  ac_cv_type_signal=void
     
    33713315
    33723316echo $ac_n "checking for vprintf""... $ac_c" 1>&6
    3373 echo "configure:3374: checking for vprintf" >&5
     3317echo "configure:3318: checking for vprintf" >&5
    33743318if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
    33753319  echo $ac_n "(cached) $ac_c" 1>&6
    33763320else
    33773321  cat > conftest.$ac_ext <<EOF
    3378 #line 3379 "configure"
     3322#line 3323 "configure"
    33793323#include "confdefs.h"
    33803324/* System header to define __stub macros and hopefully few prototypes,
     
    33993343; return 0; }
    34003344EOF
    3401 if { (eval echo configure:3402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3345if { (eval echo configure:3346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    34023346  rm -rf conftest*
    34033347  eval "ac_cv_func_vprintf=yes"
     
    34233367if test "$ac_cv_func_vprintf" != yes; then
    34243368echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
    3425 echo "configure:3426: checking for _doprnt" >&5
     3369echo "configure:3370: checking for _doprnt" >&5
    34263370if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
    34273371  echo $ac_n "(cached) $ac_c" 1>&6
    34283372else
    34293373  cat > conftest.$ac_ext <<EOF
    3430 #line 3431 "configure"
     3374#line 3375 "configure"
    34313375#include "confdefs.h"
    34323376/* System header to define __stub macros and hopefully few prototypes,
     
    34513395; return 0; }
    34523396EOF
    3453 if { (eval echo configure:3454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3397if { (eval echo configure:3398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    34543398  rm -rf conftest*
    34553399  eval "ac_cv_func__doprnt=yes"
     
    34753419fi
    34763420
    3477 for ac_func in gettimeofday atexit bcopy getcwd getwd sbrk readlink
     3421for ac_func in gettimeofday atexit bcopy getcwd getwd sbrk readlink sleep
    34783422do
    34793423echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    3480 echo "configure:3481: checking for $ac_func" >&5
     3424echo "configure:3425: checking for $ac_func" >&5
    34813425if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    34823426  echo $ac_n "(cached) $ac_c" 1>&6
    34833427else
    34843428  cat > conftest.$ac_ext <<EOF
    3485 #line 3486 "configure"
     3429#line 3430 "configure"
    34863430#include "confdefs.h"
    34873431/* System header to define __stub macros and hopefully few prototypes,
     
    35063450; return 0; }
    35073451EOF
    3508 if { (eval echo configure:3509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     3452if { (eval echo configure:3453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    35093453  rm -rf conftest*
    35103454  eval "ac_cv_func_$ac_func=yes"
     
    35333477
    35343478echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6
    3535 echo "configure:3536: checking whether your machine has correct arithmetic shifts" >&5
     3479echo "configure:3480: checking whether your machine has correct arithmetic shifts" >&5
    35363480if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
    35373481  echo $ac_n "(cached) $ac_c" 1>&6
     
    35463490else
    35473491  cat > conftest.$ac_ext <<EOF
    3548 #line 3549 "configure"
     3492#line 3493 "configure"
    35493493#include "confdefs.h"
    35503494 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
    35513495EOF
    3552 if { (eval echo configure:3553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3496if { (eval echo configure:3497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    35533497then
    35543498  ac_cv_shift=yes
     
    35733517
    35743518echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6
    3575 echo "configure:3576: checking whether vsprintf returns number of printed chars" >&5
     3519echo "configure:3520: checking whether vsprintf returns number of printed chars" >&5
    35763520if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then
    35773521  echo $ac_n "(cached) $ac_c" 1>&6
     
    35813525else
    35823526  cat > conftest.$ac_ext <<EOF
    3583 #line 3584 "configure"
     3527#line 3528 "configure"
    35843528#include "confdefs.h"
    35853529#include <stdio.h>
    35863530 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); }
    35873531EOF
    3588 if { (eval echo configure:3589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3532if { (eval echo configure:3533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    35893533then
    35903534  ac_cv_returns_n_of_chars=yes
     
    36123556
    36133557echo $ac_n "checking size of char""... $ac_c" 1>&6
    3614 echo "configure:3615: checking size of char" >&5
     3558echo "configure:3559: checking size of char" >&5
    36153559if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    36163560  echo $ac_n "(cached) $ac_c" 1>&6
     
    36203564else
    36213565  cat > conftest.$ac_ext <<EOF
    3622 #line 3623 "configure"
     3566#line 3567 "configure"
    36233567#include "confdefs.h"
    36243568#include <stdio.h>
     
    36313575}
    36323576EOF
    3633 if { (eval echo configure:3634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3577if { (eval echo configure:3578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    36343578then
    36353579  ac_cv_sizeof_char=`cat conftestval`
     
    36513595
    36523596echo $ac_n "checking size of short""... $ac_c" 1>&6
    3653 echo "configure:3654: checking size of short" >&5
     3597echo "configure:3598: checking size of short" >&5
    36543598if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    36553599  echo $ac_n "(cached) $ac_c" 1>&6
     
    36593603else
    36603604  cat > conftest.$ac_ext <<EOF
    3661 #line 3662 "configure"
     3605#line 3606 "configure"
    36623606#include "confdefs.h"
    36633607#include <stdio.h>
     
    36703614}
    36713615EOF
    3672 if { (eval echo configure:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3616if { (eval echo configure:3617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    36733617then
    36743618  ac_cv_sizeof_short=`cat conftestval`
     
    36903634
    36913635echo $ac_n "checking size of int""... $ac_c" 1>&6
    3692 echo "configure:3693: checking size of int" >&5
     3636echo "configure:3637: checking size of int" >&5
    36933637if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    36943638  echo $ac_n "(cached) $ac_c" 1>&6
     
    36983642else
    36993643  cat > conftest.$ac_ext <<EOF
    3700 #line 3701 "configure"
     3644#line 3645 "configure"
    37013645#include "confdefs.h"
    37023646#include <stdio.h>
     
    37093653}
    37103654EOF
    3711 if { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3655if { (eval echo configure:3656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    37123656then
    37133657  ac_cv_sizeof_int=`cat conftestval`
     
    37293673
    37303674echo $ac_n "checking size of long""... $ac_c" 1>&6
    3731 echo "configure:3732: checking size of long" >&5
     3675echo "configure:3676: checking size of long" >&5
    37323676if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    37333677  echo $ac_n "(cached) $ac_c" 1>&6
     
    37373681else
    37383682  cat > conftest.$ac_ext <<EOF
    3739 #line 3740 "configure"
     3683#line 3684 "configure"
    37403684#include "confdefs.h"
    37413685#include <stdio.h>
     
    37483692}
    37493693EOF
    3750 if { (eval echo configure:3751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3694if { (eval echo configure:3695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    37513695then
    37523696  ac_cv_sizeof_long=`cat conftestval`
     
    37683712
    37693713echo $ac_n "checking size of void*""... $ac_c" 1>&6
    3770 echo "configure:3771: checking size of void*" >&5
     3714echo "configure:3715: checking size of void*" >&5
    37713715if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then
    37723716  echo $ac_n "(cached) $ac_c" 1>&6
     
    37763720else
    37773721  cat > conftest.$ac_ext <<EOF
    3778 #line 3779 "configure"
     3722#line 3723 "configure"
    37793723#include "confdefs.h"
    37803724#include <stdio.h>
     
    37873731}
    37883732EOF
    3789 if { (eval echo configure:3790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3733if { (eval echo configure:3734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    37903734then
    37913735  ac_cv_sizeof_voidp=`cat conftestval`
     
    38073751
    38083752echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    3809 echo "configure:3810: checking whether byte ordering is bigendian" >&5
     3753echo "configure:3754: checking whether byte ordering is bigendian" >&5
    38103754if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    38113755  echo $ac_n "(cached) $ac_c" 1>&6
     
    38143758# See if sys/param.h defines the BYTE_ORDER macro.
    38153759cat > conftest.$ac_ext <<EOF
    3816 #line 3817 "configure"
     3760#line 3761 "configure"
    38173761#include "confdefs.h"
    38183762#include <sys/types.h>
     
    38253769; return 0; }
    38263770EOF
    3827 if { (eval echo configure:3828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3771if { (eval echo configure:3772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    38283772  rm -rf conftest*
    38293773  # It does; now see whether it defined to BIG_ENDIAN or not.
    38303774cat > conftest.$ac_ext <<EOF
    3831 #line 3832 "configure"
     3775#line 3776 "configure"
    38323776#include "confdefs.h"
    38333777#include <sys/types.h>
     
    38403784; return 0; }
    38413785EOF
    3842 if { (eval echo configure:3843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3786if { (eval echo configure:3787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    38433787  rm -rf conftest*
    38443788  ac_cv_c_bigendian=yes
     
    38603804else
    38613805  cat > conftest.$ac_ext <<EOF
    3862 #line 3863 "configure"
     3806#line 3807 "configure"
    38633807#include "confdefs.h"
    38643808main () {
     
    38733817}
    38743818EOF
    3875 if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3819if { (eval echo configure:3820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
    38763820then
    38773821  ac_cv_c_bigendian=no
     
    39063850
    39073851echo $ac_n "checking which exponent types to use""... $ac_c" 1>&6
    3908 echo "configure:3909: checking which exponent types to use" >&5
     3852echo "configure:3853: checking which exponent types to use" >&5
    39093853if test "$with_exp_type" = "char"; then
    39103854  echo "$ac_t""char" 1>&6
     
    39403884
    39413885echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6
    3942 echo "configure:3943: checking whether _AIX is defined" >&5
     3886echo "configure:3887: checking whether _AIX is defined" >&5
    39433887if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then
    39443888  echo $ac_n "(cached) $ac_c" 1>&6
    39453889else
    39463890  cat > conftest.$ac_ext <<EOF
    3947 #line 3948 "configure"
     3891#line 3892 "configure"
    39483892#include "confdefs.h"
    39493893#ifdef _AIX
  • Singular/configure.in

    r96b804 r3bb3e6a  
    395395
    396396AC_HEADER_STDC
    397 AC_HEADER_STAT
    398397AC_CHECK_HEADERS(limits.h unistd.h,,
    399398  AC_MSG_ERROR(Can not compile without limits.h unistd.h))
     
    430429AC_TYPE_SIGNAL
    431430AC_FUNC_VPRINTF
    432 AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd sbrk readlink)
     431AC_CHECK_FUNCS(gettimeofday atexit bcopy getcwd getwd sbrk readlink sleep)
    433432
    434433dnl
  • Singular/iparith.cc

    r96b804 r3bb3e6a  
    267267  { "sres",        0, SRES_CMD ,          CMD_2},
    268268  #endif
    269   { "status",      0, STATUS_CMD,         CMD_23},
     269  { "status",      0, STATUS_CMD,         CMD_M},
    270270  { "std",         0, STD_CMD ,           CMD_12},
    271271  { "string",      0, STRING_CMD ,        ROOT_DECL_LIST},
     
    39563956  return b;
    39573957}
     3958static 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 
    39583970static BOOLEAN jjCOEF_M(leftv res, leftv v)
    39593971{
     
    42984310  return FALSE;
    42994311}
     4312
     4313static 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     
    43004332/*=================== operations with many arg.: table =================*/
    43014333/* number_of_args:  -1: any, -2: any >0, .. */
     
    43264358,{jjTEST,      TEST_CMD,        NONE,               -2 }
    43274359,{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 }
    43284363,{NULL,        0,               0,                  0  }
    43294364};
  • Singular/mod2.h.in

    r96b804 r3bb3e6a  
    6767/* Define if sprintf does not return number of printed chars */
    6868#undef BSD_SPRINTF
    69 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
    70 #undef STAT_MACROS_BROKEN
    7169/* Define if you have the getcwd function.  */
    7270#undef HAVE_GETCWD
     
    7775/* Define if you have readlink */
    7876#undef HAVE_READLINK
     77/* Define if you have sleep */
     78#undef HAVE_SLEEP
    7979/* Define sizeof(char) */
    8080#define SIZEOF_CHAR 1
Note: See TracChangeset for help on using the changeset viewer.