aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2005-07-17 23:19:12 +0000
committerChristian Grothoff <christian@grothoff.org>2005-07-17 23:19:12 +0000
commit4959cd2c3e60b99b732fa96cc5d13c72a77de29e (patch)
tree8545a26e9b4a50b66a5362b1d493cfdbefd2cd99 /m4
parentafa6e3be1a63ed8d0224e650983748570650cd57 (diff)
downloadgnunet-gtk-4959cd2c3e60b99b732fa96cc5d13c72a77de29e.tar.gz
gnunet-gtk-4959cd2c3e60b99b732fa96cc5d13c72a77de29e.zip
fix
Diffstat (limited to 'm4')
-rw-r--r--m4/codeset.m48
-rw-r--r--m4/gettext.m4102
-rw-r--r--m4/glibc21.m414
-rw-r--r--m4/iconv.m48
-rw-r--r--m4/intdiv0.m48
-rw-r--r--m4/intmax.m418
-rw-r--r--m4/inttypes-pri.m48
-rw-r--r--m4/inttypes.m48
-rw-r--r--m4/inttypes_h.m422
l---------m4/isc-posix.m41
-rw-r--r--m4/lcmessage.m420
-rw-r--r--m4/lib-ld.m48
-rw-r--r--m4/lib-link.m420
-rw-r--r--m4/lib-prefix.m414
-rw-r--r--m4/longdouble.m48
-rw-r--r--m4/longlong.m414
-rw-r--r--m4/nls.m416
-rw-r--r--m4/po.m448
-rw-r--r--m4/printf-posix.m412
-rw-r--r--m4/progtest.m415
-rw-r--r--m4/signed.m48
-rw-r--r--m4/size_max.m48
-rw-r--r--m4/stdint_h.m422
-rw-r--r--m4/uintmax_t.m422
-rw-r--r--m4/ulonglong.m414
-rw-r--r--m4/wchar_t.m48
-rw-r--r--m4/wint_t.m48
-rw-r--r--m4/xsize.m413
28 files changed, 214 insertions, 261 deletions
diff --git a/m4/codeset.m4 b/m4/codeset.m4
index a6e67ec4..59535ebc 100644
--- a/m4/codeset.m4
+++ b/m4/codeset.m4
@@ -1,8 +1,10 @@
1# codeset.m4 serial AM1 (gettext-0.10.40) 1# codeset.m4 serial AM1 (gettext-0.10.40)
2dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. 2dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8 10
diff --git a/m4/gettext.m4 b/m4/gettext.m4
index 624a8078..a374f03f 100644
--- a/m4/gettext.m4
+++ b/m4/gettext.m4
@@ -1,8 +1,10 @@
1# gettext.m4 serial 37 (gettext-0.14.4) 1# gettext.m4 serial 28 (gettext-0.13)
2dnl Copyright (C) 1995-2005 Free Software Foundation, Inc. 2dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6dnl 8dnl
7dnl This file can can be used in projects which are not available under 9dnl This file can can be used in projects which are not available under
8dnl the GNU General Public License or the GNU Library General Public 10dnl the GNU General Public License or the GNU Library General Public
@@ -63,8 +65,8 @@ AC_DEFUN([AM_GNU_GETTEXT],
63 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], , 65 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
64 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT 66 [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
65])])])]) 67])])])])
66 define([gt_included_intl], ifelse([$1], [external], [no], [yes])) 68 define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
67 define([gt_libtool_suffix_prefix], ifelse([$1], [use-libtool], [l], [])) 69 define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
68 70
69 AC_REQUIRE([AM_PO_SUBDIRS])dnl 71 AC_REQUIRE([AM_PO_SUBDIRS])dnl
70 ifelse(gt_included_intl, yes, [ 72 ifelse(gt_included_intl, yes, [
@@ -90,9 +92,6 @@ AC_DEFUN([AM_GNU_GETTEXT],
90 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) 92 AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY])
91 ]) 93 ])
92 94
93 dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
94 gt_INTL_MACOSX
95
96 dnl Set USE_NLS. 95 dnl Set USE_NLS.
97 AM_NLS 96 AM_NLS
98 97
@@ -139,7 +138,7 @@ changequote([,])dnl
139], [])[extern int _nl_msg_cat_cntr; 138], [])[extern int _nl_msg_cat_cntr;
140extern int *_nl_domain_bindings;], 139extern int *_nl_domain_bindings;],
141 [bindtextdomain ("", ""); 140 [bindtextdomain ("", "");
142return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings], 141return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
143 gt_cv_func_gnugettext_libc=yes, 142 gt_cv_func_gnugettext_libc=yes,
144 gt_cv_func_gnugettext_libc=no)]) 143 gt_cv_func_gnugettext_libc=no)])
145 144
@@ -173,9 +172,9 @@ extern
173#ifdef __cplusplus 172#ifdef __cplusplus
174"C" 173"C"
175#endif 174#endif
176const char *_nl_expand_alias (const char *);], 175const char *_nl_expand_alias ();],
177 [bindtextdomain ("", ""); 176 [bindtextdomain ("", "");
178return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")], 177return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
179 gt_cv_func_gnugettext_libintl=yes, 178 gt_cv_func_gnugettext_libintl=yes,
180 gt_cv_func_gnugettext_libintl=no) 179 gt_cv_func_gnugettext_libintl=no)
181 dnl Now see whether libintl exists and depends on libiconv. 180 dnl Now see whether libintl exists and depends on libiconv.
@@ -194,9 +193,9 @@ extern
194#ifdef __cplusplus 193#ifdef __cplusplus
195"C" 194"C"
196#endif 195#endif
197const char *_nl_expand_alias (const char *);], 196const char *_nl_expand_alias ();],
198 [bindtextdomain ("", ""); 197 [bindtextdomain ("", "");
199return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")], 198return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
200 [LIBINTL="$LIBINTL $LIBICONV" 199 [LIBINTL="$LIBINTL $LIBICONV"
201 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 200 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
202 gt_cv_func_gnugettext_libintl=yes 201 gt_cv_func_gnugettext_libintl=yes
@@ -239,7 +238,6 @@ return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)],
239 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` 238 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
240 fi 239 fi
241 240
242 CATOBJEXT=
243 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 241 if test "$gt_use_preinstalled_gnugettext" = "yes" \
244 || test "$nls_cv_use_gnu_gettext" = "yes"; then 242 || test "$nls_cv_use_gnu_gettext" = "yes"; then
245 dnl Mark actions to use GNU gettext tools. 243 dnl Mark actions to use GNU gettext tools.
@@ -247,15 +245,6 @@ return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)],
247 fi 245 fi
248 ]) 246 ])
249 247
250 if test -n "$INTL_MACOSX_LIBS"; then
251 if test "$gt_use_preinstalled_gnugettext" = "yes" \
252 || test "$nls_cv_use_gnu_gettext" = "yes"; then
253 dnl Some extra flags are needed during linking.
254 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
255 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
256 fi
257 fi
258
259 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 248 if test "$gt_use_preinstalled_gnugettext" = "yes" \
260 || test "$nls_cv_use_gnu_gettext" = "yes"; then 249 || test "$nls_cv_use_gnu_gettext" = "yes"; then
261 AC_DEFINE(ENABLE_NLS, 1, 250 AC_DEFINE(ENABLE_NLS, 1,
@@ -331,7 +320,6 @@ return * gettext ("")]ifelse([$2], [need-ngettext], [ + * ngettext ("", "", 0)],
331 AC_SUBST(GENCAT) 320 AC_SUBST(GENCAT)
332 321
333 dnl For backward compatibility. Some Makefiles may be using this. 322 dnl For backward compatibility. Some Makefiles may be using this.
334 INTLOBJS=
335 if test "$USE_INCLUDED_LIBINTL" = yes; then 323 if test "$USE_INCLUDED_LIBINTL" = yes; then
336 INTLOBJS="\$(GETTOBJS)" 324 INTLOBJS="\$(GETTOBJS)"
337 fi 325 fi
@@ -362,7 +350,6 @@ AC_DEFUN([AM_INTL_SUBDIR],
362 AC_REQUIRE([AM_MKINSTALLDIRS])dnl 350 AC_REQUIRE([AM_MKINSTALLDIRS])dnl
363 AC_REQUIRE([AC_PROG_CC])dnl 351 AC_REQUIRE([AC_PROG_CC])dnl
364 AC_REQUIRE([AC_CANONICAL_HOST])dnl 352 AC_REQUIRE([AC_CANONICAL_HOST])dnl
365 AC_REQUIRE([gt_GLIBC2])dnl
366 AC_REQUIRE([AC_PROG_RANLIB])dnl 353 AC_REQUIRE([AC_PROG_RANLIB])dnl
367 AC_REQUIRE([AC_ISC_POSIX])dnl 354 AC_REQUIRE([AC_ISC_POSIX])dnl
368 AC_REQUIRE([AC_HEADER_STDC])dnl 355 AC_REQUIRE([AC_HEADER_STDC])dnl
@@ -371,23 +358,22 @@ AC_DEFUN([AM_INTL_SUBDIR],
371 AC_REQUIRE([AC_C_INLINE])dnl 358 AC_REQUIRE([AC_C_INLINE])dnl
372 AC_REQUIRE([AC_TYPE_OFF_T])dnl 359 AC_REQUIRE([AC_TYPE_OFF_T])dnl
373 AC_REQUIRE([AC_TYPE_SIZE_T])dnl 360 AC_REQUIRE([AC_TYPE_SIZE_T])dnl
374 AC_REQUIRE([gl_AC_TYPE_LONG_LONG])dnl 361 AC_REQUIRE([jm_AC_TYPE_LONG_LONG])dnl
375 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl 362 AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl
376 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl 363 AC_REQUIRE([gt_TYPE_WCHAR_T])dnl
377 AC_REQUIRE([gt_TYPE_WINT_T])dnl 364 AC_REQUIRE([gt_TYPE_WINT_T])dnl
378 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 365 AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
379 AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 366 AC_REQUIRE([jm_AC_HEADER_STDINT_H])
380 AC_REQUIRE([gt_TYPE_INTMAX_T]) 367 AC_REQUIRE([gt_TYPE_INTMAX_T])
381 AC_REQUIRE([gt_PRINTF_POSIX]) 368 AC_REQUIRE([gt_PRINTF_POSIX])
382 AC_REQUIRE([AC_FUNC_ALLOCA])dnl 369 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
383 AC_REQUIRE([AC_FUNC_MMAP])dnl 370 AC_REQUIRE([AC_FUNC_MMAP])dnl
384 AC_REQUIRE([gl_GLIBC21])dnl 371 AC_REQUIRE([jm_GLIBC21])dnl
385 AC_REQUIRE([gt_INTDIV0])dnl 372 AC_REQUIRE([gt_INTDIV0])dnl
386 AC_REQUIRE([gl_AC_TYPE_UINTMAX_T])dnl 373 AC_REQUIRE([jm_AC_TYPE_UINTMAX_T])dnl
387 AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl 374 AC_REQUIRE([gt_HEADER_INTTYPES_H])dnl
388 AC_REQUIRE([gt_INTTYPES_PRI])dnl 375 AC_REQUIRE([gt_INTTYPES_PRI])dnl
389 AC_REQUIRE([gl_XSIZE])dnl 376 AC_REQUIRE([gl_XSIZE])dnl
390 AC_REQUIRE([gt_INTL_MACOSX])dnl
391 377
392 AC_CHECK_TYPE([ptrdiff_t], , 378 AC_CHECK_TYPE([ptrdiff_t], ,
393 [AC_DEFINE([ptrdiff_t], [long], 379 [AC_DEFINE([ptrdiff_t], [long],
@@ -441,11 +427,7 @@ __fsetlocking])
441 AM_ICONV 427 AM_ICONV
442 AM_LANGINFO_CODESET 428 AM_LANGINFO_CODESET
443 if test $ac_cv_header_locale_h = yes; then 429 if test $ac_cv_header_locale_h = yes; then
444 gt_LC_MESSAGES 430 AM_LC_MESSAGES
445 fi
446
447 if test -n "$INTL_MACOSX_LIBS"; then
448 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
449 fi 431 fi
450 432
451 dnl intl/plural.c is generated from intl/plural.y. It requires bison, 433 dnl intl/plural.c is generated from intl/plural.y. It requires bison,
@@ -481,50 +463,6 @@ changequote([,])dnl
481]) 463])
482 464
483 465
484dnl Checks for special options needed on MacOS X.
485dnl Defines INTL_MACOSX_LIBS.
486AC_DEFUN([gt_INTL_MACOSX],
487[
488 dnl Check for API introduced in MacOS X 10.2.
489 AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
490 gt_cv_func_CFPreferencesCopyAppValue,
491 [gt_save_CPPFLAGS="$CPPFLAGS"
492 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
493 gt_save_LIBS="$LIBS"
494 LIBS="$LIBS -framework CoreFoundation"
495 AC_TRY_LINK([#include <CFPreferences.h>],
496 [CFPreferencesCopyAppValue(NULL, NULL)],
497 [gt_cv_func_CFPreferencesCopyAppValue=yes],
498 [gt_cv_func_CFPreferencesCopyAppValue=no])
499 CPPFLAGS="$gt_save_CPPFLAGS"
500 LIBS="$gt_save_LIBS"])
501 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
502 AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], 1,
503 [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
504 fi
505 dnl Check for API introduced in MacOS X 10.3.
506 AC_CACHE_CHECK([for CFLocaleCopyCurrent], gt_cv_func_CFLocaleCopyCurrent,
507 [gt_save_CPPFLAGS="$CPPFLAGS"
508 CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
509 gt_save_LIBS="$LIBS"
510 LIBS="$LIBS -framework CoreFoundation"
511 AC_TRY_LINK([#include <CFLocale.h>], [CFLocaleCopyCurrent();],
512 [gt_cv_func_CFLocaleCopyCurrent=yes],
513 [gt_cv_func_CFLocaleCopyCurrent=no])
514 CPPFLAGS="$gt_save_CPPFLAGS"
515 LIBS="$gt_save_LIBS"])
516 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
517 AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], 1,
518 [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
519 fi
520 INTL_MACOSX_LIBS=
521 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
522 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
523 fi
524 AC_SUBST([INTL_MACOSX_LIBS])
525])
526
527
528dnl gt_CHECK_DECL(FUNC, INCLUDES) 466dnl gt_CHECK_DECL(FUNC, INCLUDES)
529dnl Check whether a function is declared. 467dnl Check whether a function is declared.
530AC_DEFUN([gt_CHECK_DECL], 468AC_DEFUN([gt_CHECK_DECL],
diff --git a/m4/glibc21.m4 b/m4/glibc21.m4
index d95fd986..9c9f3db3 100644
--- a/m4/glibc21.m4
+++ b/m4/glibc21.m4
@@ -1,13 +1,15 @@
1# glibc21.m4 serial 3 1# glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
2dnl Copyright (C) 2000-2002, 2004 Free Software Foundation, Inc. 2dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7# Test for the GNU C Library, version 2.1 or newer. 9# Test for the GNU C Library, version 2.1 or newer.
8# From Bruno Haible. 10# From Bruno Haible.
9 11
10AC_DEFUN([gl_GLIBC21], 12AC_DEFUN([jm_GLIBC21],
11 [ 13 [
12 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer, 14 AC_CACHE_CHECK(whether we are using the GNU C Library 2.1 or newer,
13 ac_cv_gnu_library_2_1, 15 ac_cv_gnu_library_2_1,
diff --git a/m4/iconv.m4 b/m4/iconv.m4
index 654c4158..c5f35798 100644
--- a/m4/iconv.m4
+++ b/m4/iconv.m4
@@ -1,8 +1,10 @@
1# iconv.m4 serial AM4 (gettext-0.11.3) 1# iconv.m4 serial AM4 (gettext-0.11.3)
2dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. 2dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8 10
diff --git a/m4/intdiv0.m4 b/m4/intdiv0.m4
index b8d78176..55dddcf1 100644
--- a/m4/intdiv0.m4
+++ b/m4/intdiv0.m4
@@ -1,8 +1,10 @@
1# intdiv0.m4 serial 1 (gettext-0.11.3) 1# intdiv0.m4 serial 1 (gettext-0.11.3)
2dnl Copyright (C) 2002 Free Software Foundation, Inc. 2dnl Copyright (C) 2002 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8 10
diff --git a/m4/intmax.m4 b/m4/intmax.m4
index d99c999f..dfb08ccc 100644
--- a/m4/intmax.m4
+++ b/m4/intmax.m4
@@ -1,8 +1,10 @@
1# intmax.m4 serial 2 (gettext-0.14.2) 1# intmax.m4 serial 1 (gettext-0.12)
2dnl Copyright (C) 2002-2005 Free Software Foundation, Inc. 2dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8dnl Test whether the system has the 'intmax_t' type, but don't attempt to 10dnl Test whether the system has the 'intmax_t' type, but don't attempt to
@@ -10,11 +12,11 @@ dnl find a replacement if it is lacking.
10 12
11AC_DEFUN([gt_TYPE_INTMAX_T], 13AC_DEFUN([gt_TYPE_INTMAX_T],
12[ 14[
13 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 15 AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
14 AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 16 AC_REQUIRE([jm_AC_HEADER_STDINT_H])
15 AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t, 17 AC_CACHE_CHECK(for intmax_t, gt_cv_c_intmax_t,
16 [AC_TRY_COMPILE([ 18 [AC_TRY_COMPILE([
17#include <stddef.h> 19#include <stddef.h>
18#include <stdlib.h> 20#include <stdlib.h>
19#if HAVE_STDINT_H_WITH_UINTMAX 21#if HAVE_STDINT_H_WITH_UINTMAX
20#include <stdint.h> 22#include <stdint.h>
diff --git a/m4/inttypes-pri.m4 b/m4/inttypes-pri.m4
index 4d56a9ad..fd007c31 100644
--- a/m4/inttypes-pri.m4
+++ b/m4/inttypes-pri.m4
@@ -1,8 +1,10 @@
1# inttypes-pri.m4 serial 1 (gettext-0.11.4) 1# inttypes-pri.m4 serial 1 (gettext-0.11.4)
2dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. 2dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8 10
diff --git a/m4/inttypes.m4 b/m4/inttypes.m4
index 779bcea0..ab370ffe 100644
--- a/m4/inttypes.m4
+++ b/m4/inttypes.m4
@@ -1,8 +1,10 @@
1# inttypes.m4 serial 1 (gettext-0.11.4) 1# inttypes.m4 serial 1 (gettext-0.11.4)
2dnl Copyright (C) 1997-2002 Free Software Foundation, Inc. 2dnl Copyright (C) 1997-2002 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Paul Eggert. 9dnl From Paul Eggert.
8 10
diff --git a/m4/inttypes_h.m4 b/m4/inttypes_h.m4
index a5d075d9..f342eba3 100644
--- a/m4/inttypes_h.m4
+++ b/m4/inttypes_h.m4
@@ -1,24 +1,26 @@
1# inttypes_h.m4 serial 6 1# inttypes_h.m4 serial 5 (gettext-0.12)
2dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. 2dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Paul Eggert. 9dnl From Paul Eggert.
8 10
9# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists, 11# Define HAVE_INTTYPES_H_WITH_UINTMAX if <inttypes.h> exists,
10# doesn't clash with <sys/types.h>, and declares uintmax_t. 12# doesn't clash with <sys/types.h>, and declares uintmax_t.
11 13
12AC_DEFUN([gl_AC_HEADER_INTTYPES_H], 14AC_DEFUN([jm_AC_HEADER_INTTYPES_H],
13[ 15[
14 AC_CACHE_CHECK([for inttypes.h], gl_cv_header_inttypes_h, 16 AC_CACHE_CHECK([for inttypes.h], jm_ac_cv_header_inttypes_h,
15 [AC_TRY_COMPILE( 17 [AC_TRY_COMPILE(
16 [#include <sys/types.h> 18 [#include <sys/types.h>
17#include <inttypes.h>], 19#include <inttypes.h>],
18 [uintmax_t i = (uintmax_t) -1;], 20 [uintmax_t i = (uintmax_t) -1;],
19 gl_cv_header_inttypes_h=yes, 21 jm_ac_cv_header_inttypes_h=yes,
20 gl_cv_header_inttypes_h=no)]) 22 jm_ac_cv_header_inttypes_h=no)])
21 if test $gl_cv_header_inttypes_h = yes; then 23 if test $jm_ac_cv_header_inttypes_h = yes; then
22 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1, 24 AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H_WITH_UINTMAX, 1,
23 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, 25 [Define if <inttypes.h> exists, doesn't clash with <sys/types.h>,
24 and declares uintmax_t. ]) 26 and declares uintmax_t. ])
diff --git a/m4/isc-posix.m4 b/m4/isc-posix.m4
deleted file mode 120000
index 5caa0828..00000000
--- a/m4/isc-posix.m4
+++ /dev/null
@@ -1 +0,0 @@
1/usr/share/aclocal/isc-posix.m4 \ No newline at end of file
diff --git a/m4/lcmessage.m4 b/m4/lcmessage.m4
index 19aa77e4..ffd4008b 100644
--- a/m4/lcmessage.m4
+++ b/m4/lcmessage.m4
@@ -1,8 +1,10 @@
1# lcmessage.m4 serial 4 (gettext-0.14.2) 1# lcmessage.m4 serial 3 (gettext-0.11.3)
2dnl Copyright (C) 1995-2002, 2004-2005 Free Software Foundation, Inc. 2dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6dnl 8dnl
7dnl This file can can be used in projects which are not available under 9dnl This file can can be used in projects which are not available under
8dnl the GNU General Public License or the GNU Library General Public 10dnl the GNU General Public License or the GNU Library General Public
@@ -18,12 +20,12 @@ dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
18 20
19# Check whether LC_MESSAGES is available in <locale.h>. 21# Check whether LC_MESSAGES is available in <locale.h>.
20 22
21AC_DEFUN([gt_LC_MESSAGES], 23AC_DEFUN([AM_LC_MESSAGES],
22[ 24[
23 AC_CACHE_CHECK([for LC_MESSAGES], gt_cv_val_LC_MESSAGES, 25 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
24 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES], 26 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
25 gt_cv_val_LC_MESSAGES=yes, gt_cv_val_LC_MESSAGES=no)]) 27 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
26 if test $gt_cv_val_LC_MESSAGES = yes; then 28 if test $am_cv_val_LC_MESSAGES = yes; then
27 AC_DEFINE(HAVE_LC_MESSAGES, 1, 29 AC_DEFINE(HAVE_LC_MESSAGES, 1,
28 [Define if your <locale.h> file defines LC_MESSAGES.]) 30 [Define if your <locale.h> file defines LC_MESSAGES.])
29 fi 31 fi
diff --git a/m4/lib-ld.m4 b/m4/lib-ld.m4
index 96c4e2c3..38aeaec1 100644
--- a/m4/lib-ld.m4
+++ b/m4/lib-ld.m4
@@ -1,8 +1,10 @@
1# lib-ld.m4 serial 3 (gettext-0.13) 1# lib-ld.m4 serial 3 (gettext-0.13)
2dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. 2dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl Subroutines of libtool.m4, 9dnl Subroutines of libtool.m4,
8dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision 10dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
diff --git a/m4/lib-link.m4 b/m4/lib-link.m4
index ea0b0c4e..eeb200d2 100644
--- a/m4/lib-link.m4
+++ b/m4/lib-link.m4
@@ -1,13 +1,13 @@
1# lib-link.m4 serial 6 (gettext-0.14.3) 1# lib-link.m4 serial 4 (gettext-0.12)
2dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. 2dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8 10
9AC_PREREQ(2.50)
10
11dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and 11dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and
12dnl the libraries corresponding to explicit and implicit dependencies. 12dnl the libraries corresponding to explicit and implicit dependencies.
13dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and 13dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and
@@ -95,8 +95,6 @@ dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator,
95dnl hardcode_direct, hardcode_minus_L. 95dnl hardcode_direct, hardcode_minus_L.
96AC_DEFUN([AC_LIB_RPATH], 96AC_DEFUN([AC_LIB_RPATH],
97[ 97[
98 dnl Tell automake >= 1.10 to complain if config.rpath is missing.
99 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([config.rpath])])
100 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS 98 AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS
101 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld 99 AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld
102 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host 100 AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
@@ -352,7 +350,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
352 if test "X$additional_includedir" = "X/usr/local/include"; then 350 if test "X$additional_includedir" = "X/usr/local/include"; then
353 if test -n "$GCC"; then 351 if test -n "$GCC"; then
354 case $host_os in 352 case $host_os in
355 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 353 linux*) haveit=yes;;
356 esac 354 esac
357 fi 355 fi
358 fi 356 fi
@@ -401,7 +399,7 @@ AC_DEFUN([AC_LIB_LINKFLAGS_BODY],
401 if test "X$additional_libdir" = "X/usr/local/lib"; then 399 if test "X$additional_libdir" = "X/usr/local/lib"; then
402 if test -n "$GCC"; then 400 if test -n "$GCC"; then
403 case $host_os in 401 case $host_os in
404 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 402 linux*) haveit=yes;;
405 esac 403 esac
406 fi 404 fi
407 fi 405 fi
diff --git a/m4/lib-prefix.m4 b/m4/lib-prefix.m4
index 0d895ca6..8aff5a9d 100644
--- a/m4/lib-prefix.m4
+++ b/m4/lib-prefix.m4
@@ -1,8 +1,10 @@
1# lib-prefix.m4 serial 4 (gettext-0.14.2) 1# lib-prefix.m4 serial 3 (gettext-0.13)
2dnl Copyright (C) 2001-2005 Free Software Foundation, Inc. 2dnl Copyright (C) 2001-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8 10
@@ -69,7 +71,7 @@ AC_DEFUN([AC_LIB_PREFIX],
69 if test "X$additional_includedir" = "X/usr/local/include"; then 71 if test "X$additional_includedir" = "X/usr/local/include"; then
70 if test -n "$GCC"; then 72 if test -n "$GCC"; then
71 case $host_os in 73 case $host_os in
72 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 74 linux*) haveit=yes;;
73 esac 75 esac
74 fi 76 fi
75 fi 77 fi
diff --git a/m4/longdouble.m4 b/m4/longdouble.m4
index 40cd7ce0..1333d2f5 100644
--- a/m4/longdouble.m4
+++ b/m4/longdouble.m4
@@ -1,8 +1,10 @@
1# longdouble.m4 serial 1 (gettext-0.12) 1# longdouble.m4 serial 1 (gettext-0.12)
2dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. 2dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8dnl Test whether the compiler supports the 'long double' type. 10dnl Test whether the compiler supports the 'long double' type.
diff --git a/m4/longlong.m4 b/m4/longlong.m4
index 7b399e01..d7d7350b 100644
--- a/m4/longlong.m4
+++ b/m4/longlong.m4
@@ -1,14 +1,16 @@
1# longlong.m4 serial 5 1# longlong.m4 serial 4
2dnl Copyright (C) 1999-2004 Free Software Foundation, Inc. 2dnl Copyright (C) 1999-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Paul Eggert. 9dnl From Paul Eggert.
8 10
9# Define HAVE_LONG_LONG if 'long long' works. 11# Define HAVE_LONG_LONG if 'long long' works.
10 12
11AC_DEFUN([gl_AC_TYPE_LONG_LONG], 13AC_DEFUN([jm_AC_TYPE_LONG_LONG],
12[ 14[
13 AC_CACHE_CHECK([for long long], ac_cv_type_long_long, 15 AC_CACHE_CHECK([for long long], ac_cv_type_long_long,
14 [AC_TRY_LINK([long long ll = 1LL; int i = 63;], 16 [AC_TRY_LINK([long long ll = 1LL; int i = 63;],
diff --git a/m4/nls.m4 b/m4/nls.m4
index 2082c3b2..36bc4931 100644
--- a/m4/nls.m4
+++ b/m4/nls.m4
@@ -1,8 +1,10 @@
1# nls.m4 serial 2 (gettext-0.14.3) 1# nls.m4 serial 1 (gettext-0.12)
2dnl Copyright (C) 1995-2003, 2005 Free Software Foundation, Inc. 2dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6dnl 8dnl
7dnl This file can can be used in projects which are not available under 9dnl This file can can be used in projects which are not available under
8dnl the GNU General Public License or the GNU Library General Public 10dnl the GNU General Public License or the GNU Library General Public
@@ -17,8 +19,6 @@ dnl Authors:
17dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. 19dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
18dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. 20dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
19 21
20AC_PREREQ(2.50)
21
22AC_DEFUN([AM_NLS], 22AC_DEFUN([AM_NLS],
23[ 23[
24 AC_MSG_CHECKING([whether NLS is requested]) 24 AC_MSG_CHECKING([whether NLS is requested])
@@ -32,8 +32,6 @@ AC_DEFUN([AM_NLS],
32 32
33AC_DEFUN([AM_MKINSTALLDIRS], 33AC_DEFUN([AM_MKINSTALLDIRS],
34[ 34[
35 dnl Tell automake >= 1.10 to complain if mkinstalldirs is missing.
36 m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([mkinstalldirs])])
37 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly 35 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
38 dnl find the mkinstalldirs script in another subdir but $(top_srcdir). 36 dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
39 dnl Try to locate it. 37 dnl Try to locate it.
diff --git a/m4/po.m4 b/m4/po.m4
index f2795eea..b8190a50 100644
--- a/m4/po.m4
+++ b/m4/po.m4
@@ -1,8 +1,10 @@
1# po.m4 serial 7 (gettext-0.14.3) 1# po.m4 serial 2 (gettext-0.13)
2dnl Copyright (C) 1995-2005 Free Software Foundation, Inc. 2dnl Copyright (C) 1995-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6dnl 8dnl
7dnl This file can can be used in projects which are not available under 9dnl This file can can be used in projects which are not available under
8dnl the GNU General Public License or the GNU Library General Public 10dnl the GNU General Public License or the GNU Library General Public
@@ -17,8 +19,6 @@ dnl Authors:
17dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. 19dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
18dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. 20dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
19 21
20AC_PREREQ(2.50)
21
22dnl Checks for all prerequisites of the po subdirectory. 22dnl Checks for all prerequisites of the po subdirectory.
23AC_DEFUN([AM_PO_SUBDIRS], 23AC_DEFUN([AM_PO_SUBDIRS],
24[ 24[
@@ -34,7 +34,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
34 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions. 34 dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
35 dnl The second test excludes FreeBSD msgfmt. 35 dnl The second test excludes FreeBSD msgfmt.
36 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, 36 AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
37 [$ac_dir/$ac_word --statistics /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && 37 [$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
38 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], 38 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
39 :) 39 :)
40 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) 40 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
@@ -43,7 +43,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
43 dnl The first test excludes Solaris xgettext and early GNU xgettext versions. 43 dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
44 dnl The second test excludes FreeBSD xgettext. 44 dnl The second test excludes FreeBSD xgettext.
45 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, 45 AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
46 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1 && 46 [$ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
47 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)], 47 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
48 :) 48 :)
49 dnl Remove leftover from FreeBSD xgettext call. 49 dnl Remove leftover from FreeBSD xgettext call.
@@ -51,7 +51,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
51 51
52 dnl Search for GNU msgmerge 0.11 or newer in the PATH. 52 dnl Search for GNU msgmerge 0.11 or newer in the PATH.
53 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge, 53 AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
54 [$ac_dir/$ac_word --update -q /dev/null /dev/null >&]AS_MESSAGE_LOG_FD[ 2>&1], :) 54 [$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
55 55
56 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. 56 dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
57 dnl Test whether we really found GNU msgfmt. 57 dnl Test whether we really found GNU msgfmt.
@@ -106,9 +106,6 @@ AC_DEFUN([AM_PO_SUBDIRS],
106 /*) top_srcdir="$ac_given_srcdir" ;; 106 /*) top_srcdir="$ac_given_srcdir" ;;
107 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 107 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
108 esac 108 esac
109 # Treat a directory as a PO directory if and only if it has a
110 # POTFILES.in file. This allows packages to have multiple PO
111 # directories under different names or in different locations.
112 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 109 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
113 rm -f "$ac_dir/POTFILES" 110 rm -f "$ac_dir/POTFILES"
114 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 111 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
@@ -122,7 +119,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
122 if test -n "$OBSOLETE_ALL_LINGUAS"; then 119 if test -n "$OBSOLETE_ALL_LINGUAS"; then
123 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 120 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
124 fi 121 fi
125 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 122 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
126 # Hide the ALL_LINGUAS assigment from automake. 123 # Hide the ALL_LINGUAS assigment from automake.
127 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 124 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
128 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 125 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
@@ -301,7 +298,7 @@ changequote([,])dnl
301 fi 298 fi
302 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 299 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
303 # The LINGUAS file contains the set of available languages. 300 # The LINGUAS file contains the set of available languages.
304 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 301 ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
305 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 302 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
306 else 303 else
307 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS. 304 # Set ALL_LINGUAS to the value of the Makefile variable LINGUAS.
@@ -326,8 +323,6 @@ changequote([,])dnl
326 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm) 323 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).qm)
327 # Compute MSGFILES 324 # Compute MSGFILES
328 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg) 325 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang)).msg)
329 # Compute RESOURCESDLLFILES
330 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(frob $(lang))/$(DOMAIN).resources.dll)
331 case "$ac_given_srcdir" in 326 case "$ac_given_srcdir" in
332 .) srcdirpre= ;; 327 .) srcdirpre= ;;
333 *) srcdirpre='$(srcdir)/' ;; 328 *) srcdirpre='$(srcdir)/' ;;
@@ -340,7 +335,6 @@ changequote([,])dnl
340 CLASSFILES= 335 CLASSFILES=
341 QMFILES= 336 QMFILES=
342 MSGFILES= 337 MSGFILES=
343 RESOURCESDLLFILES=
344 for lang in $ALL_LINGUAS; do 338 for lang in $ALL_LINGUAS; do
345 POFILES="$POFILES $srcdirpre$lang.po" 339 POFILES="$POFILES $srcdirpre$lang.po"
346 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 340 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
@@ -351,8 +345,6 @@ changequote([,])dnl
351 QMFILES="$QMFILES $srcdirpre$lang.qm" 345 QMFILES="$QMFILES $srcdirpre$lang.qm"
352 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 346 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
353 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg" 347 MSGFILES="$MSGFILES $srcdirpre$frobbedlang.msg"
354 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
355 RESOURCESDLLFILES="$RESOURCESDLLFILES $srcdirpre$frobbedlang/\$(DOMAIN).resources.dll"
356 done 348 done
357 # CATALOGS depends on both $ac_dir and the user's LINGUAS 349 # CATALOGS depends on both $ac_dir and the user's LINGUAS
358 # environment variable. 350 # environment variable.
@@ -384,7 +376,6 @@ changequote([,])dnl
384 JAVACATALOGS= 376 JAVACATALOGS=
385 QTCATALOGS= 377 QTCATALOGS=
386 TCLCATALOGS= 378 TCLCATALOGS=
387 CSHARPCATALOGS=
388 if test -n "$INST_LINGUAS"; then 379 if test -n "$INST_LINGUAS"; then
389 for lang in $INST_LINGUAS; do 380 for lang in $INST_LINGUAS; do
390 CATALOGS="$CATALOGS $lang.gmo" 381 CATALOGS="$CATALOGS $lang.gmo"
@@ -392,12 +383,10 @@ changequote([,])dnl
392 QTCATALOGS="$QTCATALOGS $lang.qm" 383 QTCATALOGS="$QTCATALOGS $lang.qm"
393 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'` 384 frobbedlang=`echo $lang | sed -e 's/\..*$//' -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
394 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg" 385 TCLCATALOGS="$TCLCATALOGS $frobbedlang.msg"
395 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
396 CSHARPCATALOGS="$CSHARPCATALOGS $frobbedlang/\$(DOMAIN).resources.dll"
397 done 386 done
398 fi 387 fi
399 388
400 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp" 389 sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
401 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then 390 if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
402 # Add dependencies that cannot be formulated as a simple suffix rule. 391 # Add dependencies that cannot be formulated as a simple suffix rule.
403 for lang in $ALL_LINGUAS; do 392 for lang in $ALL_LINGUAS; do
@@ -409,17 +398,6 @@ $frobbedlang.msg: $lang.po
409EOF 398EOF
410 done 399 done
411 fi 400 fi
412 if grep -l '@CSHARPCATALOGS@' "$ac_file" > /dev/null; then
413 # Add dependencies that cannot be formulated as a simple suffix rule.
414 for lang in $ALL_LINGUAS; do
415 frobbedlang=`echo $lang | sed -e 's/_/-/g' -e 's/^sr-CS/sr-SP/' -e 's/@latin$/-Latn/' -e 's/@cyrillic$/-Cyrl/' -e 's/^sr-SP$/sr-SP-Latn/' -e 's/^uz-UZ$/uz-UZ-Latn/'`
416 cat >> "$ac_file.tmp" <<EOF
417$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
418 @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
419 \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
420EOF
421 done
422 fi
423 if test -n "$POMAKEFILEDEPS"; then 401 if test -n "$POMAKEFILEDEPS"; then
424 cat >> "$ac_file.tmp" <<EOF 402 cat >> "$ac_file.tmp" <<EOF
425Makefile: $POMAKEFILEDEPS 403Makefile: $POMAKEFILEDEPS
diff --git a/m4/printf-posix.m4 b/m4/printf-posix.m4
index af10170a..cd6e40b5 100644
--- a/m4/printf-posix.m4
+++ b/m4/printf-posix.m4
@@ -1,8 +1,10 @@
1# printf-posix.m4 serial 2 (gettext-0.13.1) 1# printf-posix.m4 serial 1 (gettext-0.13)
2dnl Copyright (C) 2003 Free Software Foundation, Inc. 2dnl Copyright (C) 2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8dnl Test whether the printf() function supports POSIX/XSI format strings with 10dnl Test whether the printf() function supports POSIX/XSI format strings with
@@ -28,7 +30,7 @@ int main ()
28}], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no, 30}], gt_cv_func_printf_posix=yes, gt_cv_func_printf_posix=no,
29 [ 31 [
30 AC_EGREP_CPP(notposix, [ 32 AC_EGREP_CPP(notposix, [
31#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ 33#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__
32 notposix 34 notposix
33#endif 35#endif
34 ], gt_cv_func_printf_posix="guessing no", 36 ], gt_cv_func_printf_posix="guessing no",
diff --git a/m4/progtest.m4 b/m4/progtest.m4
index a56365cd..8fe527ce 100644
--- a/m4/progtest.m4
+++ b/m4/progtest.m4
@@ -1,8 +1,10 @@
1# progtest.m4 serial 4 (gettext-0.14.2) 1# progtest.m4 serial 3 (gettext-0.12)
2dnl Copyright (C) 1996-2003, 2005 Free Software Foundation, Inc. 2dnl Copyright (C) 1996-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6dnl 8dnl
7dnl This file can can be used in projects which are not available under 9dnl This file can can be used in projects which are not available under
8dnl the GNU General Public License or the GNU Library General Public 10dnl the GNU General Public License or the GNU Library General Public
@@ -16,8 +18,6 @@ dnl They are *not* in the public domain.
16dnl Authors: 18dnl Authors:
17dnl Ulrich Drepper <drepper@cygnus.com>, 1996. 19dnl Ulrich Drepper <drepper@cygnus.com>, 1996.
18 20
19AC_PREREQ(2.50)
20
21# Search path for a program which passes the given test. 21# Search path for a program which passes the given test.
22 22
23dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, 23dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
@@ -67,7 +67,6 @@ AC_CACHE_VAL(ac_cv_path_$1,
67 test -z "$ac_dir" && ac_dir=. 67 test -z "$ac_dir" && ac_dir=.
68 for ac_exec_ext in '' $ac_executable_extensions; do 68 for ac_exec_ext in '' $ac_executable_extensions; do
69 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 69 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
70 echo "$as_me: trying $ac_dir/$ac_word..." >&AS_MESSAGE_LOG_FD
71 if [$3]; then 70 if [$3]; then
72 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext" 71 ac_cv_path_$1="$ac_dir/$ac_word$ac_exec_ext"
73 break 2 72 break 2
diff --git a/m4/signed.m4 b/m4/signed.m4
index 048f5936..dc1f54f1 100644
--- a/m4/signed.m4
+++ b/m4/signed.m4
@@ -1,8 +1,10 @@
1# signed.m4 serial 1 (gettext-0.10.40) 1# signed.m4 serial 1 (gettext-0.10.40)
2dnl Copyright (C) 2001-2002 Free Software Foundation, Inc. 2dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8 10
diff --git a/m4/size_max.m4 b/m4/size_max.m4
index 4fe81c7b..5762fc33 100644
--- a/m4/size_max.m4
+++ b/m4/size_max.m4
@@ -1,8 +1,10 @@
1# size_max.m4 serial 2 1# size_max.m4 serial 2
2dnl Copyright (C) 2003 Free Software Foundation, Inc. 2dnl Copyright (C) 2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8 10
diff --git a/m4/stdint_h.m4 b/m4/stdint_h.m4
index 3355f35a..32ba7ae7 100644
--- a/m4/stdint_h.m4
+++ b/m4/stdint_h.m4
@@ -1,24 +1,26 @@
1# stdint_h.m4 serial 5 1# stdint_h.m4 serial 3 (gettext-0.12)
2dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. 2dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Paul Eggert. 9dnl From Paul Eggert.
8 10
9# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists, 11# Define HAVE_STDINT_H_WITH_UINTMAX if <stdint.h> exists,
10# doesn't clash with <sys/types.h>, and declares uintmax_t. 12# doesn't clash with <sys/types.h>, and declares uintmax_t.
11 13
12AC_DEFUN([gl_AC_HEADER_STDINT_H], 14AC_DEFUN([jm_AC_HEADER_STDINT_H],
13[ 15[
14 AC_CACHE_CHECK([for stdint.h], gl_cv_header_stdint_h, 16 AC_CACHE_CHECK([for stdint.h], jm_ac_cv_header_stdint_h,
15 [AC_TRY_COMPILE( 17 [AC_TRY_COMPILE(
16 [#include <sys/types.h> 18 [#include <sys/types.h>
17#include <stdint.h>], 19#include <stdint.h>],
18 [uintmax_t i = (uintmax_t) -1;], 20 [uintmax_t i = (uintmax_t) -1;],
19 gl_cv_header_stdint_h=yes, 21 jm_ac_cv_header_stdint_h=yes,
20 gl_cv_header_stdint_h=no)]) 22 jm_ac_cv_header_stdint_h=no)])
21 if test $gl_cv_header_stdint_h = yes; then 23 if test $jm_ac_cv_header_stdint_h = yes; then
22 AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1, 24 AC_DEFINE_UNQUOTED(HAVE_STDINT_H_WITH_UINTMAX, 1,
23 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>, 25 [Define if <stdint.h> exists, doesn't clash with <sys/types.h>,
24 and declares uintmax_t. ]) 26 and declares uintmax_t. ])
diff --git a/m4/uintmax_t.m4 b/m4/uintmax_t.m4
index bf83ed74..b5f28d44 100644
--- a/m4/uintmax_t.m4
+++ b/m4/uintmax_t.m4
@@ -1,8 +1,10 @@
1# uintmax_t.m4 serial 9 1# uintmax_t.m4 serial 7 (gettext-0.12)
2dnl Copyright (C) 1997-2004 Free Software Foundation, Inc. 2dnl Copyright (C) 1997-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Paul Eggert. 9dnl From Paul Eggert.
8 10
@@ -11,12 +13,12 @@ AC_PREREQ(2.13)
11# Define uintmax_t to 'unsigned long' or 'unsigned long long' 13# Define uintmax_t to 'unsigned long' or 'unsigned long long'
12# if it is not already defined in <stdint.h> or <inttypes.h>. 14# if it is not already defined in <stdint.h> or <inttypes.h>.
13 15
14AC_DEFUN([gl_AC_TYPE_UINTMAX_T], 16AC_DEFUN([jm_AC_TYPE_UINTMAX_T],
15[ 17[
16 AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) 18 AC_REQUIRE([jm_AC_HEADER_INTTYPES_H])
17 AC_REQUIRE([gl_AC_HEADER_STDINT_H]) 19 AC_REQUIRE([jm_AC_HEADER_STDINT_H])
18 if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then 20 if test $jm_ac_cv_header_inttypes_h = no && test $jm_ac_cv_header_stdint_h = no; then
19 AC_REQUIRE([gl_AC_TYPE_UNSIGNED_LONG_LONG]) 21 AC_REQUIRE([jm_AC_TYPE_UNSIGNED_LONG_LONG])
20 test $ac_cv_type_unsigned_long_long = yes \ 22 test $ac_cv_type_unsigned_long_long = yes \
21 && ac_type='unsigned long long' \ 23 && ac_type='unsigned long long' \
22 || ac_type='unsigned long' 24 || ac_type='unsigned long'
diff --git a/m4/ulonglong.m4 b/m4/ulonglong.m4
index dee10ccc..1da8b809 100644
--- a/m4/ulonglong.m4
+++ b/m4/ulonglong.m4
@@ -1,14 +1,16 @@
1# ulonglong.m4 serial 4 1# ulonglong.m4 serial 3
2dnl Copyright (C) 1999-2004 Free Software Foundation, Inc. 2dnl Copyright (C) 1999-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Paul Eggert. 9dnl From Paul Eggert.
8 10
9# Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works. 11# Define HAVE_UNSIGNED_LONG_LONG if 'unsigned long long' works.
10 12
11AC_DEFUN([gl_AC_TYPE_UNSIGNED_LONG_LONG], 13AC_DEFUN([jm_AC_TYPE_UNSIGNED_LONG_LONG],
12[ 14[
13 AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long, 15 AC_CACHE_CHECK([for unsigned long long], ac_cv_type_unsigned_long_long,
14 [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;], 16 [AC_TRY_LINK([unsigned long long ull = 1ULL; int i = 63;],
diff --git a/m4/wchar_t.m4 b/m4/wchar_t.m4
index cde2129a..d8fd1ec5 100644
--- a/m4/wchar_t.m4
+++ b/m4/wchar_t.m4
@@ -1,8 +1,10 @@
1# wchar_t.m4 serial 1 (gettext-0.12) 1# wchar_t.m4 serial 1 (gettext-0.12)
2dnl Copyright (C) 2002-2003 Free Software Foundation, Inc. 2dnl Copyright (C) 2002-2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8dnl Test whether <stddef.h> has the 'wchar_t' type. 10dnl Test whether <stddef.h> has the 'wchar_t' type.
diff --git a/m4/wint_t.m4 b/m4/wint_t.m4
index b8fff9c8..3d8d2159 100644
--- a/m4/wint_t.m4
+++ b/m4/wint_t.m4
@@ -1,8 +1,10 @@
1# wint_t.m4 serial 1 (gettext-0.12) 1# wint_t.m4 serial 1 (gettext-0.12)
2dnl Copyright (C) 2003 Free Software Foundation, Inc. 2dnl Copyright (C) 2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7dnl From Bruno Haible. 9dnl From Bruno Haible.
8dnl Test whether <wchar.h> has the 'wint_t' type. 10dnl Test whether <wchar.h> has the 'wint_t' type.
diff --git a/m4/xsize.m4 b/m4/xsize.m4
index 85bb721e..9b7cf9b4 100644
--- a/m4/xsize.m4
+++ b/m4/xsize.m4
@@ -1,13 +1,14 @@
1# xsize.m4 serial 3 1# xsize.m4 serial 2
2dnl Copyright (C) 2003-2004 Free Software Foundation, Inc. 2dnl Copyright (C) 2003 Free Software Foundation, Inc.
3dnl This file is free software; the Free Software Foundation 3dnl This file is free software, distributed under the terms of the GNU
4dnl gives unlimited permission to copy and/or distribute it, 4dnl General Public License. As a special exception to the GNU General
5dnl with or without modifications, as long as this notice is preserved. 5dnl Public License, this file may be distributed as part of a program
6dnl that contains a configuration script generated by Autoconf, under
7dnl the same distribution terms as the rest of that program.
6 8
7AC_DEFUN([gl_XSIZE], 9AC_DEFUN([gl_XSIZE],
8[ 10[
9 dnl Prerequisites of lib/xsize.h. 11 dnl Prerequisites of lib/xsize.h.
10 AC_REQUIRE([gl_SIZE_MAX]) 12 AC_REQUIRE([gl_SIZE_MAX])
11 AC_REQUIRE([AC_C_INLINE])
12 AC_CHECK_HEADERS(stdint.h) 13 AC_CHECK_HEADERS(stdint.h)
13]) 14])