Nice clean compile...still need to run regression tests, but its a major

start
This commit is contained in:
Marc G. Fournier 1997-12-19 03:42:14 +00:00
parent d7046ada02
commit 429b9d6691
2 changed files with 30 additions and 15 deletions

40
src/configure vendored
View File

@ -3978,13 +3978,18 @@ fi
echo $ac_n "checking for cbrt""... $ac_c" 1>&6 echo $ac_n "checking for cbrt""... $ac_c" 1>&6
echo "configure:3983: checking for cbrt" >&5 echo "configure:3988: checking for cbrt" >&5
if eval "test \"`echo '$''{'ac_cv_func_cbrt'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_cbrt'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 3988 "configure" #line 3993 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char cbrt(); below. */ which can conflict with char cbrt(); below. */
@ -4007,7 +4012,7 @@ cbrt();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:4016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_cbrt=yes" eval "ac_cv_func_cbrt=yes"
else else
@ -4028,7 +4033,7 @@ EOF
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for cbrt in -lm""... $ac_c" 1>&6 echo $ac_n "checking for cbrt in -lm""... $ac_c" 1>&6
echo "configure:4032: checking for cbrt in -lm" >&5 echo "configure:4037: checking for cbrt in -lm" >&5
ac_lib_var=`echo m'_'cbrt | sed 'y%./+-%__p_%'` ac_lib_var=`echo m'_'cbrt | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
@ -4036,7 +4041,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lm $LIBS" LIBS="-lm $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4040 "configure" #line 4045 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
@ -4047,7 +4052,7 @@ int main() {
cbrt() cbrt()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:4056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
@ -4073,12 +4078,12 @@ fi
fi fi
echo $ac_n "checking for rint""... $ac_c" 1>&6 echo $ac_n "checking for rint""... $ac_c" 1>&6
echo "configure:4077: checking for rint" >&5 echo "configure:4082: checking for rint" >&5
if eval "test \"`echo '$''{'ac_cv_func_rint'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_func_rint'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4082 "configure" #line 4087 "configure"
#include "confdefs.h" #include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes, /* System header to define __stub macros and hopefully few prototypes,
which can conflict with char rint(); below. */ which can conflict with char rint(); below. */
@ -4101,7 +4106,7 @@ rint();
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:4110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_func_rint=yes" eval "ac_cv_func_rint=yes"
else else
@ -4122,7 +4127,7 @@ EOF
else else
echo "$ac_t""no" 1>&6 echo "$ac_t""no" 1>&6
echo $ac_n "checking for rint in -lm""... $ac_c" 1>&6 echo $ac_n "checking for rint in -lm""... $ac_c" 1>&6
echo "configure:4126: checking for rint in -lm" >&5 echo "configure:4131: checking for rint in -lm" >&5
ac_lib_var=`echo m'_'rint | sed 'y%./+-%__p_%'` ac_lib_var=`echo m'_'rint | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
@ -4130,7 +4135,7 @@ else
ac_save_LIBS="$LIBS" ac_save_LIBS="$LIBS"
LIBS="-lm $LIBS" LIBS="-lm $LIBS"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 4134 "configure" #line 4139 "configure"
#include "confdefs.h" #include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */ /* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2 /* We use char because int might match the return type of a gcc2
@ -4141,7 +4146,7 @@ int main() {
rint() rint()
; return 0; } ; return 0; }
EOF EOF
if { (eval echo configure:4145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then if { (eval echo configure:4150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
rm -rf conftest* rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes" eval "ac_cv_lib_$ac_lib_var=yes"
else else
@ -4168,7 +4173,7 @@ fi
echo $ac_n "checking setting USE_LOCALE""... $ac_c" 1>&6 echo $ac_n "checking setting USE_LOCALE""... $ac_c" 1>&6
echo "configure:4172: checking setting USE_LOCALE" >&5 echo "configure:4177: checking setting USE_LOCALE" >&5
if test "$USE_LOCALE" = "yes" if test "$USE_LOCALE" = "yes"
then then
echo "$ac_t""enabled" 1>&6 echo "$ac_t""enabled" 1>&6
@ -4180,14 +4185,14 @@ else
echo "$ac_t""disabled" 1>&6 echo "$ac_t""disabled" 1>&6
fi fi
echo $ac_n "checking setting DEF_PGPORT""... $ac_c" 1>&6 echo $ac_n "checking setting DEF_PGPORT""... $ac_c" 1>&6
echo "configure:4184: checking setting DEF_PGPORT" >&5 echo "configure:4189: checking setting DEF_PGPORT" >&5
cat >> confdefs.h <<EOF cat >> confdefs.h <<EOF
#define DEF_PGPORT "${DEF_PGPORT}" #define DEF_PGPORT "${DEF_PGPORT}"
EOF EOF
echo "$ac_t""$DEF_PGPORT" 1>&6 echo "$ac_t""$DEF_PGPORT" 1>&6
echo $ac_n "checking setting HBA""... $ac_c" 1>&6 echo $ac_n "checking setting HBA""... $ac_c" 1>&6
echo "configure:4191: checking setting HBA" >&5 echo "configure:4196: checking setting HBA" >&5
if test "$NOHBA" = "no" if test "$NOHBA" = "no"
then then
echo "$ac_t""enabled" 1>&6 echo "$ac_t""enabled" 1>&6
@ -4370,7 +4375,12 @@ s%@YFLAGS@%$YFLAGS%g
s%@yacc@%$yacc%g s%@yacc@%$yacc%g
s%@bison@%$bison%g s%@bison@%$bison%g
s%@LIBOBJS@%$LIBOBJS%g s%@LIBOBJS@%$LIBOBJS%g
s%@GETRUSAGE@%$GETRUSAGE%g
s%@GETHOSTNAME@%$GETHOSTNAME%g
s%@SRANDOM@%$SRANDOM%g
s%@RANDOM@%$RANDOM%g
s%@STRDUP@%$STRDUP%g s%@STRDUP@%$STRDUP%g
s%@STRCASECMP@%$STRCASECMP%g
s%@INET_ATON@%$INET_ATON%g s%@INET_ATON@%$INET_ATON%g
s%@STRERROR@%$STRERROR%g s%@STRERROR@%$STRERROR%g
s%@STRERROR2@%$STRERROR2%g s%@STRERROR2@%$STRERROR2%g

View File

@ -480,7 +480,12 @@ AC_CHECK_FUNC(strdup,
AC_CHECK_FUNC(strcasecmp, AC_CHECK_FUNC(strcasecmp,
AC_DEFINE(HAVE_STRCASECMP), AC_DEFINE(HAVE_STRCASECMP),
STRCASECMP='strcasecmp.o') STRCASECMP='strcasecmp.o')
AC_SUBST(GETRUSAGE)
AC_SUBST(GETHOSTNAME)
AC_SUBST(SRANDOM)
AC_SUBST(RANDOM)
AC_SUBST(STRDUP) AC_SUBST(STRDUP)
AC_SUBST(STRCASECMP)
AC_SUBST(INET_ATON) AC_SUBST(INET_ATON)
AC_SUBST(STRERROR) AC_SUBST(STRERROR)
AC_SUBST(STRERROR2) AC_SUBST(STRERROR2)