1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# gsl 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunGSL_VERSION = 2.6 8*4882a593SmuzhiyunGSL_SITE = $(BR2_GNU_MIRROR)/gsl 9*4882a593SmuzhiyunGSL_INSTALL_STAGING = YES 10*4882a593SmuzhiyunGSL_LICENSE = GPL-3.0 11*4882a593SmuzhiyunGSL_LICENSE_FILES = COPYING 12*4882a593SmuzhiyunGSL_CONFIG_SCRIPTS = gsl-config 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun# uClibc pretends to have fenv support as it installs <fenv.h>, but in 15*4882a593Smuzhiyun# practice, it only implements it for i386. Problem reported upstream 16*4882a593Smuzhiyun# at: http://lists.busybox.net/pipermail/uclibc/2012-October/047067.html. 17*4882a593Smuzhiyun# So we tell gsl that fenv related functions are not available in this 18*4882a593Smuzhiyun# case. 19*4882a593Smuzhiyunifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) 20*4882a593Smuzhiyunifneq ($(BR2_i386),y) 21*4882a593SmuzhiyunGSL_CONF_ENV = \ 22*4882a593Smuzhiyun ac_cv_have_decl_feenableexcept=no \ 23*4882a593Smuzhiyun ac_cv_have_decl_fesettrapenable=no 24*4882a593Smuzhiyunendif 25*4882a593Smuzhiyunendif 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun$(eval $(autotools-package)) 28