+2008-12-17 Bruno Haible <bruno@clisp.org>
+
+ * m4/mbrtowc.m4 (AC_FUNC_MBRTOWC): Renamed from gl_FUNC_MBRTOWC.
+ * m4/mbfile.m4 (gl_MBFILE): Use AC_FUNC_MBRTOWC instead of
+ gl_FUNC_MBRTOWC.
+ * m4/mbiter.m4 (gl_MBITER): LIkewise.
+ * m4/mbscasecmp.m4 (gl_PREREQ_MBSCASECMP): Likewise.
+ * m4/mbscasestr.m4 (gl_PREREQ_MBSCASESTR): Likewise.
+ * m4/mbschr.m4 (gl_PREREQ_MBSCHR): Likewise.
+ * m4/mbscspn.m4 (gl_PREREQ_MBSCSPN): Likewise.
+ * m4/mbslen.m4 (gl_PREREQ_MBSLEN): Likewise.
+ * m4/mbsncasecmp.m4 (gl_PREREQ_MBSNCASECMP): Likewise.
+ * m4/mbsnlen.m4 (gl_PREREQ_MBSNLEN): Likewise.
+ * m4/mbspbrk.m4 (gl_PREREQ_MBSPBRK): Likewise.
+ * m4/mbspcasecmp.m4 (gl_PREREQ_MBSPCASECMP): Likewise.
+ * m4/mbsrchr.m4 (gl_PREREQ_MBSRCHR): Likewise.
+ * m4/mbssep.m4 (gl_PREREQ_MBSSEP): Likewise.
+ * m4/mbsspn.m4 (gl_PREREQ_MBSSPN): Likewise.
+ * m4/mbsstr.m4 (gl_PREREQ_MBSSTR): Likewise.
+ * m4/mbstok_r.m4 (gl_PREREQ_MBSTOK_R): Likewise.
+ * m4/mbswidth.m4 (gl_MBSWIDTH): Likewise.
+ * m4/quotearg.m4 (gl_QUOTEARG): Likewise.
+ * modules/trim (configure.ac): Likewise.
+
2008-12-17 Bruno Haible <bruno@clisp.org>
* modules/btowc-tests: New file.
-# mbfile.m4 serial 2
-dnl Copyright (C) 2005 Free Software Foundation, Inc.
+# mbfile.m4 serial 3
+dnl Copyright (C) 2005, 2008 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.
AC_REQUIRE([AC_TYPE_MBSTATE_T])
dnl The following line is that so the user can test HAVE_MBRTOWC before
dnl #include "mbfile.h".
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbiter.m4 serial 2
-dnl Copyright (C) 2005 Free Software Foundation, Inc.
+# mbiter.m4 serial 3
+dnl Copyright (C) 2005, 2008 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.
AC_REQUIRE([AC_TYPE_MBSTATE_T])
dnl The following line is that so the user can test HAVE_MBRTOWC before
dnl #include "mbiter.h" or "mbuiter.h".
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbrtowc.m4 serial 8
-dnl Copyright (C) 2001-2002, 2004-2005 Free Software Foundation, Inc.
+# mbrtowc.m4 serial 9
+dnl Copyright (C) 2001-2002, 2004-2005, 2008 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.
dnl From Paul Eggert
-dnl This file can be removed, and gl_FUNC_MBRTOWC replaced with
-dnl AC_FUNC_MBRTOWC, when autoconf 2.60 can be assumed everywhere.
+dnl This override of an autoconf macro can be removed when autoconf 2.60 or
+dnl newer can be assumed everywhere.
-AC_DEFUN([gl_FUNC_MBRTOWC],
+AC_DEFUN([AC_FUNC_MBRTOWC],
[
dnl Same as AC_FUNC_MBRTOWC in autoconf-2.60.
AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
-# mbscasecmp.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbscasecmp.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbscasecmp.c.
AC_DEFUN([gl_PREREQ_MBSCASECMP], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbscasestr.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbscasestr.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbscasestr.c.
AC_DEFUN([gl_PREREQ_MBSCASESTR], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbschr.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbschr.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbschr.c.
AC_DEFUN([gl_PREREQ_MBSCHR], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbscspn.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbscspn.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbscspn.c.
AC_DEFUN([gl_PREREQ_MBSCSPN], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbslen.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbslen.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbslen.c.
AC_DEFUN([gl_PREREQ_MBSLEN], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbsncasecmp.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbsncasecmp.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbsncasecmp.c.
AC_DEFUN([gl_PREREQ_MBSNCASECMP], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbsnlen.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbsnlen.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbsnlen.c.
AC_DEFUN([gl_PREREQ_MBSNLEN], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbspbrk.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbspbrk.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbspbrk.c.
AC_DEFUN([gl_PREREQ_MBSPBRK], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbspcasecmp.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbspcasecmp.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbspcasecmp.c.
AC_DEFUN([gl_PREREQ_MBSPCASECMP], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbsrchr.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbsrchr.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbsrchr.c.
AC_DEFUN([gl_PREREQ_MBSRCHR], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbssep.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbssep.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbssep.c.
AC_DEFUN([gl_PREREQ_MBSSEP], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbsspn.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbsspn.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbsspn.c.
AC_DEFUN([gl_PREREQ_MBSSPN], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbsstr.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbsstr.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbsstr.c.
AC_DEFUN([gl_PREREQ_MBSSTR], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbstok_r.m4 serial 1
-dnl Copyright (C) 2007 Free Software Foundation, Inc.
+# mbstok_r.m4 serial 2
+dnl Copyright (C) 2007-2008 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.
# Prerequisites of lib/mbstok_r.c.
AC_DEFUN([gl_PREREQ_MBSTOK_R], [
- AC_REQUIRE([gl_FUNC_MBRTOWC])
+ AC_REQUIRE([AC_FUNC_MBRTOWC])
:
])
-# mbswidth.m4 serial 14
-dnl Copyright (C) 2000-2002, 2004, 2006, 2007 Free Software Foundation, Inc.
+# mbswidth.m4 serial 15
+dnl Copyright (C) 2000-2002, 2004, 2006-2008 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.
[
AC_CHECK_HEADERS_ONCE([wchar.h])
AC_CHECK_FUNCS_ONCE([isascii mbsinit])
- gl_FUNC_MBRTOWC
+ AC_FUNC_MBRTOWC
dnl UnixWare 7.1.1 <wchar.h> has a declaration of a function mbswidth()
dnl that clashes with ours.
-# quotearg.m4 serial 6
-dnl Copyright (C) 2002, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+# quotearg.m4 serial 7
+dnl Copyright (C) 2002, 2004-2008 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.
dnl Prerequisites of lib/quotearg.c.
AC_CHECK_FUNCS_ONCE([mbsinit])
AC_TYPE_MBSTATE_T
- gl_FUNC_MBRTOWC
+ AC_FUNC_MBRTOWC
])
strdup
configure.ac:
-gl_FUNC_MBRTOWC
+AC_FUNC_MBRTOWC
Makefile.am:
lib_SOURCES += trim.c