package/gawk: clean the mpfr dependency
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 6 Dec 2015 11:13:58 +0000 (12:13 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 13 Dec 2015 15:01:18 +0000 (16:01 +0100)
commita3fd70c0431a8905ff7840071373265d8fe28229
tree9ecfe35bb356052837032202df4fc58f6df20f57
parent593bd60c4d67cad26a3b8ed839887ecbce2e6a2e
package/gawk: clean the mpfr dependency

When available, mpfr provides support for BIGNUM, which allows gawk to
work on arbitrarily-large numbers (hence the name).

Forcibly disable mpfr if the mpfr package is not enabled. Let
./configure find it automatically when it is enabled.

To be noted, the host-gawk need not have BIGNUM to build the target
variant with support for BIGNUM.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gawk/gawk.mk