Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
bccac99e
Commit
bccac99e
authored
Mar 26, 2000
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make configure --help produce slightly more useful and consistently-
formatted descriptions of --with options.
parent
cb3b3eda
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
30 deletions
+34
-30
src/configure
src/configure
+16
-16
src/configure.in
src/configure.in
+18
-14
No files found.
src/configure
View file @
bccac99e
...
@@ -17,11 +17,11 @@ ac_help="$ac_help
...
@@ -17,11 +17,11 @@ ac_help="$ac_help
use operating system template file
use operating system template file
see template directory"
see template directory"
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-includes=DIR
site header files for tk/tcl, etc in DIR
"
--with-includes=DIR
S look for header files for tcl/tk, etc in DIRS
"
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-lib
s=DIR also search for libraries in DIR
"
--with-lib
raries=DIRS look for additional libraries in DIRS
"
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-lib
raries=DIR also search for libraries in DIR
"
--with-lib
s=DIRS alternate spelling of --with-libraries
"
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--enable-locale enable locale support "
--enable-locale enable locale support "
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
...
@@ -29,9 +29,9 @@ ac_help="$ac_help
...
@@ -29,9 +29,9 @@ ac_help="$ac_help
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--enable-multibyte enable multibyte character support "
--enable-multibyte enable multibyte character support "
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-pgport=
<portnum> change default startup
port "
--with-pgport=
PORTNUM change default postmaster
port "
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-maxbackends=
<n>
set default maximum number of server processes "
--with-maxbackends=
N
set default maximum number of server processes "
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-tcl build Tcl interfaces and pgtclsh "
--with-tcl build Tcl interfaces and pgtclsh "
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
...
@@ -39,13 +39,13 @@ ac_help="$ac_help
...
@@ -39,13 +39,13 @@ ac_help="$ac_help
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-tkconfig=DIR tkConfig.sh is in DIR"
--with-tkconfig=DIR tkConfig.sh is in DIR"
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-perl build Perl interface "
--with-perl build Perl interface
and plperl
"
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-odbc build ODBC driver package "
--with-odbc build ODBC driver package "
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-odbcinst=
dir
change default directory for odbcinst.ini"
--with-odbcinst=
DIR
change default directory for odbcinst.ini"
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--enable-cassert enable assertion checks (debugging) "
--enable-cassert enable assertion checks (
for
debugging) "
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
--with-CC=compiler use specific C compiler"
--with-CC=compiler use specific C compiler"
ac_help
=
"
$ac_help
ac_help
=
"
$ac_help
...
@@ -777,13 +777,13 @@ if test "$INCLUDE_DIRS" -o "$SRCH_INC"; then
...
@@ -777,13 +777,13 @@ if test "$INCLUDE_DIRS" -o "$SRCH_INC"; then
done
done
fi
fi
# Check whether --with-lib
s or --without-lib
s was given.
# Check whether --with-lib
raries or --without-librarie
s was given.
if
test
"
${
with_libs
+set
}
"
=
set
;
then
if
test
"
${
with_lib
rarie
s
+set
}
"
=
set
;
then
withval
=
"
$with_libs
"
withval
=
"
$with_lib
rarie
s
"
case
"
$withval
"
in
case
"
$withval
"
in
""
|
y
|
ye
|
yes
|
n
|
no
)
""
|
y
|
ye
|
yes
|
n
|
no
)
{
echo
"configure: error: *** You must supply an argument to the --with-libs option."
1>&2
;
exit
1
;
}
{
echo
"configure: error: *** You must supply an argument to the --with-lib
rarie
s option."
1>&2
;
exit
1
;
}
;;
;;
esac
esac
LIBRARY_DIRS
=
"
$withval
"
LIBRARY_DIRS
=
"
$withval
"
...
@@ -791,13 +791,13 @@ if test "${with_libs+set}" = set; then
...
@@ -791,13 +791,13 @@ if test "${with_libs+set}" = set; then
fi
fi
# Check whether --with-lib
raries or --without-librarie
s was given.
# Check whether --with-lib
s or --without-lib
s was given.
if
test
"
${
with_lib
rarie
s
+set
}
"
=
set
;
then
if
test
"
${
with_libs
+set
}
"
=
set
;
then
withval
=
"
$with_lib
rarie
s
"
withval
=
"
$with_libs
"
case
"
$withval
"
in
case
"
$withval
"
in
""
|
y
|
ye
|
yes
|
n
|
no
)
""
|
y
|
ye
|
yes
|
n
|
no
)
{
echo
"configure: error: *** You must supply an argument to the --with-lib
rarie
s option."
1>&2
;
exit
1
;
}
{
echo
"configure: error: *** You must supply an argument to the --with-libs option."
1>&2
;
exit
1
;
}
;;
;;
esac
esac
LIBRARY_DIRS
=
"
$withval
"
LIBRARY_DIRS
=
"
$withval
"
...
...
src/configure.in
View file @
bccac99e
...
@@ -152,7 +152,7 @@ rm -f conftest.sh
...
@@ -152,7 +152,7 @@ rm -f conftest.sh
AC_ARG_WITH(includes,
AC_ARG_WITH(includes,
[ --with-includes=DIR
site header files for tk/tcl, etc in DIR
],
[ --with-includes=DIR
S look for header files for tcl/tk, etc in DIRS
],
[
[
case "$withval" in
case "$withval" in
"" | y | ye | yes | n | no)
"" | y | ye | yes | n | no)
...
@@ -162,6 +162,8 @@ AC_ARG_WITH(includes,
...
@@ -162,6 +162,8 @@ AC_ARG_WITH(includes,
INCLUDE_DIRS="$withval"
INCLUDE_DIRS="$withval"
])
])
dnl INCLUDE_DIRS comes from command line, SRCH_INC from template file.
dnl Each can name one or more directories.
if test "$INCLUDE_DIRS" -o "$SRCH_INC"; then
if test "$INCLUDE_DIRS" -o "$SRCH_INC"; then
for dir in $INCLUDE_DIRS $SRCH_INC; do
for dir in $INCLUDE_DIRS $SRCH_INC; do
if test -d "$dir"; then
if test -d "$dir"; then
...
@@ -172,28 +174,30 @@ if test "$INCLUDE_DIRS" -o "$SRCH_INC"; then
...
@@ -172,28 +174,30 @@ if test "$INCLUDE_DIRS" -o "$SRCH_INC"; then
done
done
fi
fi
AC_ARG_WITH(libs,
AC_ARG_WITH(lib
rarie
s,
[ --with-lib
s=DIR also search for libraries in DIR
],
[ --with-lib
raries=DIRS look for additional libraries in DIRS
],
[
[
case "$withval" in
case "$withval" in
"" | y | ye | yes | n | no)
"" | y | ye | yes | n | no)
AC_MSG_ERROR([*** You must supply an argument to the --with-libs option.])
AC_MSG_ERROR([*** You must supply an argument to the --with-lib
rarie
s option.])
;;
;;
esac
esac
LIBRARY_DIRS="$withval"
LIBRARY_DIRS="$withval"
])
])
AC_ARG_WITH(lib
rarie
s,
AC_ARG_WITH(libs,
[ --with-lib
raries=DIR also search for libraries in DIR
],
[ --with-lib
s=DIRS alternate spelling of --with-libraries
],
[
[
case "$withval" in
case "$withval" in
"" | y | ye | yes | n | no)
"" | y | ye | yes | n | no)
AC_MSG_ERROR([*** You must supply an argument to the --with-lib
rarie
s option.])
AC_MSG_ERROR([*** You must supply an argument to the --with-libs option.])
;;
;;
esac
esac
LIBRARY_DIRS="$withval"
LIBRARY_DIRS="$withval"
])
])
dnl LIBRARY_DIRS comes from command line, SRCH_LIB from template file.
dnl Each can name one or more directories.
if test "$LIBRARY_DIRS" -o "$SRCH_LIB"; then
if test "$LIBRARY_DIRS" -o "$SRCH_LIB"; then
for dir in $LIBRARY_DIRS $SRCH_LIB; do
for dir in $LIBRARY_DIRS $SRCH_LIB; do
if test -d "$dir"; then
if test -d "$dir"; then
...
@@ -267,7 +271,7 @@ dnl we over-ride it with --with-pgport=port then we bypass this piece
...
@@ -267,7 +271,7 @@ dnl we over-ride it with --with-pgport=port then we bypass this piece
AC_MSG_CHECKING(setting DEF_PGPORT)
AC_MSG_CHECKING(setting DEF_PGPORT)
AC_ARG_WITH(
AC_ARG_WITH(
pgport,
pgport,
[ --with-pgport=
<portnum> change default startup
port ],
[ --with-pgport=
PORTNUM change default postmaster
port ],
AC_DEFINE_UNQUOTED(DEF_PGPORT, "${withval}") AC_MSG_RESULT($with_pgport),
AC_DEFINE_UNQUOTED(DEF_PGPORT, "${withval}") AC_MSG_RESULT($with_pgport),
AC_DEFINE_UNQUOTED(DEF_PGPORT, "5432") AC_MSG_RESULT(5432)
AC_DEFINE_UNQUOTED(DEF_PGPORT, "5432") AC_MSG_RESULT(5432)
)
)
...
@@ -276,7 +280,7 @@ dnl DEF_MAXBACKENDS can be set by --with-maxbackends. Default value is 32.
...
@@ -276,7 +280,7 @@ dnl DEF_MAXBACKENDS can be set by --with-maxbackends. Default value is 32.
AC_MSG_CHECKING(setting DEF_MAXBACKENDS)
AC_MSG_CHECKING(setting DEF_MAXBACKENDS)
AC_ARG_WITH(
AC_ARG_WITH(
maxbackends,
maxbackends,
[ --with-maxbackends=
<n>
set default maximum number of server processes ],
[ --with-maxbackends=
N
set default maximum number of server processes ],
AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, ${withval}) AC_MSG_RESULT($with_maxbackends),
AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, ${withval}) AC_MSG_RESULT($with_maxbackends),
AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, 32) AC_MSG_RESULT(32)
AC_DEFINE_UNQUOTED(DEF_MAXBACKENDS, 32) AC_MSG_RESULT(32)
)
)
...
@@ -299,7 +303,7 @@ export USE_TCL
...
@@ -299,7 +303,7 @@ export USE_TCL
export USE_TK
export USE_TK
dnl We see if the path to the TCL/TK configuration scripts is specified.
dnl We see if the path to the TCL/TK configuration scripts is specified.
dnl This will overide the use of tclsh to find the paths to search.
dnl This will over
r
ide the use of tclsh to find the paths to search.
AC_ARG_WITH(tclconfig,
AC_ARG_WITH(tclconfig,
[ --with-tclconfig=DIR tclConfig.sh and tkConfig.sh are in DIR],
[ --with-tclconfig=DIR tclConfig.sh and tkConfig.sh are in DIR],
...
@@ -314,7 +318,7 @@ AC_ARG_WITH(tclconfig,
...
@@ -314,7 +318,7 @@ AC_ARG_WITH(tclconfig,
)
)
dnl We see if the path to the TK configuration scripts is specified.
dnl We see if the path to the TK configuration scripts is specified.
dnl This will overide the use of tclsh to find the paths to search.
dnl This will over
r
ide the use of tclsh to find the paths to search.
AC_ARG_WITH(tkconfig,
AC_ARG_WITH(tkconfig,
[ --with-tkconfig=DIR tkConfig.sh is in DIR],
[ --with-tkconfig=DIR tkConfig.sh is in DIR],
...
@@ -332,7 +336,7 @@ dnl We exclude perl support unless we override it with --with-perl
...
@@ -332,7 +336,7 @@ dnl We exclude perl support unless we override it with --with-perl
AC_MSG_CHECKING(setting USE_PERL)
AC_MSG_CHECKING(setting USE_PERL)
AC_ARG_WITH(
AC_ARG_WITH(
perl,
perl,
[ --with-perl build Perl interface ],
[ --with-perl build Perl interface
and plperl
],
[
[
case "$withval" in
case "$withval" in
y | ye | yes) USE_PERL=true; AC_MSG_RESULT(enabled) ;;
y | ye | yes) USE_PERL=true; AC_MSG_RESULT(enabled) ;;
...
@@ -372,7 +376,7 @@ then
...
@@ -372,7 +376,7 @@ then
AC_MSG_CHECKING(setting ODBCINST)
AC_MSG_CHECKING(setting ODBCINST)
AC_ARG_WITH(
AC_ARG_WITH(
odbcinst,
odbcinst,
[ --with-odbcinst=
dir
change default directory for odbcinst.ini],
[ --with-odbcinst=
DIR
change default directory for odbcinst.ini],
AC_DEFINE_UNQUOTED(ODBCINST, ${with_odbcinst}) AC_MSG_RESULT($with_odbcinst),
AC_DEFINE_UNQUOTED(ODBCINST, ${with_odbcinst}) AC_MSG_RESULT($with_odbcinst),
AC_DEFINE_UNQUOTED(ODBCINST, ${ODBCINSTDIR}) AC_MSG_RESULT(${ODBCINSTDIR})
AC_DEFINE_UNQUOTED(ODBCINST, ${ODBCINSTDIR}) AC_MSG_RESULT(${ODBCINSTDIR})
)
)
...
@@ -389,7 +393,7 @@ dnl If you do not explicitly do it, it defaults to disabled
...
@@ -389,7 +393,7 @@ dnl If you do not explicitly do it, it defaults to disabled
AC_MSG_CHECKING(setting ASSERT CHECKING)
AC_MSG_CHECKING(setting ASSERT CHECKING)
AC_ARG_ENABLE(
AC_ARG_ENABLE(
cassert,
cassert,
[ --enable-cassert enable assertion checks (debugging) ],
[ --enable-cassert enable assertion checks (
for
debugging) ],
AC_DEFINE(USE_ASSERT_CHECKING) AC_MSG_RESULT(enabled),
AC_DEFINE(USE_ASSERT_CHECKING) AC_MSG_RESULT(enabled),
AC_MSG_RESULT(disabled)
AC_MSG_RESULT(disabled)
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment