From: Bruno Haible Date: Wed, 25 Oct 2006 11:44:15 +0000 (+0000) Subject: Check for wcscoll. X-Git-Tag: 0.16.x-branchpoint~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fcb497bea9435efdd1f28cba346dbdfcc5868e1;p=thirdparty%2Fgettext.git Check for wcscoll. --- diff --git a/gettext-tools/m4/ChangeLog b/gettext-tools/m4/ChangeLog index 3ddf136b1..809fd2f54 100644 --- a/gettext-tools/m4/ChangeLog +++ b/gettext-tools/m4/ChangeLog @@ -2,6 +2,12 @@ * gettext-0.16 released. +2006-10-25 Bruno Haible + + * libgrep.m4 (gt_LIBGREP): Also check for wcscoll. Needed for + Linux libc5.4.33. + Reported by Alain Guibert . + 2006-10-23 Bruno Haible * openmp.m4 (gt_OPENMP): Activate the options -mp, -omp, -qsmp=omp only diff --git a/gettext-tools/m4/libgrep.m4 b/gettext-tools/m4/libgrep.m4 index 492d55bd7..fc0e989ba 100644 --- a/gettext-tools/m4/libgrep.m4 +++ b/gettext-tools/m4/libgrep.m4 @@ -1,5 +1,5 @@ -# libgrep.m4 serial 1 (gettext-0.14.2) -dnl Copyright (C) 2005 Free Software Foundation, Inc. +# libgrep.m4 serial 2 (gettext-0.16) +dnl Copyright (C) 2005-2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -8,6 +8,9 @@ AC_DEFUN([gt_LIBGREP], [ AC_REQUIRE([AM_STDBOOL_H]) AC_REQUIRE([gl_FUNC_MBRTOWC]) + AC_CHECK_FUNC([wcscoll], , + [AC_DEFINE([wcscoll], [wcscmp], + [Define to wcscmp if the function wcscoll does not exist.])]) m4_pushdef([AC_LIBOBJ], m4_defn([gt_LIBGREP_OBJ])) m4_pushdef([AC_REPLACE_FUNCS], m4_defn([gt_LIBGREP_REPLACE_FUNCS])) gl_HARD_LOCALE