]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Check for wcscoll.
authorBruno Haible <bruno@clisp.org>
Wed, 25 Oct 2006 11:44:15 +0000 (11:44 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:13 +0000 (12:14 +0200)
gettext-tools/m4/ChangeLog
gettext-tools/m4/libgrep.m4

index 3ddf136b118f95f33c106fed9800fd918d5741f1..809fd2f541d4ed2f1b30c997adf118961a2215a1 100644 (file)
@@ -2,6 +2,12 @@
 
        * gettext-0.16 released.
 
+2006-10-25  Bruno Haible  <bruno@clisp.org>
+
+       * libgrep.m4 (gt_LIBGREP): Also check for wcscoll. Needed for
+       Linux libc5.4.33.
+       Reported by Alain Guibert <alguibert@free.fr>.
+
 2006-10-23  Bruno Haible  <bruno@clisp.org>
 
        * openmp.m4 (gt_OPENMP): Activate the options -mp, -omp, -qsmp=omp only
index 492d55bd7bdafe86dbeb627fb814da287501cd72..fc0e989ba6f91bb22e3008209db4c2d31c349367 100644 (file)
@@ -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