mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Generate pg_config.h.in by autoheader. Separate out manually editable
parts. Standardize spelling of comments in pg_config.h.
This commit is contained in:
57
configure
vendored
57
configure
vendored
@ -855,7 +855,6 @@ Optional Packages:
|
||||
--with-libraries=DIRS look for additional libraries in DIRS
|
||||
--with-libs=DIRS alternative spelling of --with-libraries
|
||||
--with-pgport=PORTNUM change default port number 5432
|
||||
--with-maxbackends=N set default maximum number of connections 32
|
||||
--with-tcl build Tcl and Tk interfaces
|
||||
--without-tk do not build Tk interfaces if Tcl is enabled
|
||||
--with-tclconfig=DIR tclConfig.sh and tkConfig.sh are in DIR
|
||||
@ -1722,47 +1721,6 @@ _ACEOF
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Maximum number of allowed connections (--with-maxbackends), default 32
|
||||
#
|
||||
echo "$as_me:$LINENO: checking for default soft limit on number of connections" >&5
|
||||
echo $ECHO_N "checking for default soft limit on number of connections... $ECHO_C" >&6
|
||||
|
||||
|
||||
|
||||
# Check whether --with-maxbackends or --without-maxbackends was given.
|
||||
if test "${with_maxbackends+set}" = set; then
|
||||
withval="$with_maxbackends"
|
||||
|
||||
case $withval in
|
||||
yes)
|
||||
{ { echo "$as_me:$LINENO: error: argument required for --with-maxbackends option" >&5
|
||||
echo "$as_me: error: argument required for --with-maxbackends option" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
;;
|
||||
no)
|
||||
{ { echo "$as_me:$LINENO: error: argument required for --with-maxbackends option" >&5
|
||||
echo "$as_me: error: argument required for --with-maxbackends option" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
;;
|
||||
*)
|
||||
|
||||
;;
|
||||
esac
|
||||
|
||||
else
|
||||
with_maxbackends=32
|
||||
fi;
|
||||
|
||||
echo "$as_me:$LINENO: result: $with_maxbackends" >&5
|
||||
echo "${ECHO_T}$with_maxbackends" >&6
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define DEF_MAXBACKENDS $with_maxbackends
|
||||
_ACEOF
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Option to disable shared libraries
|
||||
#
|
||||
@ -10146,6 +10104,8 @@ _ACEOF
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# SunOS doesn't handle negative byte comparisons properly with +/- return
|
||||
echo "$as_me:$LINENO: checking for working memcmp" >&5
|
||||
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
|
||||
@ -10497,7 +10457,8 @@ fi
|
||||
echo "$as_me:$LINENO: result: $ac_cv_func_inet_ntop" >&5
|
||||
echo "${ECHO_T}$ac_cv_func_inet_ntop" >&6
|
||||
if test $ac_cv_func_inet_ntop = yes; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_IPV6 1
|
||||
_ACEOF
|
||||
|
||||
@ -11809,7 +11770,8 @@ echo "${ECHO_T}$ac_cv_header_syslog_h" >&6
|
||||
|
||||
fi
|
||||
if test $ac_cv_header_syslog_h = yes; then
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define HAVE_SYSLOG 1
|
||||
_ACEOF
|
||||
|
||||
@ -12768,7 +12730,7 @@ if test $pgac_need_repl_snprintf = yes; then
|
||||
LIBOBJS="$LIBOBJS snprintf.$ac_objext"
|
||||
fi
|
||||
|
||||
|
||||
# Need a #define for the size of Datum (unsigned long)
|
||||
echo "$as_me:$LINENO: checking for unsigned long" >&5
|
||||
echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
|
||||
if test "${ac_cv_type_unsigned_long+set}" = set; then
|
||||
@ -13132,11 +13094,6 @@ _ACEOF
|
||||
|
||||
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define SIZEOF_DATUM $ac_cv_sizeof_unsigned_long
|
||||
_ACEOF
|
||||
|
||||
|
||||
# Determine memory alignment requirements for the basic C data types.
|
||||
|
||||
echo "$as_me:$LINENO: checking for short" >&5
|
||||
|
Reference in New Issue
Block a user