From 2022159c00f93a3943fd77ba224cf8a8ec461c09 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 4 Mar 2007 23:55:41 +0000 Subject: [PATCH] Fix compilation when modules are selected or not, should fix buildbot spam :p SVN-Revision: 6520 --- net/freeradius/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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 -- 2.30.2