summaryrefslogtreecommitdiff
path: root/ext/fdf
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2003-12-07 00:49:25 +0000
committerEdin Kadribasic <edink@php.net>2003-12-07 00:49:25 +0000
commitee47ad0c2a2b213020ca93b96c383c77027b2e4e (patch)
treee053035ddd7771f2d625e84aa408e6cbae9c5661 /ext/fdf
parent06ef18bed92da46e829885bc657bb93f39de7735 (diff)
downloadphp-git-ee47ad0c2a2b213020ca93b96c383c77027b2e4e.tar.gz
Added fdf to the new win32 build. Works both as shared
and built-in extension on windows.
Diffstat (limited to 'ext/fdf')
-rw-r--r--ext/fdf/config.w3215
1 files changed, 15 insertions, 0 deletions
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");
+ }
+}