autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AC_FUNC_FNMATCH patch for diffutils 2.8.2 on Solaris 2.5.1


From: Paul Eggert
Subject: AC_FUNC_FNMATCH patch for diffutils 2.8.2 on Solaris 2.5.1
Date: Wed, 12 Jun 2002 00:25:09 -0700 (PDT)

To support this fix:

http://sources.redhat.com/ml/bug-gnu-utils/2002-06/msg00285.html

with Autoconf, I installed the following patch:

2002-06-12  Paul Eggert  <address@hidden>

        * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for
        btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c
        on Solaris 2.5.1.

--- functions.m4        7 Jun 2002 09:50:32 -0000       1.65
+++ functions.m4        12 Jun 2002 07:20:14 -0000      1.66
@@ -400,7 +400,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([mbsrtowcs mempcpy wmempcpy])
+AC_CHECK_FUNCS([btowc mbsrtowcs mempcpy wmempcpy])
 AC_CHECK_HEADERS([wchar.h wctype.h])
 AC_LIBOBJ([fnmatch])
 
AC_CONFIG_LINKS([$ac_config_libobj_dir/fnmatch.h:$ac_config_libobj_dir/fnmatch_.h])



reply via email to

[Prev in Thread] Current Thread [Next in Thread]