summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-06-28 21:59:41 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-06-28 21:59:41 +0000
commit84ab5b148fc08fc1ee258dbf062bb2c90567e805 (patch)
tree1e8000a00744a4db8f375b0431528a6d84a2b83f /m4
parent4333e76636b08664f7f8dc42b15972d7ae509667 (diff)
downloadcoreutils-84ab5b148fc08fc1ee258dbf062bb2c90567e805.tar.xz
(_AC_LIBOBJ_FNMATCH): Don't require AC_C_CONST, since it's obsolete.
Diffstat (limited to 'm4')
-rw-r--r--m4/fnmatch.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4
index e879bbde8..d8b93827f 100644
--- a/m4/fnmatch.m4
+++ b/m4/fnmatch.m4
@@ -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])