summaryrefslogtreecommitdiff
path: root/ext/gettext/config.w32
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2013-03-14 05:42:27 +0000
committer <>2013-04-03 16:25:08 +0000
commitc4dd7a1a684490673e25aaf4fabec5df138854c4 (patch)
tree4d57c44caae4480efff02b90b9be86f44bf25409 /ext/gettext/config.w32
downloadphp2-master.tar.gz
Imported from /home/lorry/working-area/delta_php2/php-5.4.13.tar.bz2.HEADphp-5.4.13master
Diffstat (limited to 'ext/gettext/config.w32')
-rw-r--r--ext/gettext/config.w3212
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/gettext/config.w32 b/ext/gettext/config.w32
new file mode 100644
index 0000000..0755de2
--- /dev/null
+++ b/ext/gettext/config.w32
@@ -0,0 +1,12 @@
+// $Id$
+// vim:ft=javascript
+
+ARG_WITH("gettext", "gettext support", "no");
+
+if (PHP_GETTEXT != "no") {
+ if (CHECK_LIB("libintl_a.lib;libintl.lib", "gettext", PHP_GETTEXT) && CHECK_HEADER_ADD_INCLUDE("libintl.h", "CFLAGS_GETTEXT")) {
+ EXTENSION("gettext", "gettext.c", PHP_GETTEXT_SHARED, "-DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_DNGETTEXT=1 -DHAVE_NGETTEXT=1 -DHAVE_LIBINTL=1 -DHAVE_DCNGETTEXT=1");
+ } else {
+ WARNING("gettext not enabled; libraries and headers not found");
+ }
+}