From: Edin Kadribasic Date: Sun, 7 Dec 2003 00:49:25 +0000 (+0000) Subject: Added fdf to the new win32 build. Works both as shared X-Git-Tag: php-5.0.0b3RC1~223 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee47ad0c2a2b213020ca93b96c383c77027b2e4e;p=php Added fdf to the new win32 build. Works both as shared and built-in extension on windows. --- 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"); + } +}