If anyone here is opened minded - still. This shows that default should be "no" for all plugins. Distro maintainer should decide what to switch on. Anyway, this is my recommendation.
On Tue, Jun 26, 2012 at 4:55 PM, Alon Bar-Lev <alon.bar...@gmail.com> wrote: > pam cannot be compiled on OpenBSD and Windows. > down-root cannot be compiled on Windows. > > Signed-off-by: Alon Bar-Lev <alon.bar...@gmail.com> > --- > configure.ac | 21 ++++++++++++++++----- > 1 files changed, 16 insertions(+), 5 deletions(-) > > diff --git a/configure.ac b/configure.ac > index db19d4a..b1140f8 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -195,16 +195,27 @@ AC_ARG_ENABLE( > > AC_ARG_ENABLE( > [plugin-auth-pam], > - [AS_HELP_STRING([--disable-plugin-auth-pam], [disable auth-pam plugin > @<:@default=yes@:>@])], > + [AS_HELP_STRING([--disable-plugin-auth-pam], [disable auth-pam plugin > @<:@default=yes for Linux@:>@])], > , > - [enable_plugin_auth_pam="yes"] > + [ > + case "$host" in > + *-*-openbsd*) enable_plugin_auth_pam="no";; > + *-mingw*) enable_plugin_auth_pam="no";; > + *) enable_plugin_auth_pam="yes";; > + esac > + ] > ) > > AC_ARG_ENABLE( > [plugin-down-root], > - [AS_HELP_STRING([--disable-plugin-down-root], [disable down-root > plugin @<:@default=yes@:>@])], > + [AS_HELP_STRING([--disable-plugin-down-root], [disable down-root > plugin @<:@default=yes for POSIX@:>@])], > , > - [enable_plugin_down_root="yes"] > + [ > + case "$host" in > + *-mingw*) enable_plugin_down_root="no";; > + *) enable_plugin_down_root="yes";; > + esac > + ] > ) > > AC_ARG_ENABLE( > -- > 1.7.3.4 >