summaryrefslogtreecommitdiff
path: root/ext/iconv
diff options
context:
space:
mode:
authorMoriyoshi Koizumi <moriyoshi@php.net>2003-12-03 19:46:27 +0000
committerMoriyoshi Koizumi <moriyoshi@php.net>2003-12-03 19:46:27 +0000
commit110044b5f1519591e53855c29f095da9575192b2 (patch)
tree0ecc69beb5df21458b13fddb69224cfa1ba81ea9 /ext/iconv
parent7ac854e710feadd52f0c0e19c6f3515eaeb463a8 (diff)
downloadphp-git-110044b5f1519591e53855c29f095da9575192b2.tar.gz
Add a win32 build script. Not tested, but should work :)
Diffstat (limited to 'ext/iconv')
-rw-r--r--ext/iconv/config.w3216
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/iconv/config.w32 b/ext/iconv/config.w32
new file mode 100644
index 0000000000..8e48c89c68
--- /dev/null
+++ b/ext/iconv/config.w32
@@ -0,0 +1,16 @@
+// $Id$
+// vim: ft=javascript
+
+ARG_WITH("iconv", "iconv support", "no");
+
+if (PHP_ICONV == "yes") {
+ EXTENSION("iconv", "iconv.c");
+ AC_DEFINE("HAVE_ICONV", 1, "Define if iconv extension is enabled");
+ AC_DEFINE("HAVE_LIBICONV", 1, "Define if libiconv is available");
+ AC_DEFINE("PHP_ICONV_IMPL", "\"libiconv\"", "Which iconv implementation to use");
+ AC_DEFINE("ICONV_SUPPORTS_ERRNO", 1, "Whether iconv supports errno or not");
+ AC_DEFINE("PHP_ICONV_H_PATH", "<iconv.h>", "Path to iconv.h");
+ CHECK_LIB("iconv.lib", "iconv");
+ CHECK_HEADER_ADD_INCLUDE("iconv.h", "CFLAGS");
+}
+