[bug-gnulib] Re: gcc -Wall warning for minmax.h

2005-06-04 Thread Stepan Kasal
style.) An updated patch attached. Stepan 2005-06-04 Stepan Kasal [EMAIL PROTECTED] * minmax.m4 (gl_MINMAX_IN_HEADER): Don't use obsolete AC_TRY_COMPILE; use m4_pushdef/m4_popdef. Index: m4/minmax.m4 === RCS file

Re: gcc -Wall warning for minmax.h

2005-06-07 Thread Stepan Kasal
Hi, On Tue, Jun 07, 2005 at 10:19:47AM -0400, Derek Price wrote: - we have to document also the fact that AS_TR_SH AS_TR_CPP expand to literal variable (symbol) name, if their argument is a literal I didn't think this was important from the user's perspective. In the patch I proposed, I

Re: an archive of POSIX compat files ?

2005-06-28 Thread Stepan Kasal
Hello, On Mon, Jun 27, 2005 at 02:08:07PM +0200, Stepan Kasal wrote: On Thu, Jun 23, 2005 at 10:20:33PM +0200, Patrice Dumas wrote: gnulib is an existing centralised repository, with implementations under various licenses, but mostly they are GPL or LGPL. Maybe there could be a note

Re: an archive of POSIX compat files ?

2005-06-28 Thread Stepan Kasal
Hello, On Tue, Jun 28, 2005 at 09:12:32AM -0400, Karl Berry wrote: The English seems fine to me, but since Gnulib has a Texinfo manual, it seems like it might make sense to use a multi-argument xref instead of @uref (with rewording), as in: @xref{Top,,,gnulib,Gnulib}, OTOH, is seems more

Re: mbrtowc.m4 on mingw32

2005-07-04 Thread Stepan Kasal
Hello Bruno, On Mon, Jul 04, 2005 at 01:18:25PM +0200, Bruno Haible wrote: On mingw32, mbrtowc.m4 detects that mbrtowc() exists, leading to link errors. Actually, mbrtowc() does not exist on this system, it's only declared in wchar.h but not actually implemented under this name. why cannot

Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE

2005-08-10 Thread Stepan Kasal
. This can cause problems with aclocal --include. Could we perhaps rename it? Fourth, I noticed a typo; could you please apply the attached patch? Fifth: when my minmax patch is resolved (Bruno ;-), shouldn't something similar go to onceonly*.m4, too? Have a nice day, Stepan Kasal 2005-08

Re: Non-standard types in public header files (was: Re: ssize_t)

2005-08-12 Thread Stepan Kasal
Hello, this mail is a lengthy story to the most abstract solution and back to the basic one. Sorry, I couldn't have helped. The problem, of course, is that the installed header file cannot assume a config.h and the HAVE_* stuff. Indeed, this is the root of the problem. You try to find a

Re: gnulib textual domain?

2005-08-24 Thread Stepan Kasal
Hello, On Sat, Aug 13, 2005 at 03:20:56PM +0200, Oskar Liljeblad wrote: For example, I was looking for translations for lib/regcomp.c in Gnulib. Is there any project that has those translations, or are they completely new? the regex module came from GNU libc, glibc. I guess that project is

Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE

2005-08-25 Thread Stepan Kasal
, then make -f Makefile.devel check-configures There was one remaining problem: AC_GNU_SOURCE has to be called early in configure.ac. For projects which use gnulib-tool, macro gl_EARLY takes care of this; but you have to take care of it yourself. Have a nice day, Stepan Kasal

Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE

2005-08-25 Thread Stepan Kasal
Hello, On Thu, Aug 25, 2005 at 11:06:00AM +0200, Stepan Kasal wrote: Indeed, when I cp ../gnulib/m4/regex.m4 src/m4/ and apply the patch attached below, then make -f Makefile.devel check-configures I forgot to attach the patch, sorry. Please find it attached to this mail. Stepan

Re: [bug-gnulib] synced mktime.c and strtol.c from intprops.h

2005-08-25 Thread Stepan Kasal
(TYPE_TWOS_COMPLEMENT, TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE, TYPE_MINIMUM, TYPE_MAXIMUM): Sync from intprops.h. * strtol.c: Likewise. Why it is not possible to #include intprops.h? What would be wrong with the following patch? Stepan 2005-08-25 Stepan Kasal [EMAIL

Re: error: possibly undefined macro: AC_CHECK_HEADERS_ONCE

2005-08-25 Thread Stepan Kasal
Hello, On Thu, Aug 25, 2005 at 09:36:12AM -0400, Sam Steingold wrote: But I do not have lib/regex.c! I have regex.c in the current directory! Is it OK? yes, it is. Stepan ___ bug-gnulib mailing list bug-gnulib@gnu.org

Re: check-module

2005-08-29 Thread Stepan Kasal
Hello, On Mon, Jul 11, 2005 at 02:38:23PM +0200, Stepan Kasal wrote: 2005-07-11 Bruno Haible [EMAIL PROTECTED] and Stepan Kasal [EMAIL PROTECTED] * check-module: If more parameters are given, check each of them separately; add more exceptions, as noted by Jim Meyering

Re: socklen_t

2005-09-12 Thread Stepan Kasal
: ... ],[ socklen_t_equiv=$t ]) done test -z $socklen_t_equiv break done if -z $socklen_t_equiv; then AC_MSG_ERROR([Cannot find a type to use in place of socklen_t]) fi Have a nice day, Stepan Kasal

Preprocessor directives formatting

2005-09-13 Thread Stepan Kasal
Hello, On Tue, Sep 13, 2005 at 10:23:32AM -0400, Derek Price wrote: [...] double-include protection should be ignored for the purposes of indenting compiler directives in headers, ... I would note that GNU indent doesn't currently support Paul's style. It supports intentation of cpp

Re: regex-0.12's regex.h seems to have a little bug

2005-09-21 Thread Stepan Kasal
to AC_LIBSOURCE([baz.c]) which is traced by Automake. Please note that almost always you need to add a check for the feature anyway, so the code required by the new scheme presents almost no overhead, and, more importantly, the risk that you forget to add it is minimal. So that's it. Stepan Kasal

Re: regex-0.12's regex.h seems to have a little bug

2005-09-23 Thread Stepan Kasal
Hello again, On Fri, Sep 23, 2005 at 10:33:21AM +0200, Stepan Kasal wrote: I'm afraid we need a design document for the solution. Simon, perhaps you could volunteer. ... or you can just wait. I think I have something in mind now, and hopefully I'll write it down sometimes next week. Have

Redundant AC_LIBSOURCES calls

2005-09-23 Thread Stepan Kasal
in adding a redundant call to AC_LIBSOURCES. Have a nice day, Stepan Kasal 2005-09-23 Stepan Kasal [EMAIL PROTECTED] * m4/gettime.m4, m4/getugroups.m4, m4/idcache.m4, m4/inttostr.m4, m4/nanosleep.m4, m4/settime.m4: Remove redundant AC_LIBSOURCES. Index: m4/gettime.m4

Re: [bug-gnulib] Redundant AC_LIBSOURCES calls

2005-09-23 Thread Stepan Kasal
Hello, On Fri, Sep 23, 2005 at 02:37:06PM +0200, Bruno Haible wrote: Stepan Kasal wrote: But in the basic case, when only the implementation is fixed and no header is needed, I see no advantage in adding a redundant call to AC_LIBSOURCES. The advantage is simplicity and consistency. I

problems in stdbool.m4

2005-10-12 Thread Stepan Kasal
Hello, I noticed two problems with stdbool.m4: Even with Autoconf-2.59, this file is included in aclocal.m4, and thus the gnulib definition overrides the Autoconf one. Perhaps the following would fix it: m4_ifndef([AC_HEADER_STDBOOL], AC_DEFUN([AC_HEADER_STDBOOL], [... ]) ]) Second,

Re: [bug-gnulib] problems in stdbool.m4

2005-10-14 Thread Stepan Kasal
Hello, On Wed, Oct 12, 2005 at 08:23:29PM +0200, Bruno Haible wrote: Stepan Kasal wrote: I noticed two problems with stdbool.m4: Even with Autoconf-2.59, this file is included in aclocal.m4, and thus the gnulib definition overrides the Autoconf one. This is what we want. Look

Re: gnulib-tool tweaks

2005-10-17 Thread Stepan Kasal
Hi Bruno, and what about the following? Stepan 2005-10-17 Stepan Kasal [EMAIL PROTECTED] * gnulib-tool (func_create_testdir): Omit the clumsy check whether BUILT_SOURCES in nonempty. Index: gnulib-tool === RCS

Re: problems in stdbool.m4

2005-10-17 Thread Stepan Kasal
Hello, On Fri, Oct 14, 2005 at 01:57:00PM +0200, Bruno Haible wrote: We do override include files by using our own if the system's one is defective. ... We do override an autoconf macro if it is buggy. yes, that makes sense. Thanks for explaining. Stepan

Re: namespace conflict for des

2005-10-24 Thread Stepan Kasal
Hello, On Sun, Oct 23, 2005 at 10:25:48PM -0700, Paul Eggert wrote: Simon Josefsson [EMAIL PROTECTED] writes: In file included from smbutil.c:34: lib/des.h:62: conflicting types for `des_setkey' ... If they are supposed to have the same semantics but the FreeBSD versions are buggy, you

Re: check for readline

2006-02-28 Thread Stepan Kasal
Hello, I have noticed a typo in lib/readline.c: This module is intended to be used when the application only need the readline interface. [...] the first line should end ... needs. Have a nice day, Stepan Kasal ___ bug-gnulib mailing

Re: stat-time systemology update?

2007-10-17 Thread Stepan Kasal
Hello again, I'm sorry that I was too quick writing my previous mail. On Wed, Oct 17, 2007 at 11:34:54AM +0200, Stepan Kasal wrote: But my GNU libc.info mentiones st_atimensec, but not st_atim. So it seems that platforms using GNU libc (GNU/Linux, Cygwin?) are converging towards POSIX. I