1 |
commit: 69a4b2c57b5bcbb06dd7b6bd6f182abfe936fa6c |
2 |
Author: François Bissey <francois.bissey <AT> canterbury <DOT> ac <DOT> nz> |
3 |
AuthorDate: Sat Mar 4 04:26:28 2017 +0000 |
4 |
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
5 |
CommitDate: Tue Mar 7 18:59:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=69a4b2c5 |
7 |
|
8 |
sci-libs/gsl: remove int64 support since it doesn't exist upstream. Bump the ebuild as the current one produce broken install for the gslcblas alternative. |
9 |
|
10 |
Package-Manager: portage-2.3.3 |
11 |
|
12 |
sci-libs/gsl/files/gsl-2.3-cblas-external.patch | 1402 +---------------------- |
13 |
sci-libs/gsl/gsl-2.1-r1.ebuild | 82 ++ |
14 |
sci-libs/gsl/gsl-2.1.ebuild | 78 -- |
15 |
sci-libs/gsl/gsl-2.3-r1.ebuild | 84 ++ |
16 |
sci-libs/gsl/gsl-2.3.ebuild | 78 -- |
17 |
sci-libs/gsl/metadata.xml | 1 - |
18 |
6 files changed, 175 insertions(+), 1550 deletions(-) |
19 |
|
20 |
diff --git a/sci-libs/gsl/files/gsl-2.3-cblas-external.patch b/sci-libs/gsl/files/gsl-2.3-cblas-external.patch |
21 |
index 7e12b370b..38b25aacc 100644 |
22 |
--- a/sci-libs/gsl/files/gsl-2.3-cblas-external.patch |
23 |
+++ b/sci-libs/gsl/files/gsl-2.3-cblas-external.patch |
24 |
@@ -1,36 +1,3 @@ |
25 |
- Makefile.am | 8 +- |
26 |
- Makefile.am.porig | 66 ++++ |
27 |
- ax_cblas.m4 | 69 +++++ |
28 |
- bspline/Makefile.am | 2 +- |
29 |
- bspline/Makefile.am.porig | 17 ++ |
30 |
- configure.ac | 10 + |
31 |
- configure.ac.porig | 647 ++++++++++++++++++++++++++++++++++++++++ |
32 |
- eigen/Makefile.am | 2 +- |
33 |
- eigen/Makefile.am.porig | 18 ++ |
34 |
- gsl-config.in | 4 +- |
35 |
- gsl-config.in.porig | 80 +++++ |
36 |
- gsl.pc.in | 2 +- |
37 |
- gsl.pc.in.porig | 11 + |
38 |
- interpolation/Makefile.am | 2 +- |
39 |
- interpolation/Makefile.am.porig | 18 ++ |
40 |
- linalg/Makefile.am | 2 +- |
41 |
- linalg/Makefile.am.porig | 16 + |
42 |
- multifit/Makefile.am | 4 +- |
43 |
- multifit/Makefile.am.porig | 74 +++++ |
44 |
- multimin/Makefile.am | 4 +- |
45 |
- multimin/Makefile.am.porig | 20 ++ |
46 |
- multiroots/Makefile.am | 2 +- |
47 |
- multiroots/Makefile.am.porig | 19 ++ |
48 |
- ode-initval/Makefile.am | 2 +- |
49 |
- ode-initval/Makefile.am.porig | 18 ++ |
50 |
- poly/Makefile.am | 2 +- |
51 |
- poly/Makefile.am.porig | 17 ++ |
52 |
- specfunc/Makefile.am | 2 +- |
53 |
- specfunc/Makefile.am.porig | 19 ++ |
54 |
- wavelet/Makefile.am | 2 +- |
55 |
- wavelet/Makefile.am.porig | 17 ++ |
56 |
- 31 files changed, 1157 insertions(+), 19 deletions(-) |
57 |
- |
58 |
diff --git a/Makefile.am b/Makefile.am |
59 |
index c522001..4513bc8 100644 |
60 |
--- a/Makefile.am |
61 |
@@ -66,188 +33,6 @@ index c522001..4513bc8 100644 |
62 |
-e 's|@LIBS[@]|$(LIBS)|g' \ |
63 |
-e 's|@VERSION[@]|$(VERSION)|g' |
64 |
|
65 |
-diff --git a/Makefile.am.porig b/Makefile.am.porig |
66 |
-new file mode 100644 |
67 |
-index 0000000..c522001 |
68 |
---- /dev/null |
69 |
-+++ b/Makefile.am.porig |
70 |
-@@ -0,0 +1,66 @@ |
71 |
-+## Process this file with automake to produce Makefile.in |
72 |
-+ |
73 |
-+# AUTOMAKE_OPTIONS = readme-alpha |
74 |
-+ |
75 |
-+SUBDIRS = gsl utils sys test err const complex cheb block vector matrix permutation combination multiset sort ieee-utils cblas blas linalg eigen specfunc dht qrng rng randist fft poly fit multifit multifit_nlinear multilarge multilarge_nlinear rstat statistics siman sum integration interpolation histogram ode-initval ode-initval2 roots multiroots min multimin monte ntuple diff deriv cdf wavelet bspline spblas spmatrix splinalg doc |
76 |
-+ |
77 |
-+SUBLIBS = block/libgslblock.la blas/libgslblas.la bspline/libgslbspline.la complex/libgslcomplex.la cheb/libgslcheb.la dht/libgsldht.la diff/libgsldiff.la deriv/libgslderiv.la eigen/libgsleigen.la err/libgslerr.la fft/libgslfft.la fit/libgslfit.la histogram/libgslhistogram.la ieee-utils/libgslieeeutils.la integration/libgslintegration.la interpolation/libgslinterpolation.la linalg/libgsllinalg.la matrix/libgslmatrix.la min/libgslmin.la monte/libgslmonte.la multifit/libgslmultifit.la multifit_nlinear/libgslmultifit_nlinear.la multilarge/libgslmultilarge.la multilarge_nlinear/libgslmultilarge_nlinear.la multimin/libgslmultimin.la multiroots/libgslmultiroots.la ntuple/libgslntuple.la ode-initval/libgslodeiv.la ode-initval2/libgslodeiv2.la permutation/libgslpermutation.la combination/libgslcombination.la multiset/libgslmultiset.la poly/libgslpoly.la qrng/libgslqrng.la randist/libgslrandist.la rng/libgslrng.la roots/libgslroots.la siman/libgslsiman.la sort/libgslsort.la specfunc/libgsls |
78 |
pecfunc.la rstat/libgslrstat.la statistics/libgslstatistics.la sum/libgslsum.la sys/libgslsys.la test/libgsltest.la utils/libutils.la vector/libgslvector.la cdf/libgslcdf.la wavelet/libgslwavelet.la spmatrix/libgslspmatrix.la spblas/libgslspblas.la splinalg/libgslsplinalg.la |
79 |
-+ |
80 |
-+pkginclude_HEADERS = gsl_math.h gsl_pow_int.h gsl_nan.h gsl_machine.h gsl_mode.h gsl_precision.h gsl_types.h gsl_version.h gsl_minmax.h gsl_inline.h |
81 |
-+ |
82 |
-+bin_SCRIPTS = gsl-config |
83 |
-+ |
84 |
-+pkgconfigdir = $(libdir)/pkgconfig |
85 |
-+pkgconfig_DATA= gsl.pc |
86 |
-+ |
87 |
-+CLEANFILES = gsl.pc gsl-config |
88 |
-+ |
89 |
-+EXTRA_DIST = autogen.sh gsl-config.in gsl.pc.in configure.ac THANKS BUGS gsl.spec.in gsl.m4 test_gsl_histogram.sh pkgconfig.test |
90 |
-+ |
91 |
-+lib_LTLIBRARIES = libgsl.la |
92 |
-+libgsl_la_SOURCES = version.c |
93 |
-+libgsl_la_LIBADD = $(GSL_LIBADD) $(SUBLIBS) |
94 |
-+libgsl_la_LDFLAGS = $(GSL_LDFLAGS) -version-info $(GSL_LT_VERSION) |
95 |
-+noinst_HEADERS = templates_on.h templates_off.h build.h |
96 |
-+ |
97 |
-+m4datadir = $(datadir)/aclocal |
98 |
-+m4data_DATA = gsl.m4 |
99 |
-+ |
100 |
-+bin_PROGRAMS = gsl-randist gsl-histogram |
101 |
-+ |
102 |
-+gsl_randist_SOURCES = gsl-randist.c |
103 |
-+gsl_randist_LDADD = libgsl.la cblas/libgslcblas.la |
104 |
-+ |
105 |
-+gsl_histogram_SOURCES = gsl-histogram.c |
106 |
-+gsl_histogram_LDADD = libgsl.la cblas/libgslcblas.la |
107 |
-+ |
108 |
-+check_SCRIPTS = test_gsl_histogram.sh pkgconfig.test |
109 |
-+TESTS = test_gsl_histogram.sh pkgconfig.test |
110 |
-+ |
111 |
-+#bin_PROGRAMS = main dummy |
112 |
-+#dummy_SOURCES = version.c |
113 |
-+#dummy_LDADD = $(SUBLIBS) |
114 |
-+#main_SOURCES = version.c env.c |
115 |
-+#main_LDADD = libgsl.la |
116 |
-+ |
117 |
-+edit = $(SED) \ |
118 |
-+ -e 's|@prefix[@]|$(prefix)|g' \ |
119 |
-+ -e 's|@exec_prefix[@]|$(exec_prefix)|g' \ |
120 |
-+ -e 's|@libdir[@]|$(libdir)|g' \ |
121 |
-+ -e 's|@includedir[@]|$(includedir)|g' \ |
122 |
-+ -e 's|@GSL_CFLAGS[@]|$(GSL_CFLAGS)|g' \ |
123 |
-+ -e 's|@GSL_LIBM[@]|$(GSL_LIBM)|g' \ |
124 |
-+ -e 's|@GSL_LIBS[@]|$(GSL_LIBS)|g' \ |
125 |
-+ -e 's|@LIBS[@]|$(LIBS)|g' \ |
126 |
-+ -e 's|@VERSION[@]|$(VERSION)|g' |
127 |
-+ |
128 |
-+gsl-config gsl.pc: Makefile |
129 |
-+ @rm -f $@ $@.tmp |
130 |
-+ @$(edit) '$(srcdir)/$@.in' >>$@.tmp |
131 |
-+ @chmod a-w $@.tmp |
132 |
-+ @mv $@.tmp $@ |
133 |
-+ @echo creating $@ |
134 |
-+ |
135 |
-+gsl-config: $(srcdir)/gsl-config.in |
136 |
-+gsl.pc: $(srcdir)/gsl.pc.in |
137 |
-+ |
138 |
-diff --git a/ax_cblas.m4 b/ax_cblas.m4 |
139 |
-new file mode 100644 |
140 |
-index 0000000..6ef143a |
141 |
---- /dev/null |
142 |
-+++ b/ax_cblas.m4 |
143 |
-@@ -0,0 +1,69 @@ |
144 |
-+AC_DEFUN([AX_CBLAS],[ |
145 |
-+ |
146 |
-+ ext_cblas=no |
147 |
-+ ext_cblas_libs="-lcblas" |
148 |
-+ ext_cblas_cflags="" |
149 |
-+ |
150 |
-+ AC_ARG_WITH(cblas-external, |
151 |
-+ [AS_HELP_STRING([--with-cblas-external], |
152 |
-+ [Use external CBLAS library (default is no)])], |
153 |
-+ [with_ext_cblas=$withval], |
154 |
-+ [with_ext_cblas=no]) |
155 |
-+ |
156 |
-+ case $with_ext_cblas in |
157 |
-+ no) ext_cblas=no ;; |
158 |
-+ yes) ext_cblas=yes ;; |
159 |
-+ -* | */* | *.a | *.so | *.so.* | *.o) |
160 |
-+ ext_cblas=yes |
161 |
-+ ext_cblas_libs="$with_cblas" ;; |
162 |
-+ *) ext_cblas=yes |
163 |
-+ ext_cblas_libs="-l$with_cblas" ;; |
164 |
-+ esac |
165 |
-+ |
166 |
-+ AC_ARG_WITH(cblas-external-libs, |
167 |
-+ [AS_HELP_STRING([--with-cblas-external-libs=<libs>], |
168 |
-+ [External cblas libraries to link with (default is "$ext_cblas_libs")])], |
169 |
-+ [ext_cblas_libs=$withval], |
170 |
-+ []) |
171 |
-+ |
172 |
-+ AC_ARG_WITH(cblas-external-cflags, |
173 |
-+ [AS_HELP_STRING([--with-cblas-external-cflags=<flags>], |
174 |
-+ [Pre-processing flags to compile with external cblas ("-I<dir>")])], |
175 |
-+ [ext_cblas_cflags=$withval], |
176 |
-+ []) |
177 |
-+ |
178 |
-+ if test x$ext_cblas != xno; then |
179 |
-+ if test "x$CBLAS_LIBS" = x; then |
180 |
-+ CBLAS_LIBS="$ext_cblas_libs" |
181 |
-+ fi |
182 |
-+ if test "x$CBLAS_CFLAGS" = x; then |
183 |
-+ CBLAS_CFLAGS="$ext_cblas_cflags" |
184 |
-+ fi |
185 |
-+ |
186 |
-+ CFLAGS_sav="$CFLAGS" |
187 |
-+ CFLAGS="$CFLAGS $CBLAS_CFLAGS" |
188 |
-+ AC_CHECK_HEADER(cblas.h, , |
189 |
-+ [AC_MSG_ERROR([ |
190 |
-+ *** Header file cblas.h not found. |
191 |
-+ *** If you installed cblas header in a non standard place, |
192 |
-+ *** specify its install prefix using the following option |
193 |
-+ *** --with-cblas-external-cflags="-I<include_dir>"]) |
194 |
-+ ]) |
195 |
-+ CFLAGS="$CFLAGS_sav" |
196 |
-+ |
197 |
-+ LIBS_sav="$LIBS" |
198 |
-+ LIBS="$LIBS $CBLAS_LIBS -lm" |
199 |
-+ AC_MSG_CHECKING([for cblas_sgemm in $CBLAS_LIBS]) |
200 |
-+ AC_TRY_LINK_FUNC(cblas_sgemm, [ext_cblas=yes], |
201 |
-+ [AC_MSG_ERROR([ |
202 |
-+ *** Linking with cblas with $LIBS failed. |
203 |
-+ *** If you installed cblas library in a non standard place, |
204 |
-+ *** specify its install prefix using the following option |
205 |
-+ *** --with-cblas-external-libs="-L<lib_dir> -l<lib>"]) |
206 |
-+ ]) |
207 |
-+ AC_MSG_RESULT($ext_cblas) |
208 |
-+ LIBS="$LIBS_sav" |
209 |
-+ AC_SUBST([CBLAS_CFLAGS]) |
210 |
-+ AC_SUBST([CBLAS_LIBS]) |
211 |
-+ fi |
212 |
-+]) |
213 |
-diff --git a/bspline/Makefile.am b/bspline/Makefile.am |
214 |
-index 3f4f950..d413036 100644 |
215 |
---- a/bspline/Makefile.am |
216 |
-+++ b/bspline/Makefile.am |
217 |
-@@ -12,6 +12,6 @@ check_PROGRAMS = test |
218 |
- |
219 |
- TESTS = $(check_PROGRAMS) |
220 |
- |
221 |
--test_LDADD = libgslbspline.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../cblas/libgslcblas.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la ../statistics/libgslstatistics.la |
222 |
-+test_LDADD = libgslbspline.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la @CBLAS_LINK_LIBS@ ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la ../statistics/libgslstatistics.la |
223 |
- |
224 |
- test_SOURCES = test.c |
225 |
-diff --git a/bspline/Makefile.am.porig b/bspline/Makefile.am.porig |
226 |
-new file mode 100644 |
227 |
-index 0000000..3f4f950 |
228 |
---- /dev/null |
229 |
-+++ b/bspline/Makefile.am.porig |
230 |
-@@ -0,0 +1,17 @@ |
231 |
-+noinst_LTLIBRARIES = libgslbspline.la |
232 |
-+ |
233 |
-+pkginclude_HEADERS = gsl_bspline.h |
234 |
-+ |
235 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
236 |
-+ |
237 |
-+libgslbspline_la_SOURCES = bspline.c greville.c |
238 |
-+ |
239 |
-+noinst_HEADERS = bspline.h |
240 |
-+ |
241 |
-+check_PROGRAMS = test |
242 |
-+ |
243 |
-+TESTS = $(check_PROGRAMS) |
244 |
-+ |
245 |
-+test_LDADD = libgslbspline.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../cblas/libgslcblas.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la ../statistics/libgslstatistics.la |
246 |
-+ |
247 |
-+test_SOURCES = test.c |
248 |
diff --git a/configure.ac b/configure.ac |
249 |
index a26fc1e..564d426 100644 |
250 |
--- a/configure.ac |
251 |
@@ -269,696 +54,17 @@ index a26fc1e..564d426 100644 |
252 |
dnl Remember to put a definition in acconfig.h for each of these |
253 |
AC_CHECK_DECLS(feenableexcept,,,[#define _GNU_SOURCE 1 |
254 |
#include <fenv.h>]) |
255 |
-diff --git a/configure.ac.porig b/configure.ac.porig |
256 |
-new file mode 100644 |
257 |
-index 0000000..a26fc1e |
258 |
---- /dev/null |
259 |
-+++ b/configure.ac.porig |
260 |
-@@ -0,0 +1,647 @@ |
261 |
-+dnl Process this file with autoconf to produce a configure script. |
262 |
-+ |
263 |
-+AC_INIT([gsl],[2.3]) |
264 |
-+AC_CONFIG_SRCDIR(gsl_math.h) |
265 |
-+ |
266 |
-+AM_INIT_AUTOMAKE([gnu]) |
267 |
-+AC_CONFIG_HEADERS([config.h]) |
268 |
-+AM_MAINTAINER_MODE |
269 |
-+ |
270 |
-+dnl Library versioning (C:R:A == current:revision:age) |
271 |
-+dnl See the libtool manual for an explanation of the numbers |
272 |
-+dnl |
273 |
-+dnl gsl-1.0 libgsl 0:0:0 libgslcblas 0:0:0 |
274 |
-+dnl gsl-1.1 libgsl 1:0:1 libgslcblas 0:0:0 |
275 |
-+dnl gsl-1.1.1 libgsl 2:0:2 libgslcblas 0:0:0 |
276 |
-+dnl gsl-1.2 libgsl 3:0:3 libgslcblas 0:0:0 |
277 |
-+dnl gsl-1.3 libgsl 4:0:4 libgslcblas 0:0:0 |
278 |
-+dnl gsl-1.4 libgsl 5:0:5 libgslcblas 0:0:0 |
279 |
-+dnl gsl-1.5 libgsl 6:0:6 libgslcblas 0:0:0 |
280 |
-+dnl gsl-1.6 libgsl 7:0:7 libgslcblas 0:0:0 |
281 |
-+dnl gsl-1.7 libgsl 8:0:8 libgslcblas 0:0:0 |
282 |
-+dnl gsl-1.8 libgsl 9:0:9 libgslcblas 0:0:0 |
283 |
-+dnl gsl-1.9 libgsl 10:0:10 libgslcblas 0:0:0 |
284 |
-+dnl gsl-1.10 libgsl 10:0:10 (*) libgslcblas 0:0:0 |
285 |
-+dnl gsl-1.11 libgsl 12:0:12 libgslcblas 0:0:0 |
286 |
-+dnl gsl-1.12 libgsl 13:0:13 libgslcblas 0:0:0 |
287 |
-+dnl gsl-1.13 libgsl 14:0:14 libgslcblas 0:0:0 |
288 |
-+dnl gsl-1.14 libgsl 15:0:15 libgslcblas 0:0:0 |
289 |
-+dnl gsl-1.15 libgsl 16:0:16 libgslcblas 0:0:0 |
290 |
-+dnl gsl-1.16 libgsl 17:0:17 libgslcblas 0:0:0 |
291 |
-+dnl gsl-2.0 libgsl 18:0:18 (**) libgslcblas 0:0:0 |
292 |
-+dnl gsl-2.1 libgsl 19:0:0 libgslcblas 0:0:0 |
293 |
-+dnl gsl-2.2 libgsl 20:0:1 libgslcblas 0:0:0 |
294 |
-+dnl gsl-2.2.1 libgsl 21:0:2 libgslcblas 0:0:0 |
295 |
-+dnl gsl-2.3 libgsl 22:0:3 libgslcblas 0:0:0 |
296 |
-+dnl |
297 |
-+dnl (*) There was an error on this release. Firstly, the versioning |
298 |
-+dnl numbers were not updated. Secondly, 2 functions were removed, but |
299 |
-+dnl the age not reset--this should have been 11:0:0. However these |
300 |
-+dnl functions were not documented and are regarded as internal, so we |
301 |
-+dnl will assume 11:0:11. |
302 |
-+dnl |
303 |
-+dnl (**) There was an error on this release. Age should have been |
304 |
-+dnl reset to 18:0:0 |
305 |
-+dnl |
306 |
-+dnl How to update library version number |
307 |
-+dnl ==================================== |
308 |
-+dnl |
309 |
-+dnl C: increment if the interface has additions, changes, removals. |
310 |
-+dnl |
311 |
-+dnl R: increment any time the source changes; set to 0 if you |
312 |
-+dnl incremented CURRENT |
313 |
-+dnl |
314 |
-+dnl A: increment if any interfaces have been added; set to 0 if any |
315 |
-+dnl interfaces have been removed. removal has precedence over adding, |
316 |
-+dnl so set to 0 if both happened. |
317 |
-+dnl |
318 |
-+dnl See https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html |
319 |
-+dnl for more detailed info |
320 |
-+ |
321 |
-+dnl |
322 |
-+GSL_CURRENT=22 |
323 |
-+GSL_REVISION=0 |
324 |
-+GSL_AGE=3 |
325 |
-+dnl |
326 |
-+CBLAS_CURRENT=0 |
327 |
-+CBLAS_REVISION=0 |
328 |
-+CBLAS_AGE=0 |
329 |
-+ |
330 |
-+GSL_LT_VERSION="${GSL_CURRENT}:${GSL_REVISION}:${GSL_AGE}" |
331 |
-+AC_SUBST(GSL_LT_VERSION) |
332 |
-+ |
333 |
-+GSL_LT_CBLAS_VERSION="${CBLAS_CURRENT}:${CBLAS_REVISION}:${CBLAS_AGE}" |
334 |
-+AC_SUBST(GSL_LT_CBLAS_VERSION) |
335 |
-+ |
336 |
-+case "$VERSION" in |
337 |
-+ *+) |
338 |
-+ ;; |
339 |
-+ *) |
340 |
-+ AC_DEFINE(RELEASED,[],[Defined if this is an official release]) |
341 |
-+ ;; |
342 |
-+esac |
343 |
-+ |
344 |
-+dnl Split VERSION into GSL_VERSION_MAJOR and GSL_VERSION_MINOR |
345 |
-+dnl Follows AX_SPLIT_VERSION macro from AC-Archive |
346 |
-+dnl Rhys Ulerich <rhys.ulerich@×××××.com> |
347 |
-+AC_PROG_SED |
348 |
-+GSL_MAJOR_VERSION=`echo "$VERSION" | $SED 's/\([[^.]][[^.]]*\).*/\1/'` |
349 |
-+GSL_MINOR_VERSION=`echo "$VERSION" | $SED 's/[[^.]][[^.]]*.\([[^.]][[^.]]*\).*/\1/'` |
350 |
-+AC_SUBST(GSL_MAJOR_VERSION) |
351 |
-+AC_SUBST(GSL_MINOR_VERSION) |
352 |
-+ |
353 |
-+dnl things required by automake |
354 |
-+dnl AC_ARG_PROGRAM |
355 |
-+AC_PROG_MAKE_SET |
356 |
-+ |
357 |
-+dnl Check for which system. |
358 |
-+AC_CANONICAL_HOST |
359 |
-+ |
360 |
-+dnl Checks for programs. |
361 |
-+AC_LANG(C) |
362 |
-+AC_PROG_CC |
363 |
-+AC_PROG_CPP |
364 |
-+AC_PROG_INSTALL |
365 |
-+AC_PROG_LN_S |
366 |
-+LT_INIT([win32-dll]) |
367 |
-+ |
368 |
-+dnl Check compiler features |
369 |
-+AC_TYPE_SIZE_T |
370 |
-+dnl AC_C_CONST |
371 |
-+AC_C_VOLATILE |
372 |
-+AC_C_INLINE |
373 |
-+AC_C_CHAR_UNSIGNED |
374 |
-+ |
375 |
-+GSL_CFLAGS="-I$includedir" |
376 |
-+GSL_LIBS="-L$libdir -lgsl" |
377 |
-+dnl macro from libtool - can be replaced with LT_LIB_M when we require libtool 2 |
378 |
-+LT_LIB_M |
379 |
-+GSL_LIBM=$LIBM |
380 |
-+ |
381 |
-+AC_SUBST(GSL_CFLAGS) |
382 |
-+AC_SUBST(GSL_LIBS) |
383 |
-+AC_SUBST(GSL_LIBM) |
384 |
-+ |
385 |
-+if test "$ac_cv_c_inline" != no ; then |
386 |
-+dnl Check for "extern inline", using a modified version of the test |
387 |
-+dnl for AC_C_INLINE from acspecific.mt |
388 |
-+dnl |
389 |
-+ AC_CACHE_CHECK([for GNU-style extern inline], ac_cv_c_extern_inline, |
390 |
-+ [ac_cv_c_extern_inline=no |
391 |
-+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[extern $ac_cv_c_inline double foo(double x); |
392 |
-+ extern $ac_cv_c_inline double foo(double x) { return x + 1.0 ; } ; |
393 |
-+ double foo (double x) { return x + 1.0 ; };]], [[ foo(1.0) ]])],[ac_cv_c_extern_inline="yes"],[]) |
394 |
-+ ]) |
395 |
-+ |
396 |
-+ if test "$ac_cv_c_extern_inline" != no ; then |
397 |
-+ AC_DEFINE(HAVE_INLINE,[1],[Define if you have inline]) |
398 |
-+ else |
399 |
-+ AC_CACHE_CHECK([for C99-style inline], ac_cv_c_c99inline, |
400 |
-+ [ac_cv_c_c99inline=no |
401 |
-+ dnl next line is a necessary condition |
402 |
-+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[extern inline void* foo() { foo(); return &foo ; };]], |
403 |
-+ [[ return foo() != 0 ]])],[ac_cv_c_c99inline="yes"],[]) |
404 |
-+ dnl but not sufficient, extern must work but inline on its own should not |
405 |
-+ if test "$ac_cv_c_c99inline" != no ; then |
406 |
-+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[inline void* foo() { foo(); return &foo ; };]], |
407 |
-+ [[ return foo() != 0 ]])],[],ac_cv_c_c99inline="no") |
408 |
-+ fi |
409 |
-+ ]) |
410 |
-+ if test "$ac_cv_c_c99inline" != no ; then |
411 |
-+ AC_DEFINE(HAVE_INLINE,[1],[Define if you have inline]) |
412 |
-+ AC_DEFINE(HAVE_C99_INLINE,[1],[Define if you have inline with C99 behavior]) |
413 |
-+ fi |
414 |
-+ fi |
415 |
-+fi |
416 |
-+ |
417 |
-+dnl Checks for header files. |
418 |
-+AC_CHECK_HEADERS(ieeefp.h) |
419 |
-+ |
420 |
-+dnl Checks for typedefs, structures, and compiler characteristics. |
421 |
-+ |
422 |
-+case $host in |
423 |
-+ *-*-cygwin* | *-*-mingw* ) |
424 |
-+ if test "$enable_shared" = yes; then |
425 |
-+ GSLCBLAS_LDFLAGS="$GSLCBLAS_LDFLAGS -no-undefined" |
426 |
-+ GSL_LDFLAGS="$GSL_LDFLAGS -no-undefined" |
427 |
-+ GSL_LIBADD="cblas/libgslcblas.la" |
428 |
-+ fi |
429 |
-+ ;; |
430 |
-+esac |
431 |
-+ |
432 |
-+AC_SUBST(GSLCBLAS_LDFLAGS) |
433 |
-+AC_SUBST(GSL_LDFLAGS) |
434 |
-+AC_SUBST(GSL_LIBADD) |
435 |
-+ |
436 |
-+dnl Checks for library functions. |
437 |
-+ |
438 |
-+dnl AC_FUNC_ALLOCA |
439 |
-+AC_FUNC_VPRINTF |
440 |
-+ |
441 |
-+dnl strcasecmp, strerror, xmalloc, xrealloc, probably others should be added. |
442 |
-+dnl removed strerror from this list, it's hardcoded in the err/ directory |
443 |
-+dnl Any functions which appear in this list of functions should be provided |
444 |
-+dnl in the utils/ directory |
445 |
-+dnl xmalloc is not used, removed (bjg) |
446 |
-+AC_REPLACE_FUNCS(memcpy memmove strdup strtol strtoul) |
447 |
-+ |
448 |
-+AC_CACHE_CHECK(for EXIT_SUCCESS and EXIT_FAILURE, |
449 |
-+ac_cv_decl_exit_success_and_failure, |
450 |
-+AC_EGREP_CPP(yes, |
451 |
-+[ |
452 |
-+#include <stdlib.h> |
453 |
-+#ifdef EXIT_SUCCESS |
454 |
-+yes |
455 |
-+#endif |
456 |
-+], |
457 |
-+ac_cv_decl_exit_success_and_failure=yes, |
458 |
-+ac_cv_decl_exit_success_and_failure=no) |
459 |
-+) |
460 |
-+ |
461 |
-+if test "$ac_cv_decl_exit_success_and_failure" = yes ; then |
462 |
-+ AC_DEFINE(HAVE_EXIT_SUCCESS_AND_FAILURE,1,[Defined if you have ansi EXIT_SUCCESS and EXIT_FAILURE in stdlib.h]) |
463 |
-+fi ; |
464 |
-+ |
465 |
-+dnl Use alternate libm if specified by user |
466 |
-+ |
467 |
-+if test "x$LIBS" = "x" ; then |
468 |
-+ AC_CHECK_LIB(m, cos) |
469 |
-+fi |
470 |
-+ |
471 |
-+dnl Remember to put a definition in acconfig.h for each of these |
472 |
-+AC_CHECK_DECLS(feenableexcept,,,[#define _GNU_SOURCE 1 |
473 |
-+#include <fenv.h>]) |
474 |
-+AC_CHECK_DECLS(fesettrapenable,,,[#define _GNU_SOURCE 1 |
475 |
-+#include <fenv.h>]) |
476 |
-+AC_CHECK_DECLS(hypot,,,[#include <math.h>]) |
477 |
-+AC_CHECK_DECLS(expm1,,,[#include <math.h>]) |
478 |
-+AC_CHECK_DECLS(acosh,,,[#include <math.h>]) |
479 |
-+AC_CHECK_DECLS(asinh,,,[#include <math.h>]) |
480 |
-+AC_CHECK_DECLS(atanh,,,[#include <math.h>]) |
481 |
-+AC_CHECK_DECLS(ldexp,,,[#include <math.h>]) |
482 |
-+AC_CHECK_DECLS(frexp,,,[#include <math.h>]) |
483 |
-+AC_CHECK_DECLS([fprnd_t],[],[],[[#include <float.h>]]) |
484 |
-+AC_CHECK_DECLS(isinf,,,[#include <math.h>]) |
485 |
-+AC_CHECK_DECLS(isfinite,,,[#include <math.h>]) |
486 |
-+AC_CHECK_DECLS(finite,,,[#include <math.h> |
487 |
-+#if HAVE_IEEEFP_H |
488 |
-+#include <ieeefp.h> |
489 |
-+#endif]) |
490 |
-+AC_CHECK_DECLS(isnan,,,[#include <math.h>]) |
491 |
-+ |
492 |
-+dnl OpenBSD has a broken implementation of log1p. |
493 |
-+case "$host" in |
494 |
-+ *-*-*openbsd*) |
495 |
-+ AC_MSG_RESULT([avoiding OpenBSD system log1p - using gsl version]) |
496 |
-+ ;; |
497 |
-+ *) |
498 |
-+ AC_CHECK_DECLS(log1p,,,[#include <math.h>]) |
499 |
-+ ;; |
500 |
-+esac |
501 |
-+ |
502 |
-+AC_CACHE_CHECK([for long double stdio], ac_cv_func_printf_longdouble, |
503 |
-+[AC_RUN_IFELSE([AC_LANG_SOURCE([[ |
504 |
-+#include <stdlib.h> |
505 |
-+#include <stdio.h> |
506 |
-+int main (void) |
507 |
-+{ |
508 |
-+const char * s = "5678.25"; long double x = 1.234 ; |
509 |
-+fprintf(stderr,"%Lg\n",x) ; |
510 |
-+sscanf(s, "%Lg", &x); |
511 |
-+if (x == 5678.25) {exit (0);} else {exit(1); }; |
512 |
-+}]])],[ac_cv_func_printf_longdouble="yes"],[ac_cv_func_printf_longdouble="no"],[ac_cv_func_printf_longdouble="no"])]) |
513 |
-+ |
514 |
-+if test "$ac_cv_func_printf_longdouble" != no; then |
515 |
-+ AC_DEFINE(HAVE_PRINTF_LONGDOUBLE,1,[Define this if printf can handle %Lf for long double]) |
516 |
-+fi |
517 |
-+ |
518 |
-+AC_CACHE_CHECK([for extended floating point registers],ac_cv_c_extended_fp, |
519 |
-+[case "$host" in |
520 |
-+ *sparc*-*-*) |
521 |
-+ ac_cv_c_extended_fp=no |
522 |
-+ ;; |
523 |
-+ *powerpc*-*-*) |
524 |
-+ ac_cv_c_extended_fp=no |
525 |
-+ ;; |
526 |
-+ *hppa*-*-*) |
527 |
-+ ac_cv_c_extended_fp=no |
528 |
-+ ;; |
529 |
-+ *alpha*-*-*) |
530 |
-+ ac_cv_c_extended_fp=no |
531 |
-+ ;; |
532 |
-+ *68k*-*-*) |
533 |
-+ ac_cv_c_extended_fp=yes |
534 |
-+ ;; |
535 |
-+ *86-*-*) |
536 |
-+ ac_cv_c_extended_fp=yes |
537 |
-+ ;; |
538 |
-+ x86_64-*-*) |
539 |
-+ ac_cv_c_extended_fp=yes |
540 |
-+ ;; |
541 |
-+ *) |
542 |
-+ ac_cv_c_extended_fp=unknown |
543 |
-+ ;; |
544 |
-+esac |
545 |
-+]) |
546 |
-+ |
547 |
-+if test $ac_cv_c_extended_fp != "no" ; then |
548 |
-+ AC_DEFINE(HAVE_EXTENDED_PRECISION_REGISTERS,1,[Defined on architectures with excess floating-point precision]) |
549 |
-+fi |
550 |
-+ |
551 |
-+AC_CACHE_CHECK([for IEEE arithmetic interface type], ac_cv_c_ieee_interface, |
552 |
-+[case "$host" in |
553 |
-+ sparc-*-linux*) |
554 |
-+ ac_cv_c_ieee_interface=gnusparc |
555 |
-+ ;; |
556 |
-+ m68k-*-linux*) |
557 |
-+ ac_cv_c_ieee_interface=gnum68k |
558 |
-+ ;; |
559 |
-+ powerpc-*-linux*) |
560 |
-+ ac_cv_c_ieee_interface=gnuppc |
561 |
-+ ;; |
562 |
-+ *86-*-gnu | *86_64-*-gnu | *86-*-linux* | *86_64-*-linux*) |
563 |
-+ ac_cv_c_ieee_interface=gnux86 |
564 |
-+ ;; |
565 |
-+ *-*-sunos4*) |
566 |
-+ ac_cv_c_ieee_interface=sunos4 |
567 |
-+ ;; |
568 |
-+ *-*-solaris*) |
569 |
-+ ac_cv_c_ieee_interface=solaris |
570 |
-+ ;; |
571 |
-+ *-*-hpux11*) |
572 |
-+ ac_cv_c_ieee_interface=hpux11 |
573 |
-+ ;; |
574 |
-+ *-*-hpux*) |
575 |
-+ ac_cv_c_ieee_interface=hpux |
576 |
-+ ;; |
577 |
-+ *-*-osf*) |
578 |
-+ ac_cv_c_ieee_interface=tru64 |
579 |
-+ ;; |
580 |
-+ *-*-aix*) |
581 |
-+ ac_cv_c_ieee_interface=aix |
582 |
-+ ;; |
583 |
-+ *-*-irix*) |
584 |
-+ ac_cv_c_ieee_interface=irix |
585 |
-+ ;; |
586 |
-+ powerpc-*-*darwin*) |
587 |
-+ ac_cv_c_ieee_interface=darwin |
588 |
-+ ;; |
589 |
-+ *86-*-*darwin*) |
590 |
-+ ac_cv_c_ieee_interface=darwin86 |
591 |
-+ ;; |
592 |
-+ *-*-*netbsd*) |
593 |
-+ ac_cv_c_ieee_interface=netbsd |
594 |
-+ ;; |
595 |
-+ *-*-*openbsd*) |
596 |
-+ ac_cv_c_ieee_interface=openbsd |
597 |
-+ ;; |
598 |
-+ *-*-*bsd*) |
599 |
-+ ac_cv_c_ieee_interface=freebsd |
600 |
-+ ;; |
601 |
-+ *-*-os2*) |
602 |
-+ ac_cv_c_ieee_interface=os2emx |
603 |
-+ ;; |
604 |
-+ *) |
605 |
-+ ac_cv_c_ieee_interface=unknown |
606 |
-+ ;; |
607 |
-+esac |
608 |
-+]) |
609 |
-+ |
610 |
-+if test "$ac_cv_c_ieee_interface" = "gnux86" ; then |
611 |
-+ AC_CACHE_CHECK([for FPU_SETCW], ac_cv_c_fpu_setcw, |
612 |
-+ [ac_cv_c_fpu_setcw=no |
613 |
-+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <fpu_control.h> |
614 |
-+#ifndef _FPU_SETCW |
615 |
-+#include <i386/fpu_control.h> |
616 |
-+#define _FPU_SETCW(cw) __setfpucw(cw) |
617 |
-+#endif |
618 |
-+]], [[ unsigned short mode = 0 ; _FPU_SETCW(mode); ]])],[ac_cv_c_fpu_setcw="yes"],[ac_cv_c_ieee_interface=unknown]) |
619 |
-+ ]) |
620 |
-+fi |
621 |
-+ |
622 |
-+if test "$ac_cv_c_ieee_interface" = "gnux86" ; then |
623 |
-+ AC_CACHE_CHECK([for SSE extensions], ac_cv_c_fpu_sse, |
624 |
-+ [ac_cv_c_fpu_sse=no |
625 |
-+ AC_RUN_IFELSE([AC_LANG_PROGRAM([[ |
626 |
-+#include <stdlib.h> |
627 |
-+#define _FPU_SETMXCSR(cw_sse) asm volatile ("ldmxcsr %0" : : "m" (*&cw_sse)) |
628 |
-+]], [[ unsigned int mode = 0x1f80 ; _FPU_SETMXCSR(mode); exit(0); ]])],[ac_cv_c_fpu_sse="yes"],[ac_cv_c_fpu_sse="no"],[ |
629 |
-+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ |
630 |
-+#include <stdlib.h> |
631 |
-+#define _FPU_SETMXCSR(cw_sse) asm volatile ("ldmxcsr %0" : : "m" (*&cw_sse)) |
632 |
-+]], [[ unsigned int mode = 0x1f80 ; _FPU_SETMXCSR(mode); exit(0); ]])],[ac_cv_c_fpu_sse="yes"],[ac_cv_c_fpu_sse="no"]) |
633 |
-+])]) |
634 |
-+ |
635 |
-+ if test $ac_cv_c_fpu_sse = yes; then |
636 |
-+ AC_DEFINE([HAVE_FPU_X86_SSE], 1, |
637 |
-+ [Define if x86 processor has sse extensions.]) |
638 |
-+ fi |
639 |
-+fi |
640 |
-+ |
641 |
-+ac_tr_ieee_interface=HAVE_`echo $ac_cv_c_ieee_interface | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`_IEEE_INTERFACE |
642 |
-+AC_DEFINE_UNQUOTED($ac_tr_ieee_interface,1,[IEEE Interface Type]) |
643 |
-+ |
644 |
-+AC_SUBST(HAVE_GNUSPARC_IEEE_INTERFACE) |
645 |
-+AC_SUBST(HAVE_GNUM68K_IEEE_INTERFACE) |
646 |
-+AC_SUBST(HAVE_GNUPPC_IEEE_INTERFACE) |
647 |
-+AC_SUBST(HAVE_GNUX86_IEEE_INTERFACE) |
648 |
-+AC_SUBST(HAVE_SUNOS4_IEEE_INTERFACE) |
649 |
-+AC_SUBST(HAVE_SOLARIS_IEEE_INTERFACE) |
650 |
-+AC_SUBST(HAVE_HPUX11_IEEE_INTERFACE) |
651 |
-+AC_SUBST(HAVE_HPUX_IEEE_INTERFACE) |
652 |
-+AC_SUBST(HAVE_TRU64_IEEE_INTERFACE) |
653 |
-+AC_SUBST(HAVE_IRIX_IEEE_INTERFACE) |
654 |
-+AC_SUBST(HAVE_AIX_IEEE_INTERFACE) |
655 |
-+AC_SUBST(HAVE_FREEBSD_IEEE_INTERFACE) |
656 |
-+AC_SUBST(HAVE_OS2EMX_IEEE_INTERFACE) |
657 |
-+AC_SUBST(HAVE_NETBSD_IEEE_INTERFACE) |
658 |
-+AC_SUBST(HAVE_OPENBSD_IEEE_INTERFACE) |
659 |
-+AC_SUBST(HAVE_DARWIN_IEEE_INTERFACE) |
660 |
-+AC_SUBST(HAVE_DARWIN86_IEEE_INTERFACE) |
661 |
-+ |
662 |
-+dnl Check for IEEE control flags |
663 |
-+ |
664 |
-+save_cflags="$CFLAGS" |
665 |
-+AC_CACHE_CHECK([for IEEE compiler flags], ac_cv_c_ieee_flags, |
666 |
-+[ |
667 |
-+case "$host" in |
668 |
-+ alpha*-*-*) |
669 |
-+ if test X"$GCC" = Xyes ; then |
670 |
-+ ieee_flags='-mieee -mfp-rounding-mode=d' |
671 |
-+ else |
672 |
-+ # This assumes Compaq's C compiler. |
673 |
-+ ieee_flags='-ieee -fprm d' |
674 |
-+ fi |
675 |
-+ ;; |
676 |
-+esac |
677 |
-+if test X"$ieee_flags" != X ; then |
678 |
-+ CFLAGS="$ieee_flags $CFLAGS" |
679 |
-+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int foo;]])],[ac_cv_c_ieee_flags="$ieee_flags"],[ac_cv_c_ieee_flags="none"]) |
680 |
-+else |
681 |
-+ ac_cv_c_ieee_flags="none" |
682 |
-+fi]) |
683 |
-+ |
684 |
-+if test "$ac_cv_c_ieee_flags" != "none" ; then |
685 |
-+ CFLAGS="$ac_cv_c_ieee_flags $save_cflags" |
686 |
-+else |
687 |
-+ CFLAGS="$save_cflags" |
688 |
-+fi |
689 |
-+ |
690 |
-+dnl Check IEEE comparisons, whether "x != x" is true for NaNs |
691 |
-+dnl |
692 |
-+AC_CACHE_CHECK([for IEEE comparisons], ac_cv_c_ieee_comparisons, |
693 |
-+[AC_RUN_IFELSE([AC_LANG_SOURCE([[ |
694 |
-+#include <math.h> |
695 |
-+int main (void) |
696 |
-+{ |
697 |
-+ int status; double inf, nan; |
698 |
-+ inf = exp(1.0e10); |
699 |
-+ nan = inf / inf ; |
700 |
-+ status = (nan == nan); |
701 |
-+ exit (status); |
702 |
-+}]])],[ac_cv_c_ieee_comparisons="yes"],[ac_cv_c_ieee_comparisons="no"],[ac_cv_c_ieee_comparisons="yes"]) |
703 |
-+]) |
704 |
-+ |
705 |
-+if test "$ac_cv_c_ieee_comparisons" != no ; then |
706 |
-+ AC_DEFINE(HAVE_IEEE_COMPARISONS,1,[Define this if IEEE comparisons work correctly (e.g. NaN != NaN)]) |
707 |
-+fi |
708 |
-+ |
709 |
-+dnl Check for IEEE denormalized arithmetic |
710 |
-+dnl |
711 |
-+AC_CACHE_CHECK([for IEEE denormalized values], ac_cv_c_ieee_denormals, |
712 |
-+[AC_RUN_IFELSE([AC_LANG_SOURCE([[ |
713 |
-+#include <math.h> |
714 |
-+int main (void) |
715 |
-+{ |
716 |
-+ int i, status; |
717 |
-+ volatile double z = 1e-308; |
718 |
-+ for (i = 0; i < 5; i++) { z = z / 10.0 ; }; |
719 |
-+ for (i = 0; i < 5; i++) { z = z * 10.0 ; }; |
720 |
-+ status = (z == 0.0); |
721 |
-+ exit (status); |
722 |
-+}]])],[ac_cv_c_ieee_denormals="yes"],[ac_cv_c_ieee_denormals="no"],[ac_cv_c_ieee_denormals="yes"]) |
723 |
-+]) |
724 |
-+ |
725 |
-+if test "$ac_cv_c_ieee_denormals" != no ; then |
726 |
-+ AC_DEFINE(HAVE_IEEE_DENORMALS,1,[Define this if IEEE denormalized numbers are available]) |
727 |
-+fi |
728 |
-+ |
729 |
-+AH_TEMPLATE([HIDE_INLINE_STATIC],[Define if you need to hide the static definitions of inline functions]) |
730 |
-+ |
731 |
-+AH_BOTTOM([/* Use 0 and 1 for EXIT_SUCCESS and EXIT_FAILURE if we don't have them */ |
732 |
-+#if !HAVE_EXIT_SUCCESS_AND_FAILURE |
733 |
-+#define EXIT_SUCCESS 0 |
734 |
-+#define EXIT_FAILURE 1 |
735 |
-+#endif]) |
736 |
-+ |
737 |
-+AH_BOTTOM([/* Define one of these if you have a known IEEE arithmetic interface */ |
738 |
-+#undef HAVE_GNUSPARC_IEEE_INTERFACE |
739 |
-+#undef HAVE_GNUM68K_IEEE_INTERFACE |
740 |
-+#undef HAVE_GNUPPC_IEEE_INTERFACE |
741 |
-+#undef HAVE_GNUX86_IEEE_INTERFACE |
742 |
-+#undef HAVE_SUNOS4_IEEE_INTERFACE |
743 |
-+#undef HAVE_SOLARIS_IEEE_INTERFACE |
744 |
-+#undef HAVE_HPUX11_IEEE_INTERFACE |
745 |
-+#undef HAVE_HPUX_IEEE_INTERFACE |
746 |
-+#undef HAVE_TRU64_IEEE_INTERFACE |
747 |
-+#undef HAVE_IRIX_IEEE_INTERFACE |
748 |
-+#undef HAVE_AIX_IEEE_INTERFACE |
749 |
-+#undef HAVE_FREEBSD_IEEE_INTERFACE |
750 |
-+#undef HAVE_OS2EMX_IEEE_INTERFACE |
751 |
-+#undef HAVE_NETBSD_IEEE_INTERFACE |
752 |
-+#undef HAVE_OPENBSD_IEEE_INTERFACE |
753 |
-+#undef HAVE_DARWIN_IEEE_INTERFACE |
754 |
-+#undef HAVE_DARWIN86_IEEE_INTERFACE]) |
755 |
-+ |
756 |
-+AH_BOTTOM([/* Define a rounding function which moves extended precision values |
757 |
-+ out of registers and rounds them to double-precision. This should |
758 |
-+ be used *sparingly*, in places where it is necessary to keep |
759 |
-+ double-precision rounding for critical expressions while running in |
760 |
-+ extended precision. For example, the following code should ensure |
761 |
-+ exact equality, even when extended precision registers are in use, |
762 |
-+ |
763 |
-+ double q = GSL_COERCE_DBL(3.0/7.0) ; |
764 |
-+ if (q == GSL_COERCE_DBL(3.0/7.0)) { ... } ; |
765 |
-+ |
766 |
-+ It carries a penalty even when the program is running in double |
767 |
-+ precision mode unless you compile a separate version of the |
768 |
-+ library with HAVE_EXTENDED_PRECISION_REGISTERS turned off. */ |
769 |
-+ |
770 |
-+#if HAVE_EXTENDED_PRECISION_REGISTERS |
771 |
-+#define GSL_COERCE_DBL(x) (gsl_coerce_double(x)) |
772 |
-+#else |
773 |
-+#define GSL_COERCE_DBL(x) (x) |
774 |
-+#endif]) |
775 |
-+ |
776 |
-+AH_BOTTOM([/* Substitute gsl functions for missing system functions */ |
777 |
-+ |
778 |
-+#if !HAVE_DECL_HYPOT |
779 |
-+#define hypot gsl_hypot |
780 |
-+#endif |
781 |
-+ |
782 |
-+#if !HAVE_DECL_LOG1P |
783 |
-+#define log1p gsl_log1p |
784 |
-+#endif |
785 |
-+ |
786 |
-+#if !HAVE_DECL_EXPM1 |
787 |
-+#define expm1 gsl_expm1 |
788 |
-+#endif |
789 |
-+ |
790 |
-+#if !HAVE_DECL_ACOSH |
791 |
-+#define acosh gsl_acosh |
792 |
-+#endif |
793 |
-+ |
794 |
-+#if !HAVE_DECL_ASINH |
795 |
-+#define asinh gsl_asinh |
796 |
-+#endif |
797 |
-+ |
798 |
-+#if !HAVE_DECL_ATANH |
799 |
-+#define atanh gsl_atanh |
800 |
-+#endif |
801 |
-+ |
802 |
-+#if !HAVE_DECL_LDEXP |
803 |
-+#define ldexp gsl_ldexp |
804 |
-+#endif |
805 |
-+ |
806 |
-+#if !HAVE_DECL_FREXP |
807 |
-+#define frexp gsl_frexp |
808 |
-+#endif |
809 |
-+ |
810 |
-+#if !HAVE_DECL_ISINF |
811 |
-+#define isinf gsl_isinf |
812 |
-+#endif |
813 |
-+ |
814 |
-+#if !HAVE_DECL_ISFINITE |
815 |
-+#define isfinite gsl_finite |
816 |
-+#endif |
817 |
-+ |
818 |
-+#if !HAVE_DECL_FINITE |
819 |
-+#define finite gsl_finite |
820 |
-+#endif |
821 |
-+ |
822 |
-+#if !HAVE_DECL_ISNAN |
823 |
-+#define isnan gsl_isnan |
824 |
-+#endif]) |
825 |
-+ |
826 |
-+AH_BOTTOM([#ifdef __GNUC__ |
827 |
-+#define DISCARD_POINTER(p) do { ; } while(p ? 0 : 0); |
828 |
-+#else |
829 |
-+#define DISCARD_POINTER(p) /* ignoring discarded pointer */ |
830 |
-+#endif]) |
831 |
-+ |
832 |
-+AH_BOTTOM([#if defined(GSL_RANGE_CHECK_OFF) || !defined(GSL_RANGE_CHECK) |
833 |
-+#define GSL_RANGE_CHECK 0 /* turn off range checking by default internally */ |
834 |
-+#endif]) |
835 |
-+ |
836 |
-+AH_BOTTOM([#define RETURN_IF_NULL(x) if (!x) { return ; } |
837 |
-+]) |
838 |
-+ |
839 |
-+AH_VERBATIM([GSL_DISABLE_DEPRECATED], |
840 |
-+[/* Disable deprecated functions and enums while building */ |
841 |
-+#define GSL_DISABLE_DEPRECATED 1]) |
842 |
-+ |
843 |
-+dnl |
844 |
-+AC_CONFIG_FILES([ \ |
845 |
-+Makefile \ |
846 |
-+gsl_version.h \ |
847 |
-+gsl.spec \ |
848 |
-+blas/Makefile \ |
849 |
-+block/Makefile \ |
850 |
-+bspline/Makefile \ |
851 |
-+cblas/Makefile \ |
852 |
-+cdf/Makefile \ |
853 |
-+cheb/Makefile \ |
854 |
-+combination/Makefile \ |
855 |
-+complex/Makefile \ |
856 |
-+const/Makefile \ |
857 |
-+deriv/Makefile \ |
858 |
-+dht/Makefile \ |
859 |
-+diff/Makefile \ |
860 |
-+doc/Makefile \ |
861 |
-+doc/examples/Makefile \ |
862 |
-+eigen/Makefile \ |
863 |
-+err/Makefile \ |
864 |
-+fit/Makefile \ |
865 |
-+fft/Makefile \ |
866 |
-+gsl/Makefile \ |
867 |
-+histogram/Makefile \ |
868 |
-+ieee-utils/Makefile \ |
869 |
-+integration/Makefile \ |
870 |
-+interpolation/Makefile \ |
871 |
-+linalg/Makefile \ |
872 |
-+matrix/Makefile \ |
873 |
-+min/Makefile \ |
874 |
-+monte/Makefile \ |
875 |
-+multifit/Makefile \ |
876 |
-+multifit_nlinear/Makefile \ |
877 |
-+multilarge/Makefile \ |
878 |
-+multilarge_nlinear/Makefile \ |
879 |
-+multimin/Makefile \ |
880 |
-+multiroots/Makefile \ |
881 |
-+multiset/Makefile \ |
882 |
-+ntuple/Makefile \ |
883 |
-+ode-initval/Makefile \ |
884 |
-+ode-initval2/Makefile \ |
885 |
-+permutation/Makefile \ |
886 |
-+poly/Makefile \ |
887 |
-+qrng/Makefile \ |
888 |
-+randist/Makefile \ |
889 |
-+rng/Makefile \ |
890 |
-+roots/Makefile \ |
891 |
-+rstat/Makefile \ |
892 |
-+siman/Makefile \ |
893 |
-+sort/Makefile \ |
894 |
-+spblas/Makefile \ |
895 |
-+splinalg/Makefile \ |
896 |
-+spmatrix/Makefile \ |
897 |
-+specfunc/Makefile \ |
898 |
-+statistics/Makefile \ |
899 |
-+sum/Makefile \ |
900 |
-+sys/Makefile \ |
901 |
-+test/Makefile \ |
902 |
-+utils/Makefile \ |
903 |
-+vector/Makefile \ |
904 |
-+wavelet/Makefile \ |
905 |
-+]) |
906 |
-+ |
907 |
-+AC_OUTPUT |
908 |
-diff --git a/eigen/Makefile.am b/eigen/Makefile.am |
909 |
-index c28bfde..14197a4 100644 |
910 |
---- a/eigen/Makefile.am |
911 |
-+++ b/eigen/Makefile.am |
912 |
-@@ -11,7 +11,7 @@ noinst_HEADERS = qrstep.c |
913 |
- |
914 |
- TESTS = $(check_PROGRAMS) |
915 |
+diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am |
916 |
+index f0dcc02..b2f0c0e 100644 |
917 |
+--- a/doc/examples/Makefile.am |
918 |
++++ b/doc/examples/Makefile.am |
919 |
+@@ -8,5 +8,5 @@ examples_txt = blas.txt block.txt bspline.txt cblas.txt cdf.txt cheb.txt combina |
920 |
|
921 |
--test_LDADD = libgsleigen.la ../test/libgsltest.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../sys/libgslsys.la ../err/libgslerr.la ../utils/libutils.la ../rng/libgslrng.la ../sort/libgslsort.la |
922 |
-+test_LDADD = libgsleigen.la ../test/libgsltest.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la @CBLAS_LINK_LIBS@ ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../sys/libgslsys.la ../err/libgslerr.la ../utils/libutils.la ../rng/libgslrng.la ../sort/libgslsort.la |
923 |
+ dist_noinst_DATA = $(examples_src) $(examples_txt) |
924 |
|
925 |
- test_SOURCES = test.c |
926 |
- |
927 |
-diff --git a/eigen/Makefile.am.porig b/eigen/Makefile.am.porig |
928 |
-new file mode 100644 |
929 |
-index 0000000..c28bfde |
930 |
---- /dev/null |
931 |
-+++ b/eigen/Makefile.am.porig |
932 |
-@@ -0,0 +1,18 @@ |
933 |
-+noinst_LTLIBRARIES = libgsleigen.la |
934 |
-+ |
935 |
-+check_PROGRAMS = test |
936 |
-+ |
937 |
-+pkginclude_HEADERS = gsl_eigen.h |
938 |
-+libgsleigen_la_SOURCES = jacobi.c symm.c symmv.c nonsymm.c nonsymmv.c herm.c hermv.c gensymm.c gensymmv.c genherm.c genhermv.c gen.c genv.c sort.c francis.c schur.c |
939 |
-+ |
940 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
941 |
-+ |
942 |
-+noinst_HEADERS = qrstep.c |
943 |
-+ |
944 |
-+TESTS = $(check_PROGRAMS) |
945 |
-+ |
946 |
-+test_LDADD = libgsleigen.la ../test/libgsltest.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../sys/libgslsys.la ../err/libgslerr.la ../utils/libutils.la ../rng/libgslrng.la ../sort/libgslsort.la |
947 |
-+ |
948 |
-+test_SOURCES = test.c |
949 |
-+ |
950 |
-+ |
951 |
+-LDADD = ../../libgsl.la ../../cblas/libgslcblas.la |
952 |
++LDADD = ../../libgsl.la @CBLAS_LINK_LIBS@ |
953 |
+ AM_DEFAULT_SOURCE_EXT = .c |
954 |
diff --git a/gsl-config.in b/gsl-config.in |
955 |
old mode 100755 |
956 |
new mode 100644 |
957 |
@@ -979,92 +85,6 @@ index 3f3fa61..c9c4262 |
958 |
echo @GSL_LIBS@ $GSL_CBLAS_LIB @GSL_LIBM@ |
959 |
;; |
960 |
|
961 |
-diff --git a/gsl-config.in.porig b/gsl-config.in.porig |
962 |
-new file mode 100755 |
963 |
-index 0000000..3f3fa61 |
964 |
---- /dev/null |
965 |
-+++ b/gsl-config.in.porig |
966 |
-@@ -0,0 +1,80 @@ |
967 |
-+#! /bin/sh |
968 |
-+ |
969 |
-+prefix=@prefix@ |
970 |
-+exec_prefix=@exec_prefix@ |
971 |
-+includedir=@includedir@ |
972 |
-+ |
973 |
-+usage() |
974 |
-+{ |
975 |
-+ cat <<EOF |
976 |
-+Usage: gsl-config [OPTION] |
977 |
-+ |
978 |
-+Known values for OPTION are: |
979 |
-+ |
980 |
-+ --prefix show GSL installation prefix |
981 |
-+ --libs print library linking information, with cblas |
982 |
-+ --libs-without-cblas print library linking information, without cblas |
983 |
-+ --cflags print pre-processor and compiler flags |
984 |
-+ --help display this help and exit |
985 |
-+ --version output version information |
986 |
-+ |
987 |
-+An external CBLAS library can be specified using the GSL_CBLAS_LIB |
988 |
-+environment variable. The GSL CBLAS library is used by default. |
989 |
-+ |
990 |
-+EOF |
991 |
-+ |
992 |
-+ exit $1 |
993 |
-+} |
994 |
-+ |
995 |
-+if test $# -eq 0; then |
996 |
-+ usage 1 |
997 |
-+fi |
998 |
-+ |
999 |
-+cflags=false |
1000 |
-+libs=false |
1001 |
-+ |
1002 |
-+while test $# -gt 0; do |
1003 |
-+ case "$1" in |
1004 |
-+ -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
1005 |
-+ *) optarg= ;; |
1006 |
-+ esac |
1007 |
-+ |
1008 |
-+ case "$1" in |
1009 |
-+ --prefix=*) |
1010 |
-+ prefix=$optarg |
1011 |
-+ ;; |
1012 |
-+ |
1013 |
-+ --prefix) |
1014 |
-+ echo $prefix |
1015 |
-+ ;; |
1016 |
-+ |
1017 |
-+ --version) |
1018 |
-+ echo @VERSION@ |
1019 |
-+ exit 0 |
1020 |
-+ ;; |
1021 |
-+ |
1022 |
-+ --help) |
1023 |
-+ usage 0 |
1024 |
-+ ;; |
1025 |
-+ |
1026 |
-+ --cflags) |
1027 |
-+ echo @GSL_CFLAGS@ |
1028 |
-+ ;; |
1029 |
-+ |
1030 |
-+ --libs) |
1031 |
-+ : ${GSL_CBLAS_LIB=-lgslcblas} |
1032 |
-+ echo @GSL_LIBS@ $GSL_CBLAS_LIB @GSL_LIBM@ |
1033 |
-+ ;; |
1034 |
-+ |
1035 |
-+ --libs-without-cblas) |
1036 |
-+ echo @GSL_LIBS@ @GSL_LIBM@ |
1037 |
-+ ;; |
1038 |
-+ *) |
1039 |
-+ usage |
1040 |
-+ exit 1 |
1041 |
-+ ;; |
1042 |
-+ esac |
1043 |
-+ shift |
1044 |
-+done |
1045 |
-+ |
1046 |
-+exit 0 |
1047 |
diff --git a/gsl.pc.in b/gsl.pc.in |
1048 |
index 5e9ef21..5a7a0f3 100644 |
1049 |
--- a/gsl.pc.in |
1050 |
@@ -1078,408 +98,4 @@ index 5e9ef21..5a7a0f3 100644 |
1051 |
|
1052 |
Name: GSL |
1053 |
Description: GNU Scientific Library |
1054 |
-diff --git a/gsl.pc.in.porig b/gsl.pc.in.porig |
1055 |
-new file mode 100644 |
1056 |
-index 0000000..5e9ef21 |
1057 |
---- /dev/null |
1058 |
-+++ b/gsl.pc.in.porig |
1059 |
-@@ -0,0 +1,11 @@ |
1060 |
-+prefix=@prefix@ |
1061 |
-+exec_prefix=@exec_prefix@ |
1062 |
-+libdir=@libdir@ |
1063 |
-+includedir=@includedir@ |
1064 |
-+GSL_CBLAS_LIB=-lgslcblas |
1065 |
-+ |
1066 |
-+Name: GSL |
1067 |
-+Description: GNU Scientific Library |
1068 |
-+Version: @VERSION@ |
1069 |
-+Libs: @GSL_LIBS@ ${GSL_CBLAS_LIB} @GSL_LIBM@ @LIBS@ |
1070 |
-+Cflags: @GSL_CFLAGS@ |
1071 |
-diff --git a/interpolation/Makefile.am b/interpolation/Makefile.am |
1072 |
-index 1d80755..e45bd51 100644 |
1073 |
---- a/interpolation/Makefile.am |
1074 |
-+++ b/interpolation/Makefile.am |
1075 |
-@@ -12,7 +12,7 @@ AM_CPPFLAGS = -I$(top_srcdir) |
1076 |
- |
1077 |
- TESTS = $(check_PROGRAMS) |
1078 |
- |
1079 |
--test_LDADD = libgslinterpolation.la ../poly/libgslpoly.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../cblas/libgslcblas.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1080 |
-+test_LDADD = libgslinterpolation.la ../poly/libgslpoly.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la @CBLAS_LINK_LIBS@ ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1081 |
- |
1082 |
- test_SOURCES = test.c |
1083 |
- |
1084 |
-diff --git a/interpolation/Makefile.am.porig b/interpolation/Makefile.am.porig |
1085 |
-new file mode 100644 |
1086 |
-index 0000000..1d80755 |
1087 |
---- /dev/null |
1088 |
-+++ b/interpolation/Makefile.am.porig |
1089 |
-@@ -0,0 +1,18 @@ |
1090 |
-+noinst_LTLIBRARIES = libgslinterpolation.la |
1091 |
-+ |
1092 |
-+check_PROGRAMS = test |
1093 |
-+ |
1094 |
-+pkginclude_HEADERS = gsl_interp.h gsl_spline.h gsl_interp2d.h gsl_spline2d.h |
1095 |
-+ |
1096 |
-+libgslinterpolation_la_SOURCES = accel.c akima.c cspline.c interp.c linear.c integ_eval.h spline.c poly.c steffen.c inline.c interp2d.c bilinear.c bicubic.c spline2d.c |
1097 |
-+ |
1098 |
-+noinst_HEADERS = test2d.c |
1099 |
-+ |
1100 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
1101 |
-+ |
1102 |
-+TESTS = $(check_PROGRAMS) |
1103 |
-+ |
1104 |
-+test_LDADD = libgslinterpolation.la ../poly/libgslpoly.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../cblas/libgslcblas.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1105 |
-+ |
1106 |
-+test_SOURCES = test.c |
1107 |
-+ |
1108 |
-diff --git a/linalg/Makefile.am b/linalg/Makefile.am |
1109 |
-index a6c15b0..447ebbe 100644 |
1110 |
---- a/linalg/Makefile.am |
1111 |
-+++ b/linalg/Makefile.am |
1112 |
-@@ -13,4 +13,4 @@ TESTS = $(check_PROGRAMS) |
1113 |
- check_PROGRAMS = test |
1114 |
- |
1115 |
- test_SOURCES = test.c |
1116 |
--test_LDADD = libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la ../rng/libgslrng.la |
1117 |
-+test_LDADD = libgsllinalg.la ../blas/libgslblas.la @CBLAS_LINK_LIBS@ ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la ../rng/libgslrng.la |
1118 |
-diff --git a/linalg/Makefile.am.porig b/linalg/Makefile.am.porig |
1119 |
-new file mode 100644 |
1120 |
-index 0000000..a6c15b0 |
1121 |
---- /dev/null |
1122 |
-+++ b/linalg/Makefile.am.porig |
1123 |
-@@ -0,0 +1,16 @@ |
1124 |
-+noinst_LTLIBRARIES = libgsllinalg.la |
1125 |
-+ |
1126 |
-+pkginclude_HEADERS = gsl_linalg.h |
1127 |
-+ |
1128 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
1129 |
-+ |
1130 |
-+libgsllinalg_la_SOURCES = cod.c condest.c invtri.c multiply.c exponential.c tridiag.c tridiag.h lu.c luc.c hh.c qr.c qrpt.c lq.c ptlq.c svd.c householder.c householdercomplex.c hessenberg.c hesstri.c cholesky.c choleskyc.c mcholesky.c pcholesky.c symmtd.c hermtd.c bidiag.c balance.c balancemat.c inline.c |
1131 |
-+ |
1132 |
-+noinst_HEADERS = apply_givens.c cholesky_common.c svdstep.c tridiag.h test_cholesky.c |
1133 |
-+ |
1134 |
-+TESTS = $(check_PROGRAMS) |
1135 |
-+ |
1136 |
-+check_PROGRAMS = test |
1137 |
-+ |
1138 |
-+test_SOURCES = test.c |
1139 |
-+test_LDADD = libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la ../rng/libgslrng.la |
1140 |
-diff --git a/multifit/Makefile.am b/multifit/Makefile.am |
1141 |
-index 988614e..793b485 100644 |
1142 |
---- a/multifit/Makefile.am |
1143 |
-+++ b/multifit/Makefile.am |
1144 |
-@@ -67,8 +67,8 @@ check_PROGRAMS = test #demo |
1145 |
- TESTS = $(check_PROGRAMS) |
1146 |
- |
1147 |
- test_SOURCES = test.c |
1148 |
--test_LDADD = libgslmultifit.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../sort/libgslsort.la ../statistics/libgslstatistics.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la ../rng/libgslrng.la ../specfunc/libgslspecfunc.la ../min/libgslmin.la |
1149 |
-+test_LDADD = libgslmultifit.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la @CBLAS_LINK_LIBS@ ../matrix/libgslmatrix.la ../sort/libgslsort.la ../statistics/libgslstatistics.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la ../rng/libgslrng.la ../specfunc/libgslspecfunc.la ../min/libgslmin.la |
1150 |
- |
1151 |
- #demo_SOURCES = demo.c |
1152 |
--#demo_LDADD = libgslmultifit.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../randist/libgslrandist.la ../rng/libgslrng.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la |
1153 |
-+#demo_LDADD = libgslmultifit.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la @CBLAS_LINK_LIBS@ ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../randist/libgslrandist.la ../rng/libgslrng.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la |
1154 |
- |
1155 |
-diff --git a/multifit/Makefile.am.porig b/multifit/Makefile.am.porig |
1156 |
-new file mode 100644 |
1157 |
-index 0000000..988614e |
1158 |
---- /dev/null |
1159 |
-+++ b/multifit/Makefile.am.porig |
1160 |
-@@ -0,0 +1,74 @@ |
1161 |
-+noinst_LTLIBRARIES = libgslmultifit.la |
1162 |
-+ |
1163 |
-+pkginclude_HEADERS = gsl_multifit.h gsl_multifit_nlin.h |
1164 |
-+ |
1165 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
1166 |
-+ |
1167 |
-+libgslmultifit_la_SOURCES = gcv.c multilinear.c multiwlinear.c work.c lmniel.c lmder.c fsolver.c fdfsolver.c fdfridge.c fdjac.c convergence.c gradient.c covar.c multirobust.c robust_wfun.c multireg.c |
1168 |
-+ |
1169 |
-+noinst_HEADERS = \ |
1170 |
-+linear_common.c \ |
1171 |
-+lmutil.c \ |
1172 |
-+lmpar.c \ |
1173 |
-+lmset.c \ |
1174 |
-+lmiterate.c \ |
1175 |
-+lmmisc.c \ |
1176 |
-+qrsolv.c \ |
1177 |
-+test_bard.c \ |
1178 |
-+test_beale.c \ |
1179 |
-+test_biggs.c \ |
1180 |
-+test_box.c \ |
1181 |
-+test_boxbod.c \ |
1182 |
-+test_brown1.c \ |
1183 |
-+test_brown2.c \ |
1184 |
-+test_brown3.c \ |
1185 |
-+test_eckerle.c \ |
1186 |
-+test_enso.c \ |
1187 |
-+test_estimator.c \ |
1188 |
-+test_exp1.c \ |
1189 |
-+test_filip.c \ |
1190 |
-+test_gaussian.c \ |
1191 |
-+test_hahn1.c \ |
1192 |
-+test_helical.c \ |
1193 |
-+test_jennrich.c \ |
1194 |
-+test_kirby2.c \ |
1195 |
-+test_kowalik.c \ |
1196 |
-+test_lin1.c \ |
1197 |
-+test_lin2.c \ |
1198 |
-+test_lin3.c \ |
1199 |
-+test_linear.c \ |
1200 |
-+test_longley.c \ |
1201 |
-+test_meyer.c \ |
1202 |
-+test_meyerscal.c \ |
1203 |
-+test_nelson.c \ |
1204 |
-+test_nonlinear.c \ |
1205 |
-+test_osborne.c \ |
1206 |
-+test_penalty1.c \ |
1207 |
-+test_penalty2.c \ |
1208 |
-+test_pontius.c \ |
1209 |
-+test_powell1.c \ |
1210 |
-+test_powell2.c \ |
1211 |
-+test_powell3.c \ |
1212 |
-+test_rat42.c \ |
1213 |
-+test_rat43.c \ |
1214 |
-+test_reg.c \ |
1215 |
-+test_rosenbrock.c \ |
1216 |
-+test_rosenbrocke.c \ |
1217 |
-+test_roth.c \ |
1218 |
-+test_shaw.c \ |
1219 |
-+test_thurber.c \ |
1220 |
-+test_vardim.c \ |
1221 |
-+test_watson.c \ |
1222 |
-+test_wnlin.c \ |
1223 |
-+test_wood.c |
1224 |
-+ |
1225 |
-+check_PROGRAMS = test #demo |
1226 |
-+ |
1227 |
-+TESTS = $(check_PROGRAMS) |
1228 |
-+ |
1229 |
-+test_SOURCES = test.c |
1230 |
-+test_LDADD = libgslmultifit.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../sort/libgslsort.la ../statistics/libgslstatistics.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la ../rng/libgslrng.la ../specfunc/libgslspecfunc.la ../min/libgslmin.la |
1231 |
-+ |
1232 |
-+#demo_SOURCES = demo.c |
1233 |
-+#demo_LDADD = libgslmultifit.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../randist/libgslrandist.la ../rng/libgslrng.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la |
1234 |
-+ |
1235 |
-diff --git a/multimin/Makefile.am b/multimin/Makefile.am |
1236 |
-index 7071359..65a488a 100644 |
1237 |
---- a/multimin/Makefile.am |
1238 |
-+++ b/multimin/Makefile.am |
1239 |
-@@ -13,8 +13,8 @@ check_PROGRAMS = test #demo |
1240 |
- TESTS = $(check_PROGRAMS) |
1241 |
- |
1242 |
- test_SOURCES = test.c test_funcs.c test_funcs.h |
1243 |
--test_LDADD = libgslmultimin.la ../min/libgslmin.la ../poly/libgslpoly.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1244 |
-+test_LDADD = libgslmultimin.la ../min/libgslmin.la ../poly/libgslpoly.la ../blas/libgslblas.la @CBLAS_LINK_LIBS@ ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1245 |
- |
1246 |
- #demo_SOURCES = demo.c |
1247 |
--#demo_LDADD = libgslmultimin.la ../min/libgslmin.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../linalg/libgsllinalg.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1248 |
-+#demo_LDADD = libgslmultimin.la ../min/libgslmin.la ../blas/libgslblas.la @CBLAS_LINK_LIBS@ ../linalg/libgsllinalg.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1249 |
- |
1250 |
-diff --git a/multimin/Makefile.am.porig b/multimin/Makefile.am.porig |
1251 |
-new file mode 100644 |
1252 |
-index 0000000..7071359 |
1253 |
---- /dev/null |
1254 |
-+++ b/multimin/Makefile.am.porig |
1255 |
-@@ -0,0 +1,20 @@ |
1256 |
-+noinst_LTLIBRARIES = libgslmultimin.la |
1257 |
-+ |
1258 |
-+pkginclude_HEADERS = gsl_multimin.h |
1259 |
-+ |
1260 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
1261 |
-+ |
1262 |
-+libgslmultimin_la_SOURCES = fdfminimizer.c steepest_descent.c conjugate_fr.c conjugate_pr.c convergence.c diff.c vector_bfgs.c vector_bfgs2.c fminimizer.c simplex.c simplex2.c |
1263 |
-+ |
1264 |
-+noinst_HEADERS = directional_minimize.c linear_minimize.c linear_wrapper.c |
1265 |
-+ |
1266 |
-+check_PROGRAMS = test #demo |
1267 |
-+ |
1268 |
-+TESTS = $(check_PROGRAMS) |
1269 |
-+ |
1270 |
-+test_SOURCES = test.c test_funcs.c test_funcs.h |
1271 |
-+test_LDADD = libgslmultimin.la ../min/libgslmin.la ../poly/libgslpoly.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1272 |
-+ |
1273 |
-+#demo_SOURCES = demo.c |
1274 |
-+#demo_LDADD = libgslmultimin.la ../min/libgslmin.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../linalg/libgsllinalg.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1275 |
-+ |
1276 |
-diff --git a/multiroots/Makefile.am b/multiroots/Makefile.am |
1277 |
-index a351c3f..6178448 100644 |
1278 |
---- a/multiroots/Makefile.am |
1279 |
-+++ b/multiroots/Makefile.am |
1280 |
-@@ -15,5 +15,5 @@ check_PROGRAMS = test |
1281 |
- TESTS = $(check_PROGRAMS) |
1282 |
- |
1283 |
- test_SOURCES = test.c test_funcs.c test_funcs.h |
1284 |
--test_LDADD = libgslmultiroots.la ../linalg/libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1285 |
-+test_LDADD = libgslmultiroots.la ../linalg/libgsllinalg.la ../blas/libgslblas.la @CBLAS_LINK_LIBS@ ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1286 |
- |
1287 |
-diff --git a/multiroots/Makefile.am.porig b/multiroots/Makefile.am.porig |
1288 |
-new file mode 100644 |
1289 |
-index 0000000..a351c3f |
1290 |
---- /dev/null |
1291 |
-+++ b/multiroots/Makefile.am.porig |
1292 |
-@@ -0,0 +1,19 @@ |
1293 |
-+# -*-makefile-*- |
1294 |
-+ |
1295 |
-+noinst_LTLIBRARIES = libgslmultiroots.la |
1296 |
-+ |
1297 |
-+pkginclude_HEADERS = gsl_multiroots.h |
1298 |
-+ |
1299 |
-+noinst_HEADERS = enorm.c dogleg.c |
1300 |
-+ |
1301 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
1302 |
-+ |
1303 |
-+libgslmultiroots_la_SOURCES = fdjac.c fsolver.c fdfsolver.c convergence.c newton.c gnewton.c dnewton.c broyden.c hybrid.c hybridj.c |
1304 |
-+ |
1305 |
-+check_PROGRAMS = test |
1306 |
-+ |
1307 |
-+TESTS = $(check_PROGRAMS) |
1308 |
-+ |
1309 |
-+test_SOURCES = test.c test_funcs.c test_funcs.h |
1310 |
-+test_LDADD = libgslmultiroots.la ../linalg/libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1311 |
-+ |
1312 |
-diff --git a/ode-initval/Makefile.am b/ode-initval/Makefile.am |
1313 |
-index 9c774b5..346c381 100644 |
1314 |
---- a/ode-initval/Makefile.am |
1315 |
-+++ b/ode-initval/Makefile.am |
1316 |
-@@ -12,7 +12,7 @@ check_PROGRAMS = test |
1317 |
- |
1318 |
- TESTS = $(check_PROGRAMS) |
1319 |
- |
1320 |
--test_LDADD = libgslodeiv.la ../linalg/libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../permutation/libgslpermutation.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1321 |
-+test_LDADD = libgslodeiv.la ../linalg/libgsllinalg.la ../blas/libgslblas.la @CBLAS_LINK_LIBS@ ../matrix/libgslmatrix.la ../permutation/libgslpermutation.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1322 |
- |
1323 |
- test_SOURCES = test.c |
1324 |
- |
1325 |
-diff --git a/ode-initval/Makefile.am.porig b/ode-initval/Makefile.am.porig |
1326 |
-new file mode 100644 |
1327 |
-index 0000000..9c774b5 |
1328 |
---- /dev/null |
1329 |
-+++ b/ode-initval/Makefile.am.porig |
1330 |
-@@ -0,0 +1,18 @@ |
1331 |
-+noinst_LTLIBRARIES = libgslodeiv.la |
1332 |
-+ |
1333 |
-+pkginclude_HEADERS = gsl_odeiv.h |
1334 |
-+ |
1335 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
1336 |
-+ |
1337 |
-+libgslodeiv_la_SOURCES = control.c cstd.c cscal.c evolve.c step.c rk2.c rk2imp.c rk2simp.c rk4.c rk4imp.c rkf45.c rk8pd.c rkck.c bsimp.c gear1.c gear2.c |
1338 |
-+ |
1339 |
-+noinst_HEADERS = odeiv_util.h |
1340 |
-+ |
1341 |
-+check_PROGRAMS = test |
1342 |
-+ |
1343 |
-+TESTS = $(check_PROGRAMS) |
1344 |
-+ |
1345 |
-+test_LDADD = libgslodeiv.la ../linalg/libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../permutation/libgslpermutation.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1346 |
-+ |
1347 |
-+test_SOURCES = test.c |
1348 |
-+ |
1349 |
-diff --git a/poly/Makefile.am b/poly/Makefile.am |
1350 |
-index f1dae5d..e0f8e83 100644 |
1351 |
---- a/poly/Makefile.am |
1352 |
-+++ b/poly/Makefile.am |
1353 |
-@@ -10,7 +10,7 @@ noinst_HEADERS = balance.c companion.c qr.c |
1354 |
- |
1355 |
- TESTS = $(check_PROGRAMS) |
1356 |
- |
1357 |
--check_PROGRAMS = test |
1358 |
-+#check_PROGRAMS = test |
1359 |
- |
1360 |
- test_SOURCES = test.c |
1361 |
- test_LDADD = libgslpoly.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la ../sort/libgslsort.la |
1362 |
-diff --git a/poly/Makefile.am.porig b/poly/Makefile.am.porig |
1363 |
-new file mode 100644 |
1364 |
-index 0000000..f1dae5d |
1365 |
---- /dev/null |
1366 |
-+++ b/poly/Makefile.am.porig |
1367 |
-@@ -0,0 +1,17 @@ |
1368 |
-+noinst_LTLIBRARIES = libgslpoly.la |
1369 |
-+ |
1370 |
-+pkginclude_HEADERS = gsl_poly.h |
1371 |
-+ |
1372 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
1373 |
-+ |
1374 |
-+libgslpoly_la_SOURCES = dd.c eval.c solve_quadratic.c solve_cubic.c zsolve_quadratic.c zsolve_cubic.c zsolve.c zsolve_init.c deriv.c |
1375 |
-+ |
1376 |
-+noinst_HEADERS = balance.c companion.c qr.c |
1377 |
-+ |
1378 |
-+TESTS = $(check_PROGRAMS) |
1379 |
-+ |
1380 |
-+check_PROGRAMS = test |
1381 |
-+ |
1382 |
-+test_SOURCES = test.c |
1383 |
-+test_LDADD = libgslpoly.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la ../sort/libgslsort.la |
1384 |
-+ |
1385 |
-diff --git a/specfunc/Makefile.am b/specfunc/Makefile.am |
1386 |
-index eba9ab2..772cc7e 100644 |
1387 |
---- a/specfunc/Makefile.am |
1388 |
-+++ b/specfunc/Makefile.am |
1389 |
-@@ -12,7 +12,7 @@ TESTS = $(check_PROGRAMS) |
1390 |
- |
1391 |
- check_PROGRAMS = test |
1392 |
- |
1393 |
--test_LDADD = libgslspecfunc.la ../eigen/libgsleigen.la ../linalg/libgsllinalg.la ../sort/libgslsort.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../block/libgslblock.la ../complex/libgslcomplex.la ../poly/libgslpoly.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1394 |
-+test_LDADD = libgslspecfunc.la ../eigen/libgsleigen.la ../linalg/libgsllinalg.la ../sort/libgslsort.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../blas/libgslblas.la @CBLAS_LINK_LIBS@ ../block/libgslblock.la ../complex/libgslcomplex.la ../poly/libgslpoly.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1395 |
- |
1396 |
- test_SOURCES = test_sf.c test_sf.h test_airy.c test_bessel.c test_coulomb.c test_dilog.c test_gamma.c test_hyperg.c test_legendre.c test_mathieu.c |
1397 |
- |
1398 |
-diff --git a/specfunc/Makefile.am.porig b/specfunc/Makefile.am.porig |
1399 |
-new file mode 100644 |
1400 |
-index 0000000..eba9ab2 |
1401 |
---- /dev/null |
1402 |
-+++ b/specfunc/Makefile.am.porig |
1403 |
-@@ -0,0 +1,19 @@ |
1404 |
-+noinst_LTLIBRARIES = libgslspecfunc.la |
1405 |
-+ |
1406 |
-+pkginclude_HEADERS = gsl_sf.h gsl_sf_airy.h gsl_sf_bessel.h gsl_sf_clausen.h gsl_sf_coulomb.h gsl_sf_coupling.h gsl_sf_dawson.h gsl_sf_debye.h gsl_sf_dilog.h gsl_sf_elementary.h gsl_sf_ellint.h gsl_sf_elljac.h gsl_sf_erf.h gsl_sf_exp.h gsl_sf_expint.h gsl_sf_fermi_dirac.h gsl_sf_gamma.h gsl_sf_gegenbauer.h gsl_sf_hyperg.h gsl_sf_laguerre.h gsl_sf_lambert.h gsl_sf_legendre.h gsl_sf_log.h gsl_sf_mathieu.h gsl_sf_pow_int.h gsl_sf_psi.h gsl_sf_result.h gsl_sf_synchrotron.h gsl_sf_transport.h gsl_sf_trig.h gsl_sf_zeta.h gsl_specfunc.h |
1407 |
-+ |
1408 |
-+noinst_HEADERS = bessel_amp_phase.h bessel_olver.h bessel_temme.h bessel.h hyperg.h legendre.h eval.h chebyshev.h cheb_eval.c cheb_eval_mode.c check.h error.h legendre_source.c |
1409 |
-+ |
1410 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
1411 |
-+ |
1412 |
-+libgslspecfunc_la_SOURCES = airy.c airy_der.c airy_zero.c atanint.c bessel.c bessel.h bessel_I0.c bessel_I1.c bessel_In.c bessel_Inu.c bessel_J0.c bessel_J1.c bessel_Jn.c bessel_Jnu.c bessel_K0.c bessel_K1.c bessel_Kn.c bessel_Knu.c bessel_Y0.c bessel_Y1.c bessel_Yn.c bessel_Ynu.c bessel_amp_phase.c bessel_amp_phase.h bessel_i.c bessel_j.c bessel_k.c bessel_olver.c bessel_temme.c bessel_y.c bessel_zero.c bessel_sequence.c beta.c beta_inc.c clausen.c coulomb.c coupling.c coulomb_bound.c dawson.c debye.c dilog.c elementary.c ellint.c elljac.c erfc.c exp.c expint.c expint3.c fermi_dirac.c gegenbauer.c gamma.c gamma_inc.c hyperg_0F1.c hyperg_2F0.c hyperg_1F1.c hyperg_2F1.c hyperg_U.c hyperg.c laguerre.c lambert.c legendre_H3d.c legendre_P.c legendre_Qn.c legendre_con.c legendre_poly.c log.c mathieu_angfunc.c mathieu_charv.c mathieu_coeff.c mathieu_radfunc.c mathieu_workspace.c poch.c pow_int.c psi.c recurse.h result.c shint.c sinint.c synchrotron.c transport.c trig.c zeta.c |
1413 |
-+ |
1414 |
-+TESTS = $(check_PROGRAMS) |
1415 |
-+ |
1416 |
-+check_PROGRAMS = test |
1417 |
-+ |
1418 |
-+test_LDADD = libgslspecfunc.la ../eigen/libgsleigen.la ../linalg/libgsllinalg.la ../sort/libgslsort.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../block/libgslblock.la ../complex/libgslcomplex.la ../poly/libgslpoly.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1419 |
-+ |
1420 |
-+test_SOURCES = test_sf.c test_sf.h test_airy.c test_bessel.c test_coulomb.c test_dilog.c test_gamma.c test_hyperg.c test_legendre.c test_mathieu.c |
1421 |
-+ |
1422 |
-+ |
1423 |
-diff --git a/wavelet/Makefile.am b/wavelet/Makefile.am |
1424 |
-index 9da20d8..8cdbd77 100644 |
1425 |
---- a/wavelet/Makefile.am |
1426 |
-+++ b/wavelet/Makefile.am |
1427 |
-@@ -10,7 +10,7 @@ check_PROGRAMS = test |
1428 |
|
1429 |
- TESTS = $(check_PROGRAMS) |
1430 |
- |
1431 |
--test_LDADD = libgslwavelet.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1432 |
-+test_LDADD = libgslwavelet.la ../blas/libgslblas.la @CBLAS_LINK_LIBS@ ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1433 |
- |
1434 |
- test_SOURCES = test.c |
1435 |
- |
1436 |
-diff --git a/wavelet/Makefile.am.porig b/wavelet/Makefile.am.porig |
1437 |
-new file mode 100644 |
1438 |
-index 0000000..9da20d8 |
1439 |
---- /dev/null |
1440 |
-+++ b/wavelet/Makefile.am.porig |
1441 |
-@@ -0,0 +1,17 @@ |
1442 |
-+noinst_LTLIBRARIES = libgslwavelet.la |
1443 |
-+ |
1444 |
-+pkginclude_HEADERS = gsl_wavelet.h gsl_wavelet2d.h |
1445 |
-+ |
1446 |
-+AM_CPPFLAGS = -I$(top_srcdir) |
1447 |
-+ |
1448 |
-+libgslwavelet_la_SOURCES = dwt.c wavelet.c bspline.c daubechies.c haar.c |
1449 |
-+ |
1450 |
-+check_PROGRAMS = test |
1451 |
-+ |
1452 |
-+TESTS = $(check_PROGRAMS) |
1453 |
-+ |
1454 |
-+test_LDADD = libgslwavelet.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la |
1455 |
-+ |
1456 |
-+test_SOURCES = test.c |
1457 |
-+ |
1458 |
-+ |
1459 |
|
1460 |
diff --git a/sci-libs/gsl/gsl-2.1-r1.ebuild b/sci-libs/gsl/gsl-2.1-r1.ebuild |
1461 |
new file mode 100644 |
1462 |
index 000000000..b26a45748 |
1463 |
--- /dev/null |
1464 |
+++ b/sci-libs/gsl/gsl-2.1-r1.ebuild |
1465 |
@@ -0,0 +1,82 @@ |
1466 |
+# Copyright 1999-2017 Gentoo Foundation |
1467 |
+# Distributed under the terms of the GNU General Public License v2 |
1468 |
+ |
1469 |
+EAPI=6 |
1470 |
+ |
1471 |
+inherit alternatives-2 autotools multilib-build numeric toolchain-funcs |
1472 |
+ |
1473 |
+DESCRIPTION="GNU Scientific Library" |
1474 |
+HOMEPAGE="http://www.gnu.org/software/gsl/" |
1475 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
1476 |
+ |
1477 |
+LICENSE="GPL-3" |
1478 |
+SLOT="0/19" |
1479 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
1480 |
+IUSE="cblas-external static-libs" |
1481 |
+ |
1482 |
+RDEPEND="cblas-external? ( >=virtual/cblas-2.0-r3[${MULTILIB_USEDEP}] )" |
1483 |
+DEPEND="${RDEPEND} |
1484 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" |
1485 |
+ |
1486 |
+PATCHES=( "${FILESDIR}"/${P}-cblas-external.patch ) |
1487 |
+ |
1488 |
+src_prepare() { |
1489 |
+ default |
1490 |
+ eautoreconf |
1491 |
+ multilib_copy_sources |
1492 |
+} |
1493 |
+ |
1494 |
+src_configure() { |
1495 |
+ gsl_configure() { |
1496 |
+ cd "${BUILD_DIR}" |
1497 |
+ if use cblas-external; then |
1498 |
+ export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)" |
1499 |
+ export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)" |
1500 |
+ fi |
1501 |
+ econf $(use_with cblas-external) |
1502 |
+ } |
1503 |
+ multilib_foreach_abi gsl_configure |
1504 |
+} |
1505 |
+ |
1506 |
+src_compile() { |
1507 |
+ gsl_compile() { |
1508 |
+ cd "${BUILD_DIR}" |
1509 |
+ default |
1510 |
+ } |
1511 |
+ multilib_foreach_abi gsl_compile |
1512 |
+} |
1513 |
+ |
1514 |
+src_test() { |
1515 |
+ gsl_test() { |
1516 |
+ cd "${BUILD_DIR}" |
1517 |
+ default |
1518 |
+ } |
1519 |
+ multilib_foreach_abi gsl_test |
1520 |
+} |
1521 |
+ |
1522 |
+src_install() { |
1523 |
+ gsl_install() { |
1524 |
+ cd "${BUILD_DIR}" |
1525 |
+ local libname=gslcblas |
1526 |
+ |
1527 |
+ create_pkgconfig \ |
1528 |
+ --name "${libname}" \ |
1529 |
+ --description "${PN} CBLAS implementation" \ |
1530 |
+ --libs "-l${libname}" \ |
1531 |
+ --libs-private "-lm" \ |
1532 |
+ --cflags "-I\${includedir}/${PN}" \ |
1533 |
+ --version "${PV}" \ |
1534 |
+ --url "${HOMEPAGE}" \ |
1535 |
+ "${libname}" |
1536 |
+ |
1537 |
+ GSL_ALTERNATIVES+=( /usr/$(get_libdir)/pkgconfig/cblas.pc ${libname}.pc ) |
1538 |
+ |
1539 |
+ default |
1540 |
+ } |
1541 |
+ multilib_foreach_abi gsl_install |
1542 |
+ |
1543 |
+ # Don't add gsl as a cblas alternative if using cblas-external |
1544 |
+ use cblas-external || alternatives_for cblas gsl 0 \ |
1545 |
+ ${GSL_ALTERNATIVES[@]} \ |
1546 |
+ /usr/include/cblas.h gsl/gsl_cblas.h |
1547 |
+} |
1548 |
|
1549 |
diff --git a/sci-libs/gsl/gsl-2.1.ebuild b/sci-libs/gsl/gsl-2.1.ebuild |
1550 |
deleted file mode 100644 |
1551 |
index c02ed3d2f..000000000 |
1552 |
--- a/sci-libs/gsl/gsl-2.1.ebuild |
1553 |
+++ /dev/null |
1554 |
@@ -1,78 +0,0 @@ |
1555 |
-# Copyright 1999-2016 Gentoo Foundation |
1556 |
-# Distributed under the terms of the GNU General Public License v2 |
1557 |
- |
1558 |
-EAPI=6 |
1559 |
- |
1560 |
-NUMERIC_MODULE_NAME="gsl" |
1561 |
- |
1562 |
-inherit autotools flag-o-matic numeric-int64-multibuild toolchain-funcs |
1563 |
- |
1564 |
-DESCRIPTION="GNU Scientific Library" |
1565 |
-HOMEPAGE="http://www.gnu.org/software/gsl/" |
1566 |
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
1567 |
- |
1568 |
-LICENSE="GPL-3" |
1569 |
-SLOT="0/19" |
1570 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
1571 |
-IUSE="cblas-external static-libs" |
1572 |
- |
1573 |
-RDEPEND="cblas-external? ( >=virtual/cblas-2.0-r3[${MULTILIB_USEDEP}] )" |
1574 |
-DEPEND="${RDEPEND} |
1575 |
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" |
1576 |
- |
1577 |
-PATCHES=( "${FILESDIR}"/${P}-cblas-external.patch ) |
1578 |
- |
1579 |
-src_prepare() { |
1580 |
- default |
1581 |
- eautoreconf |
1582 |
- numeric-int64-multibuild_copy_sources |
1583 |
-} |
1584 |
- |
1585 |
-src_configure() { |
1586 |
- gsl_configure() { |
1587 |
- if use cblas-external; then |
1588 |
- export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)" |
1589 |
- export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)" |
1590 |
- fi |
1591 |
- if numeric-int64_is_int64_build; then |
1592 |
- append-fflags $(fortran_int64_abi_fflags) |
1593 |
- fi |
1594 |
- econf $(use_with cblas-external) |
1595 |
- } |
1596 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir gsl_configure |
1597 |
-} |
1598 |
- |
1599 |
-src_compile() { |
1600 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir default |
1601 |
-} |
1602 |
- |
1603 |
-src_test() { |
1604 |
- local MAKEOPTS="${MAKEOPTS} -j1" |
1605 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir default |
1606 |
-} |
1607 |
- |
1608 |
-src_install() { |
1609 |
- gsl_src_install() { |
1610 |
- local profname=$(numeric-int64_get_module_name) |
1611 |
- local libname="${profname//-/_}" |
1612 |
- |
1613 |
- default |
1614 |
- |
1615 |
- if ! numeric-int64_is_static_build; then |
1616 |
- create_pkgconfig \ |
1617 |
- --name ${profname} \ |
1618 |
- --description "${DESCRIPTION} CBLAS implementation" \ |
1619 |
- --libs "-L\${libdir} -l${libname}" \ |
1620 |
- --libs-private "-lm" \ |
1621 |
- --cflags "-I\${includedir} $(numeric-int64_get_fortran_int64_abi_fflags)" \ |
1622 |
- ${profname} |
1623 |
- fi |
1624 |
- |
1625 |
- } |
1626 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir gsl_src_install |
1627 |
- |
1628 |
- printf "/usr/include/cblas.h ${PN}/cblas.h" > "${T}"/alternative-cblas-generic.sh || die |
1629 |
- |
1630 |
- use cblas-external || \ |
1631 |
- numeric-int64-multibuild_install_alternative cblas ${NUMERIC_MODULE_NAME} |
1632 |
-} |
1633 |
|
1634 |
diff --git a/sci-libs/gsl/gsl-2.3-r1.ebuild b/sci-libs/gsl/gsl-2.3-r1.ebuild |
1635 |
new file mode 100644 |
1636 |
index 000000000..95b4344be |
1637 |
--- /dev/null |
1638 |
+++ b/sci-libs/gsl/gsl-2.3-r1.ebuild |
1639 |
@@ -0,0 +1,84 @@ |
1640 |
+# Copyright 1999-2017 Gentoo Foundation |
1641 |
+# Distributed under the terms of the GNU General Public License v2 |
1642 |
+ |
1643 |
+EAPI=6 |
1644 |
+ |
1645 |
+inherit alternatives-2 autotools multilib-build numeric toolchain-funcs |
1646 |
+ |
1647 |
+DESCRIPTION="GNU Scientific Library" |
1648 |
+HOMEPAGE="http://www.gnu.org/software/gsl/" |
1649 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
1650 |
+ |
1651 |
+LICENSE="GPL-3" |
1652 |
+SLOT="0/19" |
1653 |
+KEYWORDS="~amd64 ~mips ~s390 ~sh ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
1654 |
+IUSE="cblas-external static-libs" |
1655 |
+ |
1656 |
+RDEPEND="cblas-external? ( >=virtual/cblas-2.0-r3[${MULTILIB_USEDEP}] )" |
1657 |
+DEPEND="${RDEPEND} |
1658 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" |
1659 |
+ |
1660 |
+PATCHES=( |
1661 |
+ "${FILESDIR}"/${PN}-2.3-cblas-external.patch |
1662 |
+ ) |
1663 |
+ |
1664 |
+src_prepare() { |
1665 |
+ default |
1666 |
+ eautoreconf |
1667 |
+ multilib_copy_sources |
1668 |
+} |
1669 |
+ |
1670 |
+src_configure() { |
1671 |
+ gsl_configure() { |
1672 |
+ cd "${BUILD_DIR}" |
1673 |
+ if use cblas-external; then |
1674 |
+ export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)" |
1675 |
+ export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)" |
1676 |
+ fi |
1677 |
+ econf $(use_with cblas-external) |
1678 |
+ } |
1679 |
+ multilib_foreach_abi gsl_configure |
1680 |
+} |
1681 |
+ |
1682 |
+src_compile() { |
1683 |
+ gsl_compile() { |
1684 |
+ cd "${BUILD_DIR}" |
1685 |
+ default |
1686 |
+ } |
1687 |
+ multilib_foreach_abi gsl_compile |
1688 |
+} |
1689 |
+ |
1690 |
+src_install() { |
1691 |
+ gsl_install() { |
1692 |
+ cd "${BUILD_DIR}" |
1693 |
+ local libname=gslcblas |
1694 |
+ |
1695 |
+ create_pkgconfig \ |
1696 |
+ --name "${libname}" \ |
1697 |
+ --description "${PN} CBLAS implementation" \ |
1698 |
+ --libs "-l${libname}" \ |
1699 |
+ --libs-private "-lm" \ |
1700 |
+ --cflags "-I\${includedir}/${PN}" \ |
1701 |
+ --version "${PV}" \ |
1702 |
+ --url "${HOMEPAGE}" \ |
1703 |
+ "${libname}" |
1704 |
+ |
1705 |
+ GSL_ALTERNATIVES+=( /usr/$(get_libdir)/pkgconfig/cblas.pc ${libname}.pc ) |
1706 |
+ |
1707 |
+ default |
1708 |
+ } |
1709 |
+ multilib_foreach_abi gsl_install |
1710 |
+ |
1711 |
+ # Don't add gsl as a cblas alternative if using cblas-external |
1712 |
+ use cblas-external || alternatives_for cblas gsl 0 \ |
1713 |
+ ${GSL_ALTERNATIVES[@]} \ |
1714 |
+ /usr/include/cblas.h gsl/gsl_cblas.h |
1715 |
+} |
1716 |
+ |
1717 |
+src_test() { |
1718 |
+ gsl_test() { |
1719 |
+ cd "${BUILD_DIR}" |
1720 |
+ default |
1721 |
+ } |
1722 |
+ multilib_foreach_abi gsl_test |
1723 |
+} |
1724 |
|
1725 |
diff --git a/sci-libs/gsl/gsl-2.3.ebuild b/sci-libs/gsl/gsl-2.3.ebuild |
1726 |
deleted file mode 100644 |
1727 |
index c70483d8a..000000000 |
1728 |
--- a/sci-libs/gsl/gsl-2.3.ebuild |
1729 |
+++ /dev/null |
1730 |
@@ -1,78 +0,0 @@ |
1731 |
-# Copyright 1999-2016 Gentoo Foundation |
1732 |
-# Distributed under the terms of the GNU General Public License v2 |
1733 |
- |
1734 |
-EAPI=6 |
1735 |
- |
1736 |
-NUMERIC_MODULE_NAME="gsl" |
1737 |
- |
1738 |
-inherit autotools flag-o-matic numeric-int64-multibuild toolchain-funcs |
1739 |
- |
1740 |
-DESCRIPTION="GNU Scientific Library" |
1741 |
-HOMEPAGE="http://www.gnu.org/software/gsl/" |
1742 |
-SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
1743 |
- |
1744 |
-LICENSE="GPL-3" |
1745 |
-SLOT="0/19.3" |
1746 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
1747 |
-IUSE="cblas-external static-libs" |
1748 |
- |
1749 |
-RDEPEND="cblas-external? ( >=virtual/cblas-2.0-r3[${MULTILIB_USEDEP}] )" |
1750 |
-DEPEND="${RDEPEND} |
1751 |
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" |
1752 |
- |
1753 |
-PATCHES=( "${FILESDIR}"/${P}-cblas-external.patch ) |
1754 |
- |
1755 |
-src_prepare() { |
1756 |
- default |
1757 |
- eautoreconf |
1758 |
- numeric-int64-multibuild_copy_sources |
1759 |
-} |
1760 |
- |
1761 |
-src_configure() { |
1762 |
- gsl_configure() { |
1763 |
- if use cblas-external; then |
1764 |
- export CBLAS_LIBS="$($(tc-getPKG_CONFIG) --libs cblas)" |
1765 |
- export CBLAS_CFLAGS="$($(tc-getPKG_CONFIG) --cflags cblas)" |
1766 |
- fi |
1767 |
- if numeric-int64_is_int64_build; then |
1768 |
- append-fflags $(fortran_int64_abi_fflags) |
1769 |
- fi |
1770 |
- econf $(use_with cblas-external) |
1771 |
- } |
1772 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir gsl_configure |
1773 |
-} |
1774 |
- |
1775 |
-src_compile() { |
1776 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir default |
1777 |
-} |
1778 |
- |
1779 |
-src_test() { |
1780 |
- local MAKEOPTS="${MAKEOPTS} -j1" |
1781 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir default |
1782 |
-} |
1783 |
- |
1784 |
-src_install() { |
1785 |
- gsl_src_install() { |
1786 |
- local profname=$(numeric-int64_get_module_name) |
1787 |
- local libname="${profname//-/_}" |
1788 |
- |
1789 |
- default |
1790 |
- |
1791 |
- if ! numeric-int64_is_static_build; then |
1792 |
- create_pkgconfig \ |
1793 |
- --name ${profname} \ |
1794 |
- --description "${DESCRIPTION} CBLAS implementation" \ |
1795 |
- --libs "-L\${libdir} -l${libname}" \ |
1796 |
- --libs-private "-lm" \ |
1797 |
- --cflags "-I\${includedir} $(numeric-int64_get_fortran_int64_abi_fflags)" \ |
1798 |
- ${profname} |
1799 |
- fi |
1800 |
- |
1801 |
- } |
1802 |
- numeric-int64-multibuild_foreach_all_abi_variants run_in_build_dir gsl_src_install |
1803 |
- |
1804 |
- printf "/usr/include/cblas.h ${PN}/cblas.h" > "${T}"/alternative-cblas-generic.sh || die |
1805 |
- |
1806 |
- use cblas-external || \ |
1807 |
- numeric-int64-multibuild_install_alternative cblas ${NUMERIC_MODULE_NAME} |
1808 |
-} |
1809 |
|
1810 |
diff --git a/sci-libs/gsl/metadata.xml b/sci-libs/gsl/metadata.xml |
1811 |
index bac5f4993..6e2e8e11f 100644 |
1812 |
--- a/sci-libs/gsl/metadata.xml |
1813 |
+++ b/sci-libs/gsl/metadata.xml |
1814 |
@@ -21,6 +21,5 @@ |
1815 |
<use> |
1816 |
<flag name="cblas-external">Link gsl with external cblas provided by |
1817 |
(<pkg>virtual/cblas</pkg>) instead of shipped internal version</flag> |
1818 |
- <flag name="int64">Build the 64 bits integer library</flag> |
1819 |
</use> |
1820 |
</pkgmetadata> |