X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=m4%2Ffnmatch.m4;h=ba2a88f5989e97980c200335f7d429bfec7fe20c;hb=1d9a0a33ef60f6b760d76637b658b3d38e5b5810;hp=d281d9ef2946868f5137eff321ecd071b5e76ffc;hpb=7e4a3ea582fe5a1224685a0bc852e22f91f18abc;p=gnulib.git diff --git a/m4/fnmatch.m4 b/m4/fnmatch.m4 index d281d9ef2..ba2a88f59 100644 --- a/m4/fnmatch.m4 +++ b/m4/fnmatch.m4 @@ -74,19 +74,9 @@ AC_CHECK_FUNCS([btowc mbsrtowcs mempcpy wmempcpy]) AC_CHECK_HEADERS([wchar.h wctype.h]) AC_LIBOBJ([fnmatch]) FNMATCH_H=fnmatch.h -AC_DEFINE(fnmatch, rpl_fnmatch, - [Define to rpl_fnmatch if the replacement function should be used.]) ])# _AC_LIBOBJ_FNMATCH -# Additional prerequisites of lib/fnmatch.c, not part of _AC_LIBOBJ_FNMATCH. -AC_DEFUN([gl_PREREQ_FNMATCH_EXTRA], -[ - AC_REQUIRE([AC_HEADER_STDC]) - AC_CHECK_HEADERS_ONCE(string.h strings.h) -]) - - AC_DEFUN([gl_FUNC_FNMATCH_POSIX], [ FNMATCH_H= @@ -94,7 +84,6 @@ AC_DEFUN([gl_FUNC_FNMATCH_POSIX], [rm -f lib/fnmatch.h], [_AC_LIBOBJ_FNMATCH]) if test $ac_cv_func_fnmatch_posix != yes; then - gl_PREREQ_FNMATCH_EXTRA dnl We must choose a different name for our function, since on ELF systems dnl a broken fnmatch() in libc.so would override our fnmatch() if it is dnl compiled into a shared library. @@ -115,7 +104,6 @@ AC_DEFUN([gl_FUNC_FNMATCH_GNU], [rm -f lib/fnmatch.h], [_AC_LIBOBJ_FNMATCH]) if test $ac_cv_func_fnmatch_gnu != yes; then - gl_PREREQ_FNMATCH_EXTRA dnl We must choose a different name for our function, since on ELF systems dnl a broken fnmatch() in libc.so would override our fnmatch() if it is dnl compiled into a shared library.