Skip to content

Commit 9db76f3

Browse files
committed
Update configure after sunos4 update.
1 parent 461f80c commit 9db76f3

File tree

1 file changed

+24
-18
lines changed

1 file changed

+24
-18
lines changed

src/configure

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3580,13 +3580,17 @@ else
35803580
STRERROR='strerror.o'
35813581
fi
35823582

3583+
eC_CHECK_FUNC(strerror, cat >> confdefs.h <<\EOF
3584+
#define HAVE_STRERROR 1
3585+
EOF
3586+
, STRERROR2='../../backend/port/strerror.o')
35833587
echo $ac_n "checking for strdup""... $ac_c" 1>&6
3584-
echo "configure:3585: checking for strdup" >&5
3588+
echo "configure:3589: checking for strdup" >&5
35853589
if eval "test \"`echo '$''{'ac_cv_func_strdup'+set}'`\" = set"; then
35863590
echo $ac_n "(cached) $ac_c" 1>&6
35873591
else
35883592
cat > conftest.$ac_ext <<EOF
3589-
#line 3590 "configure"
3593+
#line 3594 "configure"
35903594
#include "confdefs.h"
35913595
/* System header to define __stub macros and hopefully few prototypes,
35923596
which can conflict with char strdup(); below. */
@@ -3609,7 +3613,7 @@ strdup();
36093613
36103614
; return 0; }
36113615
EOF
3612-
if { (eval echo configure:3613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3616+
if { (eval echo configure:3617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
36133617
rm -rf conftest*
36143618
eval "ac_cv_func_strdup=yes"
36153619
else
@@ -3635,13 +3639,14 @@ fi
36353639

36363640

36373641

3642+
36383643
echo $ac_n "checking for cbrt""... $ac_c" 1>&6
3639-
echo "configure:3640: checking for cbrt" >&5
3644+
echo "configure:3645: checking for cbrt" >&5
36403645
if eval "test \"`echo '$''{'ac_cv_func_cbrt'+set}'`\" = set"; then
36413646
echo $ac_n "(cached) $ac_c" 1>&6
36423647
else
36433648
cat > conftest.$ac_ext <<EOF
3644-
#line 3645 "configure"
3649+
#line 3650 "configure"
36453650
#include "confdefs.h"
36463651
/* System header to define __stub macros and hopefully few prototypes,
36473652
which can conflict with char cbrt(); below. */
@@ -3664,7 +3669,7 @@ cbrt();
36643669
36653670
; return 0; }
36663671
EOF
3667-
if { (eval echo configure:3668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3672+
if { (eval echo configure:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
36683673
rm -rf conftest*
36693674
eval "ac_cv_func_cbrt=yes"
36703675
else
@@ -3685,15 +3690,15 @@ EOF
36853690
else
36863691
echo "$ac_t""no" 1>&6
36873692
echo $ac_n "checking for cbrt in -lm""... $ac_c" 1>&6
3688-
echo "configure:3689: checking for cbrt in -lm" >&5
3693+
echo "configure:3694: checking for cbrt in -lm" >&5
36893694
ac_lib_var=`echo m'_'cbrt | sed 'y%./+-%__p_%'`
36903695
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
36913696
echo $ac_n "(cached) $ac_c" 1>&6
36923697
else
36933698
ac_save_LIBS="$LIBS"
36943699
LIBS="-lm $LIBS"
36953700
cat > conftest.$ac_ext <<EOF
3696-
#line 3697 "configure"
3701+
#line 3702 "configure"
36973702
#include "confdefs.h"
36983703
/* Override any gcc2 internal prototype to avoid an error. */
36993704
/* We use char because int might match the return type of a gcc2
@@ -3704,7 +3709,7 @@ int main() {
37043709
cbrt()
37053710
; return 0; }
37063711
EOF
3707-
if { (eval echo configure:3708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3712+
if { (eval echo configure:3713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
37083713
rm -rf conftest*
37093714
eval "ac_cv_lib_$ac_lib_var=yes"
37103715
else
@@ -3730,12 +3735,12 @@ fi
37303735
fi
37313736

37323737
echo $ac_n "checking for rint""... $ac_c" 1>&6
3733-
echo "configure:3734: checking for rint" >&5
3738+
echo "configure:3739: checking for rint" >&5
37343739
if eval "test \"`echo '$''{'ac_cv_func_rint'+set}'`\" = set"; then
37353740
echo $ac_n "(cached) $ac_c" 1>&6
37363741
else
37373742
cat > conftest.$ac_ext <<EOF
3738-
#line 3739 "configure"
3743+
#line 3744 "configure"
37393744
#include "confdefs.h"
37403745
/* System header to define __stub macros and hopefully few prototypes,
37413746
which can conflict with char rint(); below. */
@@ -3758,7 +3763,7 @@ rint();
37583763
37593764
; return 0; }
37603765
EOF
3761-
if { (eval echo configure:3762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3766+
if { (eval echo configure:3767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
37623767
rm -rf conftest*
37633768
eval "ac_cv_func_rint=yes"
37643769
else
@@ -3779,15 +3784,15 @@ EOF
37793784
else
37803785
echo "$ac_t""no" 1>&6
37813786
echo $ac_n "checking for rint in -lm""... $ac_c" 1>&6
3782-
echo "configure:3783: checking for rint in -lm" >&5
3787+
echo "configure:3788: checking for rint in -lm" >&5
37833788
ac_lib_var=`echo m'_'rint | sed 'y%./+-%__p_%'`
37843789
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
37853790
echo $ac_n "(cached) $ac_c" 1>&6
37863791
else
37873792
ac_save_LIBS="$LIBS"
37883793
LIBS="-lm $LIBS"
37893794
cat > conftest.$ac_ext <<EOF
3790-
#line 3791 "configure"
3795+
#line 3796 "configure"
37913796
#include "confdefs.h"
37923797
/* Override any gcc2 internal prototype to avoid an error. */
37933798
/* We use char because int might match the return type of a gcc2
@@ -3798,7 +3803,7 @@ int main() {
37983803
rint()
37993804
; return 0; }
38003805
EOF
3801-
if { (eval echo configure:3802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3806+
if { (eval echo configure:3807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
38023807
rm -rf conftest*
38033808
eval "ac_cv_lib_$ac_lib_var=yes"
38043809
else
@@ -3825,7 +3830,7 @@ fi
38253830

38263831

38273832
echo $ac_n "checking setting USE_LOCALE""... $ac_c" 1>&6
3828-
echo "configure:3829: checking setting USE_LOCALE" >&5
3833+
echo "configure:3834: checking setting USE_LOCALE" >&5
38293834
if test "$USE_LOCALE" = "yes"
38303835
then
38313836
echo "$ac_t""enabled" 1>&6
@@ -3837,14 +3842,14 @@ else
38373842
echo "$ac_t""disabled" 1>&6
38383843
fi
38393844
echo $ac_n "checking setting DEF_PGPORT""... $ac_c" 1>&6
3840-
echo "configure:3841: checking setting DEF_PGPORT" >&5
3845+
echo "configure:3846: checking setting DEF_PGPORT" >&5
38413846
cat >> confdefs.h <<EOF
38423847
#define DEF_PGPORT "${DEF_PGPORT}"
38433848
EOF
38443849

38453850
echo "$ac_t""$DEF_PGPORT" 1>&6
38463851
echo $ac_n "checking setting HBA""... $ac_c" 1>&6
3847-
echo "configure:3848: checking setting HBA" >&5
3852+
echo "configure:3853: checking setting HBA" >&5
38483853
if test "$NOHBA" = "no"
38493854
then
38503855
echo "$ac_t""enabled" 1>&6
@@ -4028,6 +4033,7 @@ s%@LIBOBJS@%$LIBOBJS%g
40284033
s%@STRDUP@%$STRDUP%g
40294034
s%@INET_ATON@%$INET_ATON%g
40304035
s%@STRERROR@%$STRERROR%g
4036+
s%@STRERROR2@%$STRERROR2%g
40314037
40324038
CEOF
40334039
EOF

0 commit comments

Comments
 (0)