shift
case $opt in
- --config) func_config ;;
+ --config) func_config ;;
--debug) preserve_args="$preserve_args $opt"
- func_echo "enabling shell trace mode"
- opt_debug='set -x'
+ func_echo "enabling shell trace mode"
+ opt_debug='set -x'
$opt_debug
;;
--finish) mode="finish" ;;
--mode) test "$#" -eq 0 && func_missing_arg "$opt" && break
- case $1 in
+ case $1 in
# Valid mode arguments:
clean) ;;
compile) ;;
;;
esac
- mode="$1"
+ mode="$1"
shift
;;
--preserve-dup-deps)
- opt_duplicate_deps=: ;;
+ opt_duplicate_deps=: ;;
--quiet|--silent) preserve_args="$preserve_args $opt"
- opt_silent=:
+ opt_silent=:
;;
--verbose| -v) preserve_args="$preserve_args $opt"
- opt_silent=false
+ opt_silent=false
;;
--tag) test "$#" -eq 0 && func_missing_arg "$opt" && break
-*) func_fatal_help "unrecognized option \`$opt'" ;;
*) nonopt="$opt"
- break
+ break
;;
esac
done
"
} # !$opt_dry_run
- pic_flag_for_symtable=
+ pic_flag_for_symtable=
case "$compile_command " in
*" -static "*) ;;
*)
func_quote_for_eval "$libobj"
test "X$libobj" != "X$func_quote_for_eval_result" \
- && $ECHO "X$libobj" | $GREP '[@:>@~#^*{};<>?"'"'"' &()|`$@<:@]' \
+ && $ECHO "X$libobj" | $GREP '[@:>@~#^*{};<>?"'"'"' &()|`$@<:@]' \
&& func_warning "libobj name \`$libobj' may not contain shell special characters."
func_dirname_and_basename "$obj" "/" ""
objname="$func_basename_result"
case $arg in
-d) isdir=yes ;;
-f)
- case " $install_prog " in
+ case " $install_prog " in
*[\\\ /]cp\ *) ;;
*) prev=$arg ;;
esac
#
# emit a libtool wrapper script on stdout
# don't directly open a file because we may want to
-# incorporate the script contents within a cygwin/mingw
+# incorporate the script contents within a cygwin/mingw
# wrapper executable. Must ONLY be called from within
# func_mode_link because it depends on a number of variable
# set therein.
if test -n "$1" ; then
func_emit_wrapper_arg1=$1
fi
-
+
$ECHO "\
#! $SHELL
file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
done
- # Usually 'no', except on cygwin/mingw when embedded into
+ # Usually 'no', except on cygwin/mingw when embedded into
# the cwrapper.
WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1
if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then
char *strendzap (char *str, const char *pat);
void lt_fatal (const char *message, ...);
-static const char *script_text =
+static const char *script_text =
EOF
func_emit_wrapper yes |
$SED -e 's/\([\\"]\)/\\\1/g' \
- -e 's/^/ "/' -e 's/$/\\n"/'
+ -e 's/^/ "/' -e 's/$/\\n"/'
echo ";"
cat <<EOF
const char *dumpscript_opt = "--lt-dump-script";
int i;
-
+
program_name = (char *) xstrdup (base_name (argv[0]));
LTWRAPPER_DEBUGPRINTF (("(main) argv[0] : %s\n", argv[0]));
LTWRAPPER_DEBUGPRINTF (("(main) program_name : %s\n", program_name));
;;
* ) lt_newargv0=$SHELL ;;
esac
- fi
+ fi
cat <<EOF
newargz[0] = (char *) xstrdup ("$lt_newargv0");
fclose (shwrapper);
make_executable (newargz[1]);
-
+
for (i = 1; i < argc; i++)
newargz[i + 1] = xstrdup (argv[i]);
newargz[argc + 1] = NULL;
if (rval == -1)
{
/* failed to start process */
- LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"$lt_newargv0\": errno = %d\n", errno));
+ LTWRAPPER_DEBUGPRINTF (("(main) failed to launch target \"$lt_newargv0\": errno = %d\n", errno));
return 127;
}
return rval;
if (!has_symlinks)
{
return xstrdup (pathspec);
- }
+ }
tmp_pathspec = realpath (pathspec, buf);
if (tmp_pathspec == 0)
;;
esac
;;
- esac
+ esac
prev=
continue
;;
continue
;;
shrext)
- shrext_cmds="$arg"
+ shrext_cmds="$arg"
prev=
continue
;;
continue
;;
- # -msg_* for osf cc
+ # -msg_* for osf cc
-msg_*)
func_quote_for_eval "$arg"
arg="$func_quote_for_eval_result"
;;
*-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
# Compiler inserts libc in the correct place for threads to work
- ;;
- *)
+ ;;
+ *)
# Add libc to deplibs on all other systems if necessary.
if test "$build_libtool_need_lc" = "yes"; then
deplibs="$deplibs -lc"
tmp_deplibs=`$ECHO "X $tmp_deplibs" | $Xsed -e "s,$i,,"`
done
fi
- if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
+ if $ECHO "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' |
$GREP . >/dev/null; then
$ECHO
if test "X$deplibs_check_method" = "Xnone"; then