components/libgpg-error/patches/libgpg-error-01-gettext.patch
changeset 4723 4193dfeb0e39
equal deleted inserted replaced
4722:2bd832ea7ef7 4723:4193dfeb0e39
       
     1 Source:
       
     2 Internal
       
     3 
       
     4 Info:
       
     5 https://www.gnu.org/software/gettext/manual/html_node/AM_005fGNU_005fGETTEXT_005fVERSION.html
       
     6 The AM_GNU_GETTEXT_VERSION macro declares the version number of the GNU 
       
     7 gettext infrastructure that is used by the package.
       
     8 The use of this macro is optional; only the autopoint program makes use of 
       
     9 it.
       
    10 
       
    11 Status:
       
    12 Need to determine if this patch has been sent upstream.
       
    13 
       
    14 --- libgpg-error-1.12/configure.ac.orig	2010-10-26 17:13:48.000000000 +0800
       
    15 +++ libgpg-error-1.12/configure.ac	2010-11-11 17:15:10.972945315 +0800
       
    16 @@ -110,11 +110,13 @@
       
    17  #define GPG_ERR_ENABLE_ERRNO_MACROS 1
       
    18  ])
       
    19  
       
    20 -
       
    21 -# Note, that autogen.sh greps for the next line.
       
    22 -AM_GNU_GETTEXT_VERSION([0.17])
       
    23 -AM_GNU_GETTEXT([external])
       
    24 -
       
    25 +LTLIBINTL=
       
    26 +AC_SUBST(LTLIBINTL)
       
    27 +GETTEXT_PACKAGE=libgpg-error
       
    28 +AC_SUBST(GETTEXT_PACKAGE)
       
    29 +ALL_LINGUAS="cs de es fr hu it ja ko pl pt_BR ro ru sv vi zh_CN zh_HK zh_TW    "
       
    30 +AM_GLIB_GNU_GETTEXT
       
    31 + 
       
    32  # Checks for header files.
       
    33  AC_HEADER_STDC
       
    34  AC_CHECK_HEADERS([stdlib.h locale.h])