aboutsummaryrefslogtreecommitdiff
path: root/package/gsl/gsl.mk
blob: fafb49b11228663e121251c1bf3569027fc4e82b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#############################################################
#
# gnu gsl
#
#############################################################

GSL_VERSION = 1.15
GSL_SOURCE = gsl-$(GSL_VERSION).tar.gz
GSL_SITE = $(BR2_GNU_MIRROR)/gsl
GSL_INSTALL_STAGING = YES
GSL_LICENSE = GPLv3
GSL_LICENSE_FILES = COPYING
GSL_CONFIG_SCRIPTS = gsl-config

# uClibc pretends to have fenv support as it installs <fenv.h>, but in
# practice, it only implements it for i386. Problem reported upstream
# at: http://lists.busybox.net/pipermail/uclibc/2012-October/047067.html.
# So we tell gsl that fenv related functions are not available in this
# case.
ifeq ($(BR2_TOOLCHAIN_BUILDROOT)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC)$(BR2_TOOLCHAIN_CTNG_uClibc),y)
ifneq ($(BR2_i386),y)
GSL_CONF_ENV = \
       ac_cv_have_decl_feenableexcept=no \
       ac_cv_have_decl_fesettrapenable=no
endif
endif

$(eval $(autotools-package))