5 if test -z "$SED" ; then
11 last_result=`echo $1 | $SED -e 's#.libs/##' -e 's#[0-9a-zA-Z_\-\.]*_la-##'`
14 # the real libtool to use
18 # if 1, don't print anything, the underlaying wrapper will do it
21 # scan the arguments, keep the right ones for libtool, and discover the mode
23 while test "$#" -gt 0; do
29 mode=`echo $opt | $SED -e 's/[-_a-zA-Z0-9]*=//'`
30 preserved_args="$preserved_args $opt"
34 preserved_args="$preserved_args $opt"
37 preserved_args="$preserved_args $opt"
44 # shave will be called and print the actual CC/CXX/LINK line
45 preserved_args="$preserved_args --shave-mode=$mode"
49 preserved_args="$preserved_args --shave-mode=$mode"
54 # echo "*** libtool: Unimplemented mode: $mode, fill a bug report"
58 lt_unmangle "$lt_output"
62 if test $pass_though -eq 0; then
65 $LIBTOOL --silent $preserved_args
67 echo $LIBTOOL $preserved_args
68 $LIBTOOL $preserved_args