@@ -152,7 +152,7 @@ rm -f conftest.sh
152152
153153
154154AC_ARG_WITH(includes,
155- [ --with-includes=DIR site header files fortk/ tcl, etc inDIR ],
155+ [ --with-includes=DIRS look for header files for tcl/tk , etc inDIRS ],
156156 [
157157case "$withval" in
158158"" | y | ye | yes | n | no)
@@ -162,6 +162,8 @@ AC_ARG_WITH(includes,
162162INCLUDE_DIRS="$withval"
163163 ])
164164
165+ dnl INCLUDE_DIRS comes from command line, SRCH_INC from template file.
166+ dnl Each can name one or more directories.
165167if test "$INCLUDE_DIRS" -o "$SRCH_INC"; then
166168for dir in $INCLUDE_DIRS $SRCH_INC; do
167169if test -d "$dir"; then
@@ -172,28 +174,30 @@ if test "$INCLUDE_DIRS" -o "$SRCH_INC"; then
172174done
173175fi
174176
175- AC_ARG_WITH(libs ,
176- [ --with-libs=DIR also search for libraries inDIR ],
177+ AC_ARG_WITH(libraries ,
178+ [ --with-libraries=DIRS look foradditional libraries inDIRS ],
177179 [
178180case "$withval" in
179181"" | y | ye | yes | n | no)
180- AC_MSG_ERROR([*** You must supply an argument to the --with-libs option.])
182+ AC_MSG_ERROR([*** You must supply an argument to the --with-libraries option.])
181183 ;;
182184esac
183185LIBRARY_DIRS="$withval"
184186 ])
185187
186- AC_ARG_WITH(libraries ,
187- [ --with-libraries=DIR also search for libraries in DIR ],
188+ AC_ARG_WITH(libs ,
189+ [ --with-libs=DIRS alternate spelling of --with-libraries ],
188190 [
189191case "$withval" in
190192"" | y | ye | yes | n | no)
191- AC_MSG_ERROR([*** You must supply an argument to the --with-libraries option.])
193+ AC_MSG_ERROR([*** You must supply an argument to the --with-libs option.])
192194 ;;
193195esac
194196LIBRARY_DIRS="$withval"
195197 ])
196198
199+ dnl LIBRARY_DIRS comes from command line, SRCH_LIB from template file.
200+ dnl Each can name one or more directories.
197201if test "$LIBRARY_DIRS" -o "$SRCH_LIB"; then
198202for dir in $LIBRARY_DIRS $SRCH_LIB; do
199203if test -d "$dir"; then
@@ -267,7 +271,7 @@ dnl we over-ride it with --with-pgport=port then we bypass this piece
267271AC_MSG_CHECKING(setting DEF_PGPORT)
268272AC_ARG_WITH(
269273 pgport,
270- [ --with-pgport=<portnum> change defaultstartup port ],
274+ [ --with-pgport=PORTNUM change defaultpostmaster port ],
271275 AC_DEFINE_UNQUOTED(DEF_PGPORT, "${withval}") AC_MSG_RESULT($with_pgport),
272276 AC_DEFINE_UNQUOTED(DEF_PGPORT, "5432") AC_MSG_RESULT(5432)
273277)
@@ -276,7 +280,7 @@ dnl DEF_MAXBACKENDS can be set by --with-maxbackends. Default value is 32.
276280AC_MSG_CHECKING(setting DEF_MAXBACKENDS)
277281AC_ARG_WITH(
278282 maxbackends,
279- [ --with-maxbackends=<n> set default maximum number of server processes ],
283+ [ --with-maxbackends=N set default maximum number of server processes ],
280284 AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, ${withval}) AC_MSG_RESULT($with_maxbackends),
281285 AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, 32) AC_MSG_RESULT(32)
282286)
@@ -299,7 +303,7 @@ export USE_TCL
299303export USE_TK
300304
301305dnl We see if the path to the TCL/TK configuration scripts is specified.
302- dnl This willoveride the use of tclsh to find the paths to search.
306+ dnl This willoverride the use of tclsh to find the paths to search.
303307
304308AC_ARG_WITH(tclconfig,
305309 [ --with-tclconfig=DIR tclConfig.sh and tkConfig.sh are in DIR],
@@ -314,7 +318,7 @@ AC_ARG_WITH(tclconfig,
314318)
315319
316320dnl We see if the path to the TK configuration scripts is specified.
317- dnl This willoveride the use of tclsh to find the paths to search.
321+ dnl This willoverride the use of tclsh to find the paths to search.
318322
319323AC_ARG_WITH(tkconfig,
320324 [ --with-tkconfig=DIR tkConfig.sh is in DIR],
@@ -332,7 +336,7 @@ dnl We exclude perl support unless we override it with --with-perl
332336AC_MSG_CHECKING(setting USE_PERL)
333337AC_ARG_WITH(
334338 perl,
335- [ --with-perl build Perl interface ],
339+ [ --with-perl build Perl interfaceand plperl ],
336340 [
337341case "$withval" in
338342y | ye | yes)USE_PERL=true; AC_MSG_RESULT(enabled) ;;
372376 AC_MSG_CHECKING(setting ODBCINST)
373377 AC_ARG_WITH(
374378 odbcinst,
375- [ --with-odbcinst=dir change default directory for odbcinst.ini],
379+ [ --with-odbcinst=DIR change default directory for odbcinst.ini],
376380 AC_DEFINE_UNQUOTED(ODBCINST, ${with_odbcinst}) AC_MSG_RESULT($with_odbcinst),
377381 AC_DEFINE_UNQUOTED(ODBCINST, ${ODBCINSTDIR}) AC_MSG_RESULT(${ODBCINSTDIR})
378382 )
@@ -389,7 +393,7 @@ dnl If you do not explicitly do it, it defaults to disabled
389393AC_MSG_CHECKING(setting ASSERT CHECKING)
390394AC_ARG_ENABLE(
391395 cassert,
392- [ --enable-cassert enable assertion checks (debugging) ],
396+ [ --enable-cassert enable assertion checks (for debugging) ],
393397 AC_DEFINE(USE_ASSERT_CHECKING) AC_MSG_RESULT(enabled),
394398 AC_MSG_RESULT(disabled)
395399)