1config BR2_PACKAGE_LINUX_PAM
2	bool "linux-pam"
3	depends on BR2_ENABLE_LOCALE
4	depends on BR2_USE_WCHAR
5	depends on !BR2_STATIC_LIBS
6	depends on BR2_USE_MMU # fork()
7	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
8	select BR2_PACKAGE_FLEX
9	select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
10	help
11	  A Security Framework that Provides Authentication for
12	  Applications
13
14	  http://linux-pam.org
15
16comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9"
17	depends on BR2_USE_MMU
18	depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \
19		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
20