Mercurial > hg > octave-lyh > gnulib-hg
changeset 7940:ab07b7677aea
* m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for headers and functions just once.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 25 Jan 2007 00:43:59 +0000 |
parents | c8dd726905b5 |
children | c9d0ece89572 |
files | ChangeLog m4/fnmatch.m4 |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- a/m4/fnmatch.m4 +++ b/m4/fnmatch.m4 @@ -83,8 +83,8 @@ [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