Re: libtool 2.1a failed mdemo-make.test on Solaris

2005-06-23 Thread Ralf Wildenhues
[ this thread starts at http://lists.gnu.org/archive/html/libtool/2005-06/msg00169.html ] Hi Sven, others, * Sven Verdoolaege wrote on Thu, Jun 23, 2005 at 09:11:36AM CEST: On Thu, Jun 23, 2005 at 08:31:48AM +0200, Ralf Wildenhues wrote: It's this version that fails on solaris. Let's

Re: cygwin build problem with m4 HEAD

2005-09-09 Thread Ralf Wildenhues
[ taking libtool-patches back out ] Hi Eric, * Eric Blake wrote on Fri, Sep 09, 2005 at 01:31:30PM CEST: According to Ralf Wildenhues on 9/9/2005 1:31 AM: If not, then the patch below should work as well, I believe (untested with newlib), and is less work than providing argz_add as well

small improvement to base64

2005-09-12 Thread Ralf Wildenhues
-12 Ralf Wildenhues [EMAIL PROTECTED] (tiny change) * lib/base64.c: Typo. (base64_encode): Put b64str in initialized data section. Index: lib/base64.c === RCS file: /cvsroot/gnulib/gnulib/lib/base64.c,v retrieving

gnulib-tool: don't ever forget to set $dry again

2005-09-13 Thread Ralf Wildenhues
disagree, please hold back this trivial patch rather than the nontrivial (more important) ones which fix actual bugs. :) Cheers, Ralf 2005-09-13 Ralf Wildenhues [EMAIL PROTECTED] (tiny change) * gnulib-tool (dry_run): Remove use in favor of `dry'. (func_cp_if_changed

Re: config.h inclusion

2005-09-13 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Tue, Sep 13, 2005 at 03:55:33PM CEST: Right now, roughly 230 files in gnulib/lib include config.h. 210 of those #include config.h, the rest config.h. 10 of all of them are not guarded by HAVE_CONFIG_H, about half of the others by `#ifdef HAVE_CONFIG_H', and half

lib-link.m4: prepend to LIBS

2005-09-14 Thread Ralf Wildenhues
Hi Bruno, bug-gnulib readers, In general, $LIBS needs to be prepended to, not appended, to allow for static linking to succeed in the presence of deplibs already in $LIBS. With specific libraries, the issue _may_ be different, but only very rarely so[1]. This is why the patch below handles only

Re: config.h inclusion

2005-09-14 Thread Ralf Wildenhues
Hi Paul, * Paul Eggert wrote on Wed, Sep 14, 2005 at 01:21:18AM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: Would you accept a patch to change all of these to use #ifdef HAVE_CONFIG_H # include config.h #endif uniformly? That makes sense to me, yes. We should be consistent

Re: cygwin build problem with m4 HEAD

2005-09-14 Thread Ralf Wildenhues
[ replacing bug-libtool with libtool-patches ] Hi Eric, others, * Eric Blake wrote on Fri, Sep 09, 2005 at 03:36:54PM CEST: According to Ralf Wildenhues on 9/9/2005 6:46 AM: I hate runtime checks. This one will mean hopeless complication of things, and worse results for any kind

Re: config.h inclusion

2005-09-16 Thread Ralf Wildenhues
Hi Paul, Noah, * Paul Eggert wrote on Thu, Sep 15, 2005 at 04:56:04PM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: I learned about this issue while actually trying to make use of a module with one of the unguarded files; I did not use AC_CONFIG_HEADERS. Ok, sorry, I didn't know

Re: config.h inclusion

2005-09-21 Thread Ralf Wildenhues
, and Noah's comment has been addressed. Cheers, and thanks for applying these, Ralf 2005-09-21 Ralf Wildenhues [EMAIL PROTECTED] (tiny change) * mkdtemp.c, setenv.c, unsetenv.c: Standardize inclusion of config.h. Index: lib/mkdtemp.c

Re: generic crypto

2005-10-06 Thread Ralf Wildenhues
* Simon Josefsson wrote on Thu, Oct 06, 2005 at 03:39:20PM CEST: I'm sure there are plenty of other problems too, but this passes self tests in GNU SASL so it is fairly complete... Once this is installed, I can continue to add the modules that GnuTLS needs, which include encryption modules

Re: crc

2005-10-07 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Fri, Oct 07, 2005 at 02:17:19PM CEST: Ok to install? Tiny nit.. ;) *snip* +/* Table of CRCs of all 8-bit messages. Generated by running code + from RFC 1952 modified to print out the table. */ +static unsigned long crc32_table[256] = { Please make

Re: gettimeofday() for Win32

2005-10-09 Thread Ralf Wildenhues
Hi Martin, If I may, a couple of comments on the code: * Martin Lambers wrote on Sat, Oct 08, 2005 at 05:13:25PM CEST: *snip* diff -uNr gnulib/lib/gettimeofday.h gnulib-gettimeofday/lib/gettimeofday.h --- gnulib/lib/gettimeofday.h 1970-01-01 01:00:00.0 +0100 +++

Re: gc-pbkdf2-sha1

2005-10-12 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Wed, Oct 12, 2005 at 03:13:28PM CEST: I have installed this. Comments most welcome, as always! Here you go. *snip header with nice documentation* By the way, has anyone suggested to use one of these documentation- from-source-comments generators for

Re: arcfour

2005-10-14 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Fri, Oct 14, 2005 at 01:12:59AM CEST: How about this? Some style comments, if I may.. Index: lib/arcfour.c === RCS file: lib/arcfour.c diff -N lib/arcfour.c --- /dev/null 1 Jan 1970

Re: des

2005-10-14 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Fri, Oct 14, 2005 at 01:23:25PM CEST: Comments welcome, of course. Typo nits: Index: lib/des.c === RCS file: lib/des.c diff -N lib/des.c --- /dev/null 1 Jan 1970 00:00:00 - +++

Re: des

2005-10-14 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Fri, Oct 14, 2005 at 01:55:32PM CEST: * Simon Josefsson wrote on Fri, Oct 14, 2005 at 01:23:25PM CEST: +/* + * Table with weak DES keys sorted in ascending order. + * In DES their are 64 known keys wich are weak. They are weak s/their/there/ and of course s

Re: arcfour

2005-10-14 Thread Ralf Wildenhues
Hi Simon, Keep in mind, this is all just IMHO. No need to heed my advice. :) * Simon Josefsson wrote on Fri, Oct 14, 2005 at 04:14:09PM CEST: I thought about this more. There are only two defines that I believe should be present in arcfour.h: #define ARCFOUR_BLOCK_SIZE 8

Re: arctwo, arctwo-tests, gc-arctwo, gc-arctwo-tests

2005-10-21 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Fri, Oct 21, 2005 at 02:02:58PM CEST: I have installed this. A quick glance showed up the nit below. Cheers, Ralf *snip* Index: lib/arctwo.h === RCS file: lib/arctwo.h diff -N lib/arctwo.h

Re: gc self test fixes

2005-10-28 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Fri, Oct 28, 2005 at 02:17:29PM CEST: *snip* Index: tests/test-gc-md5.c === RCS file: /cvsroot/gnulib/gnulib/tests/test-gc-md5.c,v retrieving revision 1.2 diff -u -p -r1.2 test-gc-md5.c

Re: [bug-gnulib] Re: restrict.m4: do not punish autoconf 2.59 users

2005-11-07 Thread Ralf Wildenhues
Ping! :) * Bruno Haible wrote on Fri, Oct 14, 2005 at 01:18:13PM CEST: Stepan Kasal wrote: sorry, this was a mistake, I meant: m4_ifndef([AC_C_RESTRICT], AC_DEFUN([AC_C_RESTRICT], That should be OK. autoconf = 2.57 has no AC_C_RESTRICT, and autoconf = 2.58 has one equivalent to

use of -fno-common on Darwin (was: use of program_name)

2006-01-09 Thread Ralf Wildenhues
[ This is http://article.gmane.org/gmane.comp.lib.gnulib.bugs/5080 Please remove bug-gnulib from followups. Thank you. ] * Paul Eggert wrote on Fri, Jan 06, 2006 at 12:06:59AM CET: [EMAIL PROTECTED] (Karl Berry) writes: Is it a problem in practice, ie, what are these non-Unix linkers?

Re: warning in 'base64' module

2006-01-11 Thread Ralf Wildenhues
* Bruno Haible wrote on Wed, Jan 11, 2006 at 01:56:51PM CET: The base64 module has a warning on Linux/glibc: gcc -DHAVE_CONFIG_H -I. -I/packages/megatestdir/base64/lib -I.. -g -O2 -c /packages/megatestdir/base64/lib/base64.c /packages/megatestdir/base64/lib/base64.c: In function

Re: autoreconf is recursive

2006-01-11 Thread Ralf Wildenhues
* Bruno Haible wrote on Wed, Jan 11, 2006 at 05:20:48PM CET: Ralf Wildenhues wrote: It would be nice if you could make the $AUTO* variables overridable on a case by case basis. Tools are named differently at places, e.g., autoconf25. Will this work for the situation that you have

Re: [bug-gnulib] new module lib-ignore; new section build_lib in MODULES.html

2006-01-13 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Thu, Jan 12, 2006 at 02:04:45PM CET: To use the 'ldd' module is simple: - add an AC_REQUIRE([gl_LDD]), - use $LDDPROG conftest$ac_exeext $LDDPOSTPROC I assume you mean $(LDDPROG) program$(EXEEXT) $(LDDPOSTPROC) for Makefiles? Because

Re: new module lib-ignore; new section build_lib in MODULES.html

2006-01-18 Thread Ralf Wildenhues
[ removing the bug-coreutils list, adding libtool-patches ] * Paul Eggert wrote on Wed, Jan 18, 2006 at 06:07:50AM CET: And perhaps the ldd module itself isn't necessary any more, at least for now. Given that it works on enough relevant systems, it would be useful in Libtool's hardcode.test,

Re: $(EXEEXT) in TESTS required?

2006-01-18 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Wed, Jan 18, 2006 at 02:01:27PM CET: While testing mingw32 portability (GNU SASL now builds cleanly cross-compiled to mingw32!) I encountered the following. It seems $(EXEXT) is required for automake TESTS variables, otherwise 'make' misses out all

Re: new module lib-ignore; new section build_lib in MODULES.html

2006-01-18 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Wed, Jan 18, 2006 at 01:36:35PM CET: One more question about this macro: What is the difference between -Xlinker and -Wl (apart from the slightly different syntax)? libtool and config.rpath sometimes use -Wl to pass an option to the linker and never

Re: $(EXEEXT) in TESTS required?

2006-01-19 Thread Ralf Wildenhues
[ Cc:ing bug-automake; this is http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/5240 ] Hi Simon, * Simon Josefsson wrote on Thu, Jan 19, 2006 at 10:50:43AM CET: Ralf Wildenhues [EMAIL PROTECTED] writes: * Simon Josefsson wrote on Thu, Jan 19, 2006 at 09:42:17AM CET: It doesn't seem

drop -q from mktemp

2006-01-21 Thread Ralf Wildenhues
[ Pleas see this thread for the rationale of the patch: http://thread.gmane.org/gmane.comp.sysutils.autoconf.general/7018 ] * Ralf Wildenhues wrote on Sat, Jan 21, 2006 at 10:09:23AM CET: And will send a similar patch for config.guess and gettext to its respective mailing lists. Please

Re: $(EXEEXT) in TESTS required?

2006-01-24 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Mon, Jan 23, 2006 at 09:51:57PM CET: ... noinst_PROGRAMS = check_PROGRAMS = test-lock$(EXEEXT) TESTS = test-lock check-am: all-am $(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS) $(MAKE) $(AM_MAKEFLAGS) check-TESTS check-TESTS: $(TESTS)

Re: $(EXEEXT) in TESTS required?

2006-01-30 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Mon, Jan 30, 2006 at 10:40:56AM CET: I wonder what the best idiom for gnulib should be. We probably do not want to require automake CVS just yet. Should it be the one I'm using: TESTS += test-gc$(EXEEXT) check_PROGRAMS += test-gc or should we do

play nice with AC_CACHE_CHECK

2006-02-23 Thread Ralf Wildenhues
1) readline.m4 gives different results with cached reruns: for example, on x86_64-unknown-linux-gnu: ./configure -C - LIBREADLINE=-lreadline -lncurses ./config.status --recheck - LIBREADLINE=-lreadline This is because the commands to set the cache variable `gl_cv_lib_readline'

mkdir-p module

2006-02-23 Thread Ralf Wildenhues
The mkdir-p module currently - lists m4/chdir-safer.m4 but the file does not exist in CVS, - defines macros gl_FUNC_LCHMOD and gl_CHDIR_SAFER but does not use them (they are needed though). Cheers, Ralf * mkdir-p.m4 (gl_MKDIR_PARENTS): Require gl_FUNC_LCHMOD and gl_CHDIR_SAFER.

config.h inclusion leftovers

2006-02-24 Thread Ralf Wildenhues
The following patch changes the last files over to the agreed-to style for inclusion of `config.h'. Cheers, Ralf * lib/mkdtemp.c, lib/setenv.c, lib/unsetenv.c: Normalize inclusion of `config.h'. Index: lib/mkdtemp.c

small modules/ cleanup

2006-02-24 Thread Ralf Wildenhues
Two small changes: - pacify Automake erroring out on: | automatically discovered file `xstrtod.h' should not be explicitly mentioned | automatically discovered file `xstrtod.c' should not be explicitly mentioned - use $(EXEEXT) uniformly in TESTS (conforming to a recent agreement), and use

test failures: crc, md4, gc-md4

2006-02-24 Thread Ralf Wildenhues
FYI, a few of the gnulib tests currently fail: On x86_64-unknown-linux-gnu (omitting passed tests): cu got b9a9a617 FAIL: test-crc md4 1 mismatch. expected: a4 48 01 7a af 21 d8 52 5f c1 0a e8 7a a6 72 9d computed: 29 e6 63 dd dc 61 52 69 91 85 da 92 ed 96 c8 b1 FAIL: test-gc-md4 expected: a4

Re: play nice with AC_CACHE_CHECK

2006-02-24 Thread Ralf Wildenhues
Hi Eric, * Eric Blake wrote on Thu, Feb 23, 2006 at 08:42:18PM CET: 2) Similar with getaddrinfo.m4, except there is no need to store additional information here. Beware, the getaddrinfo part of the patch is completely untested. The following patch to getaddrinfo HAS been tested:

argp.h/argz.h and error_t

2006-02-24 Thread Ralf Wildenhues
If a project uses both modules argp and argz, error_t may be both #define'd, and set as typedef in argp.h. The #define from config.h (which comes ultimatively from argz.m4) kills the typedef of course. For example on sparc-sun-solaris2.8: | cc -DHAVE_CONFIG_H -DEXEEXT=\\ -DEXEEXT=\\

Re: play nice with AC_CACHE_CHECK

2006-03-04 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Fri, Mar 03, 2006 at 06:28:35PM CET: Ralf Wildenhues [EMAIL PROTECTED] writes: Would you install the remaining part of my patch as well, please? Have you signed copyright papers for gnulib? I can't find them. This process is not finished yet

Re: `#error' vs string literal

2006-03-07 Thread Ralf Wildenhues
Hi Jim, * Jim Meyering wrote on Tue, Mar 07, 2006 at 05:20:52PM CET: Ralf Wildenhues [EMAIL PROTECTED] wrote: | * md5.c: Use `#error' rather than a string literal to provoke failure. | * sha1.c: Likewise. I could not find corresponding discussion or bug reports

`#error' vs string literal (was: proposed gnulib-related additions to Autoconf)

2006-03-07 Thread Ralf Wildenhues
Another thing struck me: * Paul Eggert wrote on Wed, Mar 01, 2006 at 01:48:54AM CET: (AC_HEADER_STDBOOL): Don't assume #error works. *snip* Index: lib/autoconf/headers.m4 === RCS file:

Re: gc.m4 and hard failure

2006-03-08 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Wed, Mar 08, 2006 at 10:36:28AM CET: Ralf Wildenhues [EMAIL PROTECTED] writes: Better, thanks. But --disable-random-device (--enable-random-devide=no) could IMVHO still be given a useful meaning, which it currently does not have. Since I don't

poll.h replacement

2006-03-10 Thread Ralf Wildenhues
On powerpc-ibm-aix5.3.0.0, poll is not deemed acceptable: the test in m4/poll.m4 fails because polling on /dev/null does not work. It does work to poll on regular files, though. Polling on /dev/tty does not work either. This documentation may be helpful:

Re: base64.? going into rfc3548bis

2006-03-24 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Fri, Mar 24, 2006 at 12:06:31PM CET: FYI: The update of RFC 3548 will include lib/base64.?, so additional review of these two files would be appreciated. If CHAR_BIT 8, then an unsanitized array `in' as argument to base64_encode could read past the bounds

FYI: argp.h/argz.h and error_t

2006-03-27 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Mon, Mar 20, 2006 at 08:36:26AM CET: [ this is http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/5424 ] Sorry for the delay, here's a patch. Cc:ing libtool-patches as the owner of the argz module. If you agree, I'll check this into Libtool as well. I have

make-stds.texi minor update

2006-04-05 Thread Ralf Wildenhues
The Makefile.maint (that is more or less) shared between coreutils, CPPI, Bison, and Autoconf, has a check to prefer the spelling of `file system' over `filesystem'. Automake ships `make-stds.texi'. I assume some consensus over this rule has been established? OK to commit this trivial patch to

Re: make-stds.texi minor update

2006-04-07 Thread Ralf Wildenhues
Hi Karl, * Karl Berry wrote on Fri, Apr 07, 2006 at 08:46:29PM CEST: one overlong line in the DVI output of standards.texi? Hmm. I'd rather not hardwire a line break, in principle. Yes, I can see the reason behind this. The patch avoids `@/' for the benefit of older texinfo

Re: prepare for autoconf-2.60

2006-04-20 Thread Ralf Wildenhues
* Paul Eggert wrote on Thu, Apr 20, 2006 at 01:50:48AM CEST: Bruno Haible [EMAIL PROTECTED] writes: + But about AC_CHECK_DECLS_ONCE: note that in + autoconf = 2.60 the symbol separator is a comma, whereas here it is + whitespace. I hadn't noticed this incompatibility. It is a real

Re: doc for the 'verify' module

2006-05-02 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Tue, May 02, 2006 at 04:33:28PM CEST: I propose to add the attached doc to the 'verify' module. It captures the interesting details of the verify macro. Objections? A rough syntax check only: *snip* @item Next this expression @samp{W} is wrapped in a type

Re: [bug-gnulib] localtime_r thread-safe?

2006-05-04 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Wed, May 03, 2006 at 10:39:06PM CEST: Paul Eggert wrote: I don't know of any hosts that have multithreading and localtime but lack a working localtime_r. HP-UX 11.00 with HP/PA. HP-UX 11.23 with IA64. In both cases: checking whether localtime_r is

Re: test failures: crc, md4, gc-md4

2006-05-11 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Wed, May 10, 2006 at 03:39:50PM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: FYI, a few of the gnulib tests currently fail: On x86_64-unknown-linux-gnu (omitting passed tests): FAIL: test-gc-md4 FAIL: test-md4 Someone reported

Re: test failures: crc, md4, gc-md4

2006-05-11 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Thu, May 11, 2006 at 06:14:19PM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: There's still the test-crc failure remaining. | cu got b9a9a617 | FAIL: test-crc Hi Ralf! Paul's fixes to the crc module are installed now, did they solve your

Re: getloadavg module broken

2006-05-18 Thread Ralf Wildenhues
Hi Jim, Bruno, * Jim Meyering wrote on Fri, May 19, 2006 at 12:08:46AM CEST: Bruno Haible [EMAIL PROTECTED] wrote: The module description of module 'getloadavg' appears to be missing the lib/getloadavg.c source file. configure: error: ././getloadavg.c is missing That is because it's

standards.texi language cleanup (was: Cygwin WIN32)

2006-05-19 Thread Ralf Wildenhues
an issue with this notation, and I don't want to see this in the Autoconf tarball. Cheers, Ralf 2006-05-19 Ralf Wildenhues [EMAIL PROTECTED] * doc/standards.texi (System Portability): Spell out `free BSD variants', instead of using the term `*BSD'. Index: doc/standards.texi

Re: standards.texi language cleanup

2006-05-19 Thread Ralf Wildenhues
Hi Karl, * Karl Berry wrote on Fri, May 19, 2006 at 07:19:41PM CEST: * doc/standards.texi (System Portability): Spell out `free BSD variants', instead of using the term `*BSD'. Before I bother rms with this, can you please explain to me the objection to *BSD?

Re: function portability documentation

2006-05-22 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Mon, May 22, 2006 at 02:13:52PM CEST: 2) Who should maintain this section in the future? Why does the section currently have only 20 entries, when an up-to-date list of portability problems has more than 200 entries? I think the answer is that the

Re: strfile: new module

2006-05-27 Thread Ralf Wildenhues
* Ralf Wildenhues wrote on Sat, May 27, 2006 at 12:22:35PM CEST: * Simon Josefsson wrote on Sat, May 27, 2006 at 12:12:59PM CEST: + int save_errno = errno; You are using errno but not including errno.h. ...and realloc but not including stdlib.h. Please compile your code with lots

Re: strfile: new module

2006-05-27 Thread Ralf Wildenhues
: Ralf Wildenhues [EMAIL PROTECTED] writes: You pass NULL to realloc and possibly to free but are not depending on the realloc and free modules. The free case was fixed in the last e-mail, but isn't realloc supposed to handle NULL? $ sed 2q modules/free Description: Work around

OSF/4.0D strtold

2006-05-27 Thread Ralf Wildenhues
Tru64 UNIX 4.0D doesn't provide strtold (in the standard library at least), but /usr/include.dtk/stdlib.h provides a declaration. Thus the compile test in c-strtod.m4 fails. This causes a link failure for coreutils-5.96 printf. The patch below seems to fix this (but I don't know whether it

Re: strfile: new module

2006-06-01 Thread Ralf Wildenhues
* Paul Eggert wrote on Thu, Jun 01, 2006 at 10:20:58AM CEST: Simon Josefsson [EMAIL PROTECTED] writes: What about realloc (NULL, ...)? In practice that is as portable as free (NULL). They were standardized at the same time. Well, with the difference being here that realloc, similar to

Re: stdint module rewrite (was: Re: Build CVS (TRUNK) failed.)

2006-06-13 Thread Ralf Wildenhues
* Bruno Haible wrote on Tue, Jun 13, 2006 at 06:20:18PM CEST: The only downside is that it bloats up 'configure' - but autoconf 3 should annihilate that growth, I'm told. You should be able to rewrite this to use shell loops for the most part; similar to how I started in this thread:

Re: stdint module rewrite (was: Re: Build CVS (TRUNK) failed.)

2006-06-13 Thread Ralf Wildenhues
* Bruno Haible wrote on Tue, Jun 13, 2006 at 11:00:45PM CEST: Ralf Wildenhues wrote: You should be able to rewrite this to use shell loops for the most part; Actually, that's how I started doing it: But this way, autoheader didn't recognise the AC_DEFINE_UNQUOTED invocations, i.e

Re: stdint module rewrite

2006-06-16 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Fri, Jun 16, 2006 at 03:08:11PM CEST: Ralf Wildenhues wrote: Yes, but that's basically the only part that breaks this way. And only one part of the AC_DEFINE_UNQUOTED, namely the part that needs to be traceable for autoheader: the AH_TEMPLATE call

Re: [bug-gnulib] gettext: -lintl if necessary

2006-06-16 Thread Ralf Wildenhues
Hello Paul, * Paul Eggert wrote on Fri, Jun 16, 2006 at 08:01:33PM CEST: [...] in coreutils CVS we're using a new gl_IGNORE_UNUSED_LIBRARIES macro (defined in m4/lib-ignore.m4) that tells the linker to omit references to libraries that are not actually used (this is the '-z ignore' option

Re: [bug-gnulib] gettext: -lintl if necessary

2006-06-19 Thread Ralf Wildenhues
* Paul Eggert wrote on Mon, Jun 19, 2006 at 09:35:43AM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: One problem with generally using this is that libtool will track the library dependencies regardless of whether the library is actually needed or not -- it cannot know. 'cannot

Re: [bug-gnulib] gettext: -lintl if necessary

2006-06-19 Thread Ralf Wildenhues
* Paul Eggert wrote on Mon, Jun 19, 2006 at 11:47:35AM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: BTW, are the bugs wrt. as-needed fixed on all systems now? Sorry, I don't know. I don't know what the bugs were. Would they have affected coreutils? I don't know. One reference

Re: sys_socket fix to remove WINVER

2006-06-21 Thread Ralf Wildenhues
Hi Simon, A couple of nits: * Simon Josefsson wrote on Wed, Jun 21, 2006 at 07:39:42PM CEST: + Currently only MinGW is supported. See the gnulib manual regarding + Windows sockets. MinGW have the header files winsock2.h and s/have/has/ + ws2tcpip.h that declare the sys/socket.h

Re: Portablity bug in base64.c

2006-06-23 Thread Ralf Wildenhues
Since I don't assume I get the chance of saying this very often... * Larry Jones wrote on Fri, Jun 23, 2006 at 07:51:37PM CEST: The big benefit is that it fixes the immediate problem now as opposed to waiting for the autoconf change to percolate out into the world. ...this time the percolation

Re: memcmp module

2006-07-03 Thread Ralf Wildenhues
Hello Jim, * Jim Meyering wrote on Thu, Jun 29, 2006 at 01:57:36PM CEST: How about leaving it in for a while longer, but adding some sort of assertion that will trigger if ever configure detects it's needed. Here's what I did recently for coreutils: Note that it does provide a way to

Re: [bug-gnulib] minimum autoconf version

2006-07-03 Thread Ralf Wildenhues
Hello Bruno, Paul, * Bruno Haible wrote on Thu, Jun 29, 2006 at 02:59:24PM CEST: Paul Eggert writes: The code currently assumes Autoconf 2.60 but could be backported easily I think it's important to leave people a choice. Autoconf 2.60 will have different bugs than autoconf-2.59, which

AH_VERBATIM missing 2nd arg (was: OS/2 and stdarg module)

2006-07-06 Thread Ralf Wildenhues
* Bruno Haible wrote on Tue, Jul 04, 2006 at 06:55:08PM CEST: Eric Blake wrote: Meanwhile, is it worth patching autoconf/lib/autoheader.m4 to complain when $2 of AH_VERBATIM is empty, so this mistake is less likely to occur in the future? This would be welcome. Something like this

Re: AC_HEADER_STDC

2006-07-06 Thread Ralf Wildenhues
* Bruno Haible wrote on Thu, Jul 06, 2006 at 02:51:10PM CEST: Paul Eggert wrote: * m4/getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed. All uses removed. * m4/strtol.m4 (gl_PREREQ_STRTOL): Likewise. * m4/strtoul.m4 (gl_PREREQ_STRTOUL): Likewise. I

Re: cycle-check.h fix imported from coreutils

2006-07-06 Thread Ralf Wildenhues
* quoting myself: * modules/same-inode: New module, comprising same-inode.h. * modules/cycle-check: Depend on it, don't list same-inode.h. * modules/mkdir-p, modules/same: Likewise. Never mind this patch. It needs either a bunch of m4/ updates to list same-inode.h in

create a big test, collect the fallout

2006-07-06 Thread Ralf Wildenhues
One of the cheapest (ahem) ways to catch a number of gnulib bugs is to create one tree with all modules and all tests in it. If it works, that is. So I started doing this manually, again. Here's some fallout on the way to make path/to/gnulib-tool --with-tests $l --dir=foo --megatest work.

Re: create a big test, collect the fallout

2006-07-08 Thread Ralf Wildenhues
Hi Simon, * Simon Josefsson wrote on Fri, Jul 07, 2006 at 01:58:00AM CEST: Simon Josefsson [EMAIL PROTECTED] writes: I'll see if I can fix the crc module, it is probably the same 64-bit problem as in the md4 or md5 module a while ago. Nope, I think the self-test was created with an old

Re: gnulib-tool change for Autoconf 2.60 and onceonly

2006-07-09 Thread Ralf Wildenhues
* Paul Eggert wrote on Sun, Jul 09, 2006 at 05:33:47AM CEST: * gnulib-tool (func_get_filelist): Don't echo m4/onceonly_2_57.m4, for the benefit of people using Autoconf 2.60. If you want to support older Autoconf versions you can copy m4/onceonly_2_57.m4 (or

typos

2006-07-09 Thread Ralf Wildenhues
Hello, here's a patch to fix some typos, en_UK vs en_US differences and inconsistencies. I could apply it, but I guess it needs approval from some parties... Cheers, Ralf * doc/functions.texi, doc/gnulib-tool.texi, doc/gnulib.texi: Fix some typos. * doc/maintain.texi,

Re: allocsa module update

2006-08-06 Thread Ralf Wildenhues
Hello Bruno, A while ago you applied this go gnulib: * Bruno Haible wrote on Sat, Jul 22, 2006 at 03:53:42PM CEST: Merge from gettext: 2005-02-10 Bruno Haible [EMAIL PROTECTED] * allocsa.h (sa_alignof): Define differently with AIX xlc, to avoid a bug of this compiler on AIX

Re: fix 'javaversion' module

2006-08-06 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Mon, Jul 31, 2006 at 02:56:50PM CEST: The Makefile.am commands for the javaversion module were incomplete. 2006-07-30 Bruno Haible [EMAIL PROTECTED] * modules/javaversion (Makefile.am): Distribute javaversion.java and javaversion.class.

Re: change macro of modules csharpexec, javaexec, javacomp-script

2006-08-06 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Mon, Jul 31, 2006 at 04:41:40PM CEST: The macros of these modules take arguments; therefore no generally valid invocation can be put into the module description file. * modules/csharpcomp-script (configure.ac): Use AC_REQUIRE. ***

Re: [bug-gnulib] wcwidth on OSF/1

2006-08-08 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Tue, Aug 08, 2006 at 03:32:33PM CEST: + If GNU CC is not installed, it is therefore recommended to try + + env CC=cc ./configure + + and if that doesn't work, try + + env CC=cc -nodtk ./configure What does it need to persuade you to

Re: CC=cc ./configure or ./configure CC=cc

2006-08-09 Thread Ralf Wildenhues
Hello Bruno, Let's move the GCS-related part of this discussion to bug-gnulib. * Bruno Haible wrote on Tue, Aug 08, 2006 at 04:32:55PM CEST: 3) A recommendation to use VAR=value in the configure command line will not work with some 'configure' scripts that comply to GNU standards but

Re: CC=cc ./configure or ./configure CC=cc

2006-08-10 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Thu, Aug 10, 2006 at 02:14:39PM CEST: Ralf Wildenhues wrote: * standards.texi (Configuration): Document that `configure' should accept arguments of the form `VARIABLE=VALUE' and why they are preferable over environment variables

Re: new module proposal: verror

2006-08-10 Thread Ralf Wildenhues
Hello Eric, * Eric Blake wrote on Thu, Aug 10, 2006 at 03:08:38PM CEST: * gnulib-tool (func_import): Check for unexpanded gl_ macros. This looks like a very good idea to me, in general; minor issues: - gl_ES is a valid locale name, - `LC_ALL=C grep gl_[abd-z] gnulib/m4/*' shows many

Re: CC=cc ./configure or ./configure CC=cc

2006-08-11 Thread Ralf Wildenhues
* Karl Berry wrote on Fri, Aug 11, 2006 at 12:51:10AM CEST: 1) First, the order of subsections output in GCS is inconsistent between the DVI and the info output (this does not happen with sections as in the GNU make manual, but only with the section-lowering as done for the

Re: gnulib and missing distribution files?

2006-08-14 Thread Ralf Wildenhues
Hello Karl, * Karl Berry wrote on Mon, Aug 14, 2006 at 03:36:11PM CEST: In trying to prepare the release of (gasp) GNU Hello, I'm finding that some gnulib files are being left out of the distribution tar.gz, specifically the getopt-related ones. It looks like this is because the gnulib

Re: hello 2.1.91 pretest

2006-08-21 Thread Ralf Wildenhues
Hello Mark, * Mark D. Baushke wrote on Mon, Aug 21, 2006 at 10:37:06AM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: Suggested patch below. OK? I like your change as I think it makes it easier to understand. Thanks. I'll apply in a day or two if noone objects. I suggest you add

Re: hello-2.1.91 modernization

2006-08-22 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Tue, Aug 22, 2006 at 02:07:05PM CEST: Since the purpose of is to show best practices, here are a few of them. - #if HAVE_... instead of #ifdef HAVE_... Autoconf is currently moving away from this, see this thread:

Re: hello-2.1.91 build failure on MacOS X

2006-08-23 Thread Ralf Wildenhues
* Bruno Haible wrote on Wed, Aug 23, 2006 at 08:00:57PM CEST: Ralf Wildenhues wrote: This should only be an error if `missing' cannot guess the output file name. The fix is to use the flag -o or --output, to help `missing' to infer. And what about the cross-compiling case? 'help2man

Re: hello-2.1.91 build failure on MacOS X

2006-08-24 Thread Ralf Wildenhues
Hello Bruno, * Bruno Haible wrote on Wed, Aug 23, 2006 at 10:40:31PM CEST: Ralf Wildenhues wrote: We could ask help2man to have it return a different exit status if it gets an exit status of 126 from the program, and have it return 63 then, which `missing' will interpret as version

Re: hello-2.1.91 build failure on MacOS X

2006-08-24 Thread Ralf Wildenhues
Hello Simon, * Simon Josefsson wrote on Thu, Aug 24, 2006 at 10:06:28AM CEST: Perhaps autoconf should de-couple can i execute this binary from cross-compilation. Autoconf could test if it is possible to run programs by compiling a small program and run it, and see if the output is correct.

Re: compilation flags per object file

2006-08-25 Thread Ralf Wildenhues
Hello Bruno, Mark, * Bruno Haible wrote on Fri, Aug 25, 2006 at 03:53:35PM CEST: Ralf Wildenhues wrote: You should note that object file names are an internal Automake detail, so the naming of the respective *_CPPFLAGS variable is not clear, for starters. Above would conflict

Re: new config-h module, to remove the need for -DHAVE_CONFIG_H

2006-08-28 Thread Ralf Wildenhues
[ no need to discuss this on libtool rather than -patches ] * Eric Blake wrote on Mon, Aug 28, 2006 at 02:55:21PM CEST: According to Paul Eggert on 8/26/2006 12:43 AM: The basic idea is that source files should include config.h unconditionally, so that we needn't clutter make output with

Re: new config-h module, to remove the need for -DHAVE_CONFIG_H

2006-08-29 Thread Ralf Wildenhues
Hello Karl, Paul, * Karl Berry wrote on Tue, Aug 29, 2006 at 01:33:14AM CEST: why does gnulib/config/srclist.txt list these files as GPL, as do the gnulib file headers, but modules/argz says LGPL, and libltdl is distributed with LGPL + special exception? I don't recall any deep

Re: proposed gnulib module 'configmake', plus use by 'localcharset'

2006-08-29 Thread Ralf Wildenhues
Hello Jim, * Jim Meyering wrote on Tue, Aug 29, 2006 at 05:52:02PM CEST: Here's one more little change I've applied. Without it, rerunning coreutils' bootstrap and building would not update a stale copy of configmake.h, containing the now-invalid CONFIGMAKE_ prefixes. -configmake.h:

Re: proposed gnulib module 'configmake', plus use by 'localcharset'

2006-08-29 Thread Ralf Wildenhues
Hello Jim, * Jim Meyering wrote on Tue, Aug 29, 2006 at 06:55:19PM CEST: Even if there is a tiny efficiency gain (I don't see it), such a change would feel like obfuscation. Never mind, I was hallucinating again. Sorry 'bout that, Ralf

Re: hello-2.1.91 and CR/LF

2006-08-29 Thread Ralf Wildenhues
Hello Karl, * Karl Berry wrote on Mon, Aug 28, 2006 at 08:31:37PM CEST: However, on MinGW all three tests fail because the program outputs CRLF line endings, while the test suite creates files with LF ending. Um, why? That is, why does catfoo produce LF files while hellofoo

Re: moving getloadavg and fnmatch from Autoconf to Gnulib (1/2)

2006-09-01 Thread Ralf Wildenhues
Hello Paul, Just a couple of quick notes: * Paul Eggert wrote on Fri, Sep 01, 2006 at 12:35:09AM CEST: getloadavg and fnmatch properly belong to Gnulib[...] One way to fix this is to migrate the relevant test into the Autoconf code, so that it no longer uses getloadavg.c, but the test is

update argz_.h

2006-09-05 Thread Ralf Wildenhues
I've pushed this change (which was part of a bigger patch) to from Libtool to gnulib. Cheers, Ralf 2006-09-05 Ralf Wildenhues [EMAIL PROTECTED] * argz_.h: Sync from Libtool. 2006-09-04 George Bosilca [EMAIL PROTECTED] and Ralf Wildenhues [EMAIL

  1   2   3   4   5   6   7   >