aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/intlclean6
-rw-r--r--conf/m4/plptools/PLP_CHECK_INTL.m415
2 files changed, 21 insertions, 0 deletions
diff --git a/conf/intlclean b/conf/intlclean
new file mode 100644
index 0000000..fe6eb0a
--- /dev/null
+++ b/conf/intlclean
@@ -0,0 +1,6 @@
+cat<<EOF>intl/Makefile
+
+maintainer-clean:
+ rm -f *.[ch] *.in *.sed VERSION ChangeLog Makefile
+
+EOF
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
+])
+