diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-03-06 18:00:03 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-03-06 18:00:03 +0000 |
commit | 5d45c4ded72e29699b3352a98e862f3912489280 (patch) | |
tree | 9d45eb2740e92868706aac01a239314cadc70fbb /sci-libs | |
parent | Drop Old (diff) | |
download | historical-5d45c4ded72e29699b3352a98e862f3912489280.tar.gz historical-5d45c4ded72e29699b3352a98e862f3912489280.tar.bz2 historical-5d45c4ded72e29699b3352a98e862f3912489280.zip |
Version bump
Package-Manager: portage-2.1.10.44/cvs/Linux x86_64
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/arprec/ChangeLog | 8 | ||||
-rw-r--r-- | sci-libs/arprec/Manifest | 11 | ||||
-rw-r--r-- | sci-libs/arprec/arprec-2.2.9.ebuild | 57 | ||||
-rw-r--r-- | sci-libs/arprec/files/arprec-2.2.9-autotools.patch | 337 |
4 files changed, 408 insertions, 5 deletions
diff --git a/sci-libs/arprec/ChangeLog b/sci-libs/arprec/ChangeLog index 94ffd46a1f34..d9ae4b76c121 100644 --- a/sci-libs/arprec/ChangeLog +++ b/sci-libs/arprec/ChangeLog @@ -1,6 +1,12 @@ # 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.7 2012/01/13 04:35:53 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/arprec/ChangeLog,v 1.8 2012/03/06 18:00:03 bicatali Exp $ + +*arprec-2.2.9 (06 Mar 2012) + + 06 Mar 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +arprec-2.2.9.ebuild, + +files/arprec-2.2.9-autotools.patch: + Version bump *arprec-2.2.8 (13 Jan 2012) diff --git a/sci-libs/arprec/Manifest b/sci-libs/arprec/Manifest index ac7590e26f8f..baf7b11b690d 100644 --- a/sci-libs/arprec/Manifest +++ b/sci-libs/arprec/Manifest @@ -3,18 +3,21 @@ 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.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 -MISC ChangeLog 1285 RMD160 252b9ddb9e4bfb341799612682abb5e9b76ee9a5 SHA1 c77e0236db06b8d99fc384c887e8f5fd6c9d4d6f SHA256 3ea8a1d916aec5a641f697479d8028538cb065538d461a29f1f7063aaa191335 +EBUILD arprec-2.2.9.ebuild 1269 RMD160 a43cabc5e32ad1addb0fac517af28d3fa6ad2006 SHA1 92271c02cc5061752cf2ccf30aaad03c5e5d63be SHA256 85fea06587903b78b6e3798462d42b0bb40db39eba5656b465b6a6aea27c01a2 +MISC ChangeLog 1446 RMD160 cfa7e3f294ee57aeeae830b20681c38d9871df8d SHA1 57d437793f8c712c3fd8f0b8179134fb628a2233 SHA256 64e9b80d6fb603ab65846d68eb96592904998a3c5ed44b2ace4e3057c523062f MISC metadata.xml 405 RMD160 20c0f7376673c63d691cb12b530e93975919422f SHA1 9498246ff318be3e1642154fbd74f09d1a061ba0 SHA256 df5b9bf08d8ae37a4fdc946b111d61cc432a322469c98174230a69f14a1d444e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk8PtLMACgkQ1ycZbhPLE2CsKwCeLmr8NirDFePfcyiNnKYwQ5x5 -7dUAoK9vyT4MY7UEcxYT0okP4etlR6sg -=5UXm +iEYEARECAAYFAk9WUNsACgkQ1ycZbhPLE2BXygCgsPViMV9cZvJXZ+J7pE6vDY/M +qzEAoJ39duDTCRdVnoyvoEICq8Fp6pzA +=KPzf -----END PGP SIGNATURE----- diff --git a/sci-libs/arprec/arprec-2.2.9.ebuild b/sci-libs/arprec/arprec-2.2.9.ebuild new file mode 100644 index 000000000000..70abd52a2f56 --- /dev/null +++ b/sci-libs/arprec/arprec-2.2.9.ebuild @@ -0,0 +1,57 @@ +# 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.9.ebuild,v 1.1 2012/03/06 18:00:03 bicatali Exp $ + +EAPI=4 + +inherit eutils fortran-2 autotools + +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="~amd64 ~x86" +IUSE="doc fortran qd static-libs" + +DEPEND="fortran? ( virtual/fortran ) + qd? ( sci-libs/qd[fortran=] )" +RDEPEND="${DEPEND}" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-autotools.patch + eautoreconf +} + +src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + --enable-shared \ + $(use_enable static-libs static) \ + $(use_enable fortran enable_fortran) \ + $(use_enable qd enable_qd) +} + +src_compile() { + emake + use fortran && emake toolkit +} + +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 + newdoc README README.mathtool + fi + use doc || rm "${ED}"/usr/share/doc/${PF}/*.pdf +} diff --git a/sci-libs/arprec/files/arprec-2.2.9-autotools.patch b/sci-libs/arprec/files/arprec-2.2.9-autotools.patch new file mode 100644 index 000000000000..be2746c65bd2 --- /dev/null +++ b/sci-libs/arprec/files/arprec-2.2.9-autotools.patch @@ -0,0 +1,337 @@ +diff -Nur arprec-2.2.9.orig/arprec-config.in arprec-2.2.9/arprec-config.in +--- arprec-2.2.9.orig/arprec-config.in 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/arprec-config.in 2012-03-06 17:51:18.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.9.orig/configure.ac arprec-2.2.9/configure.ac +--- arprec-2.2.9.orig/configure.ac 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/configure.ac 2012-03-06 17:51:18.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.9.orig/fortran/Makefile.am arprec-2.2.9/fortran/Makefile.am +--- arprec-2.2.9.orig/fortran/Makefile.am 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/fortran/Makefile.am 2012-03-06 17:51:18.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.9.orig/m4/ax_cxx_fma.m4 arprec-2.2.9/m4/ax_cxx_fma.m4 +--- arprec-2.2.9.orig/m4/ax_cxx_fma.m4 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/m4/ax_cxx_fma.m4 2012-03-06 17:51:18.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.9.orig/m4/ax_f90_module_flag.m4 arprec-2.2.9/m4/ax_f90_module_flag.m4 +--- arprec-2.2.9.orig/m4/ax_f90_module_flag.m4 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/m4/ax_f90_module_flag.m4 2012-03-06 17:51:18.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.9.orig/m4/ax_f90_module_style.m4 arprec-2.2.9/m4/ax_f90_module_style.m4 +--- arprec-2.2.9.orig/m4/ax_f90_module_style.m4 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/m4/ax_f90_module_style.m4 2012-03-06 17:51:18.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.9.orig/m4/ax_fc_backslash_flag.m4 arprec-2.2.9/m4/ax_fc_backslash_flag.m4 +--- arprec-2.2.9.orig/m4/ax_fc_backslash_flag.m4 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/m4/ax_fc_backslash_flag.m4 2012-03-06 17:51:18.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.9.orig/m4/ax_fc_etime.m4 arprec-2.2.9/m4/ax_fc_etime.m4 +--- arprec-2.2.9.orig/m4/ax_fc_etime.m4 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/m4/ax_fc_etime.m4 2012-03-06 17:51:18.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.9.orig/Makefile.am arprec-2.2.9/Makefile.am +--- arprec-2.2.9.orig/Makefile.am 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/Makefile.am 2012-03-06 17:51:18.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.9.orig/src/Makefile.am arprec-2.2.9/src/Makefile.am +--- arprec-2.2.9.orig/src/Makefile.am 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/src/Makefile.am 2012-03-06 17:51:18.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.9.orig/tests/Makefile.am arprec-2.2.9/tests/Makefile.am +--- arprec-2.2.9.orig/tests/Makefile.am 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/tests/Makefile.am 2012-03-06 17:51:42.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 +@@ -19,9 +19,9 @@ + + f_mp_test_SOURCES = f_mp_test.f + f_mp_test_LINK = $(CXXLINK) +-f_mp_test_LDADD = $(top_builddir)/fortran/libarprecmod.a \ +- $(top_builddir)/fortran/libarprec_f_main.a \ +- $(LDADD) $(top_builddir)/src/libarprec.a $(FCLIBS) ++f_mp_test_LDADD = $(top_builddir)/fortran/libarprecmod.la \ ++ $(top_builddir)/fortran/libarprec_f_main.la \ ++ $(LDADD) $(top_builddir)/src/libarprec.la $(FCLIBS) + endif + + mp_timer_SOURCES = mp_timer.cpp tictoc.cpp +diff -Nur arprec-2.2.9.orig/toolkit/Makefile.am arprec-2.2.9/toolkit/Makefile.am +--- arprec-2.2.9.orig/toolkit/Makefile.am 2012-03-06 17:50:59.000000000 +0000 ++++ arprec-2.2.9/toolkit/Makefile.am 2012-03-06 17:51:18.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) + |