~ubuntu-branches/ubuntu/quantal/php5/quantal

« back to all changes in this revision

Viewing changes to ext/gmp/config.w32

  • Committer: Bazaar Package Importer
  • Author(s): Sean Finney
  • Date: 2009-07-01 09:12:10 UTC
  • mto: (0.9.1) (1.1.17 upstream)
  • mto: This revision was merged to the branch mainline in revision 58.
  • Revision ID: james.westby@ubuntu.com-20090701091210-go0h6506p62on17r
Tags: upstream-5.3.0
ImportĀ upstreamĀ versionĀ 5.3.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// $Id: config.w32,v 1.1.6.2 2009/06/10 09:59:21 pajoye Exp $
 
2
// vim:ft=javascript
 
3
 
 
4
ARG_WITH("gmp", "Include GNU MP support.", "no");
 
5
 
 
6
if (PHP_GMP != "no") {
 
7
        if (CHECK_LIB("mpir_a.lib", "gmp", PHP_GMP) &&
 
8
                CHECK_HEADER_ADD_INCLUDE("gmp.h", "CFLAGS_GMP", PHP_GMP +  ";" + PHP_PHP_BUILD + "\\include\\mpir")) {
 
9
                EXTENSION("gmp", "gmp.c");
 
10
                AC_DEFINE('HAVE_GMP', 1, 'GMP support');
 
11
        } else {
 
12
                WARNING("GMP not enabled; libraries and headers not found");
 
13
        }
 
14
}