diff options
author | Rodney Dawes <dobey@wayofthemonkey.com> | 2013-05-12 13:08:09 -0400 |
---|---|---|
committer | Rodney Dawes <dobey@wayofthemonkey.com> | 2013-05-12 13:08:09 -0400 |
commit | 10c06017958385563ca6aa5d62fc366f0389e95e (patch) | |
tree | 40931eed1636d0a54d7dcefc955fb22c57582cf4 /intltool.m4 | |
parent | 0e7682616e7d7e0b77c927fbe705262f1cfae264 (diff) | |
download | intltool-10c06017958385563ca6aa5d62fc366f0389e95e.tar.gz |
Use plain localedir to install mo files to, rather than trying to guess one.
Diffstat (limited to 'intltool.m4')
-rw-r--r-- | intltool.m4 | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/intltool.m4 b/intltool.m4 index 33353ed..c25b7b1 100644 --- a/intltool.m4 +++ b/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]) ]) |