Re: shadow-4.0.11 breaks shadow group support

Greg Schafer <[email protected]> Fri, 22 Jul 2005 10:52:12 +1000
Newsgroups gmane.linux.pld.shadow.general
Message-ID <[email protected]>
On Tue, Jul 19, 2005 at 02:45:21PM +0200, Tomasz K?oczko wrote:
> --- configure.in        19 Jul 2005 09:52:29 -0000      1.111
> +++ configure.in        19 Jul 2005 12:35:52 -0000
> @@ -201,7 +201,15 @@
>  AC_DEFINE(getpass, libshadow_getpass,
>         [Define to libshadow_getpass to use our own version of getpass().])
> 
> -AC_ARG_ENABLE(shadowgrp, [  --enable-shadowgrp      enable shadow group 
> support [default=yes]])
> +AC_ARG_ENABLE(shadowgrp,
> +       [  --enable-shadowgrp         enable shadow group support 
> [default=yes]],
> +       [case "${enableval}" in
> +        yes) enable_shadowgrp="yes" ;;
> +         no) enable_shadowgrp="no" ;;
> +          *) AC_MSG_ERROR(bad value ${enableval} for --enable-shadowgrp) ;;
> +        esac],
> +       [enable_shadowgrp="no"]
> +)

There is still a small a problem in the above.

It says the default is "yes" but in actual the fact the default is "no".

Which do you prefer as the default? If you prefer "yes" then simply changing
the last line to  `[enable_shadowgrp="yes"]'  should do the trick.

Regards
Greg