5 if test -z "$SED" ; then
11 last_result=`echo $1 | $SED -e 's#.libs/##' -e 's#[0-9a-zA-Z_\-\.]*_la-##'`
14 tempval=`echo $1 | sed s/\'//g`
15 if test "x$tempval" = "x$SHELL"; then
18 tempval=`echo $1 | sed s/\'//g`
22 # if 1, don't print anything, the underlaying wrapper will do it
25 # scan the arguments, keep the right ones for libtool, and discover the mode
27 while test "$#" -gt 0; do
33 mode=`echo $opt | $SED -e 's/[-_a-zA-Z0-9]*=//'`
34 preserved_args="$preserved_args $opt"
38 preserved_args="$preserved_args $opt"
41 preserved_args="$preserved_args $opt"
48 # shave will be called and print the actual CC/CXX/LINK line
49 preserved_args="$preserved_args --shave-mode=$mode"
53 preserved_args="$preserved_args --shave-mode=$mode"
58 # echo "*** libtool: Unimplemented mode: $mode, fill a bug report"
62 lt_unmangle "$lt_output"
66 if test $pass_though -eq 0; then
69 $LIBTOOL --silent $preserved_args
71 echo $LIBTOOL $preserved_args
72 $LIBTOOL $preserved_args