Show
Ignore:
Timestamp:
23/03/08 21:01:24 (7 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/gettext.m4

    r1263062 r7bbc254  
    1 # gettext.m4 serial 59 (gettext-0.16.1
    2 dnl Copyright (C) 1995-2006 Free Software Foundation, Inc. 
     1# gettext.m4 serial 60 (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, 
     
    363363 
    364364 
    365 dnl Checks for special options needed on MacOS X. 
    366 dnl Defines INTL_MACOSX_LIBS. 
    367 AC_DEFUN([gt_INTL_MACOSX], 
    368 [ 
    369   dnl Check for API introduced in MacOS X 10.2. 
    370   AC_CACHE_CHECK([for CFPreferencesCopyAppValue], 
    371     gt_cv_func_CFPreferencesCopyAppValue, 
    372     [gt_save_LIBS="$LIBS" 
    373      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 
    374      AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>], 
    375        [CFPreferencesCopyAppValue(NULL, NULL)], 
    376        [gt_cv_func_CFPreferencesCopyAppValue=yes], 
    377        [gt_cv_func_CFPreferencesCopyAppValue=no]) 
    378      LIBS="$gt_save_LIBS"]) 
    379   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 
    380     AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1, 
    381       [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.]) 
    382   fi 
    383   dnl Check for API introduced in MacOS X 10.3. 
    384   AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent, 
    385     [gt_save_LIBS="$LIBS" 
    386      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 
    387      AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();], 
    388        [gt_cv_func_CFLocaleCopyCurrent=yes], 
    389        [gt_cv_func_CFLocaleCopyCurrent=no]) 
    390      LIBS="$gt_save_LIBS"]) 
    391   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 
    392     AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1, 
    393       [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.]) 
    394   fi 
    395   INTL_MACOSX_LIBS= 
    396   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 
    397     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 
    398   fi 
    399   AC_SUBST([INTL_MACOSX_LIBS]) 
    400 ]) 
    401  
    402  
    403365dnl gt_NEEDS_INIT ensures that the gt_needs variable is initialized. 
    404366m4_define([gt_NEEDS_INIT],