Changeset dabfee in git
- Timestamp:
- Nov 18, 1999, 5:23:51 PM (24 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- bd337e83b5133f98bdeb98af96c098e7d1cbc277
- Parents:
- 58914b361751179a91896ad4caeb81bd63328253
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/configure
r58914b rdabfee 3665 3665 done 3666 3666 3667 for ac_hdr in term.h 3668 do 3669 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3670 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3671 echo "configure:3672: checking for $ac_hdr" >&5 3672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3673 echo $ac_n "(cached) $ac_c" 1>&6 3674 else 3675 cat > conftest.$ac_ext <<EOF 3676 #line 3677 "configure" 3677 #include "confdefs.h" 3678 #include <$ac_hdr> 3679 EOF 3680 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3681 { (eval echo configure:3682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3682 ac_err=`grep -v '^ *+' conftest.out` 3683 if test -z "$ac_err"; then 3684 rm -rf conftest* 3685 eval "ac_cv_header_$ac_safe=yes" 3686 else 3687 echo "$ac_err" >&5 3688 echo "configure: failed program was:" >&5 3689 cat conftest.$ac_ext >&5 3690 rm -rf conftest* 3691 eval "ac_cv_header_$ac_safe=no" 3692 fi 3693 rm -f conftest* 3694 fi 3695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3696 echo "$ac_t""yes" 1>&6 3697 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3698 cat >> confdefs.h <<EOF 3699 #define $ac_tr_hdr 1 3700 EOF 3701 3702 else 3703 echo "$ac_t""no" 1>&6 3704 fi 3705 done 3706 3707 for ac_hdr in sys/termbits.h 3708 do 3709 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3710 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3711 echo "configure:3712: checking for $ac_hdr" >&5 3712 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3713 echo $ac_n "(cached) $ac_c" 1>&6 3714 else 3715 cat > conftest.$ac_ext <<EOF 3716 #line 3717 "configure" 3717 #include "confdefs.h" 3718 #include <$ac_hdr> 3719 EOF 3720 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3721 { (eval echo configure:3722: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3722 ac_err=`grep -v '^ *+' conftest.out` 3723 if test -z "$ac_err"; then 3724 rm -rf conftest* 3725 eval "ac_cv_header_$ac_safe=yes" 3726 else 3727 echo "$ac_err" >&5 3728 echo "configure: failed program was:" >&5 3729 cat conftest.$ac_ext >&5 3730 rm -rf conftest* 3731 eval "ac_cv_header_$ac_safe=no" 3732 fi 3733 rm -f conftest* 3734 fi 3735 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 3736 echo "$ac_t""yes" 1>&6 3737 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 3738 cat >> confdefs.h <<EOF 3739 #define $ac_tr_hdr 1 3740 EOF 3741 3742 else 3743 echo "$ac_t""no" 1>&6 3744 fi 3745 done 3746 3667 3747 3668 3748 # readline 3669 3749 if test "$with_readline" != no; then 3670 3750 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 3671 echo "configure:3 672: checking for tgetent in -lncurses" >&53751 echo "configure:3752: checking for tgetent in -lncurses" >&5 3672 3752 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 3673 3753 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3677 3757 LIBS="-lncurses $LIBS" 3678 3758 cat > conftest.$ac_ext <<EOF 3679 #line 3 680 "configure"3759 #line 3760 "configure" 3680 3760 #include "confdefs.h" 3681 3761 /* Override any gcc2 internal prototype to avoid an error. */ … … 3688 3768 ; return 0; } 3689 3769 EOF 3690 if { (eval echo configure:3 691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3770 if { (eval echo configure:3771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3691 3771 rm -rf conftest* 3692 3772 eval "ac_cv_lib_$ac_lib_var=yes" … … 3715 3795 \ 3716 3796 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 3717 echo "configure:37 18: checking for tgetent in -lcurses" >&53797 echo "configure:3798: checking for tgetent in -lcurses" >&5 3718 3798 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 3719 3799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3723 3803 LIBS="-lcurses $LIBS" 3724 3804 cat > conftest.$ac_ext <<EOF 3725 #line 3 726 "configure"3805 #line 3806 "configure" 3726 3806 #include "confdefs.h" 3727 3807 /* Override any gcc2 internal prototype to avoid an error. */ … … 3734 3814 ; return 0; } 3735 3815 EOF 3736 if { (eval echo configure:3 737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3816 if { (eval echo configure:3817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3737 3817 rm -rf conftest* 3738 3818 eval "ac_cv_lib_$ac_lib_var=yes" … … 3761 3841 \ 3762 3842 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 3763 echo "configure:3 764: checking for tgetent in -ltermcap" >&53843 echo "configure:3844: checking for tgetent in -ltermcap" >&5 3764 3844 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 3765 3845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3769 3849 LIBS="-ltermcap $LIBS" 3770 3850 cat > conftest.$ac_ext <<EOF 3771 #line 3 772 "configure"3851 #line 3852 "configure" 3772 3852 #include "confdefs.h" 3773 3853 /* Override any gcc2 internal prototype to avoid an error. */ … … 3780 3860 ; return 0; } 3781 3861 EOF 3782 if { (eval echo configure:3 783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3862 if { (eval echo configure:3863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3783 3863 rm -rf conftest* 3784 3864 eval "ac_cv_lib_$ac_lib_var=yes" … … 3812 3892 3813 3893 echo $ac_n "checking for rl_abort in -lreadline""... $ac_c" 1>&6 3814 echo "configure:38 15: checking for rl_abort in -lreadline" >&53894 echo "configure:3895: checking for rl_abort in -lreadline" >&5 3815 3895 ac_lib_var=`echo readline'_'rl_abort | sed 'y%./+-%__p_%'` 3816 3896 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 3820 3900 LIBS="-lreadline $LIBS" 3821 3901 cat > conftest.$ac_ext <<EOF 3822 #line 3 823 "configure"3902 #line 3903 "configure" 3823 3903 #include "confdefs.h" 3824 3904 /* Override any gcc2 internal prototype to avoid an error. */ … … 3831 3911 ; return 0; } 3832 3912 EOF 3833 if { (eval echo configure:3 834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then3913 if { (eval echo configure:3914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3834 3914 rm -rf conftest* 3835 3915 eval "ac_cv_lib_$ac_lib_var=yes" … … 3862 3942 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 3863 3943 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 3864 echo "configure:3 865: checking for $ac_hdr" >&53944 echo "configure:3945: checking for $ac_hdr" >&5 3865 3945 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 3866 3946 echo $ac_n "(cached) $ac_c" 1>&6 3867 3947 else 3868 3948 cat > conftest.$ac_ext <<EOF 3869 #line 3 870 "configure"3949 #line 3950 "configure" 3870 3950 #include "confdefs.h" 3871 3951 #include <$ac_hdr> 3872 3952 EOF 3873 3953 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 3874 { (eval echo configure:3 875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }3954 { (eval echo configure:3955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 3875 3955 ac_err=`grep -v '^ *+' conftest.out` 3876 3956 if test -z "$ac_err"; then … … 3901 3981 test "$ac_cv_header_readline_readline_h" = yes; then 3902 3982 echo $ac_n "checking whether readline.h is ok""... $ac_c" 1>&6 3903 echo "configure:39 04: checking whether readline.h is ok" >&53983 echo "configure:3984: checking whether readline.h is ok" >&5 3904 3984 if eval "test \"`echo '$''{'ac_cv_header_readline_readline_h_ok'+set}'`\" = set"; then 3905 3985 echo $ac_n "(cached) $ac_c" 1>&6 3906 3986 else 3907 3987 cat > conftest.$ac_ext <<EOF 3908 #line 39 09 "configure"3988 #line 3989 "configure" 3909 3989 #include "confdefs.h" 3910 3990 #include<unistd.h> … … 3931 4011 ; return 0; } 3932 4012 EOF 3933 if { (eval echo configure: 3934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4013 if { (eval echo configure:4014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3934 4014 rm -rf conftest* 3935 4015 ac_cv_header_readline_readline_h_ok="yes" … … 3947 4027 #not ok -- try once more with explicitly declaring everything 3948 4028 echo $ac_n "checking whether or not we nevertheless can use readline""... $ac_c" 1>&6 3949 echo "configure: 3950: checking whether or not we nevertheless can use readline" >&54029 echo "configure:4030: checking whether or not we nevertheless can use readline" >&5 3950 4030 if eval "test \"`echo '$''{'ac_cv_have_readline'+set}'`\" = set"; then 3951 4031 echo $ac_n "(cached) $ac_c" 1>&6 3952 4032 else 3953 4033 cat > conftest.$ac_ext <<EOF 3954 #line 3955 "configure"4034 #line 4035 "configure" 3955 4035 #include "confdefs.h" 3956 4036 #include <stdio.h> … … 3982 4062 ; return 0; } 3983 4063 EOF 3984 if { (eval echo configure: 3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4064 if { (eval echo configure:4065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 3985 4065 rm -rf conftest* 3986 4066 ac_cv_have_readline="yes" … … 4012 4092 else 4013 4093 echo "configure: warning: building without readline: disabling fancy display" 1>&2 4094 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 4095 echo "configure:4096: checking for tgetent in -lncurses" >&5 4096 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 4097 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4098 echo $ac_n "(cached) $ac_c" 1>&6 4099 else 4100 ac_save_LIBS="$LIBS" 4101 LIBS="-lncurses $LIBS" 4102 cat > conftest.$ac_ext <<EOF 4103 #line 4104 "configure" 4104 #include "confdefs.h" 4105 /* Override any gcc2 internal prototype to avoid an error. */ 4106 /* We use char because int might match the return type of a gcc2 4107 builtin and then its argument prototype would still apply. */ 4108 char tgetent(); 4109 4110 int main() { 4111 tgetent() 4112 ; return 0; } 4113 EOF 4114 if { (eval echo configure:4115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4115 rm -rf conftest* 4116 eval "ac_cv_lib_$ac_lib_var=yes" 4117 else 4118 echo "configure: failed program was:" >&5 4119 cat conftest.$ac_ext >&5 4120 rm -rf conftest* 4121 eval "ac_cv_lib_$ac_lib_var=no" 4122 fi 4123 rm -f conftest* 4124 LIBS="$ac_save_LIBS" 4125 4126 fi 4127 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 4128 echo "$ac_t""yes" 1>&6 4129 ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 4130 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 4131 cat >> confdefs.h <<EOF 4132 #define $ac_tr_lib 1 4133 EOF 4134 4135 LIBS="-lncurses $LIBS" 4136 4137 else 4138 echo "$ac_t""no" 1>&6 4139 \ 4140 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 4141 echo "configure:4142: checking for tgetent in -lcurses" >&5 4142 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 4143 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4144 echo $ac_n "(cached) $ac_c" 1>&6 4145 else 4146 ac_save_LIBS="$LIBS" 4147 LIBS="-lcurses $LIBS" 4148 cat > conftest.$ac_ext <<EOF 4149 #line 4150 "configure" 4150 #include "confdefs.h" 4151 /* Override any gcc2 internal prototype to avoid an error. */ 4152 /* We use char because int might match the return type of a gcc2 4153 builtin and then its argument prototype would still apply. */ 4154 char tgetent(); 4155 4156 int main() { 4157 tgetent() 4158 ; return 0; } 4159 EOF 4160 if { (eval echo configure:4161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4161 rm -rf conftest* 4162 eval "ac_cv_lib_$ac_lib_var=yes" 4163 else 4164 echo "configure: failed program was:" >&5 4165 cat conftest.$ac_ext >&5 4166 rm -rf conftest* 4167 eval "ac_cv_lib_$ac_lib_var=no" 4168 fi 4169 rm -f conftest* 4170 LIBS="$ac_save_LIBS" 4171 4172 fi 4173 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 4174 echo "$ac_t""yes" 1>&6 4175 ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/^a-zA-Z0-9_/_/g' \ 4176 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 4177 cat >> confdefs.h <<EOF 4178 #define $ac_tr_lib 1 4179 EOF 4180 4181 LIBS="-lcurses $LIBS" 4182 4183 else 4184 echo "$ac_t""no" 1>&6 4185 \ 4186 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 4187 echo "configure:4188: checking for tgetent in -ltermcap" >&5 4188 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 4189 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4190 echo $ac_n "(cached) $ac_c" 1>&6 4191 else 4192 ac_save_LIBS="$LIBS" 4193 LIBS="-ltermcap $LIBS" 4194 cat > conftest.$ac_ext <<EOF 4195 #line 4196 "configure" 4196 #include "confdefs.h" 4197 /* Override any gcc2 internal prototype to avoid an error. */ 4198 /* We use char because int might match the return type of a gcc2 4199 builtin and then its argument prototype would still apply. */ 4200 char tgetent(); 4201 4202 int main() { 4203 tgetent() 4204 ; return 0; } 4205 EOF 4206 if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4207 rm -rf conftest* 4208 eval "ac_cv_lib_$ac_lib_var=yes" 4209 else 4210 echo "configure: failed program was:" >&5 4211 cat conftest.$ac_ext >&5 4212 rm -rf conftest* 4213 eval "ac_cv_lib_$ac_lib_var=no" 4214 fi 4215 rm -f conftest* 4216 LIBS="$ac_save_LIBS" 4217 4218 fi 4219 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 4220 echo "$ac_t""yes" 1>&6 4221 ac_tr_lib=HAVE_LIB`echo termcap | sed -e 's/^a-zA-Z0-9_/_/g' \ 4222 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 4223 cat >> confdefs.h <<EOF 4224 #define $ac_tr_lib 1 4225 EOF 4226 4227 LIBS="-ltermcap $LIBS" 4228 4229 else 4230 echo "$ac_t""no" 1>&6 4231 \ 4014 4232 cat >> confdefs.h <<\EOF 4015 4233 #define HAVE_FEREAD 1 4016 4234 EOF 4017 4235 4236 fi 4237 4238 fi 4239 4240 fi 4241 4018 4242 fi 4019 4243 else 4244 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 4245 echo "configure:4246: checking for tgetent in -lncurses" >&5 4246 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 4247 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4248 echo $ac_n "(cached) $ac_c" 1>&6 4249 else 4250 ac_save_LIBS="$LIBS" 4251 LIBS="-lncurses $LIBS" 4252 cat > conftest.$ac_ext <<EOF 4253 #line 4254 "configure" 4254 #include "confdefs.h" 4255 /* Override any gcc2 internal prototype to avoid an error. */ 4256 /* We use char because int might match the return type of a gcc2 4257 builtin and then its argument prototype would still apply. */ 4258 char tgetent(); 4259 4260 int main() { 4261 tgetent() 4262 ; return 0; } 4263 EOF 4264 if { (eval echo configure:4265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4265 rm -rf conftest* 4266 eval "ac_cv_lib_$ac_lib_var=yes" 4267 else 4268 echo "configure: failed program was:" >&5 4269 cat conftest.$ac_ext >&5 4270 rm -rf conftest* 4271 eval "ac_cv_lib_$ac_lib_var=no" 4272 fi 4273 rm -f conftest* 4274 LIBS="$ac_save_LIBS" 4275 4276 fi 4277 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 4278 echo "$ac_t""yes" 1>&6 4279 ac_tr_lib=HAVE_LIB`echo ncurses | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 4280 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 4281 cat >> confdefs.h <<EOF 4282 #define $ac_tr_lib 1 4283 EOF 4284 4285 LIBS="-lncurses $LIBS" 4286 4287 else 4288 echo "$ac_t""no" 1>&6 4289 \ 4290 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 4291 echo "configure:4292: checking for tgetent in -lcurses" >&5 4292 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 4293 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4294 echo $ac_n "(cached) $ac_c" 1>&6 4295 else 4296 ac_save_LIBS="$LIBS" 4297 LIBS="-lcurses $LIBS" 4298 cat > conftest.$ac_ext <<EOF 4299 #line 4300 "configure" 4300 #include "confdefs.h" 4301 /* Override any gcc2 internal prototype to avoid an error. */ 4302 /* We use char because int might match the return type of a gcc2 4303 builtin and then its argument prototype would still apply. */ 4304 char tgetent(); 4305 4306 int main() { 4307 tgetent() 4308 ; return 0; } 4309 EOF 4310 if { (eval echo configure:4311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4311 rm -rf conftest* 4312 eval "ac_cv_lib_$ac_lib_var=yes" 4313 else 4314 echo "configure: failed program was:" >&5 4315 cat conftest.$ac_ext >&5 4316 rm -rf conftest* 4317 eval "ac_cv_lib_$ac_lib_var=no" 4318 fi 4319 rm -f conftest* 4320 LIBS="$ac_save_LIBS" 4321 4322 fi 4323 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 4324 echo "$ac_t""yes" 1>&6 4325 ac_tr_lib=HAVE_LIB`echo curses | sed -e 's/^a-zA-Z0-9_/_/g' \ 4326 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 4327 cat >> confdefs.h <<EOF 4328 #define $ac_tr_lib 1 4329 EOF 4330 4331 LIBS="-lcurses $LIBS" 4332 4333 else 4334 echo "$ac_t""no" 1>&6 4335 \ 4336 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 4337 echo "configure:4338: checking for tgetent in -ltermcap" >&5 4338 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 4339 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 4340 echo $ac_n "(cached) $ac_c" 1>&6 4341 else 4342 ac_save_LIBS="$LIBS" 4343 LIBS="-ltermcap $LIBS" 4344 cat > conftest.$ac_ext <<EOF 4345 #line 4346 "configure" 4346 #include "confdefs.h" 4347 /* Override any gcc2 internal prototype to avoid an error. */ 4348 /* We use char because int might match the return type of a gcc2 4349 builtin and then its argument prototype would still apply. */ 4350 char tgetent(); 4351 4352 int main() { 4353 tgetent() 4354 ; return 0; } 4355 EOF 4356 if { (eval echo configure:4357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4357 rm -rf conftest* 4358 eval "ac_cv_lib_$ac_lib_var=yes" 4359 else 4360 echo "configure: failed program was:" >&5 4361 cat conftest.$ac_ext >&5 4362 rm -rf conftest* 4363 eval "ac_cv_lib_$ac_lib_var=no" 4364 fi 4365 rm -f conftest* 4366 LIBS="$ac_save_LIBS" 4367 4368 fi 4369 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 4370 echo "$ac_t""yes" 1>&6 4371 ac_tr_lib=HAVE_LIB`echo termcap | sed -e 's/^a-zA-Z0-9_/_/g' \ 4372 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 4373 cat >> confdefs.h <<EOF 4374 #define $ac_tr_lib 1 4375 EOF 4376 4377 LIBS="-ltermcap $LIBS" 4378 4379 else 4380 echo "$ac_t""no" 1>&6 4381 \ 4020 4382 cat >> confdefs.h <<\EOF 4021 4383 #define HAVE_FEREAD 1 … … 4024 4386 fi 4025 4387 4388 fi 4389 4390 fi 4391 4392 fi 4393 4026 4394 NEED_LIBS=$LIBS 4027 4395 4028 4396 # gmp, smallgmp, MP, MPT, factory, libfac 4029 4397 echo $ac_n "checking for mpq_init in -lgmp""... $ac_c" 1>&6 4030 echo "configure:4 031: checking for mpq_init in -lgmp" >&54398 echo "configure:4399: checking for mpq_init in -lgmp" >&5 4031 4399 ac_lib_var=`echo gmp'_'mpq_init | sed 'y%./+-%__p_%'` 4032 4400 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4036 4404 LIBS="-lgmp $LIBS" 4037 4405 cat > conftest.$ac_ext <<EOF 4038 #line 4 039"configure"4406 #line 4407 "configure" 4039 4407 #include "confdefs.h" 4040 4408 /* Override any gcc2 internal prototype to avoid an error. */ … … 4047 4415 ; return 0; } 4048 4416 EOF 4049 if { (eval echo configure:4 050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4417 if { (eval echo configure:4418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4050 4418 rm -rf conftest* 4051 4419 eval "ac_cv_lib_$ac_lib_var=yes" … … 4078 4446 fi 4079 4447 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 4080 echo "configure:4 081: checking for mpz_init in -lsmallgmp" >&54448 echo "configure:4449: checking for mpz_init in -lsmallgmp" >&5 4081 4449 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 4082 4450 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4086 4454 LIBS="-lsmallgmp $LIBS" 4087 4455 cat > conftest.$ac_ext <<EOF 4088 #line 4 089"configure"4456 #line 4457 "configure" 4089 4457 #include "confdefs.h" 4090 4458 /* Override any gcc2 internal prototype to avoid an error. */ … … 4097 4465 ; return 0; } 4098 4466 EOF 4099 if { (eval echo configure:4 100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4467 if { (eval echo configure:4468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4100 4468 rm -rf conftest* 4101 4469 eval "ac_cv_lib_$ac_lib_var=yes" … … 4125 4493 4126 4494 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 4127 echo "configure:4 128: checking for IMP_PutGmpInt in -lMP" >&54495 echo "configure:4496: checking for IMP_PutGmpInt in -lMP" >&5 4128 4496 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 4129 4497 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4133 4501 LIBS="-lMP $LIBS" 4134 4502 cat > conftest.$ac_ext <<EOF 4135 #line 4 136"configure"4503 #line 4504 "configure" 4136 4504 #include "confdefs.h" 4137 4505 /* Override any gcc2 internal prototype to avoid an error. */ … … 4144 4512 ; return 0; } 4145 4513 EOF 4146 if { (eval echo configure:4 147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4514 if { (eval echo configure:4515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4147 4515 rm -rf conftest* 4148 4516 eval "ac_cv_lib_$ac_lib_var=yes" … … 4172 4540 4173 4541 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 4174 echo "configure:4 175: checking for MPT_GetTree in -lMPT" >&54542 echo "configure:4543: checking for MPT_GetTree in -lMPT" >&5 4175 4543 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 4176 4544 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4180 4548 LIBS="-lMPT $LIBS" 4181 4549 cat > conftest.$ac_ext <<EOF 4182 #line 4 183"configure"4550 #line 4551 "configure" 4183 4551 #include "confdefs.h" 4184 4552 /* Override any gcc2 internal prototype to avoid an error. */ … … 4191 4559 ; return 0; } 4192 4560 EOF 4193 if { (eval echo configure:4 194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4561 if { (eval echo configure:4562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4194 4562 rm -rf conftest* 4195 4563 eval "ac_cv_lib_$ac_lib_var=yes" … … 4219 4587 4220 4588 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 4221 echo "configure:4 222: checking for atof in -lsingcf" >&54589 echo "configure:4590: checking for atof in -lsingcf" >&5 4222 4590 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 4223 4591 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4227 4595 LIBS="-lsingcf $LIBS" 4228 4596 cat > conftest.$ac_ext <<EOF 4229 #line 4 230"configure"4597 #line 4598 "configure" 4230 4598 #include "confdefs.h" 4231 4599 /* Override any gcc2 internal prototype to avoid an error. */ … … 4238 4606 ; return 0; } 4239 4607 EOF 4240 if { (eval echo configure:4 241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4608 if { (eval echo configure:4609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4241 4609 rm -rf conftest* 4242 4610 eval "ac_cv_lib_$ac_lib_var=yes" … … 4266 4634 4267 4635 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 4268 echo "configure:4 269: checking for atof in -lsingfac" >&54636 echo "configure:4637: checking for atof in -lsingfac" >&5 4269 4637 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 4270 4638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4274 4642 LIBS="-lsingfac $LIBS" 4275 4643 cat > conftest.$ac_ext <<EOF 4276 #line 4 277"configure"4644 #line 4645 "configure" 4277 4645 #include "confdefs.h" 4278 4646 /* Override any gcc2 internal prototype to avoid an error. */ … … 4285 4653 ; return 0; } 4286 4654 EOF 4287 if { (eval echo configure:4 288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4655 if { (eval echo configure:4656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4288 4656 rm -rf conftest* 4289 4657 eval "ac_cv_lib_$ac_lib_var=yes" … … 4317 4685 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 4318 4686 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 4319 echo "configure:4 320: checking for $ac_hdr" >&54687 echo "configure:4688: checking for $ac_hdr" >&5 4320 4688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 4321 4689 echo $ac_n "(cached) $ac_c" 1>&6 4322 4690 else 4323 4691 cat > conftest.$ac_ext <<EOF 4324 #line 4 325"configure"4692 #line 4693 "configure" 4325 4693 #include "confdefs.h" 4326 4694 #include <$ac_hdr> 4327 4695 EOF 4328 4696 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 4329 { (eval echo configure:4 330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }4697 { (eval echo configure:4698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 4330 4698 ac_err=`grep -v '^ *+' conftest.out` 4331 4699 if test -z "$ac_err"; then … … 4384 4752 # evaluate results 4385 4753 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 4386 echo "configure:4 387: checking which apint package to use" >&54754 echo "configure:4755: checking which apint package to use" >&5 4387 4755 if test "${with_apint}" != gmp && test "${with_apint}" != smallgmp; then 4388 4756 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then … … 4428 4796 if test "$with_dl" != no; then 4429 4797 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 4430 echo "configure:4 431: checking for dlopen in -ldl" >&54798 echo "configure:4799: checking for dlopen in -ldl" >&5 4431 4799 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` 4432 4800 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4436 4804 LIBS="-ldl $LIBS" 4437 4805 cat > conftest.$ac_ext <<EOF 4438 #line 4 439"configure"4806 #line 4807 "configure" 4439 4807 #include "confdefs.h" 4440 4808 /* Override any gcc2 internal prototype to avoid an error. */ … … 4447 4815 ; return 0; } 4448 4816 EOF 4449 if { (eval echo configure:4 450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4817 if { (eval echo configure:4818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4450 4818 rm -rf conftest* 4451 4819 eval "ac_cv_lib_$ac_lib_var=yes" … … 4485 4853 fi 4486 4854 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4487 echo "configure:4 488: checking for shl_load in -ldld" >&54855 echo "configure:4856: checking for shl_load in -ldld" >&5 4488 4856 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4489 4857 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4493 4861 LIBS="-ldld $LIBS" 4494 4862 cat > conftest.$ac_ext <<EOF 4495 #line 4 496"configure"4863 #line 4864 "configure" 4496 4864 #include "confdefs.h" 4497 4865 /* Override any gcc2 internal prototype to avoid an error. */ … … 4504 4872 ; return 0; } 4505 4873 EOF 4506 if { (eval echo configure:4 507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then4874 if { (eval echo configure:4875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4507 4875 rm -rf conftest* 4508 4876 eval "ac_cv_lib_$ac_lib_var=yes" … … 4544 4912 4545 4913 echo $ac_n "checking whether to have MP""... $ac_c" 1>&6 4546 echo "configure:4 547: checking whether to have MP" >&54914 echo "configure:4915: checking whether to have MP" >&5 4547 4915 if test "${with_MP}" != yes && test "${with_MP}" != no; then 4548 4916 if (test "${will_have_gmp}" = yes) && \ … … 4575 4943 4576 4944 echo $ac_n "checking whether to have factory""... $ac_c" 1>&6 4577 echo "configure:4 578: checking whether to have factory" >&54945 echo "configure:4946: checking whether to have factory" >&5 4578 4946 if test "${with_factory}" != yes && test "${with_factory}" != no; then 4579 4947 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then … … 4606 4974 4607 4975 echo $ac_n "checking whether to have libfac""... $ac_c" 1>&6 4608 echo "configure:4 609: checking whether to have libfac" >&54976 echo "configure:4977: checking whether to have libfac" >&5 4609 4977 if test "${with_libfac}" != yes && test "${with_libfac}" != no; then 4610 4978 if (test "${will_have_factory}" = yes) && \ … … 4638 5006 4639 5007 echo $ac_n "checking whether to have dbm links""... $ac_c" 1>&6 4640 echo "configure: 4641: checking whether to have dbm links" >&55008 echo "configure:5009: checking whether to have dbm links" >&5 4641 5009 if test "$with_dbm" != no; then 4642 5010 cat >> confdefs.h <<\EOF … … 4650 5018 4651 5019 echo $ac_n "checking whether to have namespaces""... $ac_c" 1>&6 4652 echo "configure: 4653: checking whether to have namespaces" >&55020 echo "configure:5021: checking whether to have namespaces" >&5 4653 5021 if test "$with_namespaces" != yes; then 4654 5022 echo "$ac_t""no" 1>&6 … … 4662 5030 4663 5031 echo $ac_n "checking whether to have dynamic loading""... $ac_c" 1>&6 4664 echo "configure: 4665: checking whether to have dynamic loading" >&55032 echo "configure:5033: checking whether to have dynamic loading" >&5 4665 5033 if test "$with_dl" != yes; then 4666 5034 echo "$ac_t""no" 1>&6 … … 4675 5043 HPUX-9) 4676 5044 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4677 echo "configure: 4678: checking for shl_load in -ldld" >&55045 echo "configure:5046: checking for shl_load in -ldld" >&5 4678 5046 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4679 5047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4683 5051 LIBS="-ldld $LIBS" 4684 5052 cat > conftest.$ac_ext <<EOF 4685 #line 4686"configure"5053 #line 5054 "configure" 4686 5054 #include "confdefs.h" 4687 5055 /* Override any gcc2 internal prototype to avoid an error. */ … … 4694 5062 ; return 0; } 4695 5063 EOF 4696 if { (eval echo configure: 4697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then5064 if { (eval echo configure:5065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4697 5065 rm -rf conftest* 4698 5066 eval "ac_cv_lib_$ac_lib_var=yes" … … 4726 5094 HPUX-10) 4727 5095 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6 4728 echo "configure: 4729: checking for shl_load in -ldld" >&55096 echo "configure:5097: checking for shl_load in -ldld" >&5 4729 5097 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'` 4730 5098 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 4734 5102 LIBS="-ldld $LIBS" 4735 5103 cat > conftest.$ac_ext <<EOF 4736 #line 4737"configure"5104 #line 5105 "configure" 4737 5105 #include "confdefs.h" 4738 5106 /* Override any gcc2 internal prototype to avoid an error. */ … … 4745 5113 ; return 0; } 4746 5114 EOF 4747 if { (eval echo configure: 4748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then5115 if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then 4748 5116 rm -rf conftest* 4749 5117 eval "ac_cv_lib_$ac_lib_var=yes" … … 4784 5152 4785 5153 echo $ac_n "checking whether to use mtrack""... $ac_c" 1>&6 4786 echo "configure: 4787: checking whether to use mtrack" >&55154 echo "configure:5155: checking whether to use mtrack" >&5 4787 5155 if test "$with_mtrack" = yes && test "$ac_cv_singuname" = ix86-Linux; then 4788 5156 echo "$ac_t""yes" 1>&6 … … 4798 5166 4799 5167 echo $ac_n "checking which exponent type to use""... $ac_c" 1>&6 4800 echo "configure: 4801: checking which exponent type to use" >&55168 echo "configure:5169: checking which exponent type to use" >&5 4801 5169 if test "$with_exp_type" = "char"; then 4802 5170 echo "$ac_t""char" 1>&6 -
Singular/configure.in
r58914b rdabfee 564 564 AC_CHECK_HEADERS(termcap.h) 565 565 AC_CHECK_HEADERS(termios.h) 566 AC_CHECK_HEADERS(term.h) 567 AC_CHECK_HEADERS(sys/termbits.h) 566 568 567 569 # readline … … 645 647 else 646 648 AC_MSG_WARN(building without readline: disabling fancy display) 647 AC_DEFINE(HAVE_FEREAD) 648 fi 649 else 650 AC_DEFINE(HAVE_FEREAD) 649 AC_CHECK_LIB(ncurses,tgetent,,\ 650 AC_CHECK_LIB(curses,tgetent,,\ 651 AC_CHECK_LIB(termcap,tgetent,,\ 652 AC_DEFINE(HAVE_FEREAD)))) 653 fi 654 else 655 AC_CHECK_LIB(ncurses,tgetent,,\ 656 AC_CHECK_LIB(curses,tgetent,,\ 657 AC_CHECK_LIB(termcap,tgetent,,\ 658 AC_DEFINE(HAVE_FEREAD)))) 651 659 fi 652 660
Note: See TracChangeset
for help on using the changeset viewer.