~ubuntu-branches/ubuntu/precise/transmageddon/precise-updates

« back to all changes in this revision

Viewing changes to common/m4/gst-gettext.m4

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-10-14 08:28:43 UTC
  • Revision ID: james.westby@ubuntu.com-20091014082843-uxbyrcqydc13zrim
Tags: upstream-0.14
ImportĀ upstreamĀ versionĀ 0.14

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl gettext setup
 
2
 
 
3
dnl AG_GST_GETTEXT([gettext-package])
 
4
dnl defines GETTEXT_PACKAGE and LOCALEDIR
 
5
 
 
6
AC_DEFUN([AG_GST_GETTEXT],
 
7
[
 
8
  if test "$USE_NLS" = "yes"; then
 
9
    GETTEXT_PACKAGE=[$1]
 
10
  else
 
11
    GETTEXT_PACKAGE=[NULL]
 
12
  fi
 
13
  AC_SUBST(GETTEXT_PACKAGE)
 
14
  AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE",
 
15
                     [gettext package name])
 
16
 
 
17
  dnl define LOCALEDIR in config.h
 
18
  AS_AC_EXPAND(LOCALEDIR, $datadir/locale)
 
19
  AC_DEFINE_UNQUOTED([LOCALEDIR], "$LOCALEDIR",
 
20
                     [gettext locale dir])
 
21
])