config.w32 495 B

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