summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-05-05 17:56:48 +0200
committerMichael Biebl <biebl@debian.org>2015-05-05 17:56:48 +0200
commit9ac3aca3957225008b73eb6157b1973ba480fa45 (patch)
tree2d911fb341b5ec09bc45d8c8b8ce2044732f3936 /m4
parent5548c2b4d62385151c0aaad00da18769ced1f03d (diff)
Imported Upstream version 1.0.2
Diffstat (limited to 'm4')
-rw-r--r--m4/intltool.m425
1 files changed, 0 insertions, 25 deletions
diff --git a/m4/intltool.m4 b/m4/intltool.m4
index 33353eda..c25b7b1a 100644
--- a/m4/intltool.m4
+++ b/m4/intltool.m4
@@ -155,31 +155,6 @@ fi
# Substitute ALL_LINGUAS so we can use it in po/Makefile
AC_SUBST(ALL_LINGUAS)
-# Set DATADIRNAME correctly if it is not set yet
-# (copied from glib-gettext.m4)
-if test -z "$DATADIRNAME"; then
- AC_LINK_IFELSE(
- [AC_LANG_PROGRAM([[]],
- [[extern int _nl_msg_cat_cntr;
- return _nl_msg_cat_cntr]])],
- [DATADIRNAME=share],
- [case $host in
- *-*-solaris*)
- dnl On Solaris, if bind_textdomain_codeset is in libc,
- dnl GNU format message catalog is always supported,
- dnl since both are added to the libc all together.
- dnl Hence, we'd like to go with DATADIRNAME=share
- dnl in this case.
- AC_CHECK_FUNC(bind_textdomain_codeset,
- [DATADIRNAME=share], [DATADIRNAME=lib])
- ;;
- *)
- [DATADIRNAME=lib]
- ;;
- esac])
-fi
-AC_SUBST(DATADIRNAME)
-
IT_PO_SUBDIR([po])
])