aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2001-03-24 17:35:57 +0000
committerFritz Elfert <felfert@to.com>2001-03-24 17:35:57 +0000
commit0f1ffc4064c073854fa51949cb8e9c44cf8885ee (patch)
tree9695c15197cea023f6ea72593f87e88f39f2c1f4 /conf
parent2bae21ae65a3f1de3bd39d62b1064f63688f2430 (diff)
downloadplptools-0f1ffc4064c073854fa51949cb8e9c44cf8885ee.tar.gz
plptools-0f1ffc4064c073854fa51949cb8e9c44cf8885ee.tar.bz2
plptools-0f1ffc4064c073854fa51949cb8e9c44cf8885ee.zip
NLS fixes, kpsion config
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
+])
+