Permalink
Browse files

- fix w32, does not build fine yet

  • Loading branch information...
pierrejoye committed Feb 28, 2012
1 parent 2680b64 commit c5af43a6fc26fbdd7626e078331b0c4015e9d590
Showing with 7 additions and 7 deletions.
  1. +7 −7 config.w32
View
@@ -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");
+ }
}
-

0 comments on commit c5af43a

Please sign in to comment.