* ltmain.in: include --tag options, if specified, in the

relink_command in uninstalled .la files.  Also, preserve --silent,
--debug options when libtool re-execs itself.
* NEWS: Updated.
This commit is contained in:
Kevin P. Fleming 2003-10-20 13:36:10 +00:00 committed by Gary V. Vaughan
parent 8e0e00900a
commit e0da307341
3 changed files with 16 additions and 2 deletions

View File

@ -1,3 +1,11 @@
2003-10-19 Kevin P. Fleming <kpfleming@backtobasicsmgmt.com>
Charles Wilson <cygwin@cwilson.fastmail.fm>
* ltmain.in: include --tag options, if specified, in the
relink_command in uninstalled .la files. Also, preserve --silent,
--debug options when libtool re-execs itself.
* NEWS: Updated.
2003-10-19 Charles Wilson <cygwin@cwilson.fastmail.fm>
* libtoolize.in: protect sed expression against

2
NEWS
View File

@ -1,6 +1,8 @@
NEWS - list of user-visible changes between releases of GNU Libtool
New in 1.5b: 2003-??-??; CVS version 1.5a, Libtool team:
* --tag, --silent and --debug options are preserved and reused when libtool
calls itself for relinking etc.
* -no-suppress in compile mode shows compiler output for both PIC and non-PIC
object compilation.
* Shared objects (.lo) are no longer created when `-static' is passed in

View File

@ -202,6 +202,7 @@ do
;;
tag)
tagname="$arg"
preserve_args="${preserve_args}=$arg"
# Check whether tagname contains only valid characters
case $tagname in
@ -264,6 +265,7 @@ do
--debug)
$echo "$progname: enabling shell trace mode"
set -x
preserve_args="$preserve_args $arg"
;;
--dry-run | -n)
@ -294,6 +296,7 @@ do
--quiet | --silent)
show=:
preserve_args="$preserve_args $arg"
;;
--tag) prevopt="--tag" prev=tag ;;
@ -301,6 +304,7 @@ do
set tag "$optarg" ${1+"$@"}
shift
prev=tag
preserve_args="$preserve_args --tag"
;;
-dlopen)
@ -5143,7 +5147,7 @@ fi\
fi
done
# Quote the link command for shipping.
relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)"
relink_command="(cd `pwd`; $SHELL $0 $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
if test "$hardcode_automatic" = yes ; then
relink_command=
@ -5768,7 +5772,7 @@ relink_command=\"$relink_command\""
if test -n "$current_libdirs"; then
# Maybe just do a dry run.
test -n "$run" && current_libdirs=" -n$current_libdirs"
exec_cmd='$SHELL $0 --finish$current_libdirs'
exec_cmd='$SHELL $0 $preserve_args --finish$current_libdirs'
else
exit 0
fi