@@ -3622,68 +3622,16 @@ EOF
36223622
36233623else
36243624echo " $ac_t " " no" 1>&6
3625- STRERROR=' strerror.o'
3626- fi
3627-
3628- echo $ac_n " checking for strerror" " ...$ac_c " 1>&6
3629- echo " configure:3630: checking for strerror" >&5
3630- if eval " test\" ` echo' $' ' {' ac_cv_func_strerror' +set}' ` \" = set" ; then
3631- echo $ac_n " (cached)$ac_c " 1>&6
3632- else
3633- cat> conftest.$ac_ext << EOF
3634- #line 3635 "configure"
3635- #include "confdefs.h"
3636- /* System header to define __stub macros and hopefully few prototypes,
3637- which can conflict with char strerror(); below. */
3638- #include <assert.h>
3639- /* Override any gcc2 internal prototype to avoid an error. */
3640- /* We use char because int might match the return type of a gcc2
3641- builtin and then its argument prototype would still apply. */
3642- char strerror();
3643-
3644- int main() {
3645-
3646- /* The GNU C library defines this for functions which it implements
3647- to always fail with ENOSYS. Some functions are actually named
3648- something starting with __ and the normal name is an alias. */
3649- #if defined (__stub_strerror) || defined (__stub___strerror)
3650- choke me
3651- #else
3652- strerror();
3653- #endif
3654-
3655- ; return 0; }
3656- EOF
3657- if { (evalecho configure:3658:\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3658- rm -rf conftest*
3659- eval " ac_cv_func_strerror=yes"
3660- else
3661- echo " configure: failed program was:" >&5
3662- cat conftest.$ac_ext >&5
3663- rm -rf conftest*
3664- eval " ac_cv_func_strerror=no"
3665- fi
3666- rm -f conftest*
3667- fi
3668-
3669- if eval " test\" ` echo' $ac_cv_func_' strerror` \" = yes" ; then
3670- echo " $ac_t " " yes" 1>&6
3671- cat>> confdefs.h<< \EOF
3672- #define HAVE_STRERROR 1
3673- EOF
3674-
3675- else
3676- echo " $ac_t " " no" 1>&6
3677- STRERROR2=' ../../backend/port/strerror.o'
3625+ STRERROR=' strerror.o' STRERROR2=' ../../backend/port/strerror.o'
36783626fi
36793627
36803628echo $ac_n " checking for strdup" " ...$ac_c " 1>&6
3681- echo " configure:3682 : checking for strdup" >&5
3629+ echo " configure:3630 : checking for strdup" >&5
36823630if eval " test\" ` echo' $' ' {' ac_cv_func_strdup' +set}' ` \" = set" ; then
36833631echo $ac_n " (cached)$ac_c " 1>&6
36843632else
36853633 cat> conftest.$ac_ext << EOF
3686- #line3687 "configure"
3634+ #line3635 "configure"
36873635#include "confdefs.h"
36883636/* System header to define __stub macros and hopefully few prototypes,
36893637 which can conflict with char strdup(); below. */
@@ -3706,7 +3654,7 @@ strdup();
37063654
37073655; return 0; }
37083656EOF
3709- if { (evalecho configure:3710 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3657+ if { (evalecho configure:3658 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
37103658 rm -rf conftest*
37113659eval " ac_cv_func_strdup=yes"
37123660else
@@ -3734,12 +3682,12 @@ fi
37343682
37353683
37363684echo $ac_n " checking for cbrt" " ...$ac_c " 1>&6
3737- echo " configure:3738 : checking for cbrt" >&5
3685+ echo " configure:3686 : checking for cbrt" >&5
37383686if eval " test\" ` echo' $' ' {' ac_cv_func_cbrt' +set}' ` \" = set" ; then
37393687echo $ac_n " (cached)$ac_c " 1>&6
37403688else
37413689 cat> conftest.$ac_ext << EOF
3742- #line3743 "configure"
3690+ #line3691 "configure"
37433691#include "confdefs.h"
37443692/* System header to define __stub macros and hopefully few prototypes,
37453693 which can conflict with char cbrt(); below. */
@@ -3762,7 +3710,7 @@ cbrt();
37623710
37633711; return 0; }
37643712EOF
3765- if { (evalecho configure:3766 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3713+ if { (evalecho configure:3714 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
37663714 rm -rf conftest*
37673715eval " ac_cv_func_cbrt=yes"
37683716else
@@ -3783,15 +3731,15 @@ EOF
37833731else
37843732echo " $ac_t " " no" 1>&6
37853733echo $ac_n " checking for cbrt in -lm" " ...$ac_c " 1>&6
3786- echo " configure:3787 : checking for cbrt in -lm" >&5
3734+ echo " configure:3735 : checking for cbrt in -lm" >&5
37873735ac_lib_var=` echo m' _' cbrt| sed' y%./+-%__p_%' `
37883736if eval " test\" ` echo' $' ' {' ac_cv_lib_$ac_lib_var ' +set}' ` \" = set" ; then
37893737echo $ac_n " (cached)$ac_c " 1>&6
37903738else
37913739 ac_save_LIBS=" $LIBS "
37923740LIBS=" -lm$LIBS "
37933741cat> conftest.$ac_ext << EOF
3794- #line3795 "configure"
3742+ #line3743 "configure"
37953743#include "confdefs.h"
37963744/* Override any gcc2 internal prototype to avoid an error. */
37973745/* We use char because int might match the return type of a gcc2
@@ -3802,7 +3750,7 @@ int main() {
38023750cbrt()
38033751; return 0; }
38043752EOF
3805- if { (evalecho configure:3806 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3753+ if { (evalecho configure:3754 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
38063754 rm -rf conftest*
38073755eval " ac_cv_lib_$ac_lib_var =yes"
38083756else
@@ -3828,12 +3776,12 @@ fi
38283776fi
38293777
38303778echo $ac_n " checking for rint" " ...$ac_c " 1>&6
3831- echo " configure:3832 : checking for rint" >&5
3779+ echo " configure:3780 : checking for rint" >&5
38323780if eval " test\" ` echo' $' ' {' ac_cv_func_rint' +set}' ` \" = set" ; then
38333781echo $ac_n " (cached)$ac_c " 1>&6
38343782else
38353783 cat> conftest.$ac_ext << EOF
3836- #line3837 "configure"
3784+ #line3785 "configure"
38373785#include "confdefs.h"
38383786/* System header to define __stub macros and hopefully few prototypes,
38393787 which can conflict with char rint(); below. */
@@ -3856,7 +3804,7 @@ rint();
38563804
38573805; return 0; }
38583806EOF
3859- if { (evalecho configure:3860 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3807+ if { (evalecho configure:3808 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
38603808 rm -rf conftest*
38613809eval " ac_cv_func_rint=yes"
38623810else
@@ -3877,15 +3825,15 @@ EOF
38773825else
38783826echo " $ac_t " " no" 1>&6
38793827echo $ac_n " checking for rint in -lm" " ...$ac_c " 1>&6
3880- echo " configure:3881 : checking for rint in -lm" >&5
3828+ echo " configure:3829 : checking for rint in -lm" >&5
38813829ac_lib_var=` echo m' _' rint| sed' y%./+-%__p_%' `
38823830if eval " test\" ` echo' $' ' {' ac_cv_lib_$ac_lib_var ' +set}' ` \" = set" ; then
38833831echo $ac_n " (cached)$ac_c " 1>&6
38843832else
38853833 ac_save_LIBS=" $LIBS "
38863834LIBS=" -lm$LIBS "
38873835cat> conftest.$ac_ext << EOF
3888- #line3889 "configure"
3836+ #line3837 "configure"
38893837#include "confdefs.h"
38903838/* Override any gcc2 internal prototype to avoid an error. */
38913839/* We use char because int might match the return type of a gcc2
@@ -3896,7 +3844,7 @@ int main() {
38963844rint()
38973845; return 0; }
38983846EOF
3899- if { (evalecho configure:3900 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
3847+ if { (evalecho configure:3848 :\" $ac_link \" )1>&5 ; (eval$ac_link )2>&5 ; }&& test -s conftest; then
39003848 rm -rf conftest*
39013849eval " ac_cv_lib_$ac_lib_var =yes"
39023850else
39233871
39243872
39253873echo $ac_n " checking setting USE_LOCALE" " ...$ac_c " 1>&6
3926- echo " configure:3927 : checking setting USE_LOCALE" >&5
3874+ echo " configure:3875 : checking setting USE_LOCALE" >&5
39273875if test " $USE_LOCALE " =" yes"
39283876then
39293877echo " $ac_t " " enabled" 1>&6
@@ -3935,14 +3883,14 @@ else
39353883echo " $ac_t " " disabled" 1>&6
39363884fi
39373885echo $ac_n " checking setting DEF_PGPORT" " ...$ac_c " 1>&6
3938- echo " configure:3939 : checking setting DEF_PGPORT" >&5
3886+ echo " configure:3887 : checking setting DEF_PGPORT" >&5
39393887cat>> confdefs.h<< EOF
39403888#define DEF_PGPORT "${DEF_PGPORT} "
39413889EOF
39423890
39433891echo " $ac_t " " $DEF_PGPORT " 1>&6
39443892echo $ac_n " checking setting HBA" " ...$ac_c " 1>&6
3945- echo " configure:3946 : checking setting HBA" >&5
3893+ echo " configure:3894 : checking setting HBA" >&5
39463894if test " $NOHBA " =" no"
39473895then
39483896echo " $ac_t " " enabled" 1>&6