| config BR2_PACKAGE_LINUX_PAM |
| bool "linux-pam" |
| depends on BR2_ENABLE_LOCALE |
| depends on BR2_USE_WCHAR |
| depends on !BR2_STATIC_LIBS |
| depends on BR2_USE_MMU # fork() |
| depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h |
| select BR2_PACKAGE_FLEX |
| select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC |
| help |
| A Security Framework that Provides Authentication for |
| Applications |
| |
| http://linux-pam.org |
| |
| if BR2_PACKAGE_LINUX_PAM |
| |
| config BR2_PACKAGE_LINUX_PAM_LASTLOG |
| bool "pam_lastlog.so" |
| help |
| Build pam_lastlog.so module. |
| |
| endif |
| |
| comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library, gcc >= 4.9" |
| depends on BR2_USE_MMU |
| depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \ |
| || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 |