Re: [PATCH 1/6] Add --gnulib-version and --news options to announce-gen.

2010-09-01 Thread Ralf Wildenhues
Hello Gary, * Gary V. Vaughan wrote on Wed, Sep 01, 2010 at 08:09:32AM CEST: > On 1 Sep 2010, at 12:25, Ralf Wildenhues wrote: > > That didn't help to make it more readable, or cause less buggy code > > though. > > Well that's because the shared code in getopts.m4sh is still getting > exposure.

Avoid leaking make flags into testsuite results.

2010-09-01 Thread Ralf Wildenhues
I'm committing the following bug fix, with code taken from automake/tests/defs.in and adapted for Libtool. It ought to fix about a third of all the failures in all the autobuild logs; e.g., tests 107 and 109 seen in this log:

tests: fix localization test for GCC on HP-UX 11.00.

2010-09-01 Thread Ralf Wildenhues
http://autobuild.josefsson.org/libtool/log-20100829162778217.txt This patch fixes the spurious failure when the compiler is properly setup for localization but the 'diff' program isn't. :-) Cheers, Ralf tests: fix localization test for GCC on HP-UX 11.00. * tests/localization.a

Re: [PATCH 1/6] Add --gnulib-version and --news options to announce-gen.

2010-09-01 Thread Ralf Wildenhues
Hello Gary, * Gary V. Vaughan wrote on Wed, Sep 01, 2010 at 09:49:01PM CEST: > Well, libltdl also works well enough. No, it doesn't. > I'm a good way into a complete > rewrite... are you saying that you'd rather put up with the limitations > of the current libltdl architecture than move to a cle

tests: avoid spurious pic_flag test failure on HP-UX 10.20.

2010-09-01 Thread Ralf Wildenhues
http://autobuild.josefsson.org/libtool/log-201008291316745734000.txt | 113. pic_flag.at:24: testing override pic_flag at configure time ... | ../../libtool/tests/pic_flag.at:36: $CC $CPPFLAGS $CFLAGS $C_pic_flag -c foo.c || exit 77 | stderr: | cc: warning 422: Unknown option "f" ignored. | cc: wa

[PATCH 0/7] Support for toolchains that are not $host-native.

2010-09-01 Thread Peter Rosin
Hi! I was going to hold off this until after I had run the testsuite one more time with the latest fixes, but the recent message from Gary made me post right away. By the Lay of Murphy, I'm sure I'll regret it... This series is a rebased and updated version of the patches posted in http://lists.g

[PATCH 1/7] Add file name conversion from $build to toolchain.

2010-09-01 Thread Peter Rosin
>From 0c11bb2ae0f51acecddc97ad84a18f556d7a5f20 Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Tue, 31 Aug 2010 12:17:10 +0200 Subject: [PATCH 1/7] Add file name conversion from $build to toolchain. * configure.ac: Ensure to_tool_file_cmd is available to Makefile. * libltdl/m4/libtool.m4 (_LT_P

[PATCH 2/7] Convert file names to toolchain format when linking.

2010-09-01 Thread Peter Rosin
>From 6d6f0d24c51c7b4902452a312c5a377dae65d85a Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Sun, 29 Aug 2010 13:31:47 +0200 Subject: [PATCH 2/7] Convert file names to toolchain format when linking. * libltdl/config/ltmain.m4sh (func_mode_link): When exporting symbols and when linking using c

[PATCH 3/7] Convert file names to toolchain format in $NM and $AR @files.

2010-09-01 Thread Peter Rosin
>From c8a113b5db03bcc9b034019a749b8de0b75bfcf7 Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Sun, 29 Aug 2010 13:55:16 +0200 Subject: [PATCH 3/7] Convert file names to toolchain format in $NM and $AR @files. * libltdl/config/ltmain.m4sh (func_mode_link): When listing symbols and when creating

[PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path.

2010-09-01 Thread Peter Rosin
>From 16232cc7ddfc4bab981a2fa2d87757c68832b32e Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Sun, 29 Aug 2010 18:26:16 +0200 Subject: [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path. * libltdl/config/ltmain.m4sh (func_mode_compile): Replace the fix_srcfile_path hook with a call t

[PATCH 7/7] Prefer $NM @file over calculating the cmd line length.

2010-09-01 Thread Peter Rosin
>From 3181ad6033fd6798ee49b91c66b0e1c7eee6a98c Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Wed, 1 Sep 2010 22:13:12 +0200 Subject: [PATCH 7/7] Prefer $NM @file over calculating the cmd line length. * libltdl/config/ltmain.m4sh (func_mode_link): Avoid calculating the cammand line length if th

[PATCH 6/7] Convert file name to toolchain format when invoking $NM.

2010-09-01 Thread Peter Rosin
>From acf4b65fb20f86e0757f13a0dce11c1fb27411d3 Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Wed, 1 Sep 2010 22:03:23 +0200 Subject: [PATCH 6/7] Convert file name to toolchain format when invoking $NM. * libltdl/config/ltmain.m4sh (func_generate_dlsyms) (func_win32_libid, func_cygming_gnu_impl

[PATCH 5/7] Convert POSIX file names to toolchain format for MSVC

2010-09-01 Thread Peter Rosin
>From f3aeb980aded1f4b71198316cd2a57b7b166ef79 Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Wed, 1 Sep 2010 21:23:03 +0200 Subject: [PATCH 5/7] Convert POSIX file names to toolchain format for MSVC * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS, _LT_LANG_CXX_CONFIG) [mingw] : Make sure the -outpu

Re: [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path.

2010-09-01 Thread Ralf Wildenhues
* Peter Rosin wrote on Wed, Sep 01, 2010 at 10:33:59PM CEST: > From 16232cc7ddfc4bab981a2fa2d87757c68832b32e Mon Sep 17 00:00:00 2001 > From: Peter Rosin > Date: Sun, 29 Aug 2010 18:26:16 +0200 > Subject: [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path. > > * libltdl/config/ltmain.m

Re: [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path.

2010-09-01 Thread Charles Wilson
On 9/1/2010 5:30 PM, Ralf Wildenhues wrote: > * Peter Rosin wrote on Wed, Sep 01, 2010 at 10:33:59PM CEST: >> * libltdl/config/ltmain.m4sh (func_mode_compile): Replace the >> fix_srcfile_path hook with a call to func_to_tool_file. >> * libltdl/m4/libtool.m4 (_LT_LINKER_SHLIBS) [cygwin,mingw,pw32] >

Re: [PATCH 1/7] Add file name conversion from $build to toolchain.

2010-09-01 Thread Charles Wilson
On 9/1/2010 4:32 PM, Peter Rosin wrote: > +AC_MSG_CHECKING([how to convert $build file names to toolchain format]) > +AC_CACHE_VAL(lt_cv_to_tool_file_cmd, > +[#assume ordinary cross tools, or native build. > +lt_cv_to_tool_file_cmd=func_convert_file_noop > +case $host in > + *mingw* ) > +case

Re: [PATCH 4/7] Use func_to_tool_file instead of fix_srcfile_path.

2010-09-01 Thread Ralf Wildenhues
* Charles Wilson wrote on Wed, Sep 01, 2010 at 11:39:07PM CEST: > On 9/1/2010 5:30 PM, Ralf Wildenhues wrote: > > * Peter Rosin wrote on Wed, Sep 01, 2010 at 10:33:59PM CEST: > >> * libltdl/config/ltmain.m4sh (func_mode_compile): Replace the > >> fix_srcfile_path hook with a call to func_to_tool_fi

Re: [PATCH] Path conversion documentation

2010-09-01 Thread Charles Wilson
On 8/30/2010 4:20 PM, Ralf Wildenhues wrote: > * Charles Wilson wrote on Mon, Aug 30, 2010 at 09:45:00PM CEST: >> Thanks for the review. > > My pleasure. Pushed as attached. 'Course, I notice that I screwed up the date in the ChangeLog. Could the next person to commit a change to that file, ple