dropbear: Make utmp and putuline support configurable via seperate config options
[openwrt/staging/yousong.git] / package / network / services / dropbear / Makefile
index 39ab04bb54c734489e9c5c42bb7bce1fa0b971b9..593e0a81bf654204903ac435727f71167b0664fd 100644 (file)
@@ -68,12 +68,11 @@ CONFIGURE_ARGS += \
        --enable-syslog \
        $(if $(CONFIG_SHADOW_PASSWORDS),,--disable-shadow) \
        --disable-lastlog \
-       --disable-utmp \
-       --disable-utmpx \
+       $(if $(CONFIG_DROPBEAR_UTMP),,--disable-utmp) \
        --disable-wtmp \
        --disable-wtmpx \
        --disable-loginfunc \
-       --disable-pututline \
+       $(if $(CONFIG_DROPBEAR_PUTUTLINE),,--disable-pututline) \
        --disable-pututxline \
        --disable-zlib \
        --enable-bundled-libtom