From 07beb34d51523f7f30e354ef08a802ed79cf09da Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 5 Jun 2008 13:46:47 +0000 Subject: - make libcrypt optional. Untested. --- extra/Configs/Config.in | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 006124eb2..db2483e5f 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -910,6 +910,26 @@ config UCLIBC_HAS_PROFILING gcc's -finstrument-functions needs these. Most people can safely answer N. + +config UCLIBC_HAS_CRYPT_IMPL + bool "libcrypt support" + default y + help + libcrypt contains crypt(), setkey() and encrypt() + +config UCLIBC_HAS_CRYPT_STUB + bool "libcrypt stubs" + default y + depends on !UCLIBC_HAS_CRYPT_IMPL + help + Standards mandate that crypt(3) provides a stub if it is unavailable. + If you enable this option then stubs for + crypt(), setkey() and encrypt() + will be provided in a small libcrypt. + +config UCLIBC_HAS_CRYPT + def_bool y + depends on UCLIBC_HAS_CRYPT_IMPL || UCLIBC_HAS_CRYPT_STUB endmenu menuconfig UCLIBC_HAS_NETWORK_SUPPORT -- cgit v1.2.3