Show
Ignore:
Timestamp:
03/23/08 21:01:24 (5 months ago)
Author:
Rémi Denis-Courmont <rem@videolan.org>
git-committer:
Rémi Denis-Courmont <rem@videolan.org> 1206302484 +0200
git-parent:

[6abf349d0ab414b10c31c8a5b1772bda356eb141]

git-author:
Rémi Denis-Courmont <rem@videolan.org> 1206302484 +0200
Message:

Switch to gettext 0.17

The whole point of keeping the m4 and po/Makefile.in.in is to not need
to have the same version all over the place anyway, otherwise we might
as well put all these files to .gitignore...

Remove some old m4 macros as well.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • m4/po.m4

    r1263062 r7bbc254  
    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
     2dnl Copyright (C) 1995-2007 Free Software Foundation, Inc. 
    33dnl This file is free software; the Free Software Foundation 
    44dnl gives unlimited permission to copy and/or distribute it, 
     
    2727  AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake 
    2828  AC_REQUIRE([AM_NLS])dnl 
     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]) 
    2933 
    3034  dnl Perform the following tests also if --disable-nls has been given, 
     
    8488  test -n "$localedir" || localedir='${datadir}/locale' 
    8589  AC_SUBST([localedir]) 
     90 
     91  dnl Support for AM_XGETTEXT_OPTION. 
     92  test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 
     93  AC_SUBST([XGETTEXT_EXTRA_OPTIONS]) 
    8694 
    8795  AC_CONFIG_COMMANDS([po-directories], [[ 
     
    427435  mv "$ac_file.tmp" "$ac_file" 
    428436]) 
     437 
     438dnl Initializes the accumulator used by AM_XGETTEXT_OPTION. 
     439AC_DEFUN([AM_XGETTEXT_OPTION_INIT], 
     440[ 
     441  XGETTEXT_EXTRA_OPTIONS= 
     442]) 
     443 
     444dnl Registers an option to be passed to xgettext in the po subdirectory. 
     445AC_DEFUN([AM_XGETTEXT_OPTION], 
     446[ 
     447  AC_REQUIRE([AM_XGETTEXT_OPTION_INIT]) 
     448  XGETTEXT_EXTRA_OPTIONS="$XGETTEXT_EXTRA_OPTIONS $1" 
     449])