xref: /OK3568_Linux_fs/buildroot/package/gsl/gsl.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# gsl
4#
5################################################################################
6
7GSL_VERSION = 2.6
8GSL_SITE = $(BR2_GNU_MIRROR)/gsl
9GSL_INSTALL_STAGING = YES
10GSL_LICENSE = GPL-3.0
11GSL_LICENSE_FILES = COPYING
12GSL_CONFIG_SCRIPTS = gsl-config
13
14# uClibc pretends to have fenv support as it installs <fenv.h>, but in
15# practice, it only implements it for i386. Problem reported upstream
16# at: http://lists.busybox.net/pipermail/uclibc/2012-October/047067.html.
17# So we tell gsl that fenv related functions are not available in this
18# case.
19ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
20ifneq ($(BR2_i386),y)
21GSL_CONF_ENV = \
22	ac_cv_have_decl_feenableexcept=no \
23	ac_cv_have_decl_fesettrapenable=no
24endif
25endif
26
27$(eval $(autotools-package))
28