diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-03-13 16:43:11 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-03-13 16:43:11 +0000 |
commit | 025eba1e4e09d3116ccf593278d2a5dedf230b76 (patch) | |
tree | cffd90cb57955780116ade6348973194cab338aa /sci-libs/arprec | |
parent | Version bump (diff) | |
download | historical-025eba1e4e09d3116ccf593278d2a5dedf230b76.tar.gz historical-025eba1e4e09d3116ccf593278d2a5dedf230b76.tar.bz2 historical-025eba1e4e09d3116ccf593278d2a5dedf230b76.zip |
Version bump
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/arprec')
-rw-r--r-- | sci-libs/arprec/ChangeLog | 9 | ||||
-rw-r--r-- | sci-libs/arprec/Manifest | 18 | ||||
-rw-r--r-- | sci-libs/arprec/arprec-2.2.10.ebuild (renamed from sci-libs/arprec/arprec-2.2.8.ebuild) | 4 | ||||
-rw-r--r-- | sci-libs/arprec/arprec-2.2.2.ebuild | 61 | ||||
-rw-r--r-- | sci-libs/arprec/arprec-2.2.7.ebuild | 55 | ||||
-rw-r--r-- | sci-libs/arprec/files/arprec-2.2.2-gcc44.patch | 59 | ||||
-rw-r--r-- | sci-libs/arprec/files/arprec-2.2.8-autotools.patch | 324 |
7 files changed, 16 insertions, 514 deletions
diff --git a/sci-libs/arprec/ChangeLog b/sci-libs/arprec/ChangeLog index d9ae4b76c121..b0949900229b 100644 --- a/sci-libs/arprec/ChangeLog +++ b/sci-libs/arprec/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-libs/arprec # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.8 2012/03/06 18:00:03 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.9 2012/03/13 16:43:11 bicatali Exp $ + +*arprec-2.2.10 (13 Mar 2012) + + 13 Mar 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> -arprec-2.2.2.ebuild, + -files/arprec-2.2.2-gcc44.patch, -arprec-2.2.7.ebuild, -arprec-2.2.8.ebuild, + -files/arprec-2.2.8-autotools.patch, +arprec-2.2.10.ebuild: + Version bump *arprec-2.2.9 (06 Mar 2012) diff --git a/sci-libs/arprec/Manifest b/sci-libs/arprec/Manifest index baf7b11b690d..c7b85b02cad1 100644 --- a/sci-libs/arprec/Manifest +++ b/sci-libs/arprec/Manifest @@ -1,23 +1,17 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX arprec-2.2.2-gcc44.patch 1758 RMD160 da9e594bf4712481a6ec899c1d0c701b24116ae5 SHA1 f47e93c2c377a330f5530b5abbf8199a66100b8c SHA256 46bb6725833e701909b651bf3f48ada6e2816dc276aa1983064ab55615e4c874 -AUX arprec-2.2.8-autotools.patch 11948 RMD160 687b5247e5fde524d60d4d16dc5340e8211fd580 SHA1 07c1bf7fa0eb86df58e54feaf1f843532fd75677 SHA256 dffd7cab5a72334ff09be6efa2e37e17899ebc115372918e83cef7ebc5b57546 AUX arprec-2.2.9-autotools.patch 12462 RMD160 a95d8e8bfbc9caddaba895c66e2ddc0b0013a4a5 SHA1 d944df7042e430157b1215d73755a4bf02a2bef0 SHA256 dbab9eaba696384424e9a8d647bc39577b06b1db6982e6ef09101a310e80eb99 -DIST arprec-2.2.2.tar.gz 517639 RMD160 a0170f94aac90a15c6d34414886f6f6d91e2136c SHA1 f9c7197bf725cfb9e0225beb27e208c503f79636 SHA256 6f813782bf5dab29314be54bf87a5c70910282fd87573cb5864b101993c8fc66 -DIST arprec-2.2.7.tar.gz 689344 RMD160 6cf5cf21796e047daf1c50095f5f924c9f5465c2 SHA1 8a3f0f067b0cf17560af83ca84be233781a06b5c SHA256 cfe6475bb5e43879e3595a24dedc8010655ea9bde33e67ace2b17db5bd2d6da3 -DIST arprec-2.2.8.tar.gz 688846 RMD160 e45e1f7c529c2853b354de3d9e6606b359be9d79 SHA1 2a7b3e4a3525ddcdaedece01b43781ffd3301bf7 SHA256 750a223f52523a9518cdd050a6365c64f25e9a91cf8ec4469f07a8925eed1fc5 +DIST arprec-2.2.10.tar.gz 1358487 RMD160 035851569fdf5197a7922a268ecb83d993475277 SHA1 72bddb9184052085f434b6ce6d0162e0a206eb37 SHA256 0db5d327154423f5f6dd94a0c0203e011f4817e758bfe5d9db4147a8f6fb92db DIST arprec-2.2.9.tar.gz 1358465 RMD160 4d767acc8c7131a08d8b0f27ea9fcca68739b21e SHA1 9b3db9573821c8b5fd6a4ea45280c3dc01a3c42a SHA256 6b55e00661910f3c01bdc05d92f7e30891ef23c62e2b768babc18b152bd3e65c -EBUILD arprec-2.2.2.ebuild 1472 RMD160 eebf0b37bd215c4fddb54998bc710369990cd72f SHA1 70311494c4bbb7e5ac919128ca159026227b3ef3 SHA256 d46fc22f8c1547c0a1c2898a91022dcf3acf2a6227714f97aefac6e8eba65e99 -EBUILD arprec-2.2.7.ebuild 1134 RMD160 4e6c65c7204eb387076f07857a8cb6299be53d40 SHA1 b051e51416f39a81beeedad35407ea19c58cfeef SHA256 9f7dd13bff07a1659034e49e5cd755b57dfcab19a0177ed7809f2f8aa133777d -EBUILD arprec-2.2.8.ebuild 1269 RMD160 ed82190425c5836ebe564d0ddd8ec87e0ccf7d01 SHA1 d1a3c3f34848a31d01a6b2aeb4c417edeb8078f4 SHA256 839d8106665412c255c78ad2831b58131370eb78b7cece687e7fabf5c1efe45c +EBUILD arprec-2.2.10.ebuild 1277 RMD160 02c291f3a08ce06585a6400545fa7000833e2dbb SHA1 2ef7547d0cdae828a1c63321f9ee8dc301459892 SHA256 b4317c262da3f632f2b7de8f731d0989f0c8d224bac0885ccf7703b35985bbb6 EBUILD arprec-2.2.9.ebuild 1269 RMD160 a43cabc5e32ad1addb0fac517af28d3fa6ad2006 SHA1 92271c02cc5061752cf2ccf30aaad03c5e5d63be SHA256 85fea06587903b78b6e3798462d42b0bb40db39eba5656b465b6a6aea27c01a2 -MISC ChangeLog 1446 RMD160 cfa7e3f294ee57aeeae830b20681c38d9871df8d SHA1 57d437793f8c712c3fd8f0b8179134fb628a2233 SHA256 64e9b80d6fb603ab65846d68eb96592904998a3c5ed44b2ace4e3057c523062f +MISC ChangeLog 1710 RMD160 fe13058a5aaf4ae98b9d3d2d01de2ebca0cd59f8 SHA1 06af293196aded32c0fd099d771e28b26ed30e82 SHA256 8fa05b491da3000407e99898e3706623cc2791742bfd2e229d726d527222c7ad MISC metadata.xml 405 RMD160 20c0f7376673c63d691cb12b530e93975919422f SHA1 9498246ff318be3e1642154fbd74f09d1a061ba0 SHA256 df5b9bf08d8ae37a4fdc946b111d61cc432a322469c98174230a69f14a1d444e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk9WUNsACgkQ1ycZbhPLE2BXygCgsPViMV9cZvJXZ+J7pE6vDY/M -qzEAoJ39duDTCRdVnoyvoEICq8Fp6pzA -=KPzf +iEYEARECAAYFAk9feSgACgkQ1ycZbhPLE2APNwCgmAAHSub4dKTDlZ5QhzwIqnPg +8XsAn2eLpnpqAZCBAr1OEPWQ3a8ebvuu +=HHHG -----END PGP SIGNATURE----- diff --git a/sci-libs/arprec/arprec-2.2.8.ebuild b/sci-libs/arprec/arprec-2.2.10.ebuild index 03a48b62fcb4..5c8980675bd7 100644 --- a/sci-libs/arprec/arprec-2.2.8.ebuild +++ b/sci-libs/arprec/arprec-2.2.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/arprec-2.2.8.ebuild,v 1.1 2012/01/13 04:35:53 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/arprec-2.2.10.ebuild,v 1.1 2012/03/13 16:43:11 bicatali Exp $ EAPI=4 @@ -24,7 +24,7 @@ pkg_setup() { } src_prepare() { - epatch "${FILESDIR}"/${P}-autotools.patch + epatch "${FILESDIR}"/${PN}-2.2.9-autotools.patch eautoreconf } diff --git a/sci-libs/arprec/arprec-2.2.2.ebuild b/sci-libs/arprec/arprec-2.2.2.ebuild deleted file mode 100644 index cd7f12482997..000000000000 --- a/sci-libs/arprec/arprec-2.2.2.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/arprec-2.2.2.ebuild,v 1.5 2011/06/21 15:42:20 jlec Exp $ - -EAPI=2 - -inherit eutils fortran-2 - -DESCRIPTION="Arbitrary precision float arithmetics and functions" -HOMEPAGE="http://crd.lbl.gov/~dhbailey/mpdist/" -SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~x86" -IUSE="fortran qd" - -DEPEND=" - fortran? ( virtual/fortran ) - qd? ( sci-libs/qd )" -RDEPEND="${DEPEND}" - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # bug #273996 - epatch "${FILESDIR}"/${P}-gcc44.patch -} - -src_configure() { - econf \ - $(use_enable fortran enable_fortran) \ - $(use_enable qd enable_qd) -} - -src_compile() { - emake || die "emake failed" - if use fortran; then - emake toolkit || die "emake toolkit failed" - fi -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc README AUTHORS NEWS TODO || die "dodoc failed" - if use fortran; then - cd toolkit - ./mathinit || die "mathinit failed" - exeinto /usr/libexec/${PN} - doexe mathtool || die "mathtool install failed" - insinto /usr/libexec/${PN} - doins *.dat || die "mathtool data install failed" - docinto toolkit - dodoc README || die "mathtool doc install failed" - fi - cd "${D}"/usr/share/doc || die "cd failed" - mv ${PN}/${PN}.pdf ${PF}/ || die "mv failed" - rm -rf ${PN}/ || die "rm failed" -} diff --git a/sci-libs/arprec/arprec-2.2.7.ebuild b/sci-libs/arprec/arprec-2.2.7.ebuild deleted file mode 100644 index 1247794ba018..000000000000 --- a/sci-libs/arprec/arprec-2.2.7.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/arprec-2.2.7.ebuild,v 1.3 2011/06/21 15:42:20 jlec Exp $ - -EAPI=4 - -inherit eutils fortran-2 - -DESCRIPTION="Arbitrary precision float arithmetics and functions" -HOMEPAGE="http://crd.lbl.gov/~dhbailey/mpdist/" -SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="~x86" -IUSE="fortran qd" - -DEPEND=" - fortran? ( virtual/fortran ) - qd? ( sci-libs/qd )" -RDEPEND="${DEPEND}" - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_configure() { - econf \ - $(use_enable fortran enable_fortran) \ - $(use_enable qd enable_qd) -} - -src_compile() { - emake - if use fortran; then - emake toolkit - fi -} - -src_install() { - default - if use fortran; then - cd toolkit - ./mathinit || die "mathinit failed" - exeinto /usr/libexec/${PN} - doexe mathtool - insinto /usr/libexec/${PN} - doins *.dat - docinto toolkit - dodoc README - fi - cd "${D}"/usr/share/doc || die "cd failed" - mv ${PN}/${PN}.pdf ${PF}/ || die "mv failed" - rm -rf ${PN}/ || die "rm failed" -} diff --git a/sci-libs/arprec/files/arprec-2.2.2-gcc44.patch b/sci-libs/arprec/files/arprec-2.2.2-gcc44.patch deleted file mode 100644 index 90305394c314..000000000000 --- a/sci-libs/arprec/files/arprec-2.2.2-gcc44.patch +++ /dev/null @@ -1,59 +0,0 @@ -diff -NrU5 arprec-2.2.2.original/src/dotd.cpp arprec-2.2.2/src/dotd.cpp ---- arprec-2.2.2.original/src/dotd.cpp 2009-07-02 17:59:29.000000000 -0600 -+++ arprec-2.2.2/src/dotd.cpp 2009-07-02 18:00:46.000000000 -0600 -@@ -8,10 +8,11 @@ - * Copyright (c) 2002 - * - */ - #include <arprec/mp_real.h> - #include "small_inline.h" -+#include <cstdio> - - using std::cerr; - using std::endl; - - void mp_real::mpdotd(int n, int isa, const mp_real a[], -diff -NrU5 arprec-2.2.2.original/src/out.cpp arprec-2.2.2/src/out.cpp ---- arprec-2.2.2.original/src/out.cpp 2009-07-02 17:59:29.000000000 -0600 -+++ arprec-2.2.2/src/out.cpp 2009-07-02 18:09:40.000000000 -0600 -@@ -10,10 +10,11 @@ - */ - #define _CRT_SECURE_NO_DEPRECATE - #include <cassert> - #include <arprec/mp_real.h> - #include "small_inline.h" -+#include <cstdio> - - using std::cerr; - using std::endl; - - /* This routine is deprecated. -diff -NrU5 arprec-2.2.2.original/src/outc.cpp arprec-2.2.2/src/outc.cpp ---- arprec-2.2.2.original/src/outc.cpp 2009-07-02 17:59:29.000000000 -0600 -+++ arprec-2.2.2/src/outc.cpp 2009-07-02 18:07:15.000000000 -0600 -@@ -10,10 +10,11 @@ - */ - #define _CRT_SECURE_NO_DEPRECATE - #include <cassert> - #include <arprec/mp_real.h> - #include "small_inline.h" -+#include <cstdio> - - using std::cerr; - using std::endl; - - /* This routine is deprecated. -diff -NrU5 arprec-2.2.2.original/src/outx.cpp arprec-2.2.2/src/outx.cpp ---- arprec-2.2.2.original/src/outx.cpp 2009-07-02 17:59:29.000000000 -0600 -+++ arprec-2.2.2/src/outx.cpp 2009-07-02 18:11:30.000000000 -0600 -@@ -1,9 +1,10 @@ - #define _CRT_SECURE_NO_DEPRECATE - #include <arprec/mp_real.h> - #include <arprec/mp_complex.h> - #include "small_inline.h" -+#include <cstdio> - - using std::cerr; - using std::endl; - - /* This routine is deprecated. diff --git a/sci-libs/arprec/files/arprec-2.2.8-autotools.patch b/sci-libs/arprec/files/arprec-2.2.8-autotools.patch deleted file mode 100644 index af6d96960b18..000000000000 --- a/sci-libs/arprec/files/arprec-2.2.8-autotools.patch +++ /dev/null @@ -1,324 +0,0 @@ -diff -Nur arprec-2.2.8.orig/arprec-config.in arprec-2.2.8/arprec-config.in ---- arprec-2.2.8.orig/arprec-config.in 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/arprec-config.in 2012-01-13 04:23:40.000000000 +0000 -@@ -17,7 +17,7 @@ - FC="@FC@" - FCLIBS="-L$libdir -larprecmod -larprec @LIBS@ @FCLIBS@" - FCFLAGS="@CONFIG_FCFLAGS@" --MODINC="@ax_f90_modflag@$libdir/arprec" -+MODINC="@ax_f90_modflag@$includedir/arprec" - FMAINLIB="-L$libdir -larprec_f_main" - - configure_args="@CONFIGURE_ARGS@" -diff -Nur arprec-2.2.8.orig/configure.ac arprec-2.2.8/configure.ac ---- arprec-2.2.8.orig/configure.ac 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/configure.ac 2012-01-12 19:30:38.000000000 +0000 -@@ -233,8 +233,9 @@ - AM_CONDITIONAL(HAVE_FORTRAN, [test "x$enable_fortran" = "xyes"]) - AM_CONDITIONAL(UPCASE_MODULE, [test "$module_case" = "uppercase"]) - --# Check ranlib --AC_PROG_RANLIB -+# Check libtool (will check for ranlib and friends) -+AC_DISABLE_SHARED -+AC_PROG_LIBTOOL - - # Checks for libraries. - -diff -Nur arprec-2.2.8.orig/fortran/Makefile.am arprec-2.2.8/fortran/Makefile.am ---- arprec-2.2.8.orig/fortran/Makefile.am 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/fortran/Makefile.am 2012-01-13 00:06:20.000000000 +0000 -@@ -1,10 +1,10 @@ - if HAVE_FORTRAN - AM_CPPFLAGS = -I$(top_builddir) -I$(top_builddir)/include -I$(top_srcdir)/include --LDADD = libarprec_f_main.a libarprecmod.a $(top_builddir)/src/libarprec.a $(FCLIBS) -+LDADD = libarprec_f_main.la libarprecmod.la $(top_builddir)/src/libarprec.la $(FCLIBS) - --lib_LIBRARIES = libarprecmod.a libarprec_f_main.a --libarprecmod_a_SOURCES = f_mp.cpp mp_mod.f mp_modm.f mp_modx.f --libarprec_f_main_a_SOURCES = main.cpp -+lib_LTLIBRARIES = libarprecmod.la libarprec_f_main.la -+libarprecmod_la_SOURCES = f_mp.cpp mp_mod.f mp_modm.f mp_modx.f -+libarprec_f_main_la_SOURCES = main.cpp - - if UPCASE_MODULE - MPCOMPLEXMOD = MPCOMPLEXMOD.$(module_ext) -@@ -29,15 +29,16 @@ - MODULES = $(MPCOMPLEXMOD) $(MPDEFMOD) $(MPGENMOD) $(MPINTMOD) \ - $(MPMODULE) $(MPMODULEM) $(MPMODULEX) $(MPREALMOD) - --$(MPDEFMOD) $(MPINTMOD) $(MPREALMOD) $(MPCOMPLEXMOD) $(MPGENMOD) $(MPMODULE): mp_mod.o -+$(MPDEFMOD) $(MPINTMOD) $(MPREALMOD) $(MPCOMPLEXMOD) $(MPGENMOD) $(MPMODULE): mp_mod.lo - --mp_modm.o: mp_mod.o --$(MPMODULEM): mp_modm.o -+mp_modm.lo: mp_mod.lo -+$(MPMODULEM): mp_modm.lo - --mp_modx.o: mp_mod.o --$(MPMODULEX): mp_modx.o -+mp_modx.lo: mp_mod.lo -+$(MPMODULEX): mp_modx.lo - --pkglib_DATA = $(MODULES) -+arprecmoddir = $(includedir)/arprec -+arprecmod_HEADERS = $(MODULES) - - DEMO = pslq1$(EXEEXT) pslq2$(EXEEXT) pslq3$(EXEEXT) pslqm1$(EXEEXT) \ - pslqm2$(EXEEXT) pslqm3$(EXEEXT) quadgs$(EXEEXT) quaderf$(EXEEXT) \ -diff -Nur arprec-2.2.8.orig/m4/ax_cxx_fma.m4 arprec-2.2.8/m4/ax_cxx_fma.m4 ---- arprec-2.2.8.orig/m4/ax_cxx_fma.m4 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/m4/ax_cxx_fma.m4 2012-01-12 23:13:06.000000000 +0000 -@@ -19,14 +19,14 @@ - case $name in - ibm) - # IBM VisualAge C++ __fmadd / __fmsub. -- AC_RUN_IFELSE([#include <cmath> -+ AC_RUN_IFELSE([AC_LANG_SOURCE([#include <cmath> - #include <builtins.h> - int main() { - double d = std::ldexp(1.0, -52); - double x = __fmadd(1.0 + d, 1.0 - d, -1.0); - double y = __fmsub(1.0 + d, 1.0 - d, 1.0); - return (x == -d*d && y == -d*d) ? 0 : 1; -- }], -+ }])], - [ax_cxx_fma="__fmadd(x,y,z)" - ax_cxx_fms="__fmsub(x,y,z)" - AC_DEFINE([ARPREC_VACPP_BUILTINS_H], [1], -@@ -34,22 +34,22 @@ - ;; - gnu) - # Later gcc (3.4 and later) have __builtin_fma that seems to work. -- AC_RUN_IFELSE([#include <cmath> -+ AC_RUN_IFELSE([AC_LANG_SOURCE([#include <cmath> - int main() { - double d = std::ldexp(1.0, -52); - return (__builtin_fma(1.0 + d, 1.0 - d, -1.0) == -d*d ? 0 : 1); -- }], -+ }])], - [ax_cxx_fma="__builtin_fma(x,y,z)" - ax_cxx_fms="__builtin_fma(x,y,-z)"]) - ;; - c99) - # Try C99 fma() function. Some platforms doesn't seem to implement this - # correctly (Apple gcc-3.3 for example). -- AC_RUN_IFELSE([#include <cmath> -+ AC_RUN_IFELSE([AC_LANG_SOURCE([#include <cmath> - int main() { - double d = std::ldexp(1.0, -52); - return (fma(1.0 + d, 1.0 - d, -1.0) == -d*d ? 0 : 1); -- }], -+ }])], - [ax_cxx_fma="fma(x,y,z)" - ax_cxx_fms="fma(x,y,-z)"]) - ;; -@@ -57,11 +57,11 @@ - # Try relying on the compiler to optimize x * y + z into an fma. - # This method is not recommended since if it is inlined it does not - # always produce the same correct code. -- AC_RUN_IFELSE([#include <cmath> -+ AC_RUN_IFELSE([AC_LANG_SOURCE([#include <cmath> - int main() { - double d = std::ldexp(1.0, -52); - return ( (1.0 + d) * (1.0 - d) - 1.0 == -d*d ? 0 : 1); -- }], -+ }])], - [ax_cxx_fma="((x)*(y) + (z))" - ax_cxx_fms="((x)*(y) - (z))"]) - ;; -diff -Nur arprec-2.2.8.orig/m4/ax_f90_module_flag.m4 arprec-2.2.8/m4/ax_f90_module_flag.m4 ---- arprec-2.2.8.orig/m4/ax_f90_module_flag.m4 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/m4/ax_f90_module_flag.m4 2012-01-12 23:11:22.000000000 +0000 -@@ -16,7 +16,7 @@ - - AC_DEFUN([AX_F90_MODULE_FLAG],[ - AC_CACHE_CHECK([fortran 90 modules inclusion flag], --ax_f90_modflag, -+ax_cv_f90_modflag, - [AC_LANG_PUSH(Fortran) - i=0 - while test \( -f tmpdir_$i \) -o \( -d tmpdir_$i \) ; do -@@ -24,24 +24,24 @@ - done - mkdir tmpdir_$i - cd tmpdir_$i --AC_COMPILE_IFELSE([module conftest_module -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([module conftest_module - contains - subroutine conftest_routine - write(*,'(a)') 'gotcha!' - end subroutine conftest_routine - end module conftest_module -- ],[],[]) -+ ])],[],[]) - cd .. - ax_f90_modflag="not found" - for ax_flag in "-I " "-M" "-p"; do - if test "$ax_f90_modflag" = "not found" ; then - ax_save_FCFLAGS="$FCFLAGS" - FCFLAGS="$ax_save_FCFLAGS ${ax_flag}tmpdir_$i" -- AC_COMPILE_IFELSE([program conftest_program -+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([program conftest_program - use conftest_module - call conftest_routine - end program conftest_program -- ],[ax_f90_modflag="$ax_flag"],[]) -+ ])],[ax_f90_modflag="$ax_flag"],[]) - FCFLAGS="$ax_save_FCFLAGS" - fi - done -diff -Nur arprec-2.2.8.orig/m4/ax_f90_module_style.m4 arprec-2.2.8/m4/ax_f90_module_style.m4 ---- arprec-2.2.8.orig/m4/ax_f90_module_style.m4 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/m4/ax_f90_module_style.m4 2012-01-12 23:11:22.000000000 +0000 -@@ -21,7 +21,7 @@ - - AC_DEFUN([AX_F90_MODULE_STYLE],[ - AC_CACHE_CHECK([fortran 90 modules naming style], --ax_f90_module_style, -+ax_cv_f90_module_style, - [AC_LANG_PUSH(Fortran) - i=0 - while test \( -f tmpdir_$i \) -o \( -d tmpdir_$i \) ; do -@@ -29,13 +29,13 @@ - done - mkdir tmpdir_$i - cd tmpdir_$i --AC_COMPILE_IFELSE([module conftest_module -+AC_COMPILE_IFELSE([AC_LANG_SOURCE([module conftest_module - contains - subroutine conftest_routine - write(*,'(a)') 'gotcha!' - end subroutine conftest_routine - end module conftest_module -- ], -+ ])], - [ax_f90_modext=`ls | sed -n 's,conftest_module\.,,p'` - if test x$ax_f90_modext = x ; then - dnl Some F90 compilers put module filename in uppercase letters -diff -Nur arprec-2.2.8.orig/m4/ax_fc_backslash_flag.m4 arprec-2.2.8/m4/ax_fc_backslash_flag.m4 ---- arprec-2.2.8.orig/m4/ax_fc_backslash_flag.m4 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/m4/ax_fc_backslash_flag.m4 2012-01-12 23:13:50.000000000 +0000 -@@ -11,9 +11,9 @@ - if test "x$ax_flag" != "xnone"; then - FCFLAGS="$save_FCFLAGS $ax_flag" - fi -- AC_COMPILE_IFELSE([[program test -+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([program test - print *, '\' -- end program]], [ax_fc_backslash_flag=$ax_flag]) -+ end program])], [ax_fc_backslash_flag=$ax_flag]) - fi - done - AC_LANG_POP(Fortran) -diff -Nur arprec-2.2.8.orig/m4/ax_fc_etime.m4 arprec-2.2.8/m4/ax_fc_etime.m4 ---- arprec-2.2.8.orig/m4/ax_fc_etime.m4 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/m4/ax_fc_etime.m4 2012-01-12 23:11:22.000000000 +0000 -@@ -4,9 +4,9 @@ - ax_fc_etime= - ax_fc_etime_names="etime etime_" - for name in $ax_fc_etime_names; do -- AC_LINK_IFELSE([AC_LANG_PROGRAM(, [[ -+ AC_LINK_IFELSE([AC_LANG_PROGRAM(, [AC_LANG_SOURCE([ - real*4 t(2), tot -- tot = $name(t)]])], -+ tot = $name(t)])])], - [ax_fc_etime=$name], []) - if test "x$ax_fc_etime" != "x"; then - break; -diff -Nur arprec-2.2.8.orig/Makefile.am arprec-2.2.8/Makefile.am ---- arprec-2.2.8.orig/Makefile.am 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/Makefile.am 2012-01-12 23:53:09.000000000 +0000 -@@ -2,21 +2,20 @@ - SUBDIRS = src tests include fortran toolkit - - bin_SCRIPTS=arprec-config --docdir=${datadir}/doc/${PACKAGE} - dist_doc_DATA = README doc/arprec.pdf - - cpp-demo: -- cd tests && make demo -+ $(MAKE) -C tests demo - - if HAVE_FORTRAN - - fortran-demo: -- cd fortran && make demo -+ $(MAKE) -C fortran demo - - demo: fortran-demo cpp-demo - - toolkit: -- cd toolkit && make toolkit -+ $(MAKE) -C toolkit toolkit - - else - -@@ -31,7 +30,7 @@ - endif - - time: -- cd tests && make time -+ $(MAKE) -C tests time - - changelog: - git log >ChangeLog -diff -Nur arprec-2.2.8.orig/src/Makefile.am arprec-2.2.8/src/Makefile.am ---- arprec-2.2.8.orig/src/Makefile.am 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/src/Makefile.am 2012-01-12 19:20:48.000000000 +0000 -@@ -13,9 +13,9 @@ - dble.cpp \ - small_inline.h - --lib_LIBRARIES = libarprec.a -+lib_LTLIBRARIES = libarprec.la - --libarprec_a_SOURCES = $(SRC) -+libarprec_la_SOURCES = $(SRC) - - AM_CPPFLAGS = -I$(top_builddir) -I$(top_builddir)/include -I$(top_srcdir)/include - -diff -Nur arprec-2.2.8.orig/tests/Makefile.am arprec-2.2.8/tests/Makefile.am ---- arprec-2.2.8.orig/tests/Makefile.am 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/tests/Makefile.am 2012-01-12 19:20:19.000000000 +0000 -@@ -1,4 +1,4 @@ --LDADD = $(top_builddir)/src/libarprec.a -+LDADD = $(top_builddir)/src/libarprec.la - AM_CPPFLAGS = -I$(top_builddir) -I$(top_builddir)/include -I$(top_srcdir)/include - - TESTS = mp_test c_mp_test io -diff -Nur arprec-2.2.8.orig/toolkit/Makefile.am arprec-2.2.8/toolkit/Makefile.am ---- arprec-2.2.8.orig/toolkit/Makefile.am 2012-01-12 19:17:33.000000000 +0000 -+++ arprec-2.2.8/toolkit/Makefile.am 2012-01-13 04:29:03.000000000 +0000 -@@ -1,9 +1,9 @@ - if HAVE_FORTRAN - AM_CPPFLAGS=-I$(top_builddir) - AM_FFLAGS=@ax_f90_modflag@$(top_builddir)/fortran --LDADD = $(top_builddir)/fortran/libarprec_f_main.a \ -- $(top_builddir)/fortran/libarprecmod.a \ -- $(top_builddir)/src/libarprec.a $(FCLIBS) -+LDADD = $(top_builddir)/fortran/libarprec_f_main.la \ -+ $(top_builddir)/fortran/libarprecmod.la \ -+ $(top_builddir)/src/libarprec.la $(FCLIBS) - - TOOLKIT = mathinit$(EXEEXT) mathtool$(EXEEXT) - EXTRA_PROGRAMS = $(TOOLKIT) -@@ -19,6 +19,18 @@ - nodist_mathtool_SOURCES = second.f - nodist_EXTRA_mathtool_SOURCES = dummy.cpp - mathtool_LINK = $(CXXLINK) -+if UPCASE_MODULE -+GLOBDATAMOD = GLOBDATA.$(module_ext) -+else -+GLOBDATAMOD = globdata.$(module_ext) -+endif -+$(GLOBDATAMOD): globdata.o -+mathinit.o: $(GLOBDATAMOD) -+mathtool.o: $(GLOBDATAMOD) -+pqlsub.o: $(GLOBDATAMOD) -+rootsub.o: $(GLOBDATAMOD) -+quadsub.o: $(GLOBDATAMOD) -+zetapz.o: $(GLOBDATAMOD) - - toolkit: $(TOOLKIT) - |