This removes the Linux from the help string.

On Tue, Jun 26, 2012 at 5:03 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..d3d974d 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=platform specific@:>@])],
>        ,
> -       [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=platform specific@:>@])],
>        ,
> -       [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
>

Reply via email to