complibs/ppl: update GMP location configuration argument for PPL v0.11 and later
'configure' for PPL 0.11 (and later) needs "--with-gmp-prefix" to
provide the location of the GMP toolkit; the previous switches were
"--with-libgmp-prefix" and "--with-libgmpxx-prefix".
The upstream log message is:
commit 08dfb6fea094f8c5a533575a3ea2095edce99a6d
Author: Roberto Bagnara <bagnara@cs.unipr.it>
Date: Sun Jul 12 21:39:46 2009 +0200
New configure option --with-gmp-prefix supersedes the (now removed)
options --with-libgmp-prefix and --with-libgmpxx-prefix.
Link: http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=08dfb6fea094f8c5a533575a3ea2095edce99a6d
Since PPL's 'configure' ignores unknown switches, we use all three so we
don't have to conditionalize the ppl.sh build script itself.
Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
(transplanted from 4f0c4fb572e2862c24b28e8d27ce7e9cb9adba65)
1 --- trunk/src/acos.c 2009/12/08 16:49:43 733
2 +++ trunk/src/acos.c 2009/12/09 20:51:38 734
5 rnd_im = rnd_im == GMP_RNDU ? GMP_RNDD
6 : rnd_im == GMP_RNDD ? GMP_RNDU
7 -#if MPFR_VERSION_MAJOR >= 3
8 - : rnd_im == GMP_RNDA ? GMP_RNDZ
11 + : rnd_im; /* both RNDZ and RNDA map to themselves for -asin(z) */
12 rnd1 = RNDC(GMP_RNDN, rnd_im);
13 mpfr_init2 (pi_over_2, p);