summaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in
index 41500ba150..40ccf127f7 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -255,7 +255,16 @@ AC_ARG_WITH(
AC_DEFINE_UNQUOTED(DEF_PGPORT, "5432") AC_MSG_RESULT(5432)
)
-dnl We exclude tcl support unless we override it with --with-tcl
+dnl MAXBACKENDS can be set by --with-maxbackends. Default value is 64.
+AC_MSG_CHECKING(setting MAXBACKENDS)
+AC_ARG_WITH(
+ maxbackends,
+ [ --with-maxbackends=<n> set maximum number of server processes ],
+ AC_DEFINE_UNQUOTED(MAXBACKENDS, ${withval}) AC_MSG_RESULT($with_maxbackends),
+ AC_DEFINE_UNQUOTED(MAXBACKENDS, 64) AC_MSG_RESULT(64)
+)
+
+dnl We exclude tcl support unless user says --with-tcl
AC_MSG_CHECKING(setting USE_TCL)
AC_ARG_WITH(
tcl,