Changeset 1bc850 in git
- Timestamp:
- Jul 8, 2009, 12:35:10 PM (14 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '7725b5cfc1eaf99630826ecc59f559d3b6831c24')
- Children:
- 6c359fedc4e4c176b05276f1ca51b65294a14b31
- Parents:
- 4d10648d5056326751bd51ace1aada9cd81a993f
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r4d1064 r1bc850 3672 3672 3673 3673 # arithmetic shifts 3674 echo $ac_n "checking whether your machine has correct arithmetic shifts""... $ac_c" 1>&6 3675 echo "configure:3676: checking whether your machine has correct arithmetic shifts" >&5 3676 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 3677 echo $ac_n "(cached) $ac_c" 1>&6 3678 else 3679 if test "$cross_compiling" = yes; then 3680 if test "$ac_c_cross_dos" = yes; then 3681 ac_cv_shift=yes; 3682 else 3683 echo "$ac_t""no" 1>&6 3684 { echo "configure: error: cross compilation without default value" 1>&2; exit 1; } 3685 fi 3686 else 3687 cat > conftest.$ac_ext <<EOF 3688 #line 3689 "configure" 3689 #include "confdefs.h" 3690 int main() { if (-2 >> 1 == -1) return(0); else return(1); } 3691 EOF 3692 if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3693 then 3694 ac_cv_shift=yes 3695 else 3696 echo "configure: failed program was:" >&5 3697 cat conftest.$ac_ext >&5 3698 rm -fr conftest* 3699 ac_cv_shift=no 3700 fi 3701 rm -fr conftest* 3702 fi 3703 3704 fi 3705 3706 3707 if test "$ac_cv_shift" = yes; then 3708 echo "$ac_t""yes" 1>&6 3709 else 3710 echo "$ac_t""no" 1>&6 3711 { echo "configure: error: need -2 >> 1 == -1" 1>&2; exit 1; } 3712 fi 3674 #AC_MSG_CHECKING(whether your machine has correct arithmetic shifts) 3675 #AC_CACHE_VAL(ac_cv_shift, AC_TRY_RUN( 3676 # [ int main() { if (-2 >> 1 == -1) return(0); else return(1); } ], 3677 # ac_cv_shift=yes, 3678 # ac_cv_shift=no, 3679 # if test "$ac_c_cross_dos" = yes; then 3680 # ac_cv_shift=yes; 3681 # else 3682 # AC_MSG_RESULT(no) 3683 # AC_MSG_ERROR(cross compilation without default value) 3684 # fi)) 3685 # 3686 #if test "$ac_cv_shift" = yes; then 3687 # AC_MSG_RESULT(yes) 3688 #else 3689 # AC_MSG_RESULT(no) 3690 # AC_MSG_ERROR(need -2 >> 1 == -1) 3691 #fi 3713 3692 3714 3693 3715 3694 # check for a peculiar constructor initialization 3716 3695 echo $ac_n "checking whether explicit C++ constructor calls are allowed""... $ac_c" 1>&6 3717 echo "configure:3 718: checking whether explicit C++ constructor calls are allowed" >&53696 echo "configure:3697: checking whether explicit C++ constructor calls are allowed" >&5 3718 3697 3719 3698 ac_ext=C … … 3728 3707 else 3729 3708 cat > conftest.$ac_ext <<EOF 3730 #line 37 31"configure"3709 #line 3710 "configure" 3731 3710 #include "confdefs.h" 3732 3711 … … 3746 3725 ; return 0; } 3747 3726 EOF 3748 if { (eval echo configure:37 49: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then3727 if { (eval echo configure:3728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 3749 3728 rm -rf conftest* 3750 3729 ac_cv_explicit_const=yes … … 3775 3754 # sprintf returns number of printed chars 3776 3755 echo $ac_n "checking whether vsprintf returns number of printed chars""... $ac_c" 1>&6 3777 echo "configure:37 78: checking whether vsprintf returns number of printed chars" >&53756 echo "configure:3757: checking whether vsprintf returns number of printed chars" >&5 3778 3757 if eval "test \"`echo '$''{'ac_cv_returns_n_of_chars'+set}'`\" = set"; then 3779 3758 echo $ac_n "(cached) $ac_c" 1>&6 … … 3783 3762 else 3784 3763 cat > conftest.$ac_ext <<EOF 3785 #line 37 86"configure"3764 #line 3765 "configure" 3786 3765 #include "confdefs.h" 3787 3766 #include <stdio.h> 3788 3767 main() { char *str=(char*)malloc(20); if (((int) sprintf(str,"123456789")) == 9) exit(0); else exit(1); } 3789 3768 EOF 3790 if { (eval echo configure:37 91: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3769 if { (eval echo configure:3770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3791 3770 then 3792 3771 ac_cv_returns_n_of_chars=yes … … 3814 3793 # determine ALIGN_8 3815 3794 echo $ac_n "checking size of char""... $ac_c" 1>&6 3816 echo "configure:3 817: checking size of char" >&53795 echo "configure:3796: checking size of char" >&5 3817 3796 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 3818 3797 echo $ac_n "(cached) $ac_c" 1>&6 … … 3822 3801 else 3823 3802 cat > conftest.$ac_ext <<EOF 3824 #line 38 25"configure"3803 #line 3804 "configure" 3825 3804 #include "confdefs.h" 3826 3805 #include <stdio.h> … … 3833 3812 } 3834 3813 EOF 3835 if { (eval echo configure:38 36: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3814 if { (eval echo configure:3815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3836 3815 then 3837 3816 ac_cv_sizeof_char=`cat conftestval` … … 3853 3832 3854 3833 echo $ac_n "checking size of short""... $ac_c" 1>&6 3855 echo "configure:38 56: checking size of short" >&53834 echo "configure:3835: checking size of short" >&5 3856 3835 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 3857 3836 echo $ac_n "(cached) $ac_c" 1>&6 … … 3861 3840 else 3862 3841 cat > conftest.$ac_ext <<EOF 3863 #line 38 64"configure"3842 #line 3843 "configure" 3864 3843 #include "confdefs.h" 3865 3844 #include <stdio.h> … … 3872 3851 } 3873 3852 EOF 3874 if { (eval echo configure:38 75: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3853 if { (eval echo configure:3854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3875 3854 then 3876 3855 ac_cv_sizeof_short=`cat conftestval` … … 3892 3871 3893 3872 echo $ac_n "checking size of int""... $ac_c" 1>&6 3894 echo "configure:38 95: checking size of int" >&53873 echo "configure:3874: checking size of int" >&5 3895 3874 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 3896 3875 echo $ac_n "(cached) $ac_c" 1>&6 … … 3900 3879 else 3901 3880 cat > conftest.$ac_ext <<EOF 3902 #line 3 903"configure"3881 #line 3882 "configure" 3903 3882 #include "confdefs.h" 3904 3883 #include <stdio.h> … … 3911 3890 } 3912 3891 EOF 3913 if { (eval echo configure:3 914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3892 if { (eval echo configure:3893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3914 3893 then 3915 3894 ac_cv_sizeof_int=`cat conftestval` … … 3931 3910 3932 3911 echo $ac_n "checking size of long""... $ac_c" 1>&6 3933 echo "configure:39 34: checking size of long" >&53912 echo "configure:3913: checking size of long" >&5 3934 3913 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 3935 3914 echo $ac_n "(cached) $ac_c" 1>&6 … … 3939 3918 else 3940 3919 cat > conftest.$ac_ext <<EOF 3941 #line 39 42"configure"3920 #line 3921 "configure" 3942 3921 #include "confdefs.h" 3943 3922 #include <stdio.h> … … 3950 3929 } 3951 3930 EOF 3952 if { (eval echo configure:39 53: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3931 if { (eval echo configure:3932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3953 3932 then 3954 3933 ac_cv_sizeof_long=`cat conftestval` … … 3970 3949 3971 3950 echo $ac_n "checking size of void*""... $ac_c" 1>&6 3972 echo "configure:39 73: checking size of void*" >&53951 echo "configure:3952: checking size of void*" >&5 3973 3952 if eval "test \"`echo '$''{'ac_cv_sizeof_voidp'+set}'`\" = set"; then 3974 3953 echo $ac_n "(cached) $ac_c" 1>&6 … … 3978 3957 else 3979 3958 cat > conftest.$ac_ext <<EOF 3980 #line 39 81"configure"3959 #line 3960 "configure" 3981 3960 #include "confdefs.h" 3982 3961 #include <stdio.h> … … 3989 3968 } 3990 3969 EOF 3991 if { (eval echo configure:39 92: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null3970 if { (eval echo configure:3971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 3992 3971 then 3993 3972 ac_cv_sizeof_voidp=`cat conftestval` … … 4009 3988 4010 3989 echo $ac_n "checking size of double""... $ac_c" 1>&6 4011 echo "configure: 4012: checking size of double" >&53990 echo "configure:3991: checking size of double" >&5 4012 3991 if eval "test \"`echo '$''{'ac_cv_sizeof_double'+set}'`\" = set"; then 4013 3992 echo $ac_n "(cached) $ac_c" 1>&6 … … 4017 3996 else 4018 3997 cat > conftest.$ac_ext <<EOF 4019 #line 4020"configure"3998 #line 3999 "configure" 4020 3999 #include "confdefs.h" 4021 4000 #include <stdio.h> … … 4028 4007 } 4029 4008 EOF 4030 if { (eval echo configure:40 31: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4009 if { (eval echo configure:4010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4031 4010 then 4032 4011 ac_cv_sizeof_double=`cat conftestval` … … 4048 4027 4049 4028 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 4050 echo "configure:40 51: checking whether byte ordering is bigendian" >&54029 echo "configure:4030: checking whether byte ordering is bigendian" >&5 4051 4030 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 4052 4031 echo $ac_n "(cached) $ac_c" 1>&6 … … 4055 4034 # See if sys/param.h defines the BYTE_ORDER macro. 4056 4035 cat > conftest.$ac_ext <<EOF 4057 #line 40 58"configure"4036 #line 4037 "configure" 4058 4037 #include "confdefs.h" 4059 4038 #include <sys/types.h> … … 4066 4045 ; return 0; } 4067 4046 EOF 4068 if { (eval echo configure:40 69: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4047 if { (eval echo configure:4048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4069 4048 rm -rf conftest* 4070 4049 # It does; now see whether it defined to BIG_ENDIAN or not. 4071 4050 cat > conftest.$ac_ext <<EOF 4072 #line 40 73"configure"4051 #line 4052 "configure" 4073 4052 #include "confdefs.h" 4074 4053 #include <sys/types.h> … … 4081 4060 ; return 0; } 4082 4061 EOF 4083 if { (eval echo configure:40 84: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then4062 if { (eval echo configure:4063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 4084 4063 rm -rf conftest* 4085 4064 ac_cv_c_bigendian=yes … … 4101 4080 else 4102 4081 cat > conftest.$ac_ext <<EOF 4103 #line 4 104"configure"4082 #line 4083 "configure" 4104 4083 #include "confdefs.h" 4105 4084 main () { … … 4114 4093 } 4115 4094 EOF 4116 if { (eval echo configure:4 117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null4095 if { (eval echo configure:4096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 4117 4096 then 4118 4097 ac_cv_c_bigendian=no … … 4268 4247 4269 4248 echo $ac_n "checking whether to use dynamic linking""... $ac_c" 1>&6 4270 echo "configure:42 71: checking whether to use dynamic linking" >&54249 echo "configure:4250: checking whether to use dynamic linking" >&5 4271 4250 if test "$with_dl" != no && test "$ac_lib_dl" = yes; then 4272 4251 cat >> confdefs.h <<\EOF … … 4281 4260 4282 4261 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 4283 echo "configure:42 84: checking for tgetent in -lncurses" >&54262 echo "configure:4263: checking for tgetent in -lncurses" >&5 4284 4263 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 4285 4264 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4289 4268 LIBS="-lncurses $LIBS" 4290 4269 cat > conftest.$ac_ext <<EOF 4291 #line 42 92"configure"4270 #line 4271 "configure" 4292 4271 #include "confdefs.h" 4293 4272 /* Override any gcc2 internal prototype to avoid an error. */ … … 4300 4279 ; return 0; } 4301 4280 EOF 4302 if { (eval echo configure:4 303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4281 if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4303 4282 rm -rf conftest* 4304 4283 eval "ac_cv_lib_$ac_lib_var=yes" … … 4327 4306 \ 4328 4307 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 4329 echo "configure:43 30: checking for tgetent in -lcurses" >&54308 echo "configure:4309: checking for tgetent in -lcurses" >&5 4330 4309 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 4331 4310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4335 4314 LIBS="-lcurses $LIBS" 4336 4315 cat > conftest.$ac_ext <<EOF 4337 #line 43 38"configure"4316 #line 4317 "configure" 4338 4317 #include "confdefs.h" 4339 4318 /* Override any gcc2 internal prototype to avoid an error. */ … … 4346 4325 ; return 0; } 4347 4326 EOF 4348 if { (eval echo configure:43 49: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4327 if { (eval echo configure:4328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4349 4328 rm -rf conftest* 4350 4329 eval "ac_cv_lib_$ac_lib_var=yes" … … 4373 4352 \ 4374 4353 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 4375 echo "configure:43 76: checking for tgetent in -ltermcap" >&54354 echo "configure:4355: checking for tgetent in -ltermcap" >&5 4376 4355 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 4377 4356 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4381 4360 LIBS="-ltermcap $LIBS" 4382 4361 cat > conftest.$ac_ext <<EOF 4383 #line 43 84"configure"4362 #line 4363 "configure" 4384 4363 #include "confdefs.h" 4385 4364 /* Override any gcc2 internal prototype to avoid an error. */ … … 4392 4371 ; return 0; } 4393 4372 EOF 4394 if { (eval echo configure:43 95: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4373 if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4395 4374 rm -rf conftest* 4396 4375 eval "ac_cv_lib_$ac_lib_var=yes" … … 4441 4420 4442 4421 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 4443 echo "configure:44 44: checking for rl_abort in -lreadline" >&54422 echo "configure:4423: checking for rl_abort in -lreadline" >&5 4444 4423 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 4445 4424 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4449 4428 LIBS="-lreadline $LIBS" 4450 4429 cat > conftest.$ac_ext <<EOF 4451 #line 44 52"configure"4430 #line 4431 "configure" 4452 4431 #include "confdefs.h" 4453 4432 /* Override any gcc2 internal prototype to avoid an error. */ … … 4463 4442 ; return 0; } 4464 4443 EOF 4465 if { (eval echo configure:44 66: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4444 if { (eval echo configure:4445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4466 4445 rm -rf conftest* 4467 4446 eval "ac_cv_lib_$ac_lib_var=yes" … … 4491 4470 4492 4471 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 4493 echo "configure:44 94: checking how to run the C++ preprocessor" >&54472 echo "configure:4473: checking how to run the C++ preprocessor" >&5 4494 4473 if test -z "$CXXCPP"; then 4495 4474 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then … … 4504 4483 CXXCPP="${CXX-g++} -E" 4505 4484 cat > conftest.$ac_ext <<EOF 4506 #line 4 507"configure"4485 #line 4486 "configure" 4507 4486 #include "confdefs.h" 4508 4487 #include <stdlib.h> 4509 4488 EOF 4510 4489 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4511 { (eval echo configure:4 512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4490 { (eval echo configure:4491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4512 4491 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4513 4492 if test -z "$ac_err"; then … … 4537 4516 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4538 4517 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4539 echo "configure:45 40: checking for $ac_hdr" >&54518 echo "configure:4519: checking for $ac_hdr" >&5 4540 4519 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4541 4520 echo $ac_n "(cached) $ac_c" 1>&6 4542 4521 else 4543 4522 cat > conftest.$ac_ext <<EOF 4544 #line 45 45"configure"4523 #line 4524 "configure" 4545 4524 #include "confdefs.h" 4546 4525 #include <$ac_hdr> 4547 4526 EOF 4548 4527 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4549 { (eval echo configure:45 50: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4528 { (eval echo configure:4529: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4550 4529 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 4551 4530 if test -z "$ac_err"; then … … 4576 4555 test "$ac_cv_header_readline_readline_h" = yes; then 4577 4556 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 4578 echo "configure:45 79: checking whether readline.h is ok" >&54557 echo "configure:4558: checking whether readline.h is ok" >&5 4579 4558 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 4580 4559 echo $ac_n "(cached) $ac_c" 1>&6 4581 4560 else 4582 4561 cat > conftest.$ac_ext <<EOF 4583 #line 45 84"configure"4562 #line 4563 "configure" 4584 4563 #include "confdefs.h" 4585 4564 #include<unistd.h> … … 4594 4573 ; return 0; } 4595 4574 EOF 4596 if { (eval echo configure:45 97: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4575 if { (eval echo configure:4576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4597 4576 rm -rf conftest* 4598 4577 ac_cv_header_readline_readline_h_ok="yes" … … 4610 4589 #not ok -- try once more with explicitly declaring everything 4611 4590 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 4612 echo "configure:4 613: checking whether or not we nevertheless can use readline" >&54591 echo "configure:4592: checking whether or not we nevertheless can use readline" >&5 4613 4592 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 4614 4593 echo $ac_n "(cached) $ac_c" 1>&6 4615 4594 else 4616 4595 cat > conftest.$ac_ext <<EOF 4617 #line 4 618"configure"4596 #line 4597 "configure" 4618 4597 #include "confdefs.h" 4619 4598 #include <stdio.h> … … 4649 4628 ; return 0; } 4650 4629 EOF 4651 if { (eval echo configure:46 52: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4630 if { (eval echo configure:4631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4652 4631 rm -rf conftest* 4653 4632 ac_cv_have_readline="yes" … … 4688 4667 4689 4668 echo $ac_n "checking which readline to use""... $ac_c" 1>&6 4690 echo "configure:46 91: checking which readline to use" >&54669 echo "configure:4670: checking which readline to use" >&5 4691 4670 if test "$ac_cv_with_readline" = dynamic; then 4692 4671 echo "$ac_t""dynamic" 1>&6 … … 4708 4687 # gmp, MP, MPT, factory, libfac 4709 4688 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 4710 echo "configure:4 711: checking for main in -lgmp" >&54689 echo "configure:4690: checking for main in -lgmp" >&5 4711 4690 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 4712 4691 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4716 4695 LIBS="-lgmp $LIBS" 4717 4696 cat > conftest.$ac_ext <<EOF 4718 #line 4 719"configure"4697 #line 4698 "configure" 4719 4698 #include "confdefs.h" 4720 4699 … … 4723 4702 ; return 0; } 4724 4703 EOF 4725 if { (eval echo configure:47 26: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4704 if { (eval echo configure:4705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4726 4705 rm -rf conftest* 4727 4706 eval "ac_cv_lib_$ac_lib_var=yes" … … 4752 4731 SAVE_LIBS=$LIBS 4753 4732 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4754 echo "configure:47 55: checking for IMP_PutGmpInt in -lMP" >&54733 echo "configure:4734: checking for IMP_PutGmpInt in -lMP" >&5 4755 4734 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4756 4735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4760 4739 LIBS="-lMP $MP_LIBS $LIBS" 4761 4740 cat > conftest.$ac_ext <<EOF 4762 #line 47 63"configure"4741 #line 4742 "configure" 4763 4742 #include "confdefs.h" 4764 4743 /* Override any gcc2 internal prototype to avoid an error. */ … … 4771 4750 ; return 0; } 4772 4751 EOF 4773 if { (eval echo configure:47 74: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4752 if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4774 4753 rm -rf conftest* 4775 4754 eval "ac_cv_lib_$ac_lib_var=yes" … … 4799 4778 4800 4779 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4801 echo "configure:4 802: checking for MPT_GetTree in -lMPT" >&54780 echo "configure:4781: checking for MPT_GetTree in -lMPT" >&5 4802 4781 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4803 4782 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4807 4786 LIBS="-lMPT $MP_LIBS $LIBS" 4808 4787 cat > conftest.$ac_ext <<EOF 4809 #line 4 810"configure"4788 #line 4789 "configure" 4810 4789 #include "confdefs.h" 4811 4790 /* Override any gcc2 internal prototype to avoid an error. */ … … 4818 4797 ; return 0; } 4819 4798 EOF 4820 if { (eval echo configure:48 21: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4799 if { (eval echo configure:4800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4821 4800 rm -rf conftest* 4822 4801 eval "ac_cv_lib_$ac_lib_var=yes" … … 4847 4826 LIBS=$SAVE_LIBS 4848 4827 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4849 echo "configure:48 50: checking for atof in -lsingcf" >&54828 echo "configure:4829: checking for atof in -lsingcf" >&5 4850 4829 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4851 4830 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4855 4834 LIBS="-lsingcf $LIBS" 4856 4835 cat > conftest.$ac_ext <<EOF 4857 #line 48 58"configure"4836 #line 4837 "configure" 4858 4837 #include "confdefs.h" 4859 4838 /* Override any gcc2 internal prototype to avoid an error. */ … … 4866 4845 ; return 0; } 4867 4846 EOF 4868 if { (eval echo configure:48 69: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4847 if { (eval echo configure:4848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4869 4848 rm -rf conftest* 4870 4849 eval "ac_cv_lib_$ac_lib_var=yes" … … 4894 4873 4895 4874 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4896 echo "configure:48 97: checking for atof in -lsingfac" >&54875 echo "configure:4876: checking for atof in -lsingfac" >&5 4897 4876 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4898 4877 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4902 4881 LIBS="-lsingfac $LIBS" 4903 4882 cat > conftest.$ac_ext <<EOF 4904 #line 4 905"configure"4883 #line 4884 "configure" 4905 4884 #include "confdefs.h" 4906 4885 /* Override any gcc2 internal prototype to avoid an error. */ … … 4913 4892 ; return 0; } 4914 4893 EOF 4915 if { (eval echo configure:4 916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4894 if { (eval echo configure:4895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4916 4895 rm -rf conftest* 4917 4896 eval "ac_cv_lib_$ac_lib_var=yes" … … 4941 4920 4942 4921 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 4943 echo "configure:49 44: checking for omTestAddr in -lomalloc" >&54922 echo "configure:4923: checking for omTestAddr in -lomalloc" >&5 4944 4923 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 4945 4924 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4949 4928 LIBS="-lomalloc $LIBS" 4950 4929 cat > conftest.$ac_ext <<EOF 4951 #line 49 52"configure"4930 #line 4931 "configure" 4952 4931 #include "confdefs.h" 4953 4932 /* Override any gcc2 internal prototype to avoid an error. */ … … 4960 4939 ; return 0; } 4961 4940 EOF 4962 if { (eval echo configure:49 63: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4941 if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 4963 4942 rm -rf conftest* 4964 4943 eval "ac_cv_lib_$ac_lib_var=yes" … … 4988 4967 4989 4968 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 4990 echo "configure:49 91: checking for main in -lomalloc_ndebug" >&54969 echo "configure:4970: checking for main in -lomalloc_ndebug" >&5 4991 4970 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 4992 4971 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4996 4975 LIBS="-lomalloc_ndebug $LIBS" 4997 4976 cat > conftest.$ac_ext <<EOF 4998 #line 49 99"configure"4977 #line 4978 "configure" 4999 4978 #include "confdefs.h" 5000 4979 … … 5003 4982 ; return 0; } 5004 4983 EOF 5005 if { (eval echo configure: 5006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then4984 if { (eval echo configure:4985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5006 4985 rm -rf conftest* 5007 4986 eval "ac_cv_lib_$ac_lib_var=yes" … … 5031 5010 5032 5011 echo $ac_n "checking for main in -lntl""... $ac_c" 1>&6 5033 echo "configure:50 34: checking for main in -lntl" >&55012 echo "configure:5013: checking for main in -lntl" >&5 5034 5013 ac_lib_var=`echo ntl'_'main | sed 'y%./+-%__p_%'` 5035 5014 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5039 5018 LIBS="-lntl $LIBS" 5040 5019 cat > conftest.$ac_ext <<EOF 5041 #line 50 42"configure"5020 #line 5021 "configure" 5042 5021 #include "confdefs.h" 5043 5022 … … 5046 5025 ; return 0; } 5047 5026 EOF 5048 if { (eval echo configure:50 49: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5027 if { (eval echo configure:5028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5049 5028 rm -rf conftest* 5050 5029 eval "ac_cv_lib_$ac_lib_var=yes" … … 5079 5058 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5080 5059 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5081 echo "configure:50 82: checking for $ac_hdr" >&55060 echo "configure:5061: checking for $ac_hdr" >&5 5082 5061 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5083 5062 echo $ac_n "(cached) $ac_c" 1>&6 5084 5063 else 5085 5064 cat > conftest.$ac_ext <<EOF 5086 #line 50 87"configure"5065 #line 5066 "configure" 5087 5066 #include "confdefs.h" 5088 5067 #include <$ac_hdr> 5089 5068 EOF 5090 5069 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5091 { (eval echo configure:50 92: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5070 { (eval echo configure:5071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5092 5071 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5093 5072 if test -z "$ac_err"; then … … 5117 5096 5118 5097 echo $ac_n "checking whether to use Boost""... $ac_c" 1>&6 5119 echo "configure:5 120: checking whether to use Boost" >&55098 echo "configure:5099: checking whether to use Boost" >&5 5120 5099 if test "$with_Boost" != no; then 5121 5100 echo "$ac_t""yes" 1>&6 … … 5132 5111 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 5133 5112 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 5134 echo "configure:51 35: checking for $ac_hdr" >&55113 echo "configure:5114: checking for $ac_hdr" >&5 5135 5114 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 5136 5115 echo $ac_n "(cached) $ac_c" 1>&6 5137 5116 else 5138 5117 cat > conftest.$ac_ext <<EOF 5139 #line 51 40"configure"5118 #line 5119 "configure" 5140 5119 #include "confdefs.h" 5141 5120 #include <$ac_hdr> 5142 5121 EOF 5143 5122 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 5144 { (eval echo configure:51 45: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }5123 { (eval echo configure:5124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 5145 5124 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 5146 5125 if test -z "$ac_err"; then … … 5178 5157 echo "$ac_t""no" 1>&6 5179 5158 echo $ac_n "checking whether to use std::vector""... $ac_c" 1>&6 5180 echo "configure:51 81: checking whether to use std::vector" >&55159 echo "configure:5160: checking whether to use std::vector" >&5 5181 5160 if test "$with_stdvec" != yes; then 5182 5161 echo "$ac_t""no" 1>&6 … … 5227 5206 SAVE_LIBS=$LIBS 5228 5207 echo $ac_n "checking for __stack_chk_fail_local in -lc_nonshared""... $ac_c" 1>&6 5229 echo "configure:52 30: checking for __stack_chk_fail_local in -lc_nonshared" >&55208 echo "configure:5209: checking for __stack_chk_fail_local in -lc_nonshared" >&5 5230 5209 ac_lib_var=`echo c_nonshared'_'__stack_chk_fail_local | sed 'y%./+-%__p_%'` 5231 5210 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 5235 5214 LIBS="-lc_nonshared $LIBS" 5236 5215 cat > conftest.$ac_ext <<EOF 5237 #line 52 38"configure"5216 #line 5217 "configure" 5238 5217 #include "confdefs.h" 5239 5218 /* Override any gcc2 internal prototype to avoid an error. */ … … 5246 5225 ; return 0; } 5247 5226 EOF 5248 if { (eval echo configure:52 49: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then5227 if { (eval echo configure:5228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 5249 5228 rm -rf conftest* 5250 5229 eval "ac_cv_lib_$ac_lib_var=yes" … … 5276 5255 5277 5256 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 5278 echo "configure:52 79: checking which apint package to use" >&55257 echo "configure:5258: checking which apint package to use" >&5 5279 5258 if test "${with_apint}" != gmp; then 5280 5259 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 5298 5277 5299 5278 echo $ac_n "checking whether to use libsvd""... $ac_c" 1>&6 5300 echo "configure:5 301: checking whether to use libsvd" >&55279 echo "configure:5280: checking whether to use libsvd" >&5 5301 5280 if test "$with_svd" = yes; then 5302 5281 echo "$ac_t""yes" 1>&6 … … 5313 5292 # 5314 5293 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 5315 echo "configure:5 316: checking whether to have MP" >&55294 echo "configure:5295: checking whether to have MP" >&5 5316 5295 if test "${with_MP}" != yes && test "${with_MP}" != no; then 5317 5296 if (test "${will_have_gmp}" = yes) && \ … … 5348 5327 5349 5328 echo $ac_n "checking whether to have NTL""... $ac_c" 1>&6 5350 echo "configure:53 51: checking whether to have NTL" >&55329 echo "configure:5330: checking whether to have NTL" >&5 5351 5330 if test "${with_NTL}" = yes ; then 5352 5331 echo "$ac_t""yes" 1>&6 … … 5357 5336 5358 5337 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 5359 echo "configure:53 60: checking whether to have factory" >&55338 echo "configure:5339: checking whether to have factory" >&5 5360 5339 if test "${with_factory}" != yes && test "${with_factory}" != no; then 5361 5340 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 5388 5367 5389 5368 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 5390 echo "configure:53 91: checking whether to have libfac" >&55369 echo "configure:5370: checking whether to have libfac" >&5 5391 5370 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 5392 5371 if (test "${will_have_factory}" = yes) && \ … … 5430 5409 5431 5410 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 5432 echo "configure:54 33: checking whether to have dbm links" >&55411 echo "configure:5412: checking whether to have dbm links" >&5 5433 5412 if test "$with_dbm" != no; then 5434 5413 cat >> confdefs.h <<\EOF … … 5442 5421 5443 5422 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 5444 echo "configure:54 45: checking whether to have namespaces" >&55423 echo "configure:5424: checking whether to have namespaces" >&5 5445 5424 if test "$with_namespaces" != no; then 5446 5425 echo "$ac_t""yes" 1>&6 … … 5454 5433 5455 5434 echo $ac_n "checking whether to have dynamic modules""... $ac_c" 1>&6 5456 echo "configure:54 57: checking whether to have dynamic modules" >&55435 echo "configure:5436: checking whether to have dynamic modules" >&5 5457 5436 if test "$with_dynamic_modules" = no || test "$ac_have_dl" != yes; then 5458 5437 echo "$ac_t""no" 1>&6 … … 5466 5445 5467 5446 echo $ac_n "checking whether to have dynamic kernel""... $ac_c" 1>&6 5468 echo "configure:54 69: checking whether to have dynamic kernel" >&55447 echo "configure:5448: checking whether to have dynamic kernel" >&5 5469 5448 if test "$with_dynamic_kernel" != no && test "$ac_lib_dl" = yes; then 5470 5449 DL_KERNEL=1 … … 5476 5455 5477 5456 echo $ac_n "checking whether to have Plural""... $ac_c" 1>&6 5478 echo "configure:54 79: checking whether to have Plural" >&55457 echo "configure:5458: checking whether to have Plural" >&5 5479 5458 if test "$with_Plural" != no && test "$enable_Plural" != no; then 5480 5459 cat >> confdefs.h <<\EOF … … 5490 5469 5491 5470 echo $ac_n "checking whether to have ratGB""... $ac_c" 1>&6 5492 echo "configure:54 93: checking whether to have ratGB" >&55471 echo "configure:5472: checking whether to have ratGB" >&5 5493 5472 if test "$with_ratGB" != yes && test "$enable_ratGB" != yes; then 5494 5473 echo "$ac_t""no" 1>&6 -
Singular/configure.in
r4d1064 r1bc850 526 526 527 527 # arithmetic shifts 528 AC_MSG_CHECKING(whether your machine has correct arithmetic shifts)529 AC_CACHE_VAL(ac_cv_shift, AC_TRY_RUN(530 [ int main() { if (-2 >> 1 == -1) return(0); else return(1); } ],531 ac_cv_shift=yes,532 ac_cv_shift=no,533 if test "$ac_c_cross_dos" = yes; then534 ac_cv_shift=yes;535 else536 AC_MSG_RESULT(no)537 AC_MSG_ERROR(cross compilation without default value)538 fi))539 540 if test "$ac_cv_shift" = yes; then541 AC_MSG_RESULT(yes)542 else543 AC_MSG_RESULT(no)544 AC_MSG_ERROR(need -2 >> 1 == -1)545 fi528 #AC_MSG_CHECKING(whether your machine has correct arithmetic shifts) 529 #AC_CACHE_VAL(ac_cv_shift, AC_TRY_RUN( 530 # [ int main() { if (-2 >> 1 == -1) return(0); else return(1); } ], 531 # ac_cv_shift=yes, 532 # ac_cv_shift=no, 533 # if test "$ac_c_cross_dos" = yes; then 534 # ac_cv_shift=yes; 535 # else 536 # AC_MSG_RESULT(no) 537 # AC_MSG_ERROR(cross compilation without default value) 538 # fi)) 539 # 540 #if test "$ac_cv_shift" = yes; then 541 # AC_MSG_RESULT(yes) 542 #else 543 # AC_MSG_RESULT(no) 544 # AC_MSG_ERROR(need -2 >> 1 == -1) 545 #fi 546 546 547 547 -
factory/configure
r4d1064 r1bc850 1740 1740 1741 1741 # arithmetic shift 1742 echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6 1743 echo "configure:1744: checking whether your compiler does arithmetic shifts" >&5 1744 if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then 1745 echo $ac_n "(cached) $ac_c" 1>&6 1746 else 1747 LDFLAGS="-L$explicit_libdir $LDFLAGS" 1748 if test "$cross_compiling" = yes; then 1749 ac_cv_shift=yes 1750 else 1751 cat > conftest.$ac_ext <<EOF 1752 #line 1753 "configure" 1753 #include "confdefs.h" 1754 int main() { if (-2 >> 1 == -1) return(0); else return(1); } 1755 EOF 1756 if { (eval echo configure:1757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1757 then 1758 ac_cv_shift=yes 1759 else 1760 echo "configure: failed program was:" >&5 1761 cat conftest.$ac_ext >&5 1762 rm -fr conftest* 1763 ac_cv_shift=no 1764 fi 1765 rm -fr conftest* 1766 fi 1767 1768 fi 1769 1770 if test "x$ac_cv_shift" = xyes; then 1771 echo "$ac_t""yes" 1>&6 1772 else 1773 echo "$ac_t""no" 1>&6 1774 fi 1742 #AC_MSG_CHECKING(whether your compiler does arithmetic shifts) 1743 #AC_CACHE_VAL(ac_cv_shift, 1744 # [ LDFLAGS="-L$explicit_libdir $LDFLAGS" 1745 # AC_TRY_RUN( 1746 # [ int main() { if (-2 >> 1 == -1) return(0); else return(1); } ], 1747 # ac_cv_shift=yes, ac_cv_shift=no, ac_cv_shift=yes) ]) 1748 #if test "x$ac_cv_shift" = xyes; then 1749 # AC_MSG_RESULT(yes) 1750 #else 1751 # AC_MSG_RESULT(no) 1752 #fi 1775 1753 1776 1754 # … … 1790 1768 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1791 1769 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1792 echo "configure:17 93: checking for $ac_hdr" >&51770 echo "configure:1771: checking for $ac_hdr" >&5 1793 1771 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1794 1772 echo $ac_n "(cached) $ac_c" 1>&6 1795 1773 else 1796 1774 cat > conftest.$ac_ext <<EOF 1797 #line 17 98"configure"1775 #line 1776 "configure" 1798 1776 #include "confdefs.h" 1799 1777 #include <$ac_hdr> 1800 1778 EOF 1801 1779 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1802 { (eval echo configure:1 803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1780 { (eval echo configure:1781: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1803 1781 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1804 1782 if test -z "$ac_err"; then … … 1831 1809 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1832 1810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1833 echo "configure:18 34: checking for $ac_hdr" >&51811 echo "configure:1812: checking for $ac_hdr" >&5 1834 1812 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1835 1813 echo $ac_n "(cached) $ac_c" 1>&6 1836 1814 else 1837 1815 cat > conftest.$ac_ext <<EOF 1838 #line 18 39"configure"1816 #line 1817 "configure" 1839 1817 #include "confdefs.h" 1840 1818 #include <$ac_hdr> 1841 1819 EOF 1842 1820 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1843 { (eval echo configure:18 44: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1821 { (eval echo configure:1822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1844 1822 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1845 1823 if test -z "$ac_err"; then … … 1879 1857 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1880 1858 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1881 echo "configure:18 82: checking for $ac_hdr" >&51859 echo "configure:1860: checking for $ac_hdr" >&5 1882 1860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1883 1861 echo $ac_n "(cached) $ac_c" 1>&6 1884 1862 else 1885 1863 cat > conftest.$ac_ext <<EOF 1886 #line 18 87"configure"1864 #line 1865 "configure" 1887 1865 #include "confdefs.h" 1888 1866 #include <$ac_hdr> 1889 1867 EOF 1890 1868 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1891 { (eval echo configure:18 92: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1869 { (eval echo configure:1870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1892 1870 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1893 1871 if test -z "$ac_err"; then … … 1920 1898 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1921 1899 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1922 echo "configure:19 23: checking for $ac_hdr" >&51900 echo "configure:1901: checking for $ac_hdr" >&5 1923 1901 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1924 1902 echo $ac_n "(cached) $ac_c" 1>&6 1925 1903 else 1926 1904 cat > conftest.$ac_ext <<EOF 1927 #line 19 28"configure"1905 #line 1906 "configure" 1928 1906 #include "confdefs.h" 1929 1907 #include <$ac_hdr> 1930 1908 EOF 1931 1909 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1932 { (eval echo configure:19 33: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1910 { (eval echo configure:1911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1933 1911 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1934 1912 if test -z "$ac_err"; then … … 1962 1940 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 1963 1941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 1964 echo "configure:19 65: checking for $ac_hdr" >&51942 echo "configure:1943: checking for $ac_hdr" >&5 1965 1943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 1966 1944 echo $ac_n "(cached) $ac_c" 1>&6 1967 1945 else 1968 1946 cat > conftest.$ac_ext <<EOF 1969 #line 19 70"configure"1947 #line 1948 "configure" 1970 1948 #include "confdefs.h" 1971 1949 #include <$ac_hdr> 1972 1950 EOF 1973 1951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 1974 { (eval echo configure:19 75: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1952 { (eval echo configure:1953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 1975 1953 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 1976 1954 if test -z "$ac_err"; then … … 2002 1980 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2003 1981 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2004 echo "configure: 2005: checking for $ac_hdr" >&51982 echo "configure:1983: checking for $ac_hdr" >&5 2005 1983 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2006 1984 echo $ac_n "(cached) $ac_c" 1>&6 2007 1985 else 2008 1986 cat > conftest.$ac_ext <<EOF 2009 #line 2010"configure"1987 #line 1988 "configure" 2010 1988 #include "confdefs.h" 2011 1989 #include <$ac_hdr> 2012 1990 EOF 2013 1991 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2014 { (eval echo configure: 2015: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }1992 { (eval echo configure:1993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2015 1993 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2016 1994 if test -z "$ac_err"; then … … 2046 2024 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2047 2025 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2048 echo "configure:20 49: checking for $ac_hdr" >&52026 echo "configure:2027: checking for $ac_hdr" >&5 2049 2027 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2050 2028 echo $ac_n "(cached) $ac_c" 1>&6 2051 2029 else 2052 2030 cat > conftest.$ac_ext <<EOF 2053 #line 20 54"configure"2031 #line 2032 "configure" 2054 2032 #include "confdefs.h" 2055 2033 #include <$ac_hdr> 2056 2034 EOF 2057 2035 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2058 { (eval echo configure:20 59: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2036 { (eval echo configure:2037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2059 2037 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2060 2038 if test -z "$ac_err"; then … … 2092 2070 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2093 2071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2094 echo "configure:20 95: checking for $ac_hdr" >&52072 echo "configure:2073: checking for $ac_hdr" >&5 2095 2073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2096 2074 echo $ac_n "(cached) $ac_c" 1>&6 2097 2075 else 2098 2076 cat > conftest.$ac_ext <<EOF 2099 #line 2 100"configure"2077 #line 2078 "configure" 2100 2078 #include "confdefs.h" 2101 2079 #include <$ac_hdr> 2102 2080 EOF 2103 2081 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2104 { (eval echo configure:2 105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2082 { (eval echo configure:2083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2105 2083 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2106 2084 if test -z "$ac_err"; then … … 2136 2114 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2137 2115 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2138 echo "configure:21 39: checking for $ac_hdr" >&52116 echo "configure:2117: checking for $ac_hdr" >&5 2139 2117 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2140 2118 echo $ac_n "(cached) $ac_c" 1>&6 2141 2119 else 2142 2120 cat > conftest.$ac_ext <<EOF 2143 #line 21 44"configure"2121 #line 2122 "configure" 2144 2122 #include "confdefs.h" 2145 2123 #include <$ac_hdr> 2146 2124 EOF 2147 2125 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2148 { (eval echo configure:21 49: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }2126 { (eval echo configure:2127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2149 2127 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2150 2128 if test -z "$ac_err"; then … … 2263 2241 # check whether CXX accepts -fno-rtti 2264 2242 echo $ac_n "checking whether gcc accepts -fno-rtti""... $ac_c" 1>&6 2265 echo "configure:22 66: checking whether gcc accepts -fno-rtti" >&52243 echo "configure:2244: checking whether gcc accepts -fno-rtti" >&5 2266 2244 tmp_flags=${CXXFLAGS} 2267 2245 CXXFLAGS="${CXXFLAGS} -fno-rtti" … … 2270 2248 else 2271 2249 cat > conftest.$ac_ext <<EOF 2272 #line 22 73"configure"2250 #line 2251 "configure" 2273 2251 #include "confdefs.h" 2274 2252 … … 2277 2255 ; return 0; } 2278 2256 EOF 2279 if { (eval echo configure:22 80: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then2257 if { (eval echo configure:2258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2280 2258 rm -rf conftest* 2281 2259 ac_cv_cxx_have_rtti=yes … … 2297 2275 2298 2276 echo $ac_n "checking whether gcc accepts -fno-exceptions""... $ac_c" 1>&6 2299 echo "configure:2 300: checking whether gcc accepts -fno-exceptions" >&52277 echo "configure:2278: checking whether gcc accepts -fno-exceptions" >&5 2300 2278 tmp_flags=${CXXFLAGS} 2301 2279 CXXFLAGS="${CXXFLAGS} -fno-exceptions" … … 2304 2282 else 2305 2283 cat > conftest.$ac_ext <<EOF 2306 #line 2 307"configure"2284 #line 2285 "configure" 2307 2285 #include "confdefs.h" 2308 2286 … … 2311 2289 ; return 0; } 2312 2290 EOF 2313 if { (eval echo configure:2 314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2291 if { (eval echo configure:2292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2314 2292 rm -rf conftest* 2315 2293 ac_cv_cxx_have_exceptions=yes … … 2362 2340 2363 2341 # arithmetic shift 2364 if test "x$ac_cv_shift" = xyes; then 2365 cat >> confdefs.h <<\EOF 2366 #define HAS_ARITHMETIC_SHIFT 1 2367 EOF 2368 2369 fi 2342 #if test "x$ac_cv_shift" = xyes; then 2343 # AC_DEFINE(HAS_ARITHMETIC_SHIFT) 2344 #fi 2370 2345 2371 2346 # gmp-stuff. we must not set these flags before the tests … … 2379 2354 2380 2355 echo $ac_n "checking whether to use omalloc""... $ac_c" 1>&6 2381 echo "configure:23 82: checking whether to use omalloc" >&52356 echo "configure:2357: checking whether to use omalloc" >&5 2382 2357 2383 2358 if test "$with_omalloc" = yes; then -
factory/configure.in
r4d1064 r1bc850 1 1 dnl # emacs edit mode for this file is -*- sh -*- 2 dnl # $Id: configure.in,v 1.5 0 2009-07-07 11:11:08Singular Exp $2 dnl # $Id: configure.in,v 1.51 2009-07-08 10:33:15 Singular Exp $ 3 3 4 4 dnl # … … 13 13 # - initialisation. 14 14 # 15 AC_REVISION($Id: configure.in,v 1.5 0 2009-07-07 11:11:08Singular Exp $)15 AC_REVISION($Id: configure.in,v 1.51 2009-07-08 10:33:15 Singular Exp $) 16 16 AC_INIT(canonicalform.cc) 17 17 AC_CONFIG_HEADER(config.h) … … 248 248 249 249 # arithmetic shift 250 AC_MSG_CHECKING(whether your compiler does arithmetic shifts)251 AC_CACHE_VAL(ac_cv_shift,252 [ LDFLAGS="-L$explicit_libdir $LDFLAGS"253 AC_TRY_RUN(254 [ int main() { if (-2 >> 1 == -1) return(0); else return(1); } ],255 ac_cv_shift=yes, ac_cv_shift=no, ac_cv_shift=yes) ])256 if test "x$ac_cv_shift" = xyes; then257 AC_MSG_RESULT(yes)258 else259 AC_MSG_RESULT(no)260 fi250 #AC_MSG_CHECKING(whether your compiler does arithmetic shifts) 251 #AC_CACHE_VAL(ac_cv_shift, 252 # [ LDFLAGS="-L$explicit_libdir $LDFLAGS" 253 # AC_TRY_RUN( 254 # [ int main() { if (-2 >> 1 == -1) return(0); else return(1); } ], 255 # ac_cv_shift=yes, ac_cv_shift=no, ac_cv_shift=yes) ]) 256 #if test "x$ac_cv_shift" = xyes; then 257 # AC_MSG_RESULT(yes) 258 #else 259 # AC_MSG_RESULT(no) 260 #fi 261 261 262 262 # … … 423 423 424 424 # arithmetic shift 425 if test "x$ac_cv_shift" = xyes; then426 AC_DEFINE(HAS_ARITHMETIC_SHIFT)427 fi425 #if test "x$ac_cv_shift" = xyes; then 426 # AC_DEFINE(HAS_ARITHMETIC_SHIFT) 427 #fi 428 428 429 429 # gmp-stuff. we must not set these flags before the tests -
factory/imm.h
r4d1064 r1bc850 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: imm.h,v 1.2 3 2006-05-26 11:49:58Singular Exp $ */2 /* $Id: imm.h,v 1.24 2009-07-08 10:35:10 Singular Exp $ */ 3 3 4 4 #ifndef INCL_IMM_H … … 42 42 43 43 //{{{ conversion functions 44 #ifdef HAS_ARITHMETIC_SHIFT 44 //#ifdef HAS_ARITHMETIC_SHIFT 45 #if 1 45 46 46 47 inline int imm2int ( const InternalCF * const imm )
Note: See TracChangeset
for help on using the changeset viewer.