From ee47ad0c2a2b213020ca93b96c383c77027b2e4e Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Sun, 7 Dec 2003 00:49:25 +0000 Subject: Added fdf to the new win32 build. Works both as shared and built-in extension on windows. --- ext/fdf/config.w32 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ext/fdf/config.w32 (limited to 'ext/fdf') diff --git a/ext/fdf/config.w32 b/ext/fdf/config.w32 new file mode 100644 index 0000000000..befad2b816 --- /dev/null +++ b/ext/fdf/config.w32 @@ -0,0 +1,15 @@ +// $Id$ +// vim:ft=javascript + +ARG_WITH("fdf", "Include FDF support.", "no"); + +if (PHP_FDF != "no") { + if (CHECK_LIB("fdftk.lib", "fdf", PHP_FDF) && + CHECK_HEADER_ADD_INCLUDE("FdfTk.h", "CFLAGS_FDF")) { + EXTENSION("fdf", "fdf.c"); + AC_DEFINE('HAVE_FDFLIB', 1, 'FDF support'); + ADD_FLAG("CFLAGS_FDF", "/D HAVE_FDFTK_5"); + } else { + WARNING("fdf not enabled; libraries and headers not found"); + } +} -- cgit v1.2.1