~jamesodhunt/ubuntu/raring/upstart/1.6

« back to all changes in this revision

Viewing changes to m4/po.m4

  • Committer: Scott James Remnant
  • Date: 2010-02-04 23:39:59 UTC
  • mfrom: (1182.1.45 upstart)
  • mto: This revision was merged to the branch mainline in revision 1250.
  • Revision ID: scott@netsplit.com-20100204233959-7kajqjnaoh7208ob
Tags: upstream-0.6.5
ImportĀ upstreamĀ versionĀ 0.6.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# po.m4 serial 13 (gettext-0.15)
2
 
dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.
 
1
# po.m4 serial 15 (gettext-0.17)
 
2
dnl Copyright (C) 1995-2007 Free Software Foundation, Inc.
3
3
dnl This file is free software; the Free Software Foundation
4
4
dnl gives unlimited permission to copy and/or distribute it,
5
5
dnl with or without modifications, as long as this notice is preserved.
27
27
  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
28
28
  AC_REQUIRE([AM_NLS])dnl
29
29
 
 
30
  dnl Release version of the gettext macros. This is used to ensure that
 
31
  dnl the gettext macros and po/Makefile.in.in are in sync.
 
32
  AC_SUBST([GETTEXT_MACRO_VERSION], [0.17])
 
33
 
30
34
  dnl Perform the following tests also if --disable-nls has been given,
31
35
  dnl because they are needed for "make dist" to work.
32
36
 
84
88
  test -n "$localedir" || localedir='${datadir}/locale'
85
89
  AC_SUBST([localedir])
86
90
 
 
91
  dnl Support for AM_XGETTEXT_OPTION.
 
92
  test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
 
93
  AC_SUBST([XGETTEXT_EXTRA_OPTIONS])
 
94
 
87
95
  AC_CONFIG_COMMANDS([po-directories], [[
88
96
    for ac_file in $CONFIG_FILES; do
89
97
      # Support "outfile[:infile[:infile...]]"
426
434
  fi
427
435
  mv "$ac_file.tmp" "$ac_file"
428
436
])
 
437
 
 
438
dnl Initializes the accumulator used by AM_XGETTEXT_OPTION.
 
439
AC_DEFUN([AM_XGETTEXT_OPTION_INIT],
 
440
[
 
441
  XGETTEXT_EXTRA_OPTIONS=
 
442
])
 
443
 
 
444
dnl Registers an option to be passed to xgettext in the po subdirectory.
 
445
AC_DEFUN([AM_XGETTEXT_OPTION],
 
446
[
 
447
  AC_REQUIRE([AM_XGETTEXT_OPTION_INIT])
 
448
  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1"
 
449
])