Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- fix w32, does not build fine yet

  • Loading branch information...
commit c5af43a6fc26fbdd7626e078331b0c4015e9d590 1 parent 2680b64
@pierrejoye authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 config.w32
View
14 config.w32
@@ -1,13 +1,13 @@
// $Id$
// vim:ft=javascript
-// If your extension references something external, use ARG_WITH
-// ARG_WITH("couchbase", "for couchbase support", "no");
-
-// Otherwise, use ARG_ENABLE
-// ARG_ENABLE("couchbase", "enable couchbase support", "no");
+ARG_WITH("couchbase", "for couchbase support", "no");
if (PHP_COUCHBASE != "no") {
- EXTENSION("couchbase", "couchbase.c");
+ if (CHECK_LIB("libcouchbase.lib", "couchbase", PHP_COUCHBASE) &&
+ CHECK_LIB("libvbucket.lib", "couchbase", PHP_COUCHBASE) &&
+ CHECK_HEADER_ADD_INCLUDE("couchbase.h", "CFLAGS_COUCHBASE", PHP_COUCHBASE+ ";" + PHP_PHP_BUILD + "\\include\\libcouchbase") &&
+ CHECK_HEADER_ADD_INCLUDE("vbucket.h", "CFLAGS_COUCHBASE", PHP_COUCHBASE+ ";" + PHP_PHP_BUILD + "\\include\\libvbucket")) {
+ EXTENSION("couchbase", "couchbase.c");
+ }
}
-
Please sign in to comment.
Something went wrong with that request. Please try again.