config.w32 452 B

123456789101112131415
  1. // $Id$
  2. // vim:ft=javascript
  3. ARG_WITH("gmp", "Include GNU MP support.", "no");
  4. if (PHP_GMP != "no") {
  5. if (CHECK_LIB("mpir_a.lib", "gmp", PHP_GMP) &&
  6. CHECK_HEADER_ADD_INCLUDE("gmp.h", "CFLAGS_GMP", PHP_GMP + ";" + PHP_PHP_BUILD + "\\include\\mpir")) {
  7. EXTENSION("gmp", "gmp.c");
  8. AC_DEFINE('HAVE_GMP', 1, 'GMP support');
  9. AC_DEFINE('HAVE_MPIR', 1, 'MPIR support');
  10. } else {
  11. WARNING("GMP not enabled; libraries and headers not found");
  12. }
  13. }