Changeset 1bc850 in git for Singular/configure
- Timestamp:
- Jul 8, 2009, 12:35:10 PM (15 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 6c359fedc4e4c176b05276f1ca51b65294a14b31
- Parents:
- 4d10648d5056326751bd51ace1aada9cd81a993f
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.