From 2986f42984cd0adcbb10ee1932ea7ff643bfbb27 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut <peter_e@gmx.net> Date: Thu, 8 Dec 2005 21:29:25 +0000 Subject: [PATCH] Put [] around default value for port number. --- configure | 2 +- configure.in | 4 ++-- 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]) -- GitLab