ghc-bignum's configure script depends upon undefined `LOOK_FOR_GMP_{LIB,FRAMEWORK}` macros
ghc-bignum
's configure.ac
contains mentions of LOOK_FOR_GMP_LIB
and LOOK_FOR_GMP_FRAMEWORK
yet does not define them. This appears to be copied from the old integer-gmp
configure
script, where too they were undefined. Their definitions were removed back in 2015 in 995e8c1c. How things have been working until now is beyond my comprehension.
I noticed this while trying to add a configure
check for the existence of gmp.h
, which would catch a good number of GMP configuration issues before we reach the build.