aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2005-12-08 21:29:25 +0000
committerPeter Eisentraut <peter_e@gmx.net>2005-12-08 21:29:25 +0000
commit2986f42984cd0adcbb10ee1932ea7ff643bfbb27 (patch)
tree00e2158a432f8e28e9ff8c25262474c158a2f0a0
parentaf6ef3028d2ac3cfa6e7f5951804b5cc6a9fce05 (diff)
downloadpostgresql-2986f42984cd0adcbb10ee1932ea7ff643bfbb27.tar.gz
postgresql-2986f42984cd0adcbb10ee1932ea7ff643bfbb27.zip
Put [] around default value for port number.
-rwxr-xr-xconfigure2
-rw-r--r--configure.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 98f40347046..7d2255d5f39 100755
--- a/configure
+++ b/configure
@@ -880,7 +880,7 @@ Optional Packages:
--with-includes=DIRS look for additional header files in DIRS
--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-pgport=PORTNUM change default port number [5432]
--with-tcl build Tcl modules (PL/Tcl)
--with-tclconfig=DIR tclConfig.sh is in DIR
--with-perl build Perl modules (PL/Perl)
diff --git a/configure.in b/configure.in
index 3f7b337bea8..cc2f79ad914 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.436 2005/12/06 18:35:09 momjian Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.437 2005/12/08 21:29:25 petere Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -166,7 +166,7 @@ AC_SUBST(WANTED_LANGUAGES)
# Default port number (--with-pgport), default 5432
#
AC_MSG_CHECKING([for default port number])
-PGAC_ARG_REQ(with, pgport, [ --with-pgport=PORTNUM change default port number [5432]],
+PGAC_ARG_REQ(with, pgport, [ --with-pgport=PORTNUM change default port number [[5432]]],
[default_port=$withval],
[default_port=5432])
AC_MSG_RESULT([$default_port])