~ubuntu-branches/ubuntu/wily/gupnp-tools/wily

« back to all changes in this revision

Viewing changes to m4/intltool.m4

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2015-05-21 19:06:04 UTC
  • mfrom: (9.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20150521190604-5y6c25xzi2vlamgf
Tags: 0.8.10-1
* Imported Upstream version 0.8.10
* Update build-dependencies according to configure.ac changes:
  - drop gnome-icon-theme
  - bump gtk+ to 3.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
# Substitute ALL_LINGUAS so we can use it in po/Makefile
156
156
AC_SUBST(ALL_LINGUAS)
157
157
 
158
 
# Set DATADIRNAME correctly if it is not set yet
159
 
# (copied from glib-gettext.m4)
160
 
if test -z "$DATADIRNAME"; then
161
 
  AC_LINK_IFELSE(
162
 
    [AC_LANG_PROGRAM([[]],
163
 
                     [[extern int _nl_msg_cat_cntr;
164
 
                       return _nl_msg_cat_cntr]])],
165
 
    [DATADIRNAME=share],
166
 
    [case $host in
167
 
    *-*-solaris*)
168
 
    dnl On Solaris, if bind_textdomain_codeset is in libc,
169
 
    dnl GNU format message catalog is always supported,
170
 
    dnl since both are added to the libc all together.
171
 
    dnl Hence, we'd like to go with DATADIRNAME=share
172
 
    dnl in this case.
173
 
    AC_CHECK_FUNC(bind_textdomain_codeset,
174
 
      [DATADIRNAME=share], [DATADIRNAME=lib])
175
 
    ;;
176
 
    *)
177
 
    [DATADIRNAME=lib]
178
 
    ;;
179
 
    esac])
180
 
fi
181
 
AC_SUBST(DATADIRNAME)
182
 
 
183
158
IT_PO_SUBDIR([po])
184
159
 
185
160
])