[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Undefined symbols in diffutils-2.8.2 on Solaris 5.5.1
From: |
Paul Eggert |
Subject: |
Re: Undefined symbols in diffutils-2.8.2 on Solaris 5.5.1 |
Date: |
Wed, 12 Jun 2002 03:24:52 -0700 (PDT) |
> Date: Wed, 12 Jun 2002 10:34:10 +0200
> From: Stepan Kasal <address@hidden>
> I've also looked at it. I guess we shouldn't modify fnmatch*.c
> since they seem to be copied directly from GNU libc source.
No, it's OK to modify lib/fnmatch*. Any changes should be merged into
the GNU libc source once they stabilize. I'll submit a glibc patch in
due course. I've already made several changes to lib/fnmatch*, since
the current glibc versions don't work on non-glibc platforms (it's
been a while since they were ported).
We shouldn't patch config.hin, since it's generated automatically.
I will also patch m4/fnmatch.m4 as follows, but as it happens the
fnmatch.m4 patch isn't needed for diffutils 2.8.2, and it requires
autoconf+automake so I left it out in the patch that I emailed earlier
today. (This part of the patch has already been merged into Autoconf
CVS, so that we can remove m4/fnmatch.m4 once Autoconf 2.54 comes out.)
--- fnmatch.m4 2002/06/11 06:06:32 1.53.0.3
+++ fnmatch.m4 2002/06/12 06:05:00 1.53.0.4
@@ -68,7 +68,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([lib/fnmatch.h:lib/fnmatch_.h])