@@ -2950,13 +2950,68 @@ else
2950
2950
fi
2951
2951
done
2952
2952
2953
+ for ac_func in sigprocmask waitpid setsid
2954
+ do
2955
+ echo $ac_n " checking for$ac_func " " ...$ac_c " 1>&6
2956
+ echo " configure:2957: checking for$ac_func " >&5
2957
+ if eval " test\" ` echo' $' ' {' ac_cv_func_$ac_func ' +set}' ` \" = set" ; then
2958
+ echo $ac_n " (cached)$ac_c " 1>&6
2959
+ else
2960
+ cat> conftest.$ac_ext << EOF
2961
+ #line 2962 "configure"
2962
+ #include "confdefs.h"
2963
+ /* System header to define __stub macros and hopefully few prototypes,
2964
+ which can conflict with char$ac_func (); below. */
2965
+ #include <assert.h>
2966
+ /* Override any gcc2 internal prototype to avoid an error. */
2967
+ /* We use char because int might match the return type of a gcc2
2968
+ builtin and then its argument prototype would still apply. */
2969
+ char$ac_func ();
2970
+
2971
+ int main() {
2972
+
2973
+ /* The GNU C library defines this for functions which it implements
2974
+ to always fail with ENOSYS. Some functions are actually named
2975
+ something starting with __ and the normal name is an alias. */
2976
+ #if defined (__stub_$ac_func ) || defined (__stub___$ac_func )
2977
+ choke me
2978
+ #else
2979
+ $ac_func ();
2980
+ #endif
2981
+
2982
+ ; return 0; }
2983
+ EOF
2984
+ if { (evalecho configure:2985:\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
2985
+ rm -rf conftest*
2986
+ eval " ac_cv_func_$ac_func =yes"
2987
+ else
2988
+ echo " configure: failed program was:" >&5
2989
+ cat conftest.$ac_ext >&5
2990
+ rm -rf conftest*
2991
+ eval " ac_cv_func_$ac_func =no"
2992
+ fi
2993
+ rm -f conftest*
2994
+ fi
2995
+
2996
+ if eval " test\" ` echo' $ac_cv_func_' $ac_func ` \" = yes" ; then
2997
+ echo " $ac_t " " yes" 1>&6
2998
+ ac_tr_func=HAVE_` echo$ac_func | tr' abcdefghijklmnopqrstuvwxyz' ' ABCDEFGHIJKLMNOPQRSTUVWXYZ' `
2999
+ cat>> confdefs.h<< EOF
3000
+ #define$ac_tr_func 1
3001
+ EOF
3002
+
3003
+ else
3004
+ echo " $ac_t " " no" 1>&6
3005
+ fi
3006
+ done
3007
+
2953
3008
echo $ac_n " checking for inet_aton" " ...$ac_c " 1>&6
2954
- echo " configure:2955 : checking for inet_aton" >&5
3009
+ echo " configure:3010 : checking for inet_aton" >&5
2955
3010
if eval " test\" ` echo' $' ' {' ac_cv_func_inet_aton' +set}' ` \" = set" ; then
2956
3011
echo $ac_n " (cached)$ac_c " 1>&6
2957
3012
else
2958
3013
cat> conftest.$ac_ext << EOF
2959
- #line2960 "configure"
3014
+ #line3015 "configure"
2960
3015
#include "confdefs.h"
2961
3016
/* System header to define __stub macros and hopefully few prototypes,
2962
3017
which can conflict with char inet_aton(); below. */
@@ -2979,7 +3034,7 @@ inet_aton();
2979
3034
2980
3035
; return 0; }
2981
3036
EOF
2982
- if { (evalecho configure:2983 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3037
+ if { (evalecho configure:3038 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
2983
3038
rm -rf conftest*
2984
3039
eval " ac_cv_func_inet_aton=yes"
2985
3040
else
@@ -3003,12 +3058,12 @@ INET_ATON='inet_aton.o'
3003
3058
fi
3004
3059
3005
3060
echo $ac_n " checking for strdup" " ...$ac_c " 1>&6
3006
- echo " configure:3007 : checking for strdup" >&5
3061
+ echo " configure:3062 : checking for strdup" >&5
3007
3062
if eval " test\" ` echo' $' ' {' ac_cv_func_strdup' +set}' ` \" = set" ; then
3008
3063
echo $ac_n " (cached)$ac_c " 1>&6
3009
3064
else
3010
3065
cat> conftest.$ac_ext << EOF
3011
- #line3012 "configure"
3066
+ #line3067 "configure"
3012
3067
#include "confdefs.h"
3013
3068
/* System header to define __stub macros and hopefully few prototypes,
3014
3069
which can conflict with char strdup(); below. */
@@ -3031,7 +3086,7 @@ strdup();
3031
3086
3032
3087
; return 0; }
3033
3088
EOF
3034
- if { (evalecho configure:3035 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3089
+ if { (evalecho configure:3090 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3035
3090
rm -rf conftest*
3036
3091
eval " ac_cv_func_strdup=yes"
3037
3092
else
@@ -3053,12 +3108,12 @@ fi
3053
3108
3054
3109
3055
3110
echo $ac_n " checking for cbrt" " ...$ac_c " 1>&6
3056
- echo " configure:3057 : checking for cbrt" >&5
3111
+ echo " configure:3112 : checking for cbrt" >&5
3057
3112
if eval " test\" ` echo' $' ' {' ac_cv_func_cbrt' +set}' ` \" = set" ; then
3058
3113
echo $ac_n " (cached)$ac_c " 1>&6
3059
3114
else
3060
3115
cat> conftest.$ac_ext << EOF
3061
- #line3062 "configure"
3116
+ #line3117 "configure"
3062
3117
#include "confdefs.h"
3063
3118
/* System header to define __stub macros and hopefully few prototypes,
3064
3119
which can conflict with char cbrt(); below. */
@@ -3081,7 +3136,7 @@ cbrt();
3081
3136
3082
3137
; return 0; }
3083
3138
EOF
3084
- if { (evalecho configure:3085 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3139
+ if { (evalecho configure:3140 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3085
3140
rm -rf conftest*
3086
3141
eval " ac_cv_func_cbrt=yes"
3087
3142
else
@@ -3102,15 +3157,15 @@ EOF
3102
3157
else
3103
3158
echo " $ac_t " " no" 1>&6
3104
3159
echo $ac_n " checking for cbrt in -lm" " ...$ac_c " 1>&6
3105
- echo " configure:3106 : checking for cbrt in -lm" >&5
3160
+ echo " configure:3161 : checking for cbrt in -lm" >&5
3106
3161
ac_lib_var=` echo m' _' cbrt| sed' y%./+-%__p_%' `
3107
3162
if eval " test\" ` echo' $' ' {' ac_cv_lib_$ac_lib_var ' +set}' ` \" = set" ; then
3108
3163
echo $ac_n " (cached)$ac_c " 1>&6
3109
3164
else
3110
3165
ac_save_LIBS=" $LIBS "
3111
3166
LIBS=" -lm$LIBS "
3112
3167
cat> conftest.$ac_ext << EOF
3113
- #line3114 "configure"
3168
+ #line3169 "configure"
3114
3169
#include "confdefs.h"
3115
3170
/* Override any gcc2 internal prototype to avoid an error. */
3116
3171
/* We use char because int might match the return type of a gcc2
@@ -3121,7 +3176,7 @@ int main() {
3121
3176
cbrt()
3122
3177
; return 0; }
3123
3178
EOF
3124
- if { (evalecho configure:3125 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3179
+ if { (evalecho configure:3180 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3125
3180
rm -rf conftest*
3126
3181
eval " ac_cv_lib_$ac_lib_var =yes"
3127
3182
else
@@ -3147,12 +3202,12 @@ fi
3147
3202
fi
3148
3203
3149
3204
echo $ac_n " checking for rint" " ...$ac_c " 1>&6
3150
- echo " configure:3151 : checking for rint" >&5
3205
+ echo " configure:3206 : checking for rint" >&5
3151
3206
if eval " test\" ` echo' $' ' {' ac_cv_func_rint' +set}' ` \" = set" ; then
3152
3207
echo $ac_n " (cached)$ac_c " 1>&6
3153
3208
else
3154
3209
cat> conftest.$ac_ext << EOF
3155
- #line3156 "configure"
3210
+ #line3211 "configure"
3156
3211
#include "confdefs.h"
3157
3212
/* System header to define __stub macros and hopefully few prototypes,
3158
3213
which can conflict with char rint(); below. */
@@ -3175,7 +3230,7 @@ rint();
3175
3230
3176
3231
; return 0; }
3177
3232
EOF
3178
- if { (evalecho configure:3179 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3233
+ if { (evalecho configure:3234 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3179
3234
rm -rf conftest*
3180
3235
eval " ac_cv_func_rint=yes"
3181
3236
else
@@ -3196,15 +3251,15 @@ EOF
3196
3251
else
3197
3252
echo " $ac_t " " no" 1>&6
3198
3253
echo $ac_n " checking for rint in -lm" " ...$ac_c " 1>&6
3199
- echo " configure:3200 : checking for rint in -lm" >&5
3254
+ echo " configure:3255 : checking for rint in -lm" >&5
3200
3255
ac_lib_var=` echo m' _' rint| sed' y%./+-%__p_%' `
3201
3256
if eval " test\" ` echo' $' ' {' ac_cv_lib_$ac_lib_var ' +set}' ` \" = set" ; then
3202
3257
echo $ac_n " (cached)$ac_c " 1>&6
3203
3258
else
3204
3259
ac_save_LIBS=" $LIBS "
3205
3260
LIBS=" -lm$LIBS "
3206
3261
cat> conftest.$ac_ext << EOF
3207
- #line3208 "configure"
3262
+ #line3263 "configure"
3208
3263
#include "confdefs.h"
3209
3264
/* Override any gcc2 internal prototype to avoid an error. */
3210
3265
/* We use char because int might match the return type of a gcc2
@@ -3215,7 +3270,7 @@ int main() {
3215
3270
rint()
3216
3271
; return 0; }
3217
3272
EOF
3218
- if { (evalecho configure:3219 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3273
+ if { (evalecho configure:3274 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3219
3274
rm -rf conftest*
3220
3275
eval " ac_cv_lib_$ac_lib_var =yes"
3221
3276
else