From: Florian Fainelli Date: Sun, 4 Mar 2007 23:55:41 +0000 (+0000) Subject: Fix compilation when modules are selected or not, should fix buildbot spam :p X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2022159c00f93a3943fd77ba224cf8a8ec461c09;p=openwrt%2Fsvn-archive%2Farchive.git Fix compilation when modules are selected or not, should fix buildbot spam :p SVN-Revision: 6520 --- diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile index cf7b537ad5..7b684fac0f 100644 --- a/net/freeradius/Makefile +++ b/net/freeradius/Makefile @@ -271,15 +271,21 @@ else PKG_CONFIGURE_OPTIONS+= --without-rlm_sql_postgresql endif -ifeq ($(CONFIG_PACKAGE_freeradius-mod-eap-tls),) +ifneq ($(CONFIG_PACKAGE_freeradius-mod-eap-tls),) + PKG_CONFIGURE_OPTIONS+= --with-rlm_eap_tls +else PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_tls endif -ifeq ($(CONFIG_PACKAGE_freeradius-mod-eap-peap),) +ifneq ($(CONFIG_PACKAGE_freeradius-mod-eap-peap),) + PKG_CONFIGURE_OPTIONS+= --with-rlm_eap_peap +else PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_peap endif -ifeq ($(CONFIG_PACKAGE_freeradius-mod-eap-ttls),) +ifneq ($(CONFIG_PACKAGE_freeradius-mod-eap-ttls),) + PKG_CONFIGURE_OPTIONS+= --with-rlm_eap_ttls +else PKG_CONFIGURE_OPTIONS+= --without-rlm_eap_ttls endif