buildrootschalter/package/iperf/iperf.mk
Peter Korsgaard e13ac0ec87 iperf: override bool detection
The configure script contains a buggy test for the bool datatype and
it's size. This is normally not a big deal as the result isn't used
for anything, but when BR2_CONFIG_CACHE (default) is used, the
wrong ac_cv_type_bool result is stored in the cache, and other packages
like libcurl DO need the bool type, so that breaks the build.

Fix it by presetting those tests to sane values.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-26 23:50:11 +02:00

26 lines
606 B
Makefile

#############################################################
#
# iperf
#
#############################################################
IPERF_VERSION = 2.0.4
IPERF_SOURCE = iperf-$(IPERF_VERSION).tar.gz
IPERF_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/iperf
IPERF_AUTORECONF = NO
FETCHMAIL_LIBTOOL_PATCH = NO
IPERF_INSTALL_STAGING = NO
IPERF_INSTALL_TARGET = YES
IPERF_CONF_ENV = \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_type_bool=yes \
ac_cv_sizeof_bool=1
IPERF_CONF_OPT = \
--disable-dependency-tracking \
--disable-web100
$(eval $(call AUTOTARGETS,package,iperf))