summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTom Lane2001-02-07 20:13:27 +0000
committerTom Lane2001-02-07 20:13:27 +0000
commita8b9cbfa0e154323a2e3c3dd756c4513a81cf4fe (patch)
treef5b955d516d0e26c935ee150ffbb39fff0bcd32b /configure.in
parent5add3e8e5154d1155a3858ea5292911e7e61e81c (diff)
Make DEF_PGPORT available to Makefiles, so it can be substituted into
scripts like pgaccess.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 1b3019f4656..4e979e0950c 100644
--- a/configure.in
+++ b/configure.in
@@ -223,11 +223,11 @@ AC_MSG_CHECKING([for default port number])
PGAC_ARG_REQ(with, pgport, [ --with-pgport=PORTNUM change default port number [5432]],
[default_port=$withval],
[default_port=5432])
-# Need both of these because backend wants an integer and frontend a string
+AC_MSG_RESULT([$default_port])
+# Need both of these because some places want an integer and some a string
AC_DEFINE_UNQUOTED(DEF_PGPORT, ${default_port})
AC_DEFINE_UNQUOTED(DEF_PGPORT_STR, "${default_port}")
-AC_MSG_RESULT([$default_port])
-
+AC_SUBST(default_port)
#
# Maximum number of allowed connections (--with-maxbackends), default 32