@@ -3925,13 +3925,65 @@ else
3925
3925
STRDUP=' ../../utils/strdup.o'
3926
3926
fi
3927
3927
3928
+ echo $ac_n " checking for strtol" " ... $ac_c " 1>&6
3929
+ echo " configure:3930: checking for strtol" >&5
3930
+ if eval " test \" ` echo ' $' ' {' ac_cv_func_strtol' +set}' ` \" = set" ; then
3931
+ echo $ac_n " (cached) $ac_c " 1>&6
3932
+ else
3933
+ cat > conftest.$ac_ext << EOF
3934
+ #line 3935 "configure"
3935
+ #include "confdefs.h"
3936
+ /* System header to define __stub macros and hopefully few prototypes,
3937
+ which can conflict with char strtol(); below. */
3938
+ #include <assert.h>
3939
+ /* Override any gcc2 internal prototype to avoid an error. */
3940
+ /* We use char because int might match the return type of a gcc2
3941
+ builtin and then its argument prototype would still apply. */
3942
+ char strtol();
3943
+
3944
+ int main() {
3945
+
3946
+ /* The GNU C library defines this for functions which it implements
3947
+ to always fail with ENOSYS. Some functions are actually named
3948
+ something starting with __ and the normal name is an alias. */
3949
+ #if defined (__stub_strtol) || defined (__stub___strtol)
3950
+ choke me
3951
+ #else
3952
+ strtol();
3953
+ #endif
3954
+
3955
+ ; return 0; }
3956
+ EOF
3957
+ if { (eval echo configure:3958: \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
3958
+ rm -rf conftest*
3959
+ eval " ac_cv_func_strtol=yes"
3960
+ else
3961
+ echo " configure: failed program was:" >&5
3962
+ cat conftest.$ac_ext >&5
3963
+ rm -rf conftest*
3964
+ eval " ac_cv_func_strtol=no"
3965
+ fi
3966
+ rm -f conftest*
3967
+ fi
3968
+
3969
+ if eval " test \" ` echo ' $ac_cv_func_' strtol` \" = yes" ; then
3970
+ echo " $ac_t " " yes" 1>&6
3971
+ cat >> confdefs.h << \EOF
3972
+ #define HAVE_STRTOL 1
3973
+ EOF
3974
+
3975
+ else
3976
+ echo " $ac_t " " no" 1>&6
3977
+ STRDUP=' strtol.o'
3978
+ fi
3979
+
3928
3980
echo $ac_n " checking for strcasecmp" " ... $ac_c " 1>&6
3929
- echo " configure:3930 : checking for strcasecmp" >&5
3981
+ echo " configure:3982 : checking for strcasecmp" >&5
3930
3982
if eval " test \" ` echo ' $' ' {' ac_cv_func_strcasecmp' +set}' ` \" = set" ; then
3931
3983
echo $ac_n " (cached) $ac_c " 1>&6
3932
3984
else
3933
3985
cat > conftest.$ac_ext << EOF
3934
- #line 3935 "configure"
3986
+ #line 3987 "configure"
3935
3987
#include "confdefs.h"
3936
3988
/* System header to define __stub macros and hopefully few prototypes,
3937
3989
which can conflict with char strcasecmp(); below. */
@@ -3954,7 +4006,7 @@ strcasecmp();
3954
4006
3955
4007
; return 0; }
3956
4008
EOF
3957
- if { (eval echo configure:3958 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
4009
+ if { (eval echo configure:4010 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
3958
4010
rm -rf conftest*
3959
4011
eval " ac_cv_func_strcasecmp=yes"
3960
4012
else
@@ -3987,12 +4039,12 @@ fi
3987
4039
3988
4040
3989
4041
echo $ac_n " checking for cbrt" " ... $ac_c " 1>&6
3990
- echo " configure:3991 : checking for cbrt" >&5
4042
+ echo " configure:4043 : checking for cbrt" >&5
3991
4043
if eval " test \" ` echo ' $' ' {' ac_cv_func_cbrt' +set}' ` \" = set" ; then
3992
4044
echo $ac_n " (cached) $ac_c " 1>&6
3993
4045
else
3994
4046
cat > conftest.$ac_ext << EOF
3995
- #line 3996 "configure"
4047
+ #line 4048 "configure"
3996
4048
#include "confdefs.h"
3997
4049
/* System header to define __stub macros and hopefully few prototypes,
3998
4050
which can conflict with char cbrt(); below. */
@@ -4015,7 +4067,7 @@ cbrt();
4015
4067
4016
4068
; return 0; }
4017
4069
EOF
4018
- if { (eval echo configure:4019 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
4070
+ if { (eval echo configure:4071 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
4019
4071
rm -rf conftest*
4020
4072
eval " ac_cv_func_cbrt=yes"
4021
4073
else
@@ -4036,15 +4088,15 @@ EOF
4036
4088
else
4037
4089
echo " $ac_t " " no" 1>&6
4038
4090
echo $ac_n " checking for cbrt in -lm" " ... $ac_c " 1>&6
4039
- echo " configure:4040 : checking for cbrt in -lm" >&5
4091
+ echo " configure:4092 : checking for cbrt in -lm" >&5
4040
4092
ac_lib_var=` echo m' _' cbrt | sed ' y%./+-%__p_%' `
4041
4093
if eval " test \" ` echo ' $' ' {' ac_cv_lib_$ac_lib_var ' +set}' ` \" = set" ; then
4042
4094
echo $ac_n " (cached) $ac_c " 1>&6
4043
4095
else
4044
4096
ac_save_LIBS=" $LIBS "
4045
4097
LIBS=" -lm $LIBS "
4046
4098
cat > conftest.$ac_ext << EOF
4047
- #line 4048 "configure"
4099
+ #line 4100 "configure"
4048
4100
#include "confdefs.h"
4049
4101
/* Override any gcc2 internal prototype to avoid an error. */
4050
4102
/* We use char because int might match the return type of a gcc2
@@ -4055,7 +4107,7 @@ int main() {
4055
4107
cbrt()
4056
4108
; return 0; }
4057
4109
EOF
4058
- if { (eval echo configure:4059 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
4110
+ if { (eval echo configure:4111 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
4059
4111
rm -rf conftest*
4060
4112
eval " ac_cv_lib_$ac_lib_var =yes"
4061
4113
else
@@ -4081,12 +4133,12 @@ fi
4081
4133
fi
4082
4134
4083
4135
echo $ac_n " checking for rint" " ... $ac_c " 1>&6
4084
- echo " configure:4085 : checking for rint" >&5
4136
+ echo " configure:4137 : checking for rint" >&5
4085
4137
if eval " test \" ` echo ' $' ' {' ac_cv_func_rint' +set}' ` \" = set" ; then
4086
4138
echo $ac_n " (cached) $ac_c " 1>&6
4087
4139
else
4088
4140
cat > conftest.$ac_ext << EOF
4089
- #line 4090 "configure"
4141
+ #line 4142 "configure"
4090
4142
#include "confdefs.h"
4091
4143
/* System header to define __stub macros and hopefully few prototypes,
4092
4144
which can conflict with char rint(); below. */
@@ -4109,7 +4161,7 @@ rint();
4109
4161
4110
4162
; return 0; }
4111
4163
EOF
4112
- if { (eval echo configure:4113 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
4164
+ if { (eval echo configure:4165 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
4113
4165
rm -rf conftest*
4114
4166
eval " ac_cv_func_rint=yes"
4115
4167
else
@@ -4130,15 +4182,15 @@ EOF
4130
4182
else
4131
4183
echo " $ac_t " " no" 1>&6
4132
4184
echo $ac_n " checking for rint in -lm" " ... $ac_c " 1>&6
4133
- echo " configure:4134 : checking for rint in -lm" >&5
4185
+ echo " configure:4186 : checking for rint in -lm" >&5
4134
4186
ac_lib_var=` echo m' _' rint | sed ' y%./+-%__p_%' `
4135
4187
if eval " test \" ` echo ' $' ' {' ac_cv_lib_$ac_lib_var ' +set}' ` \" = set" ; then
4136
4188
echo $ac_n " (cached) $ac_c " 1>&6
4137
4189
else
4138
4190
ac_save_LIBS=" $LIBS "
4139
4191
LIBS=" -lm $LIBS "
4140
4192
cat > conftest.$ac_ext << EOF
4141
- #line 4142 "configure"
4193
+ #line 4194 "configure"
4142
4194
#include "confdefs.h"
4143
4195
/* Override any gcc2 internal prototype to avoid an error. */
4144
4196
/* We use char because int might match the return type of a gcc2
@@ -4149,7 +4201,7 @@ int main() {
4149
4201
rint()
4150
4202
; return 0; }
4151
4203
EOF
4152
- if { (eval echo configure:4153 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
4204
+ if { (eval echo configure:4205 : \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; } && test -s conftest; then
4153
4205
rm -rf conftest*
4154
4206
eval " ac_cv_lib_$ac_lib_var =yes"
4155
4207
else
4176
4228
4177
4229
4178
4230
echo $ac_n " checking setting USE_LOCALE" " ... $ac_c " 1>&6
4179
- echo " configure:4180 : checking setting USE_LOCALE" >&5
4231
+ echo " configure:4232 : checking setting USE_LOCALE" >&5
4180
4232
if test " $USE_LOCALE " = " yes"
4181
4233
then
4182
4234
echo " $ac_t " " enabled" 1>&6
@@ -4188,14 +4240,14 @@ else
4188
4240
echo " $ac_t " " disabled" 1>&6
4189
4241
fi
4190
4242
echo $ac_n " checking setting DEF_PGPORT" " ... $ac_c " 1>&6
4191
- echo " configure:4192 : checking setting DEF_PGPORT" >&5
4243
+ echo " configure:4244 : checking setting DEF_PGPORT" >&5
4192
4244
cat >> confdefs.h << EOF
4193
4245
#define DEF_PGPORT "${DEF_PGPORT} "
4194
4246
EOF
4195
4247
4196
4248
echo " $ac_t " " $DEF_PGPORT " 1>&6
4197
4249
echo $ac_n " checking setting HBA" " ... $ac_c " 1>&6
4198
- echo " configure:4199 : checking setting HBA" >&5
4250
+ echo " configure:4251 : checking setting HBA" >&5
4199
4251
if test " $NOHBA " = " no"
4200
4252
then
4201
4253
echo " $ac_t " " enabled" 1>&6
0 commit comments