comparison m4/intl.m4 @ 17340:8470f1956402

gettext: Update to version 0.18.2. * m4/intl.m4, m4/po.m4: Update from gettext-0.18.2. In particular: 2012-12-07 Stefano Lattarini <stefano.lattarini@gmailcom> * intl.m4, po.m4: Bump requirement in AC_PREREQ to 2.60.
author Bruno Haible <bruno@clisp.org>
date Sat, 02 Mar 2013 16:50:59 +0100
parents e542fd46ad6f
children c8b7822c1226
comparison
equal deleted inserted replaced
17339:abc852025ecf 17340:8470f1956402
1 # intl.m4 serial 17d 1 # intl.m4 serial 22 (gettext-0.18.2)
2 dnl Copyright (C) 1995-2013 Free Software Foundation, Inc. 2 dnl Copyright (C) 1995-2013 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation 3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it, 4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved. 5 dnl with or without modifications, as long as this notice is preserved.
6 dnl 6 dnl
15 15
16 dnl Authors: 16 dnl Authors:
17 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. 17 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
18 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2009. 18 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2009.
19 19
20 AC_PREREQ([2.53]) 20 AC_PREREQ([2.60])
21 21
22 dnl Checks for all prerequisites of the intl subdirectory, 22 dnl Checks for all prerequisites of the intl subdirectory,
23 dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS, 23 dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
24 dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL. 24 dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
25 AC_DEFUN([AM_INTL_SUBDIR], 25 AC_DEFUN([AM_INTL_SUBDIR],
53 53
54 AC_CHECK_TYPE([ptrdiff_t], , 54 AC_CHECK_TYPE([ptrdiff_t], ,
55 [AC_DEFINE([ptrdiff_t], [long], 55 [AC_DEFINE([ptrdiff_t], [long],
56 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.]) 56 [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
57 ]) 57 ])
58 AC_CHECK_HEADERS([stddef.h stdlib.h string.h]) 58 AC_CHECK_HEADERS([features.h stddef.h stdlib.h string.h])
59 AC_CHECK_FUNCS([asprintf fwprintf newlocale putenv setenv setlocale \ 59 AC_CHECK_FUNCS([asprintf fwprintf newlocale putenv setenv setlocale \
60 snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb]) 60 snprintf strnlen wcslen wcsnlen mbrtowc wcrtomb])
61 61
62 dnl Use the _snprintf function only if it is declared (because on NetBSD it 62 dnl Use the _snprintf function only if it is declared (because on NetBSD it
63 dnl is defined as a weak alias of snprintf; we prefer to use the latter). 63 dnl is defined as a weak alias of snprintf; we prefer to use the latter).
293 if test $ac_cv_have_decl_$1 = yes; then 293 if test $ac_cv_have_decl_$1 = yes; then
294 gt_value=1 294 gt_value=1
295 else 295 else
296 gt_value=0 296 gt_value=0
297 fi 297 fi
298 AC_DEFINE_UNQUOTED([HAVE_DECL_]translit($1, [a-z], [A-Z]), [$gt_value], 298 AC_DEFINE_UNQUOTED([HAVE_DECL_]m4_translit($1, [a-z], [A-Z]), [$gt_value],
299 [Define to 1 if you have the declaration of '$1', and to 0 if you don't.]) 299 [Define to 1 if you have the declaration of '$1', and to 0 if you don't.])
300 ]) 300 ])