summaryrefslogtreecommitdiff
path: root/extra/Configs
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-05 13:46:47 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-06-05 13:46:47 +0000
commit07beb34d51523f7f30e354ef08a802ed79cf09da (patch)
tree544c7c04669d4793e5e228aaa29123f4c9922521 /extra/Configs
parent64ba3e5e0836bde4e85d6d2fdd133e2d37211e86 (diff)
- make libcrypt optional. Untested.
Diffstat (limited to 'extra/Configs')
-rw-r--r--extra/Configs/Config.in20
1 files changed, 20 insertions, 0 deletions
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