From 0f1ffc4064c073854fa51949cb8e9c44cf8885ee Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Sat, 24 Mar 2001 17:35:57 +0000 Subject: NLS fixes, kpsion config --- conf/m4/plptools/PLP_CHECK_INTL.m4 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 conf/m4/plptools/PLP_CHECK_INTL.m4 (limited to 'conf/m4') diff --git a/conf/m4/plptools/PLP_CHECK_INTL.m4 b/conf/m4/plptools/PLP_CHECK_INTL.m4 new file mode 100644 index 0000000..f57ffdb --- /dev/null +++ b/conf/m4/plptools/PLP_CHECK_INTL.m4 @@ -0,0 +1,15 @@ +AC_DEFUN(PLP_CHECK_INTL,[ + if test "${USE_NLS}" = "yes" ; then + if test "${USE_INCLUDED_LIBINTL}" = "yes" ; then + plp_have_bind_textdomain_codeset=no + else + AC_CHECK_LIB(c, bind_textdomain_codeset, + plp_have_bind_textdomain_codeset=yes, + plp_have_bind_textdomain_codeset=no) + fi + if test "${plp_have_bind_textdomain_codeset}" = yes ; then + AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET) + fi + fi +]) + -- cgit v1.2.3