We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8749f4 commit 2371e35Copy full SHA for 2371e35
1 file changed
config.w32
@@ -0,0 +1,20 @@
1
+// vim:ft=javascript
2
+
3
+ARG_WITH("geos", "geos support", "yes");
4
5
+if (PHP_GEOS != "no") {
6
+ if (CHECK_LIB("geos_c.lib", "geos", PHP_GEOS) &&
7
+ CHECK_HEADER_ADD_INCLUDE("geos_c.h", "CFLAGS_GEOS", PHP_GEOS)) {
8
9
+ EXTENSION("geos", "geos.c", 1);
10
+ geos_c = "geos_c.lib";
11
12
+ CHECK_LIB(geos_c, "initGEOS_r", PHP_GEOS) && !PHP_GEOS && WARNING("Unable to build the GEOS: a newer libgeos is required");
13
14
15
+ } else {
16
+ WARNING("geos support can't be enabled, libraries or headers are missing")
17
+ PHP_GEOS = "no";
18
+ }
19
20
+}
0 commit comments