From: Eric Blake Date: Mon, 23 Jul 2007 12:23:27 +0000 (+0000) Subject: * libltdl/config/ltmain.m4sh: Whitespace cleanup. X-Git-Tag: release-2-1b~93 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=310551c9c4a65a3c2cfde9851517f96aed55e033;p=thirdparty%2Flibtool.git * libltdl/config/ltmain.m4sh: Whitespace cleanup. --- diff --git a/ChangeLog b/ChangeLog index d1723f237..61ee38935 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-07-23 Eric Blake + * libltdl/config/ltmain.m4sh: Whitespace cleanup. + * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src: chase_symlinks): Avoid compiler warning. diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index cb8c5c75d..896c387c2 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -466,11 +466,11 @@ Otherwise, only FILE itself is deleted using RM." 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 ;; @@ -484,7 +484,7 @@ Otherwise, only FILE itself is deleted using RM." --finish) mode="finish" ;; --mode) test "$#" -eq 0 && func_missing_arg "$opt" && break - case $1 in + case $1 in # Valid mode arguments: clean) ;; compile) ;; @@ -502,19 +502,19 @@ Otherwise, only FILE itself is deleted using RM." ;; 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 @@ -537,7 +537,7 @@ Otherwise, only FILE itself is deleted using RM." -*) func_fatal_help "unrecognized option \`$opt'" ;; *) nonopt="$opt" - break + break ;; esac done @@ -1040,7 +1040,7 @@ static const void *lt_preloaded_setup() { " } # !$opt_dry_run - pic_flag_for_symtable= + pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) @@ -1415,7 +1415,7 @@ func_mode_compile () 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" @@ -1861,7 +1861,7 @@ func_mode_install () case $arg in -d) isdir=yes ;; -f) - case " $install_prog " in + case " $install_prog " in *[\\\ /]cp\ *) ;; *) prev=$arg ;; esac @@ -2261,7 +2261,7 @@ test "$mode" = install && func_mode_install ${1+"$@"} # # 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. @@ -2277,7 +2277,7 @@ func_emit_wrapper () if test -n "$1" ; then func_emit_wrapper_arg1=$1 fi - + $ECHO "\ #! $SHELL @@ -2361,7 +2361,7 @@ else 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 @@ -2606,12 +2606,12 @@ int check_executable (const char *path); 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 </dev/null; then $ECHO if test "X$deplibs_check_method" = "Xnone"; then