Re: Potential bash 2.05 issues with 'set'

2001-10-23 Thread Akim Demaille

 Tim == Tim Van Holder [EMAIL PROTECTED] writes:

Tim Something like this, perhaps?

For sure!

___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: PATCH: Fix mips*-*-linux*

2001-10-23 Thread H . J . Lu

On Tue, Oct 23, 2001 at 11:24:42AM -0500, Robert Boehne wrote:
 Hello,
 
 Here is the patch reworked for HEAD.  If noone objects
 I'll commit it.
 
 ChangeLog Entry:
 
 2001-10-23  H.J. Lu [EMAIL PROTECTED]
 
 * ltmain.sh: Allow link against an archive when building a
 shared library.
 
 * libtool.m4 (lt_cv_deplibs_check_method): Always use
 file_magic for Linux ELF.
 
 

IMHO, the whole lt_cv_deplibs_check_method stuff in libtool is all
wrong, at least on ELF when building a shared library. The only thing
you can put in

dependency_libs=...

in lib*.la is DSO. You should never, ever put an archive in it, at
least not on ELF.


H.J.

___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: [Patch #41] Do all rm's in one command with --mode=clean

2001-10-23 Thread Jeff Dubrule

Hmm.  I was having trouble trying to feed 'xargs' it's data without
actually putting it all on a command-line at some point(silly, eh?).
In any event, perhaps something like this will work:

   for each file
  ...
  $rmfiles=$rmfiles $some_files_to_delete
  ...
  if 100  -l $rmfiles  then
$show $rm $rmfiles
$run $rm || exit_status=1
$rmfiles=
  fi
done
if test -n $rmfiles; then
  $show $rm $rmfiles
  $run $rm || exit_status=1
  $rmfiles=
fi

Is there a less random number than 100, that would be a reasonable
minimum?

-jeff

___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool



Re: Potential bash 2.05 issues with 'set'

2001-10-23 Thread Tim Van Holder

  Tim == Tim Van Holder [EMAIL PROTECTED] writes:
 
 Tim Something like this, perhaps?
 
 For sure!
 
OK - installed (this may be resolved in bash 2.06; if so, I'll try to
remember to amend this entry accordingly).


___
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool