[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AC_C_CONST
From: |
Paul Eggert |
Subject: |
Re: AC_C_CONST |
Date: |
Wed, 28 Jun 2006 15:05:24 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
"Derek R. Price" <address@hidden> writes:
> 2006-06-28 Derek R. Price <address@hidden>
>
> * m4/fnmatch.m4, m4/gettext.m4, m4/strftime.m4: Remove
> references to obsolescent AC_C_CONST.
Thanks. I assume Bruno will look into gettext.m4. For the others, I
installed the following patch into coreutils, and the same into gnulib
(except without the jm-macros.m4 patches, which are private to
coreutils).
2006-06-28 Paul Eggert <address@hidden>
* m4/jm-macros.m4 (jl_MACROS): Require 2.60, not 2.59d.
* m4/jm-macros.m4 (gl_CHECK_ALL_TYPES): Don't require AC_C_CONST, since
it's obsolete.
2006-06-28 Derek Price <address@hidden>
* m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since
it's obsolete.
* m4/strftime.m4 (gl_FUNC_GNU_STRFTIME): Likewise.
Index: m4/fnmatch.m4
===================================================================
RCS file: /fetish/cu/m4/fnmatch.m4,v
retrieving revision 1.21
diff -p -u -r1.21 fnmatch.m4
--- m4/fnmatch.m4 23 Sep 2005 20:26:09 -0000 1.21
+++ m4/fnmatch.m4 28 Jun 2006 21:58:20 -0000
@@ -3,7 +3,7 @@
# This is a modified version of autoconf's AC_FUNC_FNMATCH.
# This file should be simplified after Autoconf 2.57 is required.
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
# Foundation, Inc.
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -61,8 +61,7 @@ AS_IF([test $$2 = yes], [$3], [$4])
# ------------------
# Prepare the replacement of fnmatch.
AC_DEFUN([_AC_LIBOBJ_FNMATCH],
-[AC_REQUIRE([AC_C_CONST])dnl
-AC_REQUIRE([AC_FUNC_ALLOCA])dnl
+[AC_REQUIRE([AC_FUNC_ALLOCA])dnl
AC_REQUIRE([AC_TYPE_MBSTATE_T])dnl
AC_CHECK_DECLS([getenv])
AC_CHECK_FUNCS([btowc mbsrtowcs mempcpy wmemchr wmemcpy wmempcpy])
Index: m4/jm-macros.m4
===================================================================
RCS file: /fetish/cu/m4/jm-macros.m4,v
retrieving revision 1.239
diff -p -u -r1.239 jm-macros.m4
--- m4/jm-macros.m4 24 May 2006 07:35:28 -0000 1.239
+++ m4/jm-macros.m4 28 Jun 2006 21:58:20 -0000
@@ -1,4 +1,4 @@
-#serial 98 -*- autoconf -*-
+#serial 99 -*- autoconf -*-
dnl Misc type-related macros for coreutils.
@@ -23,7 +23,7 @@ dnl Misc type-related macros for coreuti
AC_DEFUN([gl_MACROS],
[
- AC_PREREQ(2.59d)
+ AC_PREREQ(2.60)
GNU_PACKAGE="GNU $PACKAGE"
AC_DEFINE_UNQUOTED(GNU_PACKAGE, "$GNU_PACKAGE",
@@ -226,7 +226,6 @@ AC_DEFUN([gl_CHECK_ALL_TYPES],
dnl Checks for typedefs, structures, and compiler characteristics.
AC_REQUIRE([AC_C_BIGENDIAN])
- AC_REQUIRE([AC_C_CONST])
AC_REQUIRE([AC_C_VOLATILE])
AC_REQUIRE([AC_C_INLINE])
AC_REQUIRE([AC_C_LONG_DOUBLE])
Index: m4/strftime.m4
===================================================================
RCS file: /fetish/cu/m4/strftime.m4,v
retrieving revision 1.32
diff -p -u -r1.32 strftime.m4
--- m4/strftime.m4 4 Jul 2005 05:06:11 -0000 1.32
+++ m4/strftime.m4 28 Jun 2006 21:58:20 -0000
@@ -1,6 +1,6 @@
-#serial 25
+#serial 26
-# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+# Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
@@ -11,7 +11,6 @@
AC_DEFUN([gl_FUNC_GNU_STRFTIME],
[AC_REQUIRE([gl_FUNC_STRFTIME])dnl
- AC_REQUIRE([AC_C_CONST])dnl
])
# These are the prerequisite macros for GNU's strftime.c replacement.