[PATCH 4/4] configure: Disable building libcrypt by default

Dmitry V. Levin ldv@altlinux.org
Thu Jun 29 18:45:58 GMT 2023


On Thu, Jun 29, 2023 at 02:41:47PM -0400, Siddhesh Poyarekar via Libc-alpha wrote:
> We mentioned eventual dropping of libcrypt in the 2.28 NEWS.  Actually
> put that plan in motion by first disabling building libcrypt by default.
> In the near future we need to drop it completely but ISTM that Gentoo
> still uses it to fix some perl compatibility issues.
> 
> Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
> ---
>  INSTALL             | 12 ++++++------
>  NEWS                |  5 +++++
>  configure           |  6 +++---
>  configure.ac        |  6 +++---
>  manual/install.texi | 13 +++++++------
>  5 files changed, 24 insertions(+), 18 deletions(-)
> 
> diff --git a/INSTALL b/INSTALL
> index 88ffe7748f..263e8ce75a 100644
> --- a/INSTALL
> +++ b/INSTALL
> @@ -229,12 +229,12 @@ if ‘CFLAGS’ is specified it must enable optimization.  For example:
>       By default for x86_64, the GNU C Library is built with the vector
>       math library.  Use this option to disable the vector math library.
>  
> -‘--disable-crypt’
> -     Do not install the passphrase-hashing library ‘libcrypt’ or the
> -     header file ‘crypt.h’.  ‘unistd.h’ will still declare the function
> -     ‘crypt’.  Using this option does not change the set of programs
> -     that may need to be linked with ‘-lcrypt’; it only means that the
> -     GNU C Library will not provide that library.
> +‘--enable-crypt’
> +     Install the passphrase-hashing library ‘libcrypt’ and the header
> +     file ‘crypt.h’.  ‘unistd.h’ will declare the function ‘crypt’
> +     regardless of this option.  Using this option does not change the
> +     set of programs that may need to be linked with ‘-lcrypt’; it only
> +     means that the GNU C Library will not provide that library.

Sorry, will provide or will not provide?


-- 
ldv


More information about the Libc-alpha mailing list