GNU Binutils with patches for OS216
Revision | a0749de2effbae2b8e28f696ef7cdef50332e386 (tree) |
---|---|
Zeit | 1999-05-27 09:11:14 |
Autor | Jason Molenda <jmolenda@appl...> |
Commiter | Jason Molenda |
1999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>
1999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)
@@ -1,3 +1,15 @@ | ||
1 | +1999-04-26 Jim Blandy <jimb@zwingli.cygnus.com> | |
2 | + | |
3 | + Fix from Dave Holcomb. | |
4 | + * hpux-thread.c (init_hpux_thread_ops): Use the right function | |
5 | + name when initializing hpux_thread_ops.to_thread_alive. | |
6 | + | |
7 | +1999-04-13 Jason Molenda (jsm@bugshack.cygnus.com) | |
8 | + | |
9 | + * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define if we're | |
10 | + on a Solaris host (of any architecture). | |
11 | + * configure: Regenerated. | |
12 | + | |
1 | 13 | 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com> |
2 | 14 | |
3 | 15 | * GDB 4.18 released. |
@@ -3890,6 +3890,7 @@ echo "$ac_t""$gdb_cv_hpux_sswide" 1>&6 | ||
3890 | 3890 | # Also detect which type of /proc is in use, such as for Unixware. |
3891 | 3891 | |
3892 | 3892 | if test "${target}" = "${host}"; then |
3893 | + gdb_cv_hostos_is_solaris=no | |
3893 | 3894 | case "${host}" in |
3894 | 3895 | i[3456]86-*-linux*) |
3895 | 3896 | cat >> confdefs.h <<\EOF |
@@ -3901,12 +3902,15 @@ EOF | ||
3901 | 3902 | EOF |
3902 | 3903 | |
3903 | 3904 | ;; |
3905 | + *-*-solaris*) | |
3906 | + gdb_cv_hostos_is_solaris=yes ;; | |
3904 | 3907 | esac |
3905 | 3908 | echo $ac_n "checking for directory proc entries""... $ac_c" 1>&6 |
3906 | -echo "configure:3907: checking for directory proc entries" >&5 | |
3909 | +echo "configure:3910: checking for directory proc entries" >&5 | |
3907 | 3910 | # The [gdb_host != sun4sol2] hack is because Solaris does provide the |
3908 | 3911 | # multiple procfs files as of Solaris 2.6, but GDB can't use it right now. |
3909 | - if test "$ac_cv_header_sys_procfs_h" = yes -a "$gdb_host" != sun4sol2 \ | |
3912 | + if test "$ac_cv_header_sys_procfs_h" = yes -a \ | |
3913 | + "$gdb_cv_hostos_is_solaris" = no \ | |
3910 | 3914 | -a -d /proc/$$ \ |
3911 | 3915 | -a -f /proc/$$/ctl \ |
3912 | 3916 | -a -f /proc/$$/as \ |
@@ -3924,19 +3928,19 @@ fi | ||
3924 | 3928 | |
3925 | 3929 | if test "$ac_cv_header_sys_procfs_h" = yes; then |
3926 | 3930 | echo $ac_n "checking for pstatus_t in sys/procfs.h""... $ac_c" 1>&6 |
3927 | -echo "configure:3928: checking for pstatus_t in sys/procfs.h" >&5 | |
3931 | +echo "configure:3932: checking for pstatus_t in sys/procfs.h" >&5 | |
3928 | 3932 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_pstatus_t'+set}'`\" = set"; then |
3929 | 3933 | echo $ac_n "(cached) $ac_c" 1>&6 |
3930 | 3934 | else |
3931 | 3935 | cat > conftest.$ac_ext <<EOF |
3932 | -#line 3933 "configure" | |
3936 | +#line 3937 "configure" | |
3933 | 3937 | #include "confdefs.h" |
3934 | 3938 | #include <sys/procfs.h> |
3935 | 3939 | int main() { |
3936 | 3940 | pstatus_t avar |
3937 | 3941 | ; return 0; } |
3938 | 3942 | EOF |
3939 | -if { (eval echo configure:3940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
3943 | +if { (eval echo configure:3944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
3940 | 3944 | rm -rf conftest* |
3941 | 3945 | bfd_cv_have_sys_procfs_type_pstatus_t=yes |
3942 | 3946 | else |
@@ -3958,19 +3962,19 @@ EOF | ||
3958 | 3962 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_pstatus_t" 1>&6 |
3959 | 3963 | |
3960 | 3964 | echo $ac_n "checking for prrun_t in sys/procfs.h""... $ac_c" 1>&6 |
3961 | -echo "configure:3962: checking for prrun_t in sys/procfs.h" >&5 | |
3965 | +echo "configure:3966: checking for prrun_t in sys/procfs.h" >&5 | |
3962 | 3966 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_prrun_t'+set}'`\" = set"; then |
3963 | 3967 | echo $ac_n "(cached) $ac_c" 1>&6 |
3964 | 3968 | else |
3965 | 3969 | cat > conftest.$ac_ext <<EOF |
3966 | -#line 3967 "configure" | |
3970 | +#line 3971 "configure" | |
3967 | 3971 | #include "confdefs.h" |
3968 | 3972 | #include <sys/procfs.h> |
3969 | 3973 | int main() { |
3970 | 3974 | prrun_t avar |
3971 | 3975 | ; return 0; } |
3972 | 3976 | EOF |
3973 | -if { (eval echo configure:3974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
3977 | +if { (eval echo configure:3978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
3974 | 3978 | rm -rf conftest* |
3975 | 3979 | bfd_cv_have_sys_procfs_type_prrun_t=yes |
3976 | 3980 | else |
@@ -3992,19 +3996,19 @@ EOF | ||
3992 | 3996 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_prrun_t" 1>&6 |
3993 | 3997 | |
3994 | 3998 | echo $ac_n "checking for gregset_t in sys/procfs.h""... $ac_c" 1>&6 |
3995 | -echo "configure:3996: checking for gregset_t in sys/procfs.h" >&5 | |
3999 | +echo "configure:4000: checking for gregset_t in sys/procfs.h" >&5 | |
3996 | 4000 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_gregset_t'+set}'`\" = set"; then |
3997 | 4001 | echo $ac_n "(cached) $ac_c" 1>&6 |
3998 | 4002 | else |
3999 | 4003 | cat > conftest.$ac_ext <<EOF |
4000 | -#line 4001 "configure" | |
4004 | +#line 4005 "configure" | |
4001 | 4005 | #include "confdefs.h" |
4002 | 4006 | #include <sys/procfs.h> |
4003 | 4007 | int main() { |
4004 | 4008 | gregset_t avar |
4005 | 4009 | ; return 0; } |
4006 | 4010 | EOF |
4007 | -if { (eval echo configure:4008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4011 | +if { (eval echo configure:4012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4008 | 4012 | rm -rf conftest* |
4009 | 4013 | bfd_cv_have_sys_procfs_type_gregset_t=yes |
4010 | 4014 | else |
@@ -4026,19 +4030,19 @@ EOF | ||
4026 | 4030 | echo "$ac_t""$bfd_cv_have_sys_procfs_type_gregset_t" 1>&6 |
4027 | 4031 | |
4028 | 4032 | echo $ac_n "checking for fpregset_t in sys/procfs.h""... $ac_c" 1>&6 |
4029 | -echo "configure:4030: checking for fpregset_t in sys/procfs.h" >&5 | |
4033 | +echo "configure:4034: checking for fpregset_t in sys/procfs.h" >&5 | |
4030 | 4034 | if eval "test \"`echo '$''{'bfd_cv_have_sys_procfs_type_fpregset_t'+set}'`\" = set"; then |
4031 | 4035 | echo $ac_n "(cached) $ac_c" 1>&6 |
4032 | 4036 | else |
4033 | 4037 | cat > conftest.$ac_ext <<EOF |
4034 | -#line 4035 "configure" | |
4038 | +#line 4039 "configure" | |
4035 | 4039 | #include "confdefs.h" |
4036 | 4040 | #include <sys/procfs.h> |
4037 | 4041 | int main() { |
4038 | 4042 | fpregset_t avar |
4039 | 4043 | ; return 0; } |
4040 | 4044 | EOF |
4041 | -if { (eval echo configure:4042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4045 | +if { (eval echo configure:4046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4042 | 4046 | rm -rf conftest* |
4043 | 4047 | bfd_cv_have_sys_procfs_type_fpregset_t=yes |
4044 | 4048 | else |
@@ -4062,12 +4066,12 @@ EOF | ||
4062 | 4066 | |
4063 | 4067 | |
4064 | 4068 | echo $ac_n "checking for PIOCSET ioctl entry in sys/procfs.h""... $ac_c" 1>&6 |
4065 | -echo "configure:4066: checking for PIOCSET ioctl entry in sys/procfs.h" >&5 | |
4069 | +echo "configure:4070: checking for PIOCSET ioctl entry in sys/procfs.h" >&5 | |
4066 | 4070 | if eval "test \"`echo '$''{'gdb_cv_have_procfs_piocset'+set}'`\" = set"; then |
4067 | 4071 | echo $ac_n "(cached) $ac_c" 1>&6 |
4068 | 4072 | else |
4069 | 4073 | cat > conftest.$ac_ext <<EOF |
4070 | -#line 4071 "configure" | |
4074 | +#line 4075 "configure" | |
4071 | 4075 | #include "confdefs.h" |
4072 | 4076 | #include <unistd.h> |
4073 | 4077 | #include <sys/types.h> |
@@ -4080,7 +4084,7 @@ int main() { | ||
4080 | 4084 | |
4081 | 4085 | ; return 0; } |
4082 | 4086 | EOF |
4083 | -if { (eval echo configure:4084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4087 | +if { (eval echo configure:4088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4084 | 4088 | rm -rf conftest* |
4085 | 4089 | gdb_cv_have_procfs_piocset=yes |
4086 | 4090 | else |
@@ -4102,7 +4106,7 @@ EOF | ||
4102 | 4106 | fi |
4103 | 4107 | |
4104 | 4108 | echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 |
4105 | -echo "configure:4106: checking for main in -lm" >&5 | |
4109 | +echo "configure:4110: checking for main in -lm" >&5 | |
4106 | 4110 | ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` |
4107 | 4111 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4108 | 4112 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -4110,14 +4114,14 @@ else | ||
4110 | 4114 | ac_save_LIBS="$LIBS" |
4111 | 4115 | LIBS="-lm $LIBS" |
4112 | 4116 | cat > conftest.$ac_ext <<EOF |
4113 | -#line 4114 "configure" | |
4117 | +#line 4118 "configure" | |
4114 | 4118 | #include "confdefs.h" |
4115 | 4119 | |
4116 | 4120 | int main() { |
4117 | 4121 | main() |
4118 | 4122 | ; return 0; } |
4119 | 4123 | EOF |
4120 | -if { (eval echo configure:4121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4124 | +if { (eval echo configure:4125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4121 | 4125 | rm -rf conftest* |
4122 | 4126 | eval "ac_cv_lib_$ac_lib_var=yes" |
4123 | 4127 | else |
@@ -4146,7 +4150,7 @@ fi | ||
4146 | 4150 | |
4147 | 4151 | |
4148 | 4152 | echo $ac_n "checking for wctype in -lc""... $ac_c" 1>&6 |
4149 | -echo "configure:4150: checking for wctype in -lc" >&5 | |
4153 | +echo "configure:4154: checking for wctype in -lc" >&5 | |
4150 | 4154 | ac_lib_var=`echo c'_'wctype | sed 'y%./+-%__p_%'` |
4151 | 4155 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4152 | 4156 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -4154,7 +4158,7 @@ else | ||
4154 | 4158 | ac_save_LIBS="$LIBS" |
4155 | 4159 | LIBS="-lc $LIBS" |
4156 | 4160 | cat > conftest.$ac_ext <<EOF |
4157 | -#line 4158 "configure" | |
4161 | +#line 4162 "configure" | |
4158 | 4162 | #include "confdefs.h" |
4159 | 4163 | /* Override any gcc2 internal prototype to avoid an error. */ |
4160 | 4164 | /* We use char because int might match the return type of a gcc2 |
@@ -4165,7 +4169,7 @@ int main() { | ||
4165 | 4169 | wctype() |
4166 | 4170 | ; return 0; } |
4167 | 4171 | EOF |
4168 | -if { (eval echo configure:4169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4172 | +if { (eval echo configure:4173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4169 | 4173 | rm -rf conftest* |
4170 | 4174 | eval "ac_cv_lib_$ac_lib_var=yes" |
4171 | 4175 | else |
@@ -4184,7 +4188,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
4184 | 4188 | else |
4185 | 4189 | echo "$ac_t""no" 1>&6 |
4186 | 4190 | echo $ac_n "checking for wctype in -lw""... $ac_c" 1>&6 |
4187 | -echo "configure:4188: checking for wctype in -lw" >&5 | |
4191 | +echo "configure:4192: checking for wctype in -lw" >&5 | |
4188 | 4192 | ac_lib_var=`echo w'_'wctype | sed 'y%./+-%__p_%'` |
4189 | 4193 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4190 | 4194 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -4192,7 +4196,7 @@ else | ||
4192 | 4196 | ac_save_LIBS="$LIBS" |
4193 | 4197 | LIBS="-lw $LIBS" |
4194 | 4198 | cat > conftest.$ac_ext <<EOF |
4195 | -#line 4196 "configure" | |
4199 | +#line 4200 "configure" | |
4196 | 4200 | #include "confdefs.h" |
4197 | 4201 | /* Override any gcc2 internal prototype to avoid an error. */ |
4198 | 4202 | /* We use char because int might match the return type of a gcc2 |
@@ -4203,7 +4207,7 @@ int main() { | ||
4203 | 4207 | wctype() |
4204 | 4208 | ; return 0; } |
4205 | 4209 | EOF |
4206 | -if { (eval echo configure:4207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4210 | +if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4207 | 4211 | rm -rf conftest* |
4208 | 4212 | eval "ac_cv_lib_$ac_lib_var=yes" |
4209 | 4213 | else |
@@ -4235,12 +4239,12 @@ fi | ||
4235 | 4239 | |
4236 | 4240 | |
4237 | 4241 | echo $ac_n "checking for long long support in compiler""... $ac_c" 1>&6 |
4238 | -echo "configure:4239: checking for long long support in compiler" >&5 | |
4242 | +echo "configure:4243: checking for long long support in compiler" >&5 | |
4239 | 4243 | if eval "test \"`echo '$''{'gdb_cv_c_long_long'+set}'`\" = set"; then |
4240 | 4244 | echo $ac_n "(cached) $ac_c" 1>&6 |
4241 | 4245 | else |
4242 | 4246 | cat > conftest.$ac_ext <<EOF |
4243 | -#line 4244 "configure" | |
4247 | +#line 4248 "configure" | |
4244 | 4248 | #include "confdefs.h" |
4245 | 4249 | |
4246 | 4250 | int main() { |
@@ -4250,7 +4254,7 @@ int main() { | ||
4250 | 4254 | |
4251 | 4255 | ; return 0; } |
4252 | 4256 | EOF |
4253 | -if { (eval echo configure:4254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4257 | +if { (eval echo configure:4258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4254 | 4258 | rm -rf conftest* |
4255 | 4259 | gdb_cv_c_long_long=yes |
4256 | 4260 | else |
@@ -4272,7 +4276,7 @@ fi | ||
4272 | 4276 | |
4273 | 4277 | |
4274 | 4278 | echo $ac_n "checking for long long support in printf""... $ac_c" 1>&6 |
4275 | -echo "configure:4276: checking for long long support in printf" >&5 | |
4279 | +echo "configure:4280: checking for long long support in printf" >&5 | |
4276 | 4280 | if eval "test \"`echo '$''{'gdb_cv_printf_has_long_long'+set}'`\" = set"; then |
4277 | 4281 | echo $ac_n "(cached) $ac_c" 1>&6 |
4278 | 4282 | else |
@@ -4280,7 +4284,7 @@ else | ||
4280 | 4284 | gdb_cv_printf_has_long_long=no |
4281 | 4285 | else |
4282 | 4286 | cat > conftest.$ac_ext <<EOF |
4283 | -#line 4284 "configure" | |
4287 | +#line 4288 "configure" | |
4284 | 4288 | #include "confdefs.h" |
4285 | 4289 | |
4286 | 4290 | int main () { |
@@ -4294,7 +4298,7 @@ int main () { | ||
4294 | 4298 | return (strcmp ("0x0123456789abcdef", buf)); |
4295 | 4299 | } |
4296 | 4300 | EOF |
4297 | -if { (eval echo configure:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
4301 | +if { (eval echo configure:4302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
4298 | 4302 | then |
4299 | 4303 | gdb_cv_printf_has_long_long=yes |
4300 | 4304 | else |
@@ -4318,19 +4322,19 @@ echo "$ac_t""$gdb_cv_printf_has_long_long" 1>&6 | ||
4318 | 4322 | |
4319 | 4323 | |
4320 | 4324 | echo $ac_n "checking for long double support in compiler""... $ac_c" 1>&6 |
4321 | -echo "configure:4322: checking for long double support in compiler" >&5 | |
4325 | +echo "configure:4326: checking for long double support in compiler" >&5 | |
4322 | 4326 | if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then |
4323 | 4327 | echo $ac_n "(cached) $ac_c" 1>&6 |
4324 | 4328 | else |
4325 | 4329 | cat > conftest.$ac_ext <<EOF |
4326 | -#line 4327 "configure" | |
4330 | +#line 4331 "configure" | |
4327 | 4331 | #include "confdefs.h" |
4328 | 4332 | |
4329 | 4333 | int main() { |
4330 | 4334 | long double foo; |
4331 | 4335 | ; return 0; } |
4332 | 4336 | EOF |
4333 | -if { (eval echo configure:4334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4337 | +if { (eval echo configure:4338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4334 | 4338 | rm -rf conftest* |
4335 | 4339 | ac_cv_c_long_double=yes |
4336 | 4340 | else |
@@ -4352,7 +4356,7 @@ fi | ||
4352 | 4356 | |
4353 | 4357 | |
4354 | 4358 | echo $ac_n "checking for long double support in printf""... $ac_c" 1>&6 |
4355 | -echo "configure:4356: checking for long double support in printf" >&5 | |
4359 | +echo "configure:4360: checking for long double support in printf" >&5 | |
4356 | 4360 | if eval "test \"`echo '$''{'gdb_cv_printf_has_long_double'+set}'`\" = set"; then |
4357 | 4361 | echo $ac_n "(cached) $ac_c" 1>&6 |
4358 | 4362 | else |
@@ -4360,7 +4364,7 @@ else | ||
4360 | 4364 | gdb_cv_printf_has_long_double=no |
4361 | 4365 | else |
4362 | 4366 | cat > conftest.$ac_ext <<EOF |
4363 | -#line 4364 "configure" | |
4367 | +#line 4368 "configure" | |
4364 | 4368 | #include "confdefs.h" |
4365 | 4369 | |
4366 | 4370 | int main () { |
@@ -4370,7 +4374,7 @@ int main () { | ||
4370 | 4374 | return (strncmp ("3.14159", buf, 7)); |
4371 | 4375 | } |
4372 | 4376 | EOF |
4373 | -if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
4377 | +if { (eval echo configure:4378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
4374 | 4378 | then |
4375 | 4379 | gdb_cv_printf_has_long_double=yes |
4376 | 4380 | else |
@@ -4394,7 +4398,7 @@ echo "$ac_t""$gdb_cv_printf_has_long_double" 1>&6 | ||
4394 | 4398 | |
4395 | 4399 | |
4396 | 4400 | echo $ac_n "checking for long double support in scanf""... $ac_c" 1>&6 |
4397 | -echo "configure:4398: checking for long double support in scanf" >&5 | |
4401 | +echo "configure:4402: checking for long double support in scanf" >&5 | |
4398 | 4402 | if eval "test \"`echo '$''{'gdb_cv_scanf_has_long_double'+set}'`\" = set"; then |
4399 | 4403 | echo $ac_n "(cached) $ac_c" 1>&6 |
4400 | 4404 | else |
@@ -4402,7 +4406,7 @@ else | ||
4402 | 4406 | gdb_cv_scanf_has_long_double=no |
4403 | 4407 | else |
4404 | 4408 | cat > conftest.$ac_ext <<EOF |
4405 | -#line 4406 "configure" | |
4409 | +#line 4410 "configure" | |
4406 | 4410 | #include "confdefs.h" |
4407 | 4411 | |
4408 | 4412 | int main () { |
@@ -4412,7 +4416,7 @@ int main () { | ||
4412 | 4416 | return !(f > 3.14159 && f < 3.14160); |
4413 | 4417 | } |
4414 | 4418 | EOF |
4415 | -if { (eval echo configure:4416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
4419 | +if { (eval echo configure:4420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
4416 | 4420 | then |
4417 | 4421 | gdb_cv_scanf_has_long_double=yes |
4418 | 4422 | else |
@@ -4438,17 +4442,17 @@ for ac_hdr in unistd.h | ||
4438 | 4442 | do |
4439 | 4443 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4440 | 4444 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4441 | -echo "configure:4442: checking for $ac_hdr" >&5 | |
4445 | +echo "configure:4446: checking for $ac_hdr" >&5 | |
4442 | 4446 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4443 | 4447 | echo $ac_n "(cached) $ac_c" 1>&6 |
4444 | 4448 | else |
4445 | 4449 | cat > conftest.$ac_ext <<EOF |
4446 | -#line 4447 "configure" | |
4450 | +#line 4451 "configure" | |
4447 | 4451 | #include "confdefs.h" |
4448 | 4452 | #include <$ac_hdr> |
4449 | 4453 | EOF |
4450 | 4454 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4451 | -{ (eval echo configure:4452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
4455 | +{ (eval echo configure:4456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
4452 | 4456 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4453 | 4457 | if test -z "$ac_err"; then |
4454 | 4458 | rm -rf conftest* |
@@ -4477,12 +4481,12 @@ done | ||
4477 | 4481 | for ac_func in getpagesize |
4478 | 4482 | do |
4479 | 4483 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
4480 | -echo "configure:4481: checking for $ac_func" >&5 | |
4484 | +echo "configure:4485: checking for $ac_func" >&5 | |
4481 | 4485 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
4482 | 4486 | echo $ac_n "(cached) $ac_c" 1>&6 |
4483 | 4487 | else |
4484 | 4488 | cat > conftest.$ac_ext <<EOF |
4485 | -#line 4486 "configure" | |
4489 | +#line 4490 "configure" | |
4486 | 4490 | #include "confdefs.h" |
4487 | 4491 | /* System header to define __stub macros and hopefully few prototypes, |
4488 | 4492 | which can conflict with char $ac_func(); below. */ |
@@ -4505,7 +4509,7 @@ $ac_func(); | ||
4505 | 4509 | |
4506 | 4510 | ; return 0; } |
4507 | 4511 | EOF |
4508 | -if { (eval echo configure:4509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4512 | +if { (eval echo configure:4513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4509 | 4513 | rm -rf conftest* |
4510 | 4514 | eval "ac_cv_func_$ac_func=yes" |
4511 | 4515 | else |
@@ -4530,7 +4534,7 @@ fi | ||
4530 | 4534 | done |
4531 | 4535 | |
4532 | 4536 | echo $ac_n "checking for working mmap""... $ac_c" 1>&6 |
4533 | -echo "configure:4534: checking for working mmap" >&5 | |
4537 | +echo "configure:4538: checking for working mmap" >&5 | |
4534 | 4538 | if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then |
4535 | 4539 | echo $ac_n "(cached) $ac_c" 1>&6 |
4536 | 4540 | else |
@@ -4538,7 +4542,7 @@ else | ||
4538 | 4542 | ac_cv_func_mmap_fixed_mapped=no |
4539 | 4543 | else |
4540 | 4544 | cat > conftest.$ac_ext <<EOF |
4541 | -#line 4542 "configure" | |
4545 | +#line 4546 "configure" | |
4542 | 4546 | #include "confdefs.h" |
4543 | 4547 | |
4544 | 4548 | /* Thanks to Mike Haertel and Jim Avera for this test. |
@@ -4678,7 +4682,7 @@ main() | ||
4678 | 4682 | } |
4679 | 4683 | |
4680 | 4684 | EOF |
4681 | -if { (eval echo configure:4682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
4685 | +if { (eval echo configure:4686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
4682 | 4686 | then |
4683 | 4687 | ac_cv_func_mmap_fixed_mapped=yes |
4684 | 4688 | else |
@@ -4707,7 +4711,7 @@ if test ${build} = ${host} -a ${host} = ${target} ; then | ||
4707 | 4711 | case ${host_os} in |
4708 | 4712 | hpux*) |
4709 | 4713 | echo $ac_n "checking for HPUX/OSF thread support""... $ac_c" 1>&6 |
4710 | -echo "configure:4711: checking for HPUX/OSF thread support" >&5 | |
4714 | +echo "configure:4715: checking for HPUX/OSF thread support" >&5 | |
4711 | 4715 | if test -f /usr/include/dce/cma_config.h ; then |
4712 | 4716 | if test "$GCC" = "yes" ; then |
4713 | 4717 | echo "$ac_t""yes" 1>&6 |
@@ -4726,7 +4730,7 @@ EOF | ||
4726 | 4730 | ;; |
4727 | 4731 | solaris*) |
4728 | 4732 | echo $ac_n "checking for Solaris thread debugging library""... $ac_c" 1>&6 |
4729 | -echo "configure:4730: checking for Solaris thread debugging library" >&5 | |
4733 | +echo "configure:4734: checking for Solaris thread debugging library" >&5 | |
4730 | 4734 | if test -f /usr/lib/libthread_db.so.1 ; then |
4731 | 4735 | echo "$ac_t""yes" 1>&6 |
4732 | 4736 | cat >> confdefs.h <<\EOF |
@@ -4736,7 +4740,7 @@ EOF | ||
4736 | 4740 | CONFIG_OBS="${CONFIG_OBS} sol-thread.o" |
4737 | 4741 | CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c" |
4738 | 4742 | echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 |
4739 | -echo "configure:4740: checking for dlopen in -ldl" >&5 | |
4743 | +echo "configure:4744: checking for dlopen in -ldl" >&5 | |
4740 | 4744 | ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` |
4741 | 4745 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4742 | 4746 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -4744,7 +4748,7 @@ else | ||
4744 | 4748 | ac_save_LIBS="$LIBS" |
4745 | 4749 | LIBS="-ldl $LIBS" |
4746 | 4750 | cat > conftest.$ac_ext <<EOF |
4747 | -#line 4748 "configure" | |
4751 | +#line 4752 "configure" | |
4748 | 4752 | #include "confdefs.h" |
4749 | 4753 | /* Override any gcc2 internal prototype to avoid an error. */ |
4750 | 4754 | /* We use char because int might match the return type of a gcc2 |
@@ -4755,7 +4759,7 @@ int main() { | ||
4755 | 4759 | dlopen() |
4756 | 4760 | ; return 0; } |
4757 | 4761 | EOF |
4758 | -if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4762 | +if { (eval echo configure:4763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4759 | 4763 | rm -rf conftest* |
4760 | 4764 | eval "ac_cv_lib_$ac_lib_var=yes" |
4761 | 4765 | else |
@@ -4787,17 +4791,17 @@ fi | ||
4787 | 4791 | # all symbols visible in the dynamic symbol table. |
4788 | 4792 | hold_ldflags=$LDFLAGS |
4789 | 4793 | echo $ac_n "checking for the ld -export-dynamic flag""... $ac_c" 1>&6 |
4790 | -echo "configure:4791: checking for the ld -export-dynamic flag" >&5 | |
4794 | +echo "configure:4795: checking for the ld -export-dynamic flag" >&5 | |
4791 | 4795 | LDFLAGS="${LDFLAGS} -Wl,-export-dynamic" |
4792 | 4796 | cat > conftest.$ac_ext <<EOF |
4793 | -#line 4794 "configure" | |
4797 | +#line 4798 "configure" | |
4794 | 4798 | #include "confdefs.h" |
4795 | 4799 | |
4796 | 4800 | int main() { |
4797 | 4801 | int i; |
4798 | 4802 | ; return 0; } |
4799 | 4803 | EOF |
4800 | -if { (eval echo configure:4801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4804 | +if { (eval echo configure:4805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4801 | 4805 | rm -rf conftest* |
4802 | 4806 | found=yes |
4803 | 4807 | else |
@@ -4816,13 +4820,13 @@ rm -f conftest* | ||
4816 | 4820 | # Sun randomly tweaked the prototypes in <proc_service.h> |
4817 | 4821 | # at one point. |
4818 | 4822 | echo $ac_n "checking if <proc_service.h> is old""... $ac_c" 1>&6 |
4819 | -echo "configure:4820: checking if <proc_service.h> is old" >&5 | |
4823 | +echo "configure:4824: checking if <proc_service.h> is old" >&5 | |
4820 | 4824 | if eval "test \"`echo '$''{'gdb_cv_proc_service_is_old'+set}'`\" = set"; then |
4821 | 4825 | echo $ac_n "(cached) $ac_c" 1>&6 |
4822 | 4826 | else |
4823 | 4827 | |
4824 | 4828 | cat > conftest.$ac_ext <<EOF |
4825 | -#line 4826 "configure" | |
4829 | +#line 4830 "configure" | |
4826 | 4830 | #include "confdefs.h" |
4827 | 4831 | |
4828 | 4832 | #include <proc_service.h> |
@@ -4833,7 +4837,7 @@ int main() { | ||
4833 | 4837 | |
4834 | 4838 | ; return 0; } |
4835 | 4839 | EOF |
4836 | -if { (eval echo configure:4837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4840 | +if { (eval echo configure:4841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
4837 | 4841 | rm -rf conftest* |
4838 | 4842 | gdb_cv_proc_service_is_old=no |
4839 | 4843 | else |
@@ -4970,7 +4974,7 @@ if test x$gdb_cv_os_cygwin = xyes; then | ||
4970 | 4974 | else |
4971 | 4975 | TERM_LIB= |
4972 | 4976 | echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
4973 | -echo "configure:4974: checking for tgetent in -lncurses" >&5 | |
4977 | +echo "configure:4978: checking for tgetent in -lncurses" >&5 | |
4974 | 4978 | ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
4975 | 4979 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4976 | 4980 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -4978,7 +4982,7 @@ else | ||
4978 | 4982 | ac_save_LIBS="$LIBS" |
4979 | 4983 | LIBS="-lncurses $LIBS" |
4980 | 4984 | cat > conftest.$ac_ext <<EOF |
4981 | -#line 4982 "configure" | |
4985 | +#line 4986 "configure" | |
4982 | 4986 | #include "confdefs.h" |
4983 | 4987 | /* Override any gcc2 internal prototype to avoid an error. */ |
4984 | 4988 | /* We use char because int might match the return type of a gcc2 |
@@ -4989,7 +4993,7 @@ int main() { | ||
4989 | 4993 | tgetent() |
4990 | 4994 | ; return 0; } |
4991 | 4995 | EOF |
4992 | -if { (eval echo configure:4993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4996 | +if { (eval echo configure:4997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4993 | 4997 | rm -rf conftest* |
4994 | 4998 | eval "ac_cv_lib_$ac_lib_var=yes" |
4995 | 4999 | else |
@@ -5008,7 +5012,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
5008 | 5012 | else |
5009 | 5013 | echo "$ac_t""no" 1>&6 |
5010 | 5014 | echo $ac_n "checking for tgetent in -lHcurses""... $ac_c" 1>&6 |
5011 | -echo "configure:5012: checking for tgetent in -lHcurses" >&5 | |
5015 | +echo "configure:5016: checking for tgetent in -lHcurses" >&5 | |
5012 | 5016 | ac_lib_var=`echo Hcurses'_'tgetent | sed 'y%./+-%__p_%'` |
5013 | 5017 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5014 | 5018 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -5016,7 +5020,7 @@ else | ||
5016 | 5020 | ac_save_LIBS="$LIBS" |
5017 | 5021 | LIBS="-lHcurses $LIBS" |
5018 | 5022 | cat > conftest.$ac_ext <<EOF |
5019 | -#line 5020 "configure" | |
5023 | +#line 5024 "configure" | |
5020 | 5024 | #include "confdefs.h" |
5021 | 5025 | /* Override any gcc2 internal prototype to avoid an error. */ |
5022 | 5026 | /* We use char because int might match the return type of a gcc2 |
@@ -5027,7 +5031,7 @@ int main() { | ||
5027 | 5031 | tgetent() |
5028 | 5032 | ; return 0; } |
5029 | 5033 | EOF |
5030 | -if { (eval echo configure:5031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5034 | +if { (eval echo configure:5035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5031 | 5035 | rm -rf conftest* |
5032 | 5036 | eval "ac_cv_lib_$ac_lib_var=yes" |
5033 | 5037 | else |
@@ -5046,7 +5050,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
5046 | 5050 | else |
5047 | 5051 | echo "$ac_t""no" 1>&6 |
5048 | 5052 | echo $ac_n "checking for tgetent in -ltermlib""... $ac_c" 1>&6 |
5049 | -echo "configure:5050: checking for tgetent in -ltermlib" >&5 | |
5053 | +echo "configure:5054: checking for tgetent in -ltermlib" >&5 | |
5050 | 5054 | ac_lib_var=`echo termlib'_'tgetent | sed 'y%./+-%__p_%'` |
5051 | 5055 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5052 | 5056 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -5054,7 +5058,7 @@ else | ||
5054 | 5058 | ac_save_LIBS="$LIBS" |
5055 | 5059 | LIBS="-ltermlib $LIBS" |
5056 | 5060 | cat > conftest.$ac_ext <<EOF |
5057 | -#line 5058 "configure" | |
5061 | +#line 5062 "configure" | |
5058 | 5062 | #include "confdefs.h" |
5059 | 5063 | /* Override any gcc2 internal prototype to avoid an error. */ |
5060 | 5064 | /* We use char because int might match the return type of a gcc2 |
@@ -5065,7 +5069,7 @@ int main() { | ||
5065 | 5069 | tgetent() |
5066 | 5070 | ; return 0; } |
5067 | 5071 | EOF |
5068 | -if { (eval echo configure:5069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5072 | +if { (eval echo configure:5073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5069 | 5073 | rm -rf conftest* |
5070 | 5074 | eval "ac_cv_lib_$ac_lib_var=yes" |
5071 | 5075 | else |
@@ -5084,7 +5088,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
5084 | 5088 | else |
5085 | 5089 | echo "$ac_t""no" 1>&6 |
5086 | 5090 | echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
5087 | -echo "configure:5088: checking for tgetent in -ltermcap" >&5 | |
5091 | +echo "configure:5092: checking for tgetent in -ltermcap" >&5 | |
5088 | 5092 | ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
5089 | 5093 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5090 | 5094 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -5092,7 +5096,7 @@ else | ||
5092 | 5096 | ac_save_LIBS="$LIBS" |
5093 | 5097 | LIBS="-ltermcap $LIBS" |
5094 | 5098 | cat > conftest.$ac_ext <<EOF |
5095 | -#line 5096 "configure" | |
5099 | +#line 5100 "configure" | |
5096 | 5100 | #include "confdefs.h" |
5097 | 5101 | /* Override any gcc2 internal prototype to avoid an error. */ |
5098 | 5102 | /* We use char because int might match the return type of a gcc2 |
@@ -5103,7 +5107,7 @@ int main() { | ||
5103 | 5107 | tgetent() |
5104 | 5108 | ; return 0; } |
5105 | 5109 | EOF |
5106 | -if { (eval echo configure:5107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5110 | +if { (eval echo configure:5111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5107 | 5111 | rm -rf conftest* |
5108 | 5112 | eval "ac_cv_lib_$ac_lib_var=yes" |
5109 | 5113 | else |
@@ -5122,7 +5126,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
5122 | 5126 | else |
5123 | 5127 | echo "$ac_t""no" 1>&6 |
5124 | 5128 | echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
5125 | -echo "configure:5126: checking for tgetent in -lcurses" >&5 | |
5129 | +echo "configure:5130: checking for tgetent in -lcurses" >&5 | |
5126 | 5130 | ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
5127 | 5131 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5128 | 5132 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -5130,7 +5134,7 @@ else | ||
5130 | 5134 | ac_save_LIBS="$LIBS" |
5131 | 5135 | LIBS="-lcurses $LIBS" |
5132 | 5136 | cat > conftest.$ac_ext <<EOF |
5133 | -#line 5134 "configure" | |
5137 | +#line 5138 "configure" | |
5134 | 5138 | #include "confdefs.h" |
5135 | 5139 | /* Override any gcc2 internal prototype to avoid an error. */ |
5136 | 5140 | /* We use char because int might match the return type of a gcc2 |
@@ -5141,7 +5145,7 @@ int main() { | ||
5141 | 5145 | tgetent() |
5142 | 5146 | ; return 0; } |
5143 | 5147 | EOF |
5144 | -if { (eval echo configure:5145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5148 | +if { (eval echo configure:5149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5145 | 5149 | rm -rf conftest* |
5146 | 5150 | eval "ac_cv_lib_$ac_lib_var=yes" |
5147 | 5151 | else |
@@ -5160,7 +5164,7 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | ||
5160 | 5164 | else |
5161 | 5165 | echo "$ac_t""no" 1>&6 |
5162 | 5166 | echo $ac_n "checking for tgetent in -lterminfo""... $ac_c" 1>&6 |
5163 | -echo "configure:5164: checking for tgetent in -lterminfo" >&5 | |
5167 | +echo "configure:5168: checking for tgetent in -lterminfo" >&5 | |
5164 | 5168 | ac_lib_var=`echo terminfo'_'tgetent | sed 'y%./+-%__p_%'` |
5165 | 5169 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5166 | 5170 | echo $ac_n "(cached) $ac_c" 1>&6 |
@@ -5168,7 +5172,7 @@ else | ||
5168 | 5172 | ac_save_LIBS="$LIBS" |
5169 | 5173 | LIBS="-lterminfo $LIBS" |
5170 | 5174 | cat > conftest.$ac_ext <<EOF |
5171 | -#line 5172 "configure" | |
5175 | +#line 5176 "configure" | |
5172 | 5176 | #include "confdefs.h" |
5173 | 5177 | /* Override any gcc2 internal prototype to avoid an error. */ |
5174 | 5178 | /* We use char because int might match the return type of a gcc2 |
@@ -5179,7 +5183,7 @@ int main() { | ||
5179 | 5183 | tgetent() |
5180 | 5184 | ; return 0; } |
5181 | 5185 | EOF |
5182 | -if { (eval echo configure:5183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5186 | +if { (eval echo configure:5187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5183 | 5187 | rm -rf conftest* |
5184 | 5188 | eval "ac_cv_lib_$ac_lib_var=yes" |
5185 | 5189 | else |
@@ -5223,7 +5227,7 @@ fi | ||
5223 | 5227 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
5224 | 5228 | # --without-x overrides everything else, but does not touch the cache. |
5225 | 5229 | echo $ac_n "checking for X""... $ac_c" 1>&6 |
5226 | -echo "configure:5227: checking for X" >&5 | |
5230 | +echo "configure:5231: checking for X" >&5 | |
5227 | 5231 | |
5228 | 5232 | # Check whether --with-x or --without-x was given. |
5229 | 5233 | if test "${with_x+set}" = set; then |
@@ -5285,12 +5289,12 @@ if test "$ac_x_includes" = NO; then | ||
5285 | 5289 | |
5286 | 5290 | # First, try using that file with no special directory specified. |
5287 | 5291 | cat > conftest.$ac_ext <<EOF |
5288 | -#line 5289 "configure" | |
5292 | +#line 5293 "configure" | |
5289 | 5293 | #include "confdefs.h" |
5290 | 5294 | #include <$x_direct_test_include> |
5291 | 5295 | EOF |
5292 | 5296 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5293 | -{ (eval echo configure:5294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
5297 | +{ (eval echo configure:5298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | |
5294 | 5298 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5295 | 5299 | if test -z "$ac_err"; then |
5296 | 5300 | rm -rf conftest* |
@@ -5359,14 +5363,14 @@ if test "$ac_x_libraries" = NO; then | ||
5359 | 5363 | ac_save_LIBS="$LIBS" |
5360 | 5364 | LIBS="-l$x_direct_test_library $LIBS" |
5361 | 5365 | cat > conftest.$ac_ext <<EOF |
5362 | -#line 5363 "configure" | |
5366 | +#line 5367 "configure" | |
5363 | 5367 | #include "confdefs.h" |
5364 | 5368 | |
5365 | 5369 | int main() { |
5366 | 5370 | ${x_direct_test_function}() |
5367 | 5371 | ; return 0; } |
5368 | 5372 | EOF |
5369 | -if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5373 | +if { (eval echo configure:5374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
5370 | 5374 | rm -rf conftest* |
5371 | 5375 | LIBS="$ac_save_LIBS" |
5372 | 5376 | # We can link X programs with no special library path. |
@@ -5598,12 +5602,12 @@ fi | ||
5598 | 5602 | |
5599 | 5603 | |
5600 | 5604 | echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
5601 | -echo "configure:5602: checking for Cygwin environment" >&5 | |
5605 | +echo "configure:5606: checking for Cygwin environment" >&5 | |
5602 | 5606 | if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
5603 | 5607 | echo $ac_n "(cached) $ac_c" 1>&6 |
5604 | 5608 | else |
5605 | 5609 | cat > conftest.$ac_ext <<EOF |
5606 | -#line 5607 "configure" | |
5610 | +#line 5611 "configure" | |
5607 | 5611 | #include "confdefs.h" |
5608 | 5612 | |
5609 | 5613 | int main() { |
@@ -5614,7 +5618,7 @@ int main() { | ||
5614 | 5618 | return __CYGWIN__; |
5615 | 5619 | ; return 0; } |
5616 | 5620 | EOF |
5617 | -if { (eval echo configure:5618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5621 | +if { (eval echo configure:5622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5618 | 5622 | rm -rf conftest* |
5619 | 5623 | ac_cv_cygwin=yes |
5620 | 5624 | else |
@@ -5631,19 +5635,19 @@ echo "$ac_t""$ac_cv_cygwin" 1>&6 | ||
5631 | 5635 | CYGWIN= |
5632 | 5636 | test "$ac_cv_cygwin" = yes && CYGWIN=yes |
5633 | 5637 | echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
5634 | -echo "configure:5635: checking for mingw32 environment" >&5 | |
5638 | +echo "configure:5639: checking for mingw32 environment" >&5 | |
5635 | 5639 | if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
5636 | 5640 | echo $ac_n "(cached) $ac_c" 1>&6 |
5637 | 5641 | else |
5638 | 5642 | cat > conftest.$ac_ext <<EOF |
5639 | -#line 5640 "configure" | |
5643 | +#line 5644 "configure" | |
5640 | 5644 | #include "confdefs.h" |
5641 | 5645 | |
5642 | 5646 | int main() { |
5643 | 5647 | return __MINGW32__; |
5644 | 5648 | ; return 0; } |
5645 | 5649 | EOF |
5646 | -if { (eval echo configure:5647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5650 | +if { (eval echo configure:5651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
5647 | 5651 | rm -rf conftest* |
5648 | 5652 | ac_cv_mingw32=yes |
5649 | 5653 | else |
@@ -5662,7 +5666,7 @@ test "$ac_cv_mingw32" = yes && MINGW32=yes | ||
5662 | 5666 | |
5663 | 5667 | |
5664 | 5668 | echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
5665 | -echo "configure:5666: checking for executable suffix" >&5 | |
5669 | +echo "configure:5670: checking for executable suffix" >&5 | |
5666 | 5670 | if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
5667 | 5671 | echo $ac_n "(cached) $ac_c" 1>&6 |
5668 | 5672 | else |
@@ -5672,7 +5676,7 @@ else | ||
5672 | 5676 | rm -f conftest* |
5673 | 5677 | echo 'int main () { return 0; }' > conftest.$ac_ext |
5674 | 5678 | ac_cv_exeext= |
5675 | - if { (eval echo configure:5676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | |
5679 | + if { (eval echo configure:5680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | |
5676 | 5680 | for file in conftest.*; do |
5677 | 5681 | case $file in |
5678 | 5682 | *.c | *.o | *.obj | *.ilk | *.pdb) ;; |
@@ -109,16 +109,20 @@ AC_MSG_RESULT($gdb_cv_hpux_sswide) | ||
109 | 109 | # Also detect which type of /proc is in use, such as for Unixware. |
110 | 110 | |
111 | 111 | if test "${target}" = "${host}"; then |
112 | + gdb_cv_hostos_is_solaris=no | |
112 | 113 | case "${host}" in |
113 | 114 | i[[3456]]86-*-linux*) |
114 | 115 | AC_DEFINE(START_INFERIOR_TRAPS_EXPECTED,2) |
115 | 116 | AC_DEFINE(sys_quotactl) |
116 | 117 | ;; |
118 | + *-*-solaris*) | |
119 | + gdb_cv_hostos_is_solaris=yes ;; | |
117 | 120 | esac |
118 | 121 | AC_MSG_CHECKING(for directory proc entries) |
119 | 122 | # The [gdb_host != sun4sol2] hack is because Solaris does provide the |
120 | 123 | # multiple procfs files as of Solaris 2.6, but GDB can't use it right now. |
121 | - if test "$ac_cv_header_sys_procfs_h" = yes -a "$gdb_host" != sun4sol2 \ | |
124 | + if test "$ac_cv_header_sys_procfs_h" = yes -a \ | |
125 | + "$gdb_cv_hostos_is_solaris" = no \ | |
122 | 126 | -a -d /proc/$$ \ |
123 | 127 | -a -f /proc/$$/ctl \ |
124 | 128 | -a -f /proc/$$/as \ |
@@ -620,7 +620,7 @@ init_hpux_thread_ops () | ||
620 | 620 | hpux_thread_ops.to_mourn_inferior = hpux_thread_mourn_inferior; |
621 | 621 | hpux_thread_ops.to_can_run = hpux_thread_can_run; |
622 | 622 | hpux_thread_ops.to_notice_signals = hpux_thread_notice_signals; |
623 | - hpux_thread_ops.to_thread_alive = hpux_thread_thread_alive; | |
623 | + hpux_thread_ops.to_thread_alive = hpux_thread_alive; | |
624 | 624 | hpux_thread_ops.to_stop = hpux_thread_stop; |
625 | 625 | hpux_thread_ops.to_stratum = process_stratum; |
626 | 626 | hpux_thread_ops.to_has_all_memory = 1; |