diff options
author | Alex Dupre <ale@FreeBSD.org> | 2004-07-27 22:29:44 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2004-07-27 22:29:44 +0000 |
commit | ddd8dd830d4f3a87d52c2ec6ea5f8ca5a7f9af77 (patch) | |
tree | e63340e2f60b675c6f0b029e72e0b1d3dabd68d4 /devel | |
parent | - Switch to new libtool (diff) |
MFphp4: Enable activation of bind_textdomain_codeset() function.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/php5-gettext/files/patch-config.m4 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/php5-gettext/files/patch-config.m4 b/devel/php5-gettext/files/patch-config.m4 new file mode 100644 index 000000000000..2b497d366574 --- /dev/null +++ b/devel/php5-gettext/files/patch-config.m4 @@ -0,0 +1,17 @@ +--- config.m4.orig Tue Jul 27 23:58:02 2004 ++++ config.m4 Tue Jul 27 23:59:44 2004 +@@ -30,7 +30,6 @@ + AC_MSG_ERROR(Unable to find required gettext library) + ]) + ) +- LDFLAGS=$O_LDFLAGS + + AC_DEFINE(HAVE_LIBINTL,1,[ ]) + PHP_NEW_EXTENSION(gettext, gettext.c, $ext_shared) +@@ -46,5 +45,6 @@ + AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dngettext, [AC_DEFINE(HAVE_DNGETTEXT, 1, [ ])]) + AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, dcngettext, [AC_DEFINE(HAVE_DCNGETTEXT, 1, [ ])]) + AC_CHECK_LIB($GETTEXT_CHECK_IN_LIB, bind_textdomain_codeset, [AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET, 1, [ ])]) ++ LDFLAGS=$O_LDFLAGS + + fi |