* m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for headers and functions just once.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Jan 2007 00:43:59 +0000 (00:43 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 25 Jan 2007 00:43:59 +0000 (00:43 +0000)
ChangeLog
m4/fnmatch.m4

index de48bf34ee71a139160f21ef397063c4724752ff..87ad9f5b0189899be639f29d15383579d142a9e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * m4/fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Add test for glibc bug 361.
        Don't use 'exit'; just return from 'main'.
+       (_AC_LIBOBJ_FNMATCH): Check for headers and functions just once.
 
        * lib/fnmatch_.h: Readjust white space and comments to match
        glibc, to avoid spurious diffs.
index a24452d1d82ce494b654c20aaebcf9ceb3d9d191..3778742c9ff160069e1a265b14bc3546c242a295 100644 (file)
@@ -83,8 +83,8 @@ AC_DEFUN([_AC_LIBOBJ_FNMATCH],
 [AC_REQUIRE([AC_FUNC_ALLOCA])dnl
 AC_REQUIRE([AC_TYPE_MBSTATE_T])dnl
 AC_CHECK_DECLS([isblank], [], [], [#include <ctype.h>])
-AC_CHECK_FUNCS([btowc iswctype mbsrtowcs mempcpy wmemchr wmemcpy wmempcpy])
-AC_CHECK_HEADERS([wctype.h])
+AC_CHECK_FUNCS_ONCE([btowc iswctype mbsrtowcs mempcpy wmemchr wmemcpy wmempcpy])
+AC_CHECK_HEADERS_ONCE([wctype.h])
 AC_LIBOBJ([fnmatch])
 FNMATCH_H=fnmatch.h
 ])# _AC_LIBOBJ_FNMATCH