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
This commit is contained in:
florian 2007-03-04 23:55:41 +00:00
parent bea42678c9
commit c06d4a1ca0

View File

@ -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