diff options
author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-12-03 19:46:27 +0000 |
---|---|---|
committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-12-03 19:46:27 +0000 |
commit | 110044b5f1519591e53855c29f095da9575192b2 (patch) | |
tree | 0ecc69beb5df21458b13fddb69224cfa1ba81ea9 /ext/iconv | |
parent | 7ac854e710feadd52f0c0e19c6f3515eaeb463a8 (diff) | |
download | php-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.w32 | 16 |
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"); +} + |