(_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Aug 2004 22:43:53 +0000 (22:43 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 11 Aug 2004 22:43:53 +0000 (22:43 +0000)
m4/fnmatch.m4

index f96ecc1718cf422b9f66b9a9d132c5cf64c13fb1..92a8f2b58b79ea946e7e74cdfdac1b008ecbfc7c 100644 (file)
@@ -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-2003 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -70,7 +70,7 @@ AC_DEFUN([_AC_LIBOBJ_FNMATCH],
 AC_REQUIRE([AC_FUNC_ALLOCA])dnl
 AC_REQUIRE([AC_TYPE_MBSTATE_T])dnl
 AC_CHECK_DECLS([getenv])
-AC_CHECK_FUNCS([btowc mbsrtowcs mempcpy wmempcpy])
+AC_CHECK_FUNCS([btowc mbsrtowcs mempcpy wmemchr wmemcpy wmempcpy])
 AC_CHECK_HEADERS([wchar.h wctype.h])
 AC_LIBOBJ([fnmatch])
 FNMATCH_H=fnmatch.h