5 if test -z "$SED" ; then
12 last_result=`echo -n X$1 | $Xsed -e 's#.libs/##' -e 's#[0-9a-zA-Z_]\+_la-##'`
15 # the real libtool to use
19 # if 1, don't print anything, the underlaying wrapper will do it
22 # scan the arguments, keep the right ones for libtool, and discover the mode
24 while test "$#" -gt 0; do
30 mode=`echo "X$opt" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'`
31 preserved_args="$preserved_args $opt"
35 preserved_args="$preserved_args $opt"
38 preserved_args="$preserved_args $opt"
45 # shave will be called and print the actual CC/CXX/LINK line
46 preserved_args="$preserved_args --shave-mode=$mode"
50 preserved_args="$preserved_args --shave-mode=$mode"
55 # echo "*** libtool: Unimplemented mode: $mode, fill a bug report"
59 lt_unmangle "$lt_output"
63 if test $pass_though -eq 0; then
66 $LIBTOOL --silent $preserved_args
68 echo $LIBTOOL $preserved_args
69 $LIBTOOL $preserved_args