CONFIGURE_ARGS+= \
--enable-shared \
--enable-static \
- --disable-stack-protector \
--disable-glib \
--disable-gobject \
--disable-qt3 \
--with-avahi-user=nobody \
--with-avahi-group=nogroup \
--with-autoipd-user=nobody \
- --with-autoipd-group=nogroup \
+ --with-autoipd-group=nogroup
+
+ifneq ($(CONFIG_SSP_SUPPORT),y)
+CONFIGURE_ARGS+= \
+ --disable-stack-protector
+endif
CONFIGURE_VARS+= \
CFLAGS="$$$$CFLAGS -DNDEBUG" \
OpenSSH SFTP server.
endef
+CONFIGURE_OPTS+= \
+ --enable-shared \
+ --disable-static \
+ --disable-debug \
+ --disable-strip \
+ --disable-etc-default-login \
+ --disable-lastlog \
+ --disable-utmp \
+ --disable-utmpx \
+ --disable-wtmp \
+ --disable-wtmpx \
+ --without-bsd-auth \
+ --without-kerberos5 \
+ --without-pam \
+ --without-x
+
+ifneq ($(CONFIG_SSP_SUPPORT),y)
+CONFIGURE_OPTS+= \
+ --without-stackprotect
+endif
+
define Build/Configure
(cd $(PKG_BUILD_DIR); rm -f config.cache; \
$(TARGET_CONFIGURE_OPTS) \
--sysconfdir=/etc/ssh \
$(DISABLE_LARGEFILE) \
$(DISABLE_NLS) \
- --enable-shared \
- --disable-static \
- --disable-debug \
- --disable-strip \
- --disable-etc-default-login \
- --disable-lastlog \
- --disable-utmp \
- --disable-utmpx \
- --disable-wtmp \
- --disable-wtmpx \
- --without-stackprotect \
- --without-bsd-auth \
- --without-kerberos5 \
- --without-pam \
- --without-x \
+ $(CONFIGURE_OPTS) \
);
endef