From 110044b5f1519591e53855c29f095da9575192b2 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Wed, 3 Dec 2003 19:46:27 +0000 Subject: [PATCH] Add a win32 build script. Not tested, but should work :) --- ext/iconv/config.w32 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ext/iconv/config.w32 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"); +} + -- 2.50.1