2006-10-26 Bruno Haible * gettext-0.16 released. 2006-10-19 Bruno Haible * size_max.m4 (gl_SIZE_MAX): Cache the result. 2006-10-15 Bruno Haible * gettext.m4 (AM_GNU_GETTEXT): Don't use 'eval' on commands, only on variable assignments. Fixes bug introduced on 2006-10-01. 2006-10-11 Bruno Haible * intl.m4 (AM_INTL_SUBDIR): Invoke AC_TYPE_LONG_LONG_INT instead of gl_AC_TYPE_LONG_LONG. 2006-10-11 Bruno Haible * longlong.m4: Add comments. * ulonglong.m4: Likewise. 2006-08-22 Eric Blake * longlong.m4 (AC_TYPE_LONG_LONG_INT): Avoid compiler warning. 2006-07-01 Paul Eggert * longlong.m4 (AC_TYPE_LONG_LONG_INT): Backport from Autoconf 2.60, but fix a bug, by requiring at least 64 bits. * ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise. * longlong.m4 (gl_AC_TYPE_LONG_LONG): Now just call AC_TYPE_LONG_LONG_INT. This macro is obsolete and will go soon. * ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG) Likewise. 2006-10-01 Bruno Haible Make it possible to invoke AC_GNU_SOURCE after gl_LOCK_EARLY. * lock.m4 (gl_LOCK_EARLY_BODY): New macro, extracted code from gl_LOCK_BODY. (gl_LOCK_EARLY): Require gl_LOCK_EARLY_BODY, not gl_LOCK_BODY. (gl_LOCK_BODY): Remove settings of CPPFLAGS, now done in gl_LOCK_EARLY_BODY. (gl_LOCK): Require gl_LOCK_BODY. 2006-10-01 Bruno Haible * gettext.m4 (gt_NEEDS_INIT, AM_GNU_GETTEXT_NEED): New macros. (AM_GNU_GETTEXT): Invoke them. Convert gt_api_version, gt_cv_func_gnugettext_libc, gt_cv_func_gnugettext_libintl from m4-time variables to sh-time variables. 2006-10-01 Bruno Haible * intldir.m4: New file. * gettext.m4 (AM_GNU_GETTEXT): Define gt_included_intl to yes if AM_GNU_GETTEXT_INTL_SUBDIR is present among the macros selected by aclocal. * Makefile.am (EXTRA_DIST): Add intl.m4, intldir.m4. 2006-09-28 Ralf Wildenhues * intmax.m4 (gt_TYPE_INTMAX_T): Avoid unused variables warning. 2006-09-22 Ralf Wildenhues * lock.m4 (gl_LOCK_BODY): Avoid unused variables warning. 2006-09-18 Bruno Haible Assume autoconf-2.52 or newer. * inttypes-h.m4: Remove file. * inttypes-pri.m4: Require autoconf >= 2.52. (gt_INTTYPES_PRI): Invoke AC_CHECK_HEADERS on inttypes.h. Test ac_cv_header_inttypes_h instead of gl_cv_header_inttypes_h. * intl.m4: Require autoconf >= 2.52. (gt_INTL_SUBDIR_CORE): Invoke AC_CHECK_HEADERS on inttypes.h. * Makefile.am (EXTRA_DIST): Remove inttypes-h.m4. 2006-09-11 Bruno Haible * intl.m4: New file, extracted from gettext.m4. * gettext.m4 (AM_INTL_SUBDIR, gt_INTL_SUBDIR_CORE, gt_CHECK_DECL): Move out to intl.m4. 2006-08-26 Bruno Haible * inttypes-pri.m4 (gt_INTTYPES_PRI): Also AC_SUBST PRI_MACROS_BROKEN. 2006-08-28 Bruno Haible * signed.m4: Remove file. * gettext.m4 (AM_INTL_SUBDIR): Remove bh_C_SIGNED invocation. * Makefile.am (EXTRA_DIST): Remove signed.m4. 2006-08-22 Eric Blake * stdint_h.m4 (gl_AC_HEADER_STDINT_H): Avoid compiler warning. * inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise. * codeset.m4 (AM_LANGINFO_CODESET): Likewise. 2006-08-23 Bruno Haible * lock.m4 (gl_LOCK_EARLY): Renamed from gl_LOCK. (gl_LOCK_BODY): Remove gl_PREREQ_LOCK invocation. (gl_LOCK): New macro. 2006-08-18 Bruno Haible * lock.m4 (gl_LOCK_BODY): Change the default value of gl_use_threads on OSF/1 to no. Reported by Stephen Cartwright . 2006-07-21 Bruno Haible * gettext-0.15 released. 2006-06-27 Bruno Haible * isc-posix.m4: Remove file. * Makefile.am (EXTRA_DIST): Remove it. * gettext.m4 (AM_INTL_SUBDIR): Remove AC_ISC_POSIX invocation. 2006-06-27 Bruno Haible Assume working 'const'. * gettext.m4 (gt_INTL_SUBDIR_CORE): Remove AC_C_CONST invocation. 2006-06-15 Bruno Haible * size_max.m4 (gl_SIZE_MAX): Make it work also when cross-compiling. 2005-07-10 Bruno Haible * size_max.m4 (gl_SIZE_MAX): Cast ~(size_t)0 back to size_t. Needed when size_t is smaller than 'unsigned int'. Reported by Paul Eggert. 2006-01-08 Bruno Haible Ensure automatic ordering between gl_LOCK and gl_ARGP. * lock.m4 (gl_LOCK_BODY): Renamed from gl_LOCK. (gl_LOCK): New macro, requiring gl_LOCK_BODY. 2006-06-23 Bruno Haible * gettext.m4 (gt_INTL_SUBDIR_CORE): Check for argz_* functions, not __argz*. Avoids warnings on Cygwin. Reported by Eric Blake. 2006-06-17 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Don't redefine __libc_rwlock_* symbols. 2006-06-17 Bruno Haible * po.m4 (AM_POSTPROCESS_PO_MAKEFILE): Remove double-quotes around backquoted expression in assignment. Fixes a problem with NetBSD /bin/sh. 2006-06-04 Bruno Haible * inttypes-h.m4: Renamed from inttypes.m4. (gl_HEADER_INTTYPES_H): Renamed from gt_HEADER_INTTYPES_H. * inttypes-pri.m4 (gt_INTTYPES_PRI): Update. * gettext.m4 (gt_INTL_SUBDIR_CORE): Update. * Makefile.am (EXTRA_DIST): Update. 2006-05-15 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Set variable WOE32DLL instead of CYGWINDLL. 2006-05-11 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Set variable CYGWINDLL. 2006-05-07 Bruno Haible * gettext.m4 (gt_INTL_SUBDIR_CORE): Fix test of __builtin_expect so that it works correctly with non-gcc compilers. 2006-04-17 Bruno Haible * nls.m4 (AM_MKINSTALLDIRS): Remove macro. * gettext.m4 (AM_INTL_SUBDIR): Require AM_PROG_MKDIR_P instead of AM_MKINSTALLDIRS. * po.m4 (AM_PO_SUBDIRS): Likewise. 2006-04-14 Bruno Haible Prepare for autoconf-2.60. * po.m4 (AM_PO_SUBDIRS): Set localedir if not already defined. 2006-02-21 Bruno Haible * gettext.m4 (AM_GNU_GETTEXT): Invoke AM_NLS through AC_REQUIRE, not directly. Reported by Ron Lee . 2005-11-21 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Invoke gt_LC_MESSAGES always, since we assume that always exists. Fixes bug introduced on 2005-08-28. 2005-10-18 Bruno Haible * po.m4 (AM_PO_SUBDIRS): Also define MSGFMT_015, GMSGFMT_015, XGETTEXT_015. 2005-10-18 Bruno Haible * po.m4 (AM_PO_SUBDIRS): Remove redundant checks. 2005-08-28 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Remove AC_HEADER_STDC, AC_TYPE_OFF_T tests. Remove tests for locale.h, nl_types.h, malloc.h. (gt_INTL_SUBDIR_CORE): Add test for __builtin_expect. 2005-08-28 Bruno Haible * gettext.m4 (gt_INTL_SUBDIR_CORE): New macro, extracted from AM_INTL_SUBDIR. (AM_INTL_SUBDIR): Require it. 2005-08-15 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Fix test for NL_LOCALE_NAME macro. 2005-07-28 Stepan Kasal * gettext.m4 (AM_GNU_GETTEXT): Don't use changequote, add pairs of brackets instead. 2005-07-28 Bruno Haible * po.m4 (AM_PO_SUBDIRS, AM_POSTPROCESS_PO_MAKEFILE): Update comments regarding automake. Suggested by Stepan Kasal . 2005-07-24 Bruno Haible Tidy up exported symbols. * gettext.m4 (AM_INTL_SUBDIR): Require gl_VISIBILITY. * visibility.m4: New file. * Makefile.am (EXTRA_DIST): Add it. 2005-07-26 Bruno Haible * lock.m4 (gl_LOCK): On OSF/1 with cc, use -D_REENTRANT, not -pthread. 2005-07-26 Bruno Haible * lock.m4 (gl_LOCK): Add some ordering constraints. 2005-07-25 Bruno Haible * lock.m4 (gl_LOCK): On Solaris and HP-UX, define PTHREAD_IN_USE_DETECTION_HARD. * gettext.m4 (AM_INTL_SUBDIR): Also hide the glthread_in_use function. 2005-07-22 Bruno Haible * lock.m4 (gl_LOCK): Stronger test for pthread functions in libc, so that the result on IRIX 6.5 is no. 2005-07-16 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Also hide the glthread_once* functions. 2005-07-16 Bruno Haible * lock.m4: New file. * gettext.m4 (AM_INTL_SUBDIR): Remove multithreading checks. Instead require gl_LOCK and define __libc_lock_*, __libc_rwlock_*, __libc_lock_*recursive*, glthread_* as macros. * Makefile.am (EXTRA_DIST): Add lock.m4. 2005-05-05 Bruno Haible * gettext.m4 (AM_GNU_GETTEXT): Add LIBTHREAD to LIBINTL and LTLIBTHREAD to LTLIBINTL. (AM_INTL_SUBDIR): Check for thread library. Set LIBTHREAD, LTLIBTHREAD. 2005-03-13 Bruno Haible * po.m4 (AM_PO_SUBDIRS): Use AC_CONFIG_COMMANDS instead of AC_OUTPUT_COMMANDS. Suggested by Alexandre Duret-Lutz . 2005-04-30 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Remove CPPFLAGS addition for CoreFoundation on MacOS X. (gt_INTL_MACOSX): Likewise. Use #include syntax. It's a special Apple syntax implemented in the C compiler, but since already uses it, all compilers usable on MacOS X must support it. In LIBS, use -Wl prefix for -framework option. 2005-05-03 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Also test for NL_LOCALE_NAME macro. 2006-06-21 Bruno Haible * gettext-0.14.6 released. 2005-05-23 Bruno Haible * gettext-0.14.5 released. 2005-04-11 Bruno Haible * gettext-0.14.4 released. 2005-04-06 Bruno Haible * gettext.m4 (AM_GNU_GETTEXT): Don't use a cast from 'char *' to 'int', since it's not valid in C++ on 64-bit machines. Reported by Mads Martin Joergensen . 2005-03-14 Bruno Haible * gettext-0.14.3 released. 2005-03-12 Bruno Haible * po.m4 (AM_PO_SUBDIRS, AM_POSTPROCESS_PO_MAKEFILE): In the LINGUAS file, ignore also comments that don't start in column 0. 2005-03-12 Bruno Haible * gettext.m4 (AM_GNU_GETTEXT): Fix quoting bug. Fixes an endless loop of 'aclocal' when a configure.ac contains two invocations of AM_GNU_GETTEXT. 2005-03-11 Bruno Haible * gettext.m4 (AM_GNU_GETTEXT): CATOBJEXT and INTLOBJS default to empty. Reported by Stepan Kasal . 2005-03-07 Bruno Haible * po.m4: Add comments. 2005-03-05 Bruno Haible * nls.m4: Require autoconf >= 2.50. (AM_MKINSTALLDIRS): Use AC_REQUIRE_AUX_FILE conditionally. 2005-02-24 Bruno Haible * gettext-0.14.2 released. 2005-01-29 Bruno Haible * gettext.m4 (gt_INTL_MACOSX): New macro, extracted from AM_INTL_SUBDIR. Set INTL_MACOSX_LIBS instead of INTL_MACOSX_LDFLAGS. (AM_GNU_GETTEXT): Invoke it. Add the INTL_MACOSX_LIBS contents to LIBINTL and LTLIBINTL. (AM_INTL_SUBDIR): Require gt_INTL_MACOSX. 2005-01-19 Bruno Haible * ansi-c++.m4, codeset.m4, gettext.m4, glibc21.m4, glibc2.m4, iconv.m4: * intdiv0.m4, intmax.m4, inttypes_h.m4, inttypes.m4, inttypes-pri.m4: * isc-posix.m4, lcmessage.m4, longdouble.m4, longlong.m4, nls.m4: * po.m4, printf-posix.m4, progtest.m4, signed.m4, size_max.m4: * stdint_h.m4, uintmax_t.m4, ulonglong.m4, wchar_t.m4, wint_t.m4: * xsize.m4: Use an all-permissive copyright notice, recommended by RMS. 2005-01-10 Bruno Haible * gettext.m4 (AM_GNU_GETTEXT): Declare _nl_expand_alias with an argument. Reported by Mark A. Wicks and Vaclav Haisman . 2005-01-08 Bruno Haible * progtest.m4: Require autoconf >= 2.50. (AM_PATH_PROG_WITH_TEST): Emit some traces to the log file. * po.m4: Require autoconf >= 2.50. (AM_PO_SUBDIRS): Emit the tested program's output to the log file. Suggested by Yann Dirson . 2004-06-01 Paul Eggert * longlong.m4, ulonglong.m4: Fix copyright date and/or serial number. 2004-09-05 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Test for CFPreferencesCopyAppValue. 2004-09-03 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Add a test for CFLocaleCopyCurrent. 2004-05-16 Bruno Haible * lcmessage.m4 (gt_LC_MESSAGES): Renamed from AM_LC_MESSAGES. * gettext.m4 (AM_INTL_SUBDIR): Update. Suggested by Alexandre Duret-Lutz. 2004-04-19 Bruno Haible * gettext.m4: Change jm_ to gl_ in AC_DEFINE'd names. Update all uses. 2004-04-19 Bruno Haible * inttypes_h.m4: Change jm_ to gl_ in cache variables as well. * stdint_h.m4: Likewise. * uintmax_t.m4: Likewise. 2004-04-18 Jim Meyering * glibc21.m4: Change jm_ to gl_ in AC_DEFINE'd names. Update all uses. * intmax.m4: Likewise. * inttypes_h.m4: Likewise. * longlong.m4: Likewise. * stdint_h.m4: Likewise. * uintmax_t.m4: Likewise. * ulonglong.m4: Likewise. 2004-03-02 Bruno Haible * po.m4 (AM_POSTPROCESS_PO_MAKEFILE): For RESOURCESDLLFILES and CSHARPCATALOGS, extend the lang -> frobbedlang mapping so as to support Serbian and Uzbek locales. 2004-02-18 Bruno Haible * xsize.m4 (gl_XSIZE): Require AC_C_INLINE. Reported by Derek Robert Price . 2004-02-02 Bruno Haible * glibc2.m4: New file. * gettext.m4 (AM_INTL_SUBDIR): Require gt_GLIBC2. * Makefile.am (EXTRA_DIST): Add glibc2.m4. 2004-01-29 Bruno Haible * gettext-0.14.1 released. 2004-01-28 Bruno Haible * gettext-0.14 released. 2003-12-26 Bruno Haible Support for C#. * po.m4 (AM_POSTPROCESS_PO_MAKEFILE): Substitute also the variables RESOURCESDLLFILES and CSHARPCATALOGS. Add rules for each member of CSHARPCATALOGS. 2003-12-17 Bruno Haible * gettext-0.13.1 released. 2003-12-16 Bruno Haible * printf-posix.m4 (gt_PRINTF_POSIX): Guess correctly when cross- compiling to Cygwin. 2003-11-30 Bruno Haible * gettext-0.13 released. 2003-11-23 Bruno Haible * ssize_t.m4: Remove file, moved to ../../gettext-tools/m4/. * gettext.m4 (AM_INTL_SUBDIR): Don't require gt_TYPE_SSIZE_T. * Makefile.am (EXTRA_DIST): Remove ssize_t.m4. 2003-11-19 Bruno Haible * size_max.m4 (gl_SIZE_MAX): Don't use the _ONCE macros here. 2003-11-16 Bruno Haible * size_max.m4: New file, moved here from ../../gettext-tools/m4/. * ssize_t.m4: New file, moved here from ../../gettext-tools/m4/. * xsize.m4: New file, moved here from ../../gettext-tools/m4/. * gettext.m4 (AM_INTL_SUBDIR): Require gt_TYPE_SSIZE_T, gl_XSIZE. Improve ptrdiff_t test. * Makefile.am (EXTRA_DIST): Add size_max.m4, ssize_t.m4, xsize.m4. 2003-11-09 Bruno Haible * po.m4 (AM_POSTPROCESS_PO_MAKEFILE): New macro. 2003-09-17 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Test for fwprintf, not wprintf. Needed because cygwin-1.3.22 has a broken definition of wprintf in winsup/cygwin/syscalls.cc and lacks 1. the declaration of this function and 2. the other wide-char I/O functions fwprintf, fwscanf, wprintf, wscanf, swprintf, swscanf, vfwprintf, vwprintf, vwsprintf, fgetwc, fgetwc, fputwc, fputws, getwc, getwchar, putwc, putwchar, ungetwc. 2003-08-29 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Test whether _snprintf and _snwprintf are declared, not only existent as functions. 2003-08-24 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Also check for _snprintf, _snwprintf. 2003-08-11 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Also check for wcslen. 2003-06-27 Bruno Haible Avoid use of *_unlocked functions on Solaris 2.5.1. * gettext.m4 (AM_INTL_SUBDIR): Don't test for the functions feof_unlocked, fgets_unlocked, getc_unlocked. Test for their declaration instead. (gt_CHECK_DECL): New macro. Reported by Eric Botcazou . 2003-06-19 Bruno Haible * printf-posix.m4: New file. * Makefile.am (EXTRA_DIST): Add printf-posix.m4. * gettext.m4 (AM_INTL_SUBDIR): Require bh_C_SIGNED, jm_AC_TYPE_LONG_LONG, gt_TYPE_LONGDOUBLE, gt_TYPE_WCHAR_T, gt_TYPE_WINT_T, jm_AC_HEADER_INTTYPES_H, jm_AC_HEADER_STDINT_H, gt_TYPE_INTMAX_T, gt_PRINTF_POSIX. Check for ptrdiff_t, asprintf, snprintf, wprintf. * longlong.m4: Update from gnulib. (jm_AC_TYPE_LONG_LONG): Replaces gt_TYPE_LONGLONG. 2003-01-11 Bruno Haible * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Also test the ULL suffix. 2003-05-22 Bruno Haible * gettext-0.12.1 released. 2003-05-17 Bruno Haible * gettext-0.12 released. 2003-04-29 Bruno Haible * nls.m4: New file, extracted from gettext.m4. * po.m4: New file, extracted from gettext.m4. * gettext.m4 (AM_GNU_GETTEXT): Use AM_NLS. (AM_PO_SUBDIRS, AM_MKINSTALLDIRS): Remove macros. * Makefile.am (EXTRA_DIST): Add them. 2003-03-16 Bruno Haible * gettext.m4 (AM_INTL_SUBDIR): Also test for __fsetlocking. 2003-02-28 Bruno Haible * error.m4: Remove file. Use ../../gettext-tools/m4/error.m4 instead. * Makefile.am (EXTRA_DIST): Remove it. 2003-02-28 Bruno Haible * gettext.m4 (AM_MKINSTALLDIRS): Fix MKINSTALLDIRS for when AC_AUX_DIR is given and $srcdir is a relative directory. 2003-02-16 Bruno Haible * gettext.m4 (AM_PO_SUBDIRS): Require an xgettext that supports the --msgid-bugs-address option. 2003-02-16 Bruno Haible * gettext.m4 (AM_GNU_GETTEXT): Move INTLOBJS to backward compatibility section. 2003-02-12 Bruno Haible Restructure gettext package. * ansi-c++.m4: New file. * gettext.m4 (AM_GNU_GETTEXT): Special case the packages 'gettext-runtime' and 'gettext-tools'. * Makefile.am: New file.