From: Moriyoshi Koizumi Date: Wed, 3 Dec 2003 19:46:27 +0000 (+0000) Subject: Add a win32 build script. Not tested, but should work :) X-Git-Tag: php-5.0.0b3RC1~375 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=110044b5f1519591e53855c29f095da9575192b2;p=php Add a win32 build script. Not tested, but should work :) --- 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", "", "Path to iconv.h"); + CHECK_LIB("iconv.lib", "iconv"); + CHECK_HEADER_ADD_INCLUDE("iconv.h", "CFLAGS"); +} +