mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-17 19:30:00 +08:00
--with-pam was claiming to take an argument, but didn't. Help display fixed.
This commit is contained in:
parent
60e42602a0
commit
43fe4faa7d
17
configure.in
17
configure.in
@ -206,7 +206,7 @@ AC_SUBST(MULTIBYTE)
|
||||
#
|
||||
AC_MSG_CHECKING([whether NLS is wanted])
|
||||
PGAC_ARG_OPTARG(enable, nls,
|
||||
[ --enable-nls[=LANGUAGES] enable Native Language Support],
|
||||
[ --enable-nls[=LANGUAGES] enable Native Language Support],
|
||||
[],
|
||||
[WANTED_LANGUAGES=$enableval],
|
||||
[AC_DEFINE(ENABLE_NLS)])
|
||||
@ -490,17 +490,10 @@ AC_DEFINE_UNQUOTED([PG_KRB_SRVNAM], ["$with_krb_srvnam"],
|
||||
# PAM
|
||||
#
|
||||
AC_MSG_CHECKING([whether to build with PAM support])
|
||||
PGAC_ARG_OPTARG(with, pam,
|
||||
[ --with-pam[=DIR] build with PAM support [/usr]],
|
||||
[pam_prefix=/usr],
|
||||
[pam_prefix=$withval],
|
||||
[
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE([USE_PAM], 1, [Define to build with PAM support])
|
||||
|
||||
],
|
||||
[AC_MSG_RESULT(no)])
|
||||
|
||||
PGAC_ARG_BOOL(with, pam, no,
|
||||
[ --with-pam build with PAM support],
|
||||
[AC_DEFINE([USE_PAM], 1, [Define to build with PAM support])])
|
||||
AC_MSG_RESULT([$with_pam])
|
||||
AC_SUBST(with_pam)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user