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 tool to wrap (cc, cxx, ar, ranlib, ..)
19 # the reel tool (to call)
25 while test "$#" -gt 0; do
31 mode=`echo "X$opt" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'`
35 preserved_args="$preserved_args $opt"
38 preserved_args="$preserved_args $opt"
43 # mode=link is handled in the libtool wrapper
52 # no "libtool" mode has been given, we are called by the Makefile:
53 # -> assume compilation
59 lt_unmangle "$lt_output"
63 if test $pass_through -eq 0; then
66 $REEL_TOOL $preserved_args
68 echo $REEL_TOOL $preserved_args
69 $REEL_TOOL $preserved_args