From: florian 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: https://git.archive.openwrt.org/?a=commitdiff_plain;h=c06d4a1ca0f02a44741078b3ab25325d38380fce;p=packages.git Fix compilation when modules are selected or not, should fix buildbot spam :p git-svn-id: svn://svn.openwrt.org/openwrt/packages@6520 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/freeradius/Makefile b/net/freeradius/Makefile index cf7b537ad..7b684fac0 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