diff options
Diffstat (limited to 'conf/m4')
-rw-r--r-- | conf/m4/plptools/PLP_CHECK_INTL.m4 | 15 |
1 files changed, 15 insertions, 0 deletions
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 +]) + |