--with-pam was claiming to take an argument, but didn't. Help display fixed.

This commit is contained in:
Peter Eisentraut 2001-12-13 22:00:22 +00:00
parent 60e42602a0
commit 43fe4faa7d
2 changed files with 411 additions and 429 deletions

823
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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)