]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
*** empty log message ***
authorThomas Tanner <tanner@gmx.de>
Mon, 21 Dec 1998 17:30:48 +0000 (17:30 +0000)
committerThomas Tanner <tanner@gmx.de>
Mon, 21 Dec 1998 17:30:48 +0000 (17:30 +0000)
ChangeLog
depdemo/.cvsignore
doc/libtool.texi
ltconfig.in
ltmain.in
mdemo/.cvsignore

index d3f9583e87a666d77b6eb69a0c9d7f0d4c76e051..fb3d40089ea34e9a561b70de3608dd1be928a6c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+1998-12-21  Thomas Tanner  <tanner@gmx.de>
+
+       * ltconfig.in: indentation is now 8 character wide tabs 
+       * ltmain.in: ditto
+       * ChangeLog: ditto
+       * ltmain.in: renamed check_shared_deplibs_method to 
+         deplibs_check_method (we_dont_want_too_long_variable_names :)
+       * doc/libtool.texi (Porting inter-library dependencies): ditto
+       * depdemo/.cvsignore: renamed hell* to depdemo*, added *.lo,*.la
+       * mdemo/.cvsignore: ditto
+       
 1998-12-21  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>
 
        * libtool.m4 (AM_SYS_NM_PARSE): apparently  __ptr_t is predefined
 1998-12-09  Akim Demaille  <demaille@inf.enst.fr>
 
        * doc/libtool.texi: converted inter-library dependencies
-       instructions from PORTING
+       instructions from PORTING
 
 1998-12-09  Alexandre Oliva  <oliva@dcc.unicamp.br>
        
 1998-12-04  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * libtool.m4 (ac_cv_sys_symbol_underscore): `test a == b' doesn't
-       work, use `test a = b' instead
+       work, use `test a = b' instead
 
        * Makefile.am (mdemo_distfiles): libfoo[12].sym no longer exist
 
        too much for DU4.0's ksh, but the first 50 lines will be enough.
 
        * ltmain.in (installed): new variable defined within a .la file,
-       so that libtool can now link already-installed libraries into a
+       so that libtool can now link already-installed libraries into a
        program.
        * NEWS: ditto
        * doc/libtool.texi (Linking executables): document it
 1998-11-16  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * ltmain.in (C_compiler): copy $CC before it is overwritten with
-       command-line compiler, so that we can use it to compile C sources
-       generated during the build.  This fixes the problem that showed up 
+       command-line compiler, so that we can use it to compile C sources
+       generated during the build.  This fixes the problem that showed up 
        with -export-dynamic of C++ programs in egcs 1.1.
        * NEWS: ditto
 
 1998-11-11  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * ltmain.in (IFS): revert Gary's patch when parsing version
-       information; we still use `:' here :-)
+       information; we still use `:' here :-)
 
        * NEWS: updated
        * PORTING: new file, with general instructions and inter-library
@@ -987,7 +998,7 @@ Thu May 28 18:59:08 1998  Ian Lance Taylor  <ian@cygnus.com>
        Rewrite these rules not to use config.status or lineno.  This
        makes things simpler, and reduces dependencies, so that the
        scripts are rebuilt and installed in srcdir only when necessary.
-       Reported by Stephan Kulow.
+       Reported by Stephan Kulow.
 
 1998-02-16  Gordon Matzigkeit  <gord@profitpress.com>
 
@@ -1037,7 +1048,7 @@ Thu May 28 18:59:08 1998  Ian Lance Taylor  <ian@cygnus.com>
        on IRIX, and propagate the correct linker flag.  From Jim Wilson.
 
        * ltconfig.in, ltmain.in (Xsed): `arg=-n; echo "$arg" | sed ...'
-       gives problems, because the `-n' is interpreted as an option to
+       gives problems, because the `-n' is interpreted as an option to
        echo(1).  So, use `echo "X$arg" | sed -e 's/^X//' ...' everywhere,
        via the $Xsed convenience variable.  Suggested by H.J. Lu.
 
@@ -1369,7 +1380,7 @@ Thu May 28 18:59:08 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * ltconfig.in (objdir): Use the .libs directory on all systems for
        which that name is valid, and _libs on the others (like MS-DOS).
-       Suggested by Juergen Erhard.
+       Suggested by Juergen Erhard.
 
 1997-10-14  Gordon Matzigkeit  <gord@gnu.org>
 
@@ -1762,7 +1773,7 @@ Thu May 28 18:59:08 1998  Ian Lance Taylor  <ian@cygnus.com>
        * ltmain.sh.in (link): In the executable wrapper, strip trailing
        colons from the shlibpath_var because some ld.so's, notably
        OpenBSD 2.0's (!), don't parse colon-terminated values correctly.
-       From Tim Pierce.
+       From Tim Pierce.
 
 1997-07-01  Gordon Matzigkeit  <gord@gnu.ai.mit.edu>
 
@@ -1997,7 +2008,7 @@ Thu May 28 18:59:08 1998  Ian Lance Taylor  <ian@cygnus.com>
        rewritten if I'm going to give full shared library support for
        platforms that don't use the GNU C library version 2 (which to my
        knowledge currently only works on GNU Hurd and Linux/GNU systems).
-       Porting the GNU C library should not be difficult, though.
+       Porting the GNU C library should not be difficult, though.
 
        Platforms that don't have the dlopen(3) family of functions will
        need to install GNU DLD version 4 in order to build any kind of
@@ -2011,7 +2022,7 @@ Thu May 28 18:59:08 1998  Ian Lance Taylor  <ian@cygnus.com>
        It looks like this implementation will be even more complex than
        the original (pre-0.7) libtool.  Initial estimates show that it
        may be up to 3 times slower, and 5 times larger than libtool-0.9.
-       I'll probably have to rewrite it in Guile to get reasonable
+       I'll probably have to rewrite it in Guile to get reasonable
        performance, which will severely limit its portability for a
        while.
 
@@ -2046,7 +2057,7 @@ Thu May 28 18:59:08 1998  Ian Lance Taylor  <ian@cygnus.com>
        * ltconfig.in (hardcode_libdir_separator): Added in case the
        linker only honours the last of the -rpath flags (but it can
        contain multiple colon-separated directories), such as on OSF/1.
-       Reported by Carl D. Roth.
+       Reported by Carl D. Roth.
 
        * ltmain.sh.in (link): Set the dlname if -export-dynamic is given.
        (install, uninstall): Handle the dlname file separately.
@@ -2205,7 +2216,7 @@ Thu May 28 18:59:08 1998  Ian Lance Taylor  <ian@cygnus.com>
        by Bruno Haible.
 
        * ltconfig.in: IRIX ld does not hardcode direct libraries.
-       Reported by Bruno Haible.
+       Reported by Bruno Haible.
 
 1997-01-18  Gordon Matzigkeit  <gord@gnu.ai.mit.edu>
 
index b005d40ed25d997e5778028b31dc80e0b0f516d5..71b474bb264fcf6064f3679950bfe0e3cc8fa7e3 100644 (file)
@@ -7,5 +7,5 @@ configure
 config.*
 conftest*
 libtool
-hell
-hell.debug
+depdemo
+depdemo.static
index 30087de04551b173c87cd4afbd96f77144d00aa0..be07c7f0bb3828383e849ecbabcf0974ff34fa3d 100644 (file)
@@ -2788,7 +2788,7 @@ have advice on the most effective way of accomplishing what you want.
 @node Porting inter-library dependencies
 @subsection Porting inter-library dependencies support
 @cindex inter-library dependency
-@vindex check_shared_deplibs_method
+@vindex deplibs_check_method
 
 Since version 1.2c, libtool has re-introduced the ability to do
 inter-library dependency on some platforms, thanks to a patch by Toshio
@@ -2798,7 +2798,7 @@ of the message that contained his patch:
 The basic architecture is this: in @file{ltconfig.in}, the person who
 writes libtool makes sure @samp{$deplibs} is included in
 @samp{$archive_cmds} somewhere and also sets the
-@samp{$check_shared_deplibs_method}.  @samp{check_shared_deplibs_method}
+@samp{$deplibs_check_method}.  @samp{deplibs_check_method}
 can be any of five things:
 @table @samp
 @item file_magic [@var{regex}]
index 21be389ca15d477a3e58133c01c0dad7ef812900..5944427eb98a17a37804864ad0ee0f2731fa9d21 100755 (executable)
@@ -98,8 +98,8 @@ if test "X`($echo '\t') 2>/dev/null`" != 'X\t' ||
       # Try using printf.
       echo='printf %s\n'
       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
-         test "X`($echo "$echo_test_string") 2>/dev/null`" = X"$echo_test_string"; then
-        # Cool, printf works
+        test "X`($echo "$echo_test_string") 2>/dev/null`" = X"$echo_test_string"; then
+       # Cool, printf works
        :
       elif test "X`("$ORIGINAL_CONFIG_SHELL" "$0" --fallback-echo '\t') 2>/dev/null`" = 'X\t' &&
           test "X`("$ORIGINAL_CONFIG_SHELL" "$0" --fallback-echo "$echo_test_string") 2>/dev/null`" = X"$echo_test_string"; then
@@ -110,9 +110,9 @@ if test "X`($echo '\t') 2>/dev/null`" != 'X\t' ||
        echo="$CONFIG_SHELL $0 --fallback-echo"
       elif test "X`("$CONFIG_SHELL" "$0" --fallback-echo '\t') 2>/dev/null`" = 'X\t' &&
           test "X`("$CONFIG_SHELL" "$0" --fallback-echo "$echo_test_string") 2>/dev/null`" = X"$echo_test_string"; then
-        echo="$CONFIG_SHELL $0 --fallback-echo"
+       echo="$CONFIG_SHELL $0 --fallback-echo"
       else
-        # maybe with a smaller string...
+       # maybe with a smaller string...
        prev=:
 
        for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
@@ -743,8 +743,8 @@ if { (eval echo $progname:@LINENO@: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>
        echo "$ac_t"no 1>&6
        compiler_o_lo=no
       else
-        echo "$ac_t"yes 1>&6
-        compiler_o_lo=yes
+       echo "$ac_t"yes 1>&6
+       compiler_o_lo=yes
       fi
   else
     # Append any errors to the config.log.
@@ -792,11 +792,11 @@ if test "$with_gcc" = yes; then
     # The compiler can only warn and ignore the option if not recognized
     # So say no if there are warnings
       if test -s conftest.err; then
-        echo "$ac_t"no 1>&6
-        compiler_rtti_exceptions=no
+       echo "$ac_t"no 1>&6
+       compiler_rtti_exceptions=no
       else
-        echo "$ac_t"yes 1>&6
-        compiler_rtti_exceptions=yes
+       echo "$ac_t"yes 1>&6
+       compiler_rtti_exceptions=yes
       fi
   else
     # Append any errors to the config.log.
@@ -872,15 +872,15 @@ if test -z "$LD"; then
       sub_uncdrive='s%^\([A-Za-z]\):/%//\1/%'
       # Canonicalize the path of ld
       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
-        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
+       ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
       done
       case "$host_os" in
       cygwin*)
-        # Convert to a UNC path for cygwin
-        test -z "$LD" && LD=`echo X$ac_prog | $Xsed -e "$sub_uncdrive"`
+       # Convert to a UNC path for cygwin
+       test -z "$LD" && LD=`echo X$ac_prog | $Xsed -e "$sub_uncdrive"`
        ;;
       *)
-        test -z "$LD" && LD="$ac_prog"
+       test -z "$LD" && LD="$ac_prog"
        ;;
       esac
       ;;
@@ -894,15 +894,15 @@ if test -z "$LD"; then
       sub_uncdir='s%\\%/%g'
       # Canonicalize the path of ld
       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
-        ac_prog=`echo $ac_prog| sed "s%$re_direlt%\1%"`
+       ac_prog=`echo $ac_prog| sed "s%$re_direlt%\1%"`
       done
       case "$host_os" in
       cygwin*)
-        # Convert to a UNC path for cygwin
-        test -z "$LD" && LD=`echo X$ac_prog | $Xsed -e "$sub_uncdrive" -e "$sub_uncdir"`
+       # Convert to a UNC path for cygwin
+       test -z "$LD" && LD=`echo X$ac_prog | $Xsed -e "$sub_uncdrive" -e "$sub_uncdir"`
        ;;
       *)
-        test -z "$LD" && LD="$ac_prog"
+       test -z "$LD" && LD="$ac_prog"
        ;;
       esac
       ;;
@@ -1093,7 +1093,7 @@ else
   aix3*)
     allow_undefined_flag=unsupported
     archive_cmds='$NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\' | sort | uniq' > $lib.exp~
-        $LD -o $objdir/$soname$libobjs$deplibs -bE:$lib.exp -T512 -H512 -bM:SRE~$AR cru $lib $objdir/$soname'
+       $LD -o $objdir/$soname$libobjs$deplibs -bE:$lib.exp -T512 -H512 -bM:SRE~$AR cru $lib $objdir/$soname'
     archive_sym_cmds='$LD -o $objdir/$soname$libobjs$deplibs -bE:$export_symbols -T512 -H512 -bM:SRE~$AR cru $lib $objdir/$soname'
     # Note: this linker hardcodes the directories in LIBPATH if there
     # are no directories specified by -L.
@@ -1108,7 +1108,7 @@ else
   aix4*)
     allow_undefined_flag=unsupported
     archive_cmds='$NM$libobjs | $global_symbol_pipe | sed '\''s/.* //'\' | sort | uniq' > $lib.exp        else cat $export_symbols > $lib.exp~
-       $CC -o $objdir/$soname$libobjs$deplibs ${wl}-bE:$lib.exp ${wl}-bM:SRE ${wl}-bnoentry~$AR cru $lib $objdir/$soname'
+       $CC -o $objdir/$soname$libobjs$deplibs ${wl}-bE:$lib.exp ${wl}-bM:SRE ${wl}-bnoentry~$AR cru $lib $objdir/$soname'
     archive_sym_cmds='$CC -o $objdir/$soname$libobjs$deplibs ${wl}-bE:$export_symbols ${wl}-bM:SRE ${wl}-bnoentry~$AR cru $lib $objdir/$soname'
     hardcode_direct=yes
     hardcode_minus_L=yes
@@ -1340,17 +1340,17 @@ if test -z "$NM"; then
     for ac_dir in /usr/ucb /usr/ccs/bin $PATH /bin; do
       test -z "$ac_dir" && ac_dir=.
       if test -f $ac_dir/nm; then
-        # Check to see if the nm accepts a BSD-compat flag.
-        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
-        #   nm: unknown option "B" ignored
-        if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
-          NM="$ac_dir/nm -B"
-        elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
-          NM="$ac_dir/nm -p"
+       # Check to see if the nm accepts a BSD-compat flag.
+       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
+       #   nm: unknown option "B" ignored
+       if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+         NM="$ac_dir/nm -B"
+       elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
+         NM="$ac_dir/nm -p"
        else
-          NM="$ac_dir/nm"
+         NM="$ac_dir/nm"
        fi
-        break
+       break
       fi
     done
     IFS="$ac_save_ifs"
@@ -1449,8 +1449,8 @@ extern "C" {
 #endif
 
 EOF
-        # Now generate the symbol file.
-        sed 's/^.* \(.*\)$/extern char \1;/' < "$nlist" >> conftest.c
+       # Now generate the symbol file.
+       sed 's/^.* \(.*\)$/extern char \1;/' < "$nlist" >> conftest.c
 
        cat <<EOF >> conftest.c
 #if defined (__STDC__) && __STDC__
@@ -1470,8 +1470,8 @@ struct {
 dld_preloaded_symbols[] =
 {
 EOF
-        sed 's/^\(.*\) \(.*\)$/  {"\1", (lt_ptr_t) \&\2},/' < "$nlist" >> conftest.c
-        cat <<\EOF >> conftest.c
+       sed 's/^\(.*\) \(.*\)$/  {"\1", (lt_ptr_t) \&\2},/' < "$nlist" >> conftest.c
+       cat <<\EOF >> conftest.c
   {0, (lt_ptr_t) 0}
 };
 
@@ -1479,21 +1479,21 @@ EOF
 }
 #endif
 EOF
-        # Now try linking the two files.
-        mv conftest.$objext conftestm.$objext
+       # Now try linking the two files.
+       mv conftest.$objext conftestm.$objext
        save_LIBS="$LIBS"
        save_CFLAGS="$CFLAGS"
-        LIBS="conftestm.$objext"
+       LIBS="conftestm.$objext"
        CFLAGS="$CFLAGS$no_builtin_flag"
-        if { (eval echo $progname:@LINENO@: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
-          pipe_works=yes
-        else
-          echo "$progname: failed program was:" >&5
-          cat conftest.c >&5
-        fi
-        LIBS="$save_LIBS"
+       if { (eval echo $progname:@LINENO@: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
+         pipe_works=yes
+       else
+         echo "$progname: failed program was:" >&5
+         cat conftest.c >&5
+       fi
+       LIBS="$save_LIBS"
       else
-        echo "cannot find nm_test_func in $nlist" >&5
+       echo "cannot find nm_test_func in $nlist" >&5
       fi
     else
       echo "cannot find nm_test_var in $nlist" >&5
@@ -1556,7 +1556,7 @@ shlibpath_var=
 version_type=none
 dynamic_linker="$host_os ld.so"
 sys_lib_search_path="/lib /usr/lib /usr/local/lib"
-check_shared_deplibs_method='none'
+deplibs_check_method='none'
 # Need to set the preceding variable on all platforms that support
 # interlibrary dependencies.
 # 'none' -- dependencies not supported.
@@ -1663,7 +1663,7 @@ linux-gnu*)
   soname_spec='${libname}${release}.so$major'
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
-  check_shared_deplibs_method='file_magic ELF 32-bit LSB shared object'
+  deplibs_check_method='file_magic ELF 32-bit LSB shared object'
   sys_lib_search_path="/lib /usr/lib /usr/local/lib `echo $LD_LIBRARY_PATH | sed -e 's/:/ /g'`"
 
   if test -f /lib/ld.so.1; then
@@ -1697,7 +1697,7 @@ osf3* | osf4*)
   soname_spec='${libname}${release}.so'
   library_names_spec='${libname}${release}.so$versuffix $libname.so'
   shlibpath_var=LD_LIBRARY_PATH
-  check_shared_deplibs_method='pass_all'
+  deplibs_check_method='pass_all'
   ;;
 
 sco3.2v5*)
@@ -1807,7 +1807,7 @@ case "$ltmain" in
     whole_archive_flag_spec libname_spec library_names_spec soname_spec \
     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
     old_postuninstall_cmds archive_cmds archive_sym_cmds postinstall_cmds postuninstall_cmds \
-    check_shared_deplibs_method allow_undefined_flag no_undefined_flag \
+    deplibs_check_method allow_undefined_flag no_undefined_flag \
     finish_cmds finish_eval global_symbol_pipe \
     hardcode_libdir_flag_spec hardcode_libdir_separator sys_lib_search_path \
     compiler_c_o compiler_o_lo need_locks; do
@@ -2023,7 +2023,7 @@ postinstall_cmds=$postinstall_cmds
 postuninstall_cmds=$postuninstall_cmds
 
 # Method to check whether dependent libraries are shared objects.
-check_shared_deplibs_method=$check_shared_deplibs_method
+deplibs_check_method=$deplibs_check_method
 
 # Flag that allows shared libraries with undefined symbols to be built.
 allow_undefined_flag=$allow_undefined_flag
index 732473b0bbbd7e18b2129e50ad4084c4cdedfcfb..3fae278541f9c09c849ed906a06f311820d4e736 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -208,12 +208,12 @@ if test -z "$show_help"; then
       mode=link
       for arg
       do
-        case "$arg" in
-        -c)
-           mode=compile
-           break
-           ;;
-        esac
+       case "$arg" in
+       -c)
+          mode=compile
+          break
+          ;;
+       esac
       done
       ;;
     *db | *dbx | *strace | *truss)
@@ -231,11 +231,11 @@ if test -z "$show_help"; then
 
       # Just use the default operation mode.
       if test -z "$mode"; then
-        if test -n "$nonopt"; then
-          $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
-        else
-          $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
-        fi
+       if test -n "$nonopt"; then
+         $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2
+       else
+         $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2
+       fi
       fi
       ;;
     esac
@@ -270,36 +270,36 @@ if test -z "$show_help"; then
       # Accept any command-line options.
       case "$arg" in
       -o)
-        if test "$user_target" != "no"; then
-          $echo "$modename: you cannot specify \`-o' more than once" 1>&2
+       if test "$user_target" != "no"; then
+         $echo "$modename: you cannot specify \`-o' more than once" 1>&2
          exit 1
-        fi
-        user_target=next
+       fi
+       user_target=next
        ;;
 
       -force-static)
-        force_static=yes
-        continue
-        ;;
+       force_static=yes
+       continue
+       ;;
        
       -static)
-        build_old_libs=yes
-        continue
-        ;;
+       build_old_libs=yes
+       continue
+       ;;
       esac
 
       case "$user_target" in
       next)
-        # The next one is the -o target name
-        user_target=yes
-        continue
-        ;;
+       # The next one is the -o target name
+       user_target=yes
+       continue
+       ;;
       yes)
-        # We got the output file
-        user_target=set
-        libobj="$arg"
-        continue
-        ;;
+       # We got the output file
+       user_target=set
+       libobj="$arg"
+       continue
+       ;;
       esac
 
       # Accept the current argument as the source file.
@@ -318,15 +318,15 @@ if test -z "$show_help"; then
       # sets, so we specify it separately.
       case "$lastarg" in
       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \    ]*|*]*)
-        lastarg="\"$lastarg\""
-        ;;
+       lastarg="\"$lastarg\""
+       ;;
       esac
 
       # Add the previous argument to base_compile.
       if test -z "$base_compile"; then
-        base_compile="$lastarg"
+       base_compile="$lastarg"
       else
-        base_compile="$base_compile $lastarg"
+       base_compile="$base_compile $lastarg"
       fi
     done
 
@@ -401,8 +401,8 @@ if test -z "$show_help"; then
     # We use this script file to make the link, it avoids creating a new file
     if test "$need_locks" = yes; then
       until ln "$0" "$lockfile" 2>/dev/null; do
-        $show "Waiting for $lockfile to be removed"
-        sleep 2
+       $show "Waiting for $lockfile to be removed"
+       sleep 2
       done
     elif test "$need_locks" = warn; then
       if test -f "$lockfile"; then
@@ -435,18 +435,18 @@ compiler."
       # All platforms use -DPIC, to notify preprocessed assembler code.
       command="$base_compile$pic_flag -DPIC $srcfile"
       if test "$compiler_o_lo" = yes; then
-        command="$command -o $libobj"
-        output_obj="$libobj"
+       command="$command -o $libobj"
+       output_obj="$libobj"
       elif test "$compiler_c_o" = yes; then
-        command="$command -o $obj"
-        output_obj="$obj"
+       command="$command -o $obj"
+       output_obj="$obj"
       fi
 
       $show "$command"
       if $run eval "$command"; then :
       else
-        test -n "$output_obj" && $run $rm $removelist
-        exit 1
+       test -n "$output_obj" && $run $rm $removelist
+       exit 1
       fi
 
       if test "$need_locks" = warn &&
@@ -471,8 +471,8 @@ compiler."
 
       # Just move the object if needed, then go on to compile the next one
       if test "$compiler_o_lo" = no && test x"$output_obj" != x"$libobj"; then
-        $show "$mv $output_obj $libobj"
-        if $run $mv $output_obj $libobj; then :
+       $show "$mv $output_obj $libobj"
+       if $run $mv $output_obj $libobj; then :
        else
          error=$?
          $run $rm $removelist
@@ -483,11 +483,11 @@ compiler."
       # If we have no pic_flag and do not have -force-static, 
       # then copy the object into place and finish.
       if test -z "$pic_flag" && test "$force_static" = no; then
-        $show "$LN_S $libobj $obj"
-        if $run $LN_S $libobj $obj; then
+       $show "$LN_S $libobj $obj"
+       if $run $LN_S $libobj $obj; then
          exit 0
        else
-          error=$?
+         error=$?
          $run $rm $removelist
          exit $error
        fi
@@ -501,11 +501,11 @@ compiler."
     if test "$build_old_libs" = yes; then
       command="$base_compile $srcfile"
       if test "$force_static" = yes; then
-        command="$command -DLIBTOOL_STATIC"
+       command="$command -DLIBTOOL_STATIC"
       fi
       if test "$compiler_c_o" = yes; then
-        command="$command -o $obj"
-        output_obj="$obj"
+       command="$command -o $obj"
+       output_obj="$obj"
       fi
 
       # Suppress compiler output if we already did a PIC compilation.
@@ -513,8 +513,8 @@ compiler."
       $show "$command"
       if $run eval "$command"; then :
       else
-        $run $rm $removelist
-        exit 1
+       $run $rm $removelist
+       exit 1
       fi
 
       if test "$need_locks" = warn &&
@@ -539,8 +539,8 @@ compiler."
 
       # Just move the object if needed
       if test "$compiler_c_o" = no && test x"$output_obj" != x"$obj"; then
-        $show "$mv $output_obj $obj"
-        if $run $mv $output_obj $obj; then :
+       $show "$mv $output_obj $obj"
+       if $run $mv $output_obj $obj; then :
        else
          error=$?
          $run $rm $removelist
@@ -605,13 +605,13 @@ compiler."
     do
       case "$arg" in
       -all-static | -static)
-        if test "X$arg" = "X-all-static" && test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
+       if test "X$arg" = "X-all-static" && test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
            $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
-        fi
-        build_libtool_libs=no
+       fi
+       build_libtool_libs=no
        build_old_libs=yes
-        break
-        ;;
+       break
+       ;;
       esac
     done
 
@@ -625,30 +625,30 @@ compiler."
 
       # If the previous option needs an argument, assign it.
       if test -n "$prev"; then
-        case "$prev" in
-        output)
-          compile_command="$compile_command @OUTPUT@"
-          finalize_command="$finalize_command @OUTPUT@"
-          ;;
-        esac
-
-        case "$prev" in
-        dlfiles|dlprefiles)
-          case "$arg" in
-          *.la | *.lo) ;;  # We handle these cases below.
-          *)
-            dlprefiles="$dlprefiles $arg"
-            test "$prev" = dlfiles && dlfiles="$dlfiles $arg"
-            prev=
-            ;;
-          esac
-          ;;
+       case "$prev" in
+       output)
+         compile_command="$compile_command @OUTPUT@"
+         finalize_command="$finalize_command @OUTPUT@"
+         ;;
+       esac
+
+       case "$prev" in
+       dlfiles|dlprefiles)
+         case "$arg" in
+         *.la | *.lo) ;;  # We handle these cases below.
+         *)
+           dlprefiles="$dlprefiles $arg"
+           test "$prev" = dlfiles && dlfiles="$dlfiles $arg"
+           prev=
+           ;;
+         esac
+         ;;
        exportsyms)
          export_symbols="$arg"
-          if test ! -f "$arg"; then
-            $echo "$modename: symbol file \`$arg' does not exist"
-            exit 1
-          fi
+         if test ! -f "$arg"; then
+           $echo "$modename: symbol file \`$arg' does not exist"
+           exit 1
+         fi
          prev=
          ;;
        release)
@@ -656,17 +656,17 @@ compiler."
          prev=
          continue
          ;;
-        rpath)
-          rpath="$rpath $arg"
+       rpath)
+         rpath="$rpath $arg"
+         prev=
+         continue
+         ;;
+       *)
+         eval "$prev=\"\$arg\""
          prev=
          continue
          ;;
-        *)
-          eval "$prev=\"\$arg\""
-          prev=
-          continue
-          ;;
-        esac
+       esac
       fi
 
       prevarg="$arg"
@@ -674,10 +674,10 @@ compiler."
       case "$arg" in
       -all-static)
        if test -n "$link_static_flag"; then
-          compile_command="$compile_command $link_static_flag"
+         compile_command="$compile_command $link_static_flag"
          finalize_command="$finalize_command $link_static_flag"
-        fi
-        continue
+       fi
+       continue
        ;;
 
       -allow-undefined)
@@ -692,66 +692,66 @@ compiler."
        ;;
 
       -dlopen)
-        prev=dlfiles
-        continue
-        ;;
+       prev=dlfiles
+       continue
+       ;;
 
       -dlpreopen)
-        prev=dlprefiles
-        continue
-        ;;
+       prev=dlprefiles
+       continue
+       ;;
 
       -export-dynamic)
-        if test "$export_dynamic" != yes; then
-          export_dynamic=yes
+       if test "$export_dynamic" != yes; then
+         export_dynamic=yes
          if test -n "$export_dynamic_flag_spec"; then
            eval arg=\"$export_dynamic_flag_spec\"
          else
            arg=
          fi
 
-          # Add the symbol object into the linking commands.
+         # Add the symbol object into the linking commands.
          compile_command="$compile_command @SYMFILE@"
          finalize_command="$finalize_command @SYMFILE@"
-        fi
-        ;;
+       fi
+       ;;
 
       -export-symbols)
-        if test -n "$export_symbols"; then
-          $echo "$modename: cannot have more than one -exported-symbols"
-          exit 1
-        fi
+       if test -n "$export_symbols"; then
+         $echo "$modename: cannot have more than one -exported-symbols"
+         exit 1
+       fi
        prev=exportsyms
        continue
-        ;;
+       ;;
 
       -L*)
-        dir=`$echo "X$arg" | $Xsed -e 's%^-L\(.*\)$%\1%'`
-        case "$dir" in
-        /* | [A-Za-z]:[/\\]*)
+       dir=`$echo "X$arg" | $Xsed -e 's%^-L\(.*\)$%\1%'`
+       case "$dir" in
+       /* | [A-Za-z]:[/\\]*)
          # Add the corresponding hardcode_libdir_flag, if it is not identical.
-          ;;
-        *)
-          $echo "$modename: \`-L$dir' cannot specify a relative directory" 1>&2
-          exit 1
-          ;;
-        esac
-        deplibs="$deplibs $arg"
-        lib_search_path="$lib_search_path `expr $arg : '-L\(.*\)'`"
-        ;;
+         ;;
+       *)
+         $echo "$modename: \`-L$dir' cannot specify a relative directory" 1>&2
+         exit 1
+         ;;
+       esac
+       deplibs="$deplibs $arg"
+       lib_search_path="$lib_search_path `expr $arg : '-L\(.*\)'`"
+       ;;
 
       -l*) deplibs="$deplibs $arg" ;;
 
       -module)
-        if test "$module" != yes; then
-          module=yes
+       if test "$module" != yes; then
+         module=yes
          if test -n "$export_dynamic_flag_spec"; then
            eval arg=\"$export_dynamic_flag_spec\"
          else
            arg=
          fi
        fi
-        ;;
+       ;;
        
       -no-undefined)
        allow_undefined=no
@@ -766,23 +766,23 @@ compiler."
        ;;
 
       -rpath)
-        prev=rpath
-        continue
-        ;;
+       prev=rpath
+       continue
+       ;;
 
       -static)
        # If we have no pic_flag, then this is the same as -all-static.
        if test -z "$pic_flag" && test -n "$link_static_flag"; then
-          compile_command="$compile_command $link_static_flag"
+         compile_command="$compile_command $link_static_flag"
          finalize_command="$finalize_command $link_static_flag"
-        fi
+       fi
        continue
        ;;
 
       -version-info)
-        prev=vinfo
-        continue
-        ;;
+       prev=vinfo
+       continue
+       ;;
 
       # Some other compiler flag.
       -* | +*)
@@ -794,15 +794,15 @@ compiler."
          arg="\"$arg\""
          ;;
        esac
-        ;;
+       ;;
 
       *.o | *.obj | *.a | *.lib)
-        # A standard object.
-        objs="$objs $arg"
-        ;;
+       # A standard object.
+       objs="$objs $arg"
+       ;;
 
       *.lo)
-        # A library object.
+       # A library object.
        if test "$prev" = dlfiles; then
          dlfiles="$dlfiles $arg"
          if test "$build_libtool_libs" = yes; then
@@ -820,46 +820,46 @@ compiler."
          prev=
        fi
        libobjs="$libobjs $arg"
-        ;;
+       ;;
 
       *.la)
-        # A libtool-controlled library.
+       # A libtool-controlled library.
 
-        dlname=
-        libdir=
-        library_names=
-        old_library=
+       dlname=
+       libdir=
+       library_names=
+       old_library=
 
-        # Check to see that this really is a libtool archive.
-        if (sed -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
-        else
-          $echo "$modename: \`$arg' is not a valid libtool archive" 1>&2
-          exit 1
-        fi
+       # Check to see that this really is a libtool archive.
+       if (sed -e '2q' $arg | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+       else
+         $echo "$modename: \`$arg' is not a valid libtool archive" 1>&2
+         exit 1
+       fi
 
        # If the library was installed with an old release of libtool,
        # it will not redefine variable installed.
        installed=yes
 
-        # If there is no directory component, then add one.
-        case "$arg" in
-        */* | *\\*) . $arg ;;
-        *) . ./$arg ;;
-        esac
+       # If there is no directory component, then add one.
+       case "$arg" in
+       */* | *\\*) . $arg ;;
+       *) . ./$arg ;;
+       esac
 
-        # Get the name of the library we link against.
-        linklib=
-        for l in $old_library $library_names; do
-          linklib="$l"
-        done
+       # Get the name of the library we link against.
+       linklib=
+       for l in $old_library $library_names; do
+         linklib="$l"
+       done
 
-        if test -z "$linklib"; then
-          $echo "$modename: cannot find name of link library for \`$arg'" 1>&2
-          exit 1
-        fi
+       if test -z "$linklib"; then
+         $echo "$modename: cannot find name of link library for \`$arg'" 1>&2
+         exit 1
+       fi
 
-        # Find the relevant object directory and library name.
-        name=`$echo "X$arg" | $Xsed -e 's%^.*/%%' -e 's/\.la$//' -e 's/^lib//'`
+       # Find the relevant object directory and library name.
+       name=`$echo "X$arg" | $Xsed -e 's%^.*/%%' -e 's/\.la$//' -e 's/^lib//'`
 
        if test "X$installed" = Xyes; then
          dir="$libdir"
@@ -872,7 +872,7 @@ compiler."
          fi
        fi
 
-        if test -z "$libdir"; then
+       if test -z "$libdir"; then
          # It is a libtool convenience library, so add in its objects.
          convenience="$convenience $dir/$old_library"
          old_convenience="$old_convenience $dir/$old_library"
@@ -882,54 +882,54 @@ compiler."
          continue
        fi
 
-        # This library was specified with -dlopen.
-        if test "$prev" = dlfiles; then
-          dlfiles="$dlfiles $arg"
-          if test -z "$dlname" || test "$build_libtool_libs" = no; then
-            # If there is no dlname or we're linking statically,
-            # we need to preload.
-            prev=dlprefiles
-          else
-            # We should not create a dependency on this library, but we
+       # This library was specified with -dlopen.
+       if test "$prev" = dlfiles; then
+         dlfiles="$dlfiles $arg"
+         if test -z "$dlname" || test "$build_libtool_libs" = no; then
+           # If there is no dlname or we're linking statically,
+           # we need to preload.
+           prev=dlprefiles
+         else
+           # We should not create a dependency on this library, but we
            # may need any libraries it requires.
            compile_command="$compile_command$dependency_libs"
            finalize_command="$finalize_command$dependency_libs"
-            prev=
-            continue
-          fi
-        fi
-
-        # The library was specified with -dlpreopen.
-        if test "$prev" = dlprefiles; then
-          # Prefer using a static library (so that no silly _DYNAMIC symbols
-          # are required to link).
-          if test -n "$old_library"; then
-            dlprefiles="$dlprefiles $dir/$old_library"
-          else
-            dlprefiles="$dlprefiles $dir/$linklib"
-          fi
-          prev=
-        fi
-
-        if test "$build_libtool_libs" = yes && test -n "$library_names"; then
-          link_against_libtool_libs="$link_against_libtool_libs $arg"
-          if test -n "$shlibpath_var"; then
-            # Make sure the rpath contains only unique directories.
-            case "$temp_rpath " in
-            *" $dir "*) ;;
-            *) temp_rpath="$temp_rpath $dir" ;;
-            esac
-          fi
+           prev=
+           continue
+         fi
+       fi
+
+       # The library was specified with -dlpreopen.
+       if test "$prev" = dlprefiles; then
+         # Prefer using a static library (so that no silly _DYNAMIC symbols
+         # are required to link).
+         if test -n "$old_library"; then
+           dlprefiles="$dlprefiles $dir/$old_library"
+         else
+           dlprefiles="$dlprefiles $dir/$linklib"
+         fi
+         prev=
+       fi
+
+       if test "$build_libtool_libs" = yes && test -n "$library_names"; then
+         link_against_libtool_libs="$link_against_libtool_libs $arg"
+         if test -n "$shlibpath_var"; then
+           # Make sure the rpath contains only unique directories.
+           case "$temp_rpath " in
+           *" $dir "*) ;;
+           *) temp_rpath="$temp_rpath $dir" ;;
+           esac
+         fi
 
          # This is the magic to use -rpath.
-          if test -n "$hardcode_libdir_flag_spec"; then
-            if test -n "$hardcode_libdir_separator"; then
-              if test -z "$hardcode_libdirs"; then
-                # Put the magic libdir with the hardcode flag.
-                hardcode_libdirs="$libdir"
-                libdir="@HARDCODE_LIBDIRS@"
-              else
-                # Just accumulate the unique libdirs.
+         if test -n "$hardcode_libdir_flag_spec"; then
+           if test -n "$hardcode_libdir_separator"; then
+             if test -z "$hardcode_libdirs"; then
+               # Put the magic libdir with the hardcode flag.
+               hardcode_libdirs="$libdir"
+               libdir="@HARDCODE_LIBDIRS@"
+             else
+               # Just accumulate the unique libdirs.
                case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
                *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
                  ;;
@@ -937,99 +937,99 @@ compiler."
                  hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
                  ;;
                esac
-                libdir=
-              fi
-            fi
+               libdir=
+             fi
+           fi
 
-            if test -n "$libdir"; then
-              eval flag=\"$hardcode_libdir_flag_spec\"
+           if test -n "$libdir"; then
+             eval flag=\"$hardcode_libdir_flag_spec\"
 
-              compile_command="$compile_command $flag"
-              finalize_command="$finalize_command $flag"
-            fi
-          elif test -n "$runpath_var"; then
-            # Do the same for the permanent run path.
-            case "$perm_rpath " in
-            *" $libdir "*) ;;
-            *) perm_rpath="$perm_rpath $libdir" ;;
-            esac
-          fi
+             compile_command="$compile_command $flag"
+             finalize_command="$finalize_command $flag"
+           fi
+         elif test -n "$runpath_var"; then
+           # Do the same for the permanent run path.
+           case "$perm_rpath " in
+           *" $libdir "*) ;;
+           *) perm_rpath="$perm_rpath $libdir" ;;
+           esac
+         fi
 
 
          lib_linked=yes
-          case "$hardcode_action" in
-          immediate | unsupported)
-            if test "$hardcode_direct" = no; then
-              compile_command="$compile_command $dir/$linklib"
-            elif test "$hardcode_minus_L" = no; then
+         case "$hardcode_action" in
+         immediate | unsupported)
+           if test "$hardcode_direct" = no; then
+             compile_command="$compile_command $dir/$linklib"
+           elif test "$hardcode_minus_L" = no; then
              case "$host" in
              *-*-sunos*)
-                compile_shlibpath="$compile_shlibpath$dir:"
+               compile_shlibpath="$compile_shlibpath$dir:"
                ;;
              esac
-              compile_command="$compile_command -L$dir -l$name"
-            elif test "$hardcode_shlibpath_var" = no; then
-              compile_shlibpath="$compile_shlibpath$dir:"
-              compile_command="$compile_command -l$name"
+             compile_command="$compile_command -L$dir -l$name"
+           elif test "$hardcode_shlibpath_var" = no; then
+             compile_shlibpath="$compile_shlibpath$dir:"
+             compile_command="$compile_command -l$name"
            else
              lib_linked=no
-            fi
-            ;;
-
-          relink)
-            # We need an absolute path.
-            case "$dir" in
-            /* | [A-Za-z]:[/\\]*) ;;
-            *)
-              absdir=`cd "$dir" && pwd`
-              if test -z "$absdir"; then
-                $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
-                exit 1
-              fi
-              dir="$absdir"
-              ;;
-            esac
-
-            if test "$hardcode_direct" = yes; then
-              compile_command="$compile_command $dir/$linklib"
-            elif test "$hardcode_minus_L" = yes; then
-              compile_command="$compile_command -L$dir -l$name"
-            elif test "$hardcode_shlibpath_var" = yes; then
-              compile_shlibpath="$compile_shlibpath$dir:"
-              compile_command="$compile_command -l$name"
+           fi
+           ;;
+
+         relink)
+           # We need an absolute path.
+           case "$dir" in
+           /* | [A-Za-z]:[/\\]*) ;;
+           *)
+             absdir=`cd "$dir" && pwd`
+             if test -z "$absdir"; then
+               $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2
+               exit 1
+             fi
+             dir="$absdir"
+             ;;
+           esac
+
+           if test "$hardcode_direct" = yes; then
+             compile_command="$compile_command $dir/$linklib"
+           elif test "$hardcode_minus_L" = yes; then
+             compile_command="$compile_command -L$dir -l$name"
+           elif test "$hardcode_shlibpath_var" = yes; then
+             compile_shlibpath="$compile_shlibpath$dir:"
+             compile_command="$compile_command -l$name"
            else
              lib_linked=no
-            fi
-            ;;
+           fi
+           ;;
 
          *)
            lib_linked=no
            ;;
-          esac
+         esac
 
          if test "$lib_linked" != yes; then
            $echo "$modename: configuration error: unsupported hardcode properties"
            exit 1
          fi
 
-          # Finalize command for both is simple: just hardcode it.
-          if test "$hardcode_direct" = yes; then
-            finalize_command="$finalize_command $libdir/$linklib"
-          elif test "$hardcode_minus_L" = yes; then
-            finalize_command="$finalize_command -L$libdir -l$name"
-          elif test "$hardcode_shlibpath_var" = yes; then
-            finalize_shlibpath="$finalize_shlibpath$libdir:"
-            finalize_command="$finalize_command -l$name"
-          else
-            # We cannot seem to hardcode it, guess we'll fake it.
-            finalize_command="$finalize_command -L$libdir -l$name"
-          fi
-        else
-          # Transform directly to old archives if we don't build new libraries.
-          if test -n "$pic_flag" && test -z "$old_library"; then
-            $echo "$modename: cannot find static library for \`$arg'" 1>&2
-            exit 1
-          fi
+         # Finalize command for both is simple: just hardcode it.
+         if test "$hardcode_direct" = yes; then
+           finalize_command="$finalize_command $libdir/$linklib"
+         elif test "$hardcode_minus_L" = yes; then
+           finalize_command="$finalize_command -L$libdir -l$name"
+         elif test "$hardcode_shlibpath_var" = yes; then
+           finalize_shlibpath="$finalize_shlibpath$libdir:"
+           finalize_command="$finalize_command -l$name"
+         else
+           # We cannot seem to hardcode it, guess we'll fake it.
+           finalize_command="$finalize_command -L$libdir -l$name"
+         fi
+       else
+         # Transform directly to old archives if we don't build new libraries.
+         if test -n "$pic_flag" && test -z "$old_library"; then
+           $echo "$modename: cannot find static library for \`$arg'" 1>&2
+           exit 1
+         fi
 
          # Here we assume that one of hardcode_direct or hardcode_minus_L
          # is not unsupported.  This is valid on all known static and
@@ -1042,13 +1042,13 @@ compiler."
            compile_command="$compile_command -L$dir -l$name"
            finalize_command="$finalize_command -L$dir -l$name"
          fi
-        fi
+       fi
 
        # Add in any libraries that this one depends upon.
        compile_command="$compile_command$dependency_libs"
        finalize_command="$finalize_command$dependency_libs"
        continue
-        ;;
+       ;;
 
       # Some other compiler argument.
       *)
@@ -1060,7 +1060,7 @@ compiler."
          arg="\"$arg\""
          ;;
        esac
-        ;;
+       ;;
       esac
 
       # Now actually substitute the argument into the commands.
@@ -1094,32 +1094,32 @@ compiler."
 
     *.a | *.lib)
       if test -n "$link_against_libtool_libs"; then
-        $echo "$modename: error: cannot link libtool libraries into archives" 1>&2
-        exit 1
+       $echo "$modename: error: cannot link libtool libraries into archives" 1>&2
+       exit 1
       fi
 
       if test -n "$deplibs"; then
-        $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
+       $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
       fi
 
       if test -n "$dlfiles$dlprefiles"; then
-        $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
+       $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
       fi
 
       if test -n "$rpath"; then
-        $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
+       $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2
       fi
 
       if test -n "$vinfo"; then
-        $echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
+       $echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2
       fi
 
       if test -n "$release"; then
-        $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
+       $echo "$modename: warning: \`-release' is ignored for archives" 1>&2
       fi
 
       if test -n "$export_symbols"; then
-        $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
+       $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2
       fi
 
       # Now set the variables for building old libraries.
@@ -1131,30 +1131,30 @@ compiler."
       # Make sure we only generate libraries of the form `libNAME.la'.
       case "$outputname" in
       lib*) 
-        name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
-        eval libname=\"$libname_spec\"
-        ;;
+       name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+       eval libname=\"$libname_spec\"
+       ;;
       *)
-        if test "$module" = no; then
-          $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
-          $echo "$help" 1>&2
-          exit 1
-        fi
-        if test "$need_lib_prefix" = yes; then
-          # Add the "lib" prefix for modules if required
-          name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
-          eval libname=\"$libname_spec\"
-        else
-          libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
-        fi
-        ;;
+       if test "$module" = no; then
+         $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2
+         $echo "$help" 1>&2
+         exit 1
+       fi
+       if test "$need_lib_prefix" = yes; then
+         # Add the "lib" prefix for modules if required
+         name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+         eval libname=\"$libname_spec\"
+       else
+         libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+       fi
+       ;;
       esac
 
       output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
       if test "X$output_objdir" = "X$output"; then
-        output_objdir="$objdir"
+       output_objdir="$objdir"
       else
-        output_objdir="$output_objdir/$objdir"
+       output_objdir="$output_objdir/$objdir"
       fi
 
       # All the library-specific variables (install_libdir is set above).
@@ -1163,18 +1163,18 @@ compiler."
       dlname=
 
       if test -n "$objs"; then
-        $echo "$modename: cannot build libtool library \`$output' from non-libtool objects:$objs" 2>&1
-        exit 1
+       $echo "$modename: cannot build libtool library \`$output' from non-libtool objects:$objs" 2>&1
+       exit 1
       fi
 
       # How the heck are we supposed to write a wrapper for a shared library?
       if test -n "$link_against_libtool_libs"; then
-        $echo "$modename: error: cannot link shared libraries into libtool libraries" 1>&2
-        exit 1
+       $echo "$modename: error: cannot link shared libraries into libtool libraries" 1>&2
+       exit 1
       fi
 
       if test -n "$dlfiles$dlprefiles"; then
-        $echo "$modename: warning: \`-dlopen' is ignored for libtool libraries" 1>&2
+       $echo "$modename: warning: \`-dlopen' is ignored for libtool libraries" 1>&2
       fi
 
       set dummy $rpath
@@ -1186,7 +1186,7 @@ compiler."
       oldlibs=
       if test -z "$rpath"; then
        # Building a libtool convenience library.
-        libext=al
+       libext=al
        oldlibs="$output_objdir/$libname.$libext $oldlibs"
        build_libtool_libs=convenience
        dependency_libs="$deplibs"
@@ -1324,7 +1324,7 @@ compiler."
          major=
          versuffix=
          verstring=""
-       fi
+       fi
        
        # Check to see if the archive will have undefined symbols.
        if test "$allow_undefined" = yes; then
@@ -1345,15 +1345,15 @@ compiler."
 
       # Create the output directory, or remove our outputs if we need to.
       if test -d $output_objdir; then
-        $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
+       $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*"
        $run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*
       else
-        $show "$mkdir $output_objdir"
-        $run $mkdir $output_objdir
-        status=$?
-        if test $status -ne 0 && test ! -d $output_objdir; then
-          exit $status
-        fi
+       $show "$mkdir $output_objdir"
+       $run $mkdir $output_objdir
+       status=$?
+       if test $status -ne 0 && test ! -d $output_objdir; then
+         exit $status
+       fi
       fi
 
       # Now set the variables for building old libraries.
@@ -1365,168 +1365,168 @@ compiler."
       fi
 
       if test "$build_libtool_libs" = yes; then
-        # Transform deplibs into only deplibs that can be linked in shared.
-        ## Gordon: Do you check for the existence of the libraries in deplibs
-        ## on the system?  That should maybe be merged in here someplace....
-        ## Actually: I think test_compile and file_magic do this... file_regex
-        ## sorta does this. Only pas_all needs to be changed.  -Toshio
-        name_save=$name
-        libname_save=$libname
-        release_save=$release
-        versuffix_save=$versuffix
-        major_save=$major
-        # I'm not sure if I'm treating the release correctly.  I think
-        # release should show up in the -l (ie -lgmp5) so we don't want to
-        # add it in twice.  Is that correct?
-        release=""
-        versuffix=""
-        major=""
-        newdeplibs=
-        case "$check_shared_deplibs_method" in
-        pass_all)  
-          newdeplibs=$deplibs 
-                    ;; # Don't check for shared/static.  Everything works.
-                       # This might be a little naive.  We might want to check
-                       # whether the library exists or not.  But this is on
-                       # osf3 & osf4 and I'm not really sure... Just
-                       # implementing what was already the behaviour.
-        test_compile)
-          # This code stresses the "libraries are programs" paradigm to its
-          # limits. Maybe even breaks it.  We compile a program, linking it
-          # against the deplibs as a proxy for the library.  Then we can check
-          # whether they linked in statically or dynamically with ldd.
-          $rm conftest.c
-          cat > conftest.c <<EOF
-          int main() { return 0; }
+       # Transform deplibs into only deplibs that can be linked in shared.
+       ## Gordon: Do you check for the existence of the libraries in deplibs
+       ## on the system?  That should maybe be merged in here someplace....
+       ## Actually: I think test_compile and file_magic do this... file_regex
+       ## sorta does this. Only pas_all needs to be changed.  -Toshio
+       name_save=$name
+       libname_save=$libname
+       release_save=$release
+       versuffix_save=$versuffix
+       major_save=$major
+       # I'm not sure if I'm treating the release correctly.  I think
+       # release should show up in the -l (ie -lgmp5) so we don't want to
+       # add it in twice.  Is that correct?
+       release=""
+       versuffix=""
+       major=""
+       newdeplibs=
+       case "$deplibs_check_method" in
+       pass_all)  
+         newdeplibs=$deplibs 
+                   ;; # Don't check for shared/static.  Everything works.
+                      # This might be a little naive.  We might want to check
+                      # whether the library exists or not.  But this is on
+                      # osf3 & osf4 and I'm not really sure... Just
+                      # implementing what was already the behaviour.
+       test_compile)
+         # This code stresses the "libraries are programs" paradigm to its
+         # limits. Maybe even breaks it.  We compile a program, linking it
+         # against the deplibs as a proxy for the library.  Then we can check
+         # whether they linked in statically or dynamically with ldd.
+         $rm conftest.c
+         cat > conftest.c <<EOF
+         int main() { return 0; }
 EOF
-          $rm conftest
-          $C_compiler -o conftest conftest.c $deplibs
-          if test $? -eq 0 ; then
-            ldd_output=`ldd conftest`
-            for i in $deplibs; do
-              name="`expr $i : '-l\(.*\)'`"
-              # If $name is empty we are operating on a -L argument.
-              if test "$name" != "" ; then
-                libname=`eval \\$echo \"$libname_spec\"`
-                deplib_matches=`eval \\$echo \"$library_names_spec\"`
-                set dummy $deplib_matches
-                deplib_match=$2
-                if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
-                  newdeplibs="$newdeplibs $i"
-                else
-                  echo
-                  echo "*** Warning: This library needs some functionality provided by $i."
-                  echo "*** I have the capability to make that library automatically link in when"
-                  echo "*** you link to this library.  But I can only do this if you have a"
-                  echo "*** shared version of the library, which you do not appear to have."
-                fi
-              else
-                newdeplibs="$newdeplibs $i"
-              fi
-            done
-          else
-            # Error occured in the first compile.  Let's try to salvage the situation:
-            # Compile a seperate program for each library.
-            for i in $deplibs; do
-              name="`expr $i : '-l\(.*\)'`"
-             # If $name is empty we are operating on a -L argument.
-              if test "$name" != "" ; then
-                $rm conftest
-                $C_compiler -o conftest conftest.c $i
-                # Did it work?
-                if test $? -eq 0 ; then
-                  ldd_output=`ldd conftest`
-                    libname=`eval \\$echo \"$libname_spec\"`
-                    deplib_matches=`eval \\$echo \"$library_names_spec\"`
-                    set dummy $deplib_matches
-                    deplib_match=$2
-                    if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
-                      newdeplibs="$newdeplibs $i"
-                    else
-                      echo
-                      echo "*** Warning: This library needs some functionality provided by $i."
-                      echo "*** I have the capability to make that library automatically link in when"
-                      echo "*** you link to this library.  But I can only do this if you have a"
-                      echo "*** shared version of the library, which you do not appear to have."
-                    fi
-                else
-                  echo
-                  echo "*** Warning!  Library $i is needed by this library but I was not able to"
-                  echo "***  make it link in!  You will probably need to install it or some"
-                  echo "*** library that it depends on before this library will be fully"
-                  echo "*** functional.  Installing it before continuing would be even better."
-                fi
-              else
-                newdeplibs="$newdeplibs $i"
-              fi
-            done
-          fi
-          deplibs=$newdeplibs
-          ;;
-        file_magic* | file_regex)
-          set dummy $check_shared_deplibs_method
-          file_magic_regex="`expr \"$check_shared_deplibs_method\" : \"$2\(.*\)\"`"
-          for a_deplib in $deplibs; do
-            name="`expr $a_deplib : '-l\(.*\)'`"
-            # If $name is empty we are operating on a -L argument.
-            if test "$name" != "" ; then
-              libname=`eval \\$echo \"$libname_spec\"`
-              case "$check_shared_deplibs_method" in
-                file_magic*)
-                  for i in $lib_search_path; do
-                   # This needs to be more general than file_regex in order to
-                   # catch things like glibc on linux.  Maybe file_regex
-                   # should be more general as well, but maybe not.  Since
-                   # library names are supposed to conform to
-                   # library_name_spec, I think file_regex should remain
-                   # strict.  What do you think Gordon?
-                    potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
-                    for potent_lib in $potential_libs; do
-                      file_output=`file $potent_lib`
-                      if test `expr "$file_output" : ".*$file_magic_regex"` -ne 0 ; then
-                        newdeplibs="$newdeplibs $a_deplib"
-                        a_deplib=""
-                        break 2
-                      fi
-                    done
-                  done
-                  ;;
-                file_regex)
-                  deplib_matches=`eval \\$echo \"$library_names_spec\"`
-                  set dummy $deplib_matches
-                  deplib_match=$2
-                  for i in $lib_search_path; do
-                    potential_libs=`ls $i/$deplib_match* 2>/dev/null`
-                    if test "$potential_libs" != "" ; then
-                      newdeplibs="$newdeplibs $a_deplib"
-                      a_deplib=""
-                      break
-                    fi
-                  done
-                  ;;
-              esac
-              if test "$a_deplib" != "" ; then
-                echo
-                echo "*** Warning: This library needs some functionality provided by $a_deplib."
-                echo "*** I have the capability to make that library automatically link in when"
-                echo "*** you link to this library.  But I can only do this if you have a"
-                echo "*** shared version of the library, which you do not appear to have."
-              fi
-            else
-              # Add a -L argument.
-              newdeplibs="$newdeplibs $a_deplib"
-            fi
-          done # Gone through all deplibs.
-          ;;
-        none | *)  deplibs="" ;;
-        esac
-        versuffix=$versuffix_save
-        major=$major_save
-        release=$release_save
-        libname=$libname_save
-        name=$name_save
-        deplibs=$newdeplibs
-        # Done checking deplibs!
+         $rm conftest
+         $C_compiler -o conftest conftest.c $deplibs
+         if test $? -eq 0 ; then
+           ldd_output=`ldd conftest`
+           for i in $deplibs; do
+             name="`expr $i : '-l\(.*\)'`"
+             # If $name is empty we are operating on a -L argument.
+             if test "$name" != "" ; then
+               libname=`eval \\$echo \"$libname_spec\"`
+               deplib_matches=`eval \\$echo \"$library_names_spec\"`
+               set dummy $deplib_matches
+               deplib_match=$2
+               if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+                 newdeplibs="$newdeplibs $i"
+               else
+                 echo
+                 echo "*** Warning: This library needs some functionality provided by $i."
+                 echo "*** I have the capability to make that library automatically link in when"
+                 echo "*** you link to this library.  But I can only do this if you have a"
+                 echo "*** shared version of the library, which you do not appear to have."
+               fi
+             else
+               newdeplibs="$newdeplibs $i"
+             fi
+           done
+         else
+           # Error occured in the first compile.  Let's try to salvage the situation:
+           # Compile a seperate program for each library.
+           for i in $deplibs; do
+             name="`expr $i : '-l\(.*\)'`"
+            # If $name is empty we are operating on a -L argument.
+             if test "$name" != "" ; then
+               $rm conftest
+               $C_compiler -o conftest conftest.c $i
+               # Did it work?
+               if test $? -eq 0 ; then
+                 ldd_output=`ldd conftest`
+                   libname=`eval \\$echo \"$libname_spec\"`
+                   deplib_matches=`eval \\$echo \"$library_names_spec\"`
+                   set dummy $deplib_matches
+                   deplib_match=$2
+                   if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
+                     newdeplibs="$newdeplibs $i"
+                   else
+                     echo
+                     echo "*** Warning: This library needs some functionality provided by $i."
+                     echo "*** I have the capability to make that library automatically link in when"
+                     echo "*** you link to this library.  But I can only do this if you have a"
+                     echo "*** shared version of the library, which you do not appear to have."
+                   fi
+               else
+                 echo
+                 echo "*** Warning!  Library $i is needed by this library but I was not able to"
+                 echo "***  make it link in!  You will probably need to install it or some"
+                 echo "*** library that it depends on before this library will be fully"
+                 echo "*** functional.  Installing it before continuing would be even better."
+               fi
+             else
+               newdeplibs="$newdeplibs $i"
+             fi
+           done
+         fi
+         deplibs=$newdeplibs
+         ;;
+       file_magic* | file_regex)
+         set dummy $deplibs_check_method
+         file_magic_regex="`expr \"$deplibs_check_method\" : \"$2\(.*\)\"`"
+         for a_deplib in $deplibs; do
+           name="`expr $a_deplib : '-l\(.*\)'`"
+           # If $name is empty we are operating on a -L argument.
+           if test "$name" != "" ; then
+             libname=`eval \\$echo \"$libname_spec\"`
+             case "$deplibs_check_method" in
+               file_magic*)
+                 for i in $lib_search_path; do
+                  # This needs to be more general than file_regex in order to
+                  # catch things like glibc on linux.  Maybe file_regex
+                  # should be more general as well, but maybe not.  Since
+                  # library names are supposed to conform to
+                  # library_name_spec, I think file_regex should remain
+                  # strict.  What do you think Gordon?
+                   potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
+                   for potent_lib in $potential_libs; do
+                     file_output=`file $potent_lib`
+                     if test `expr "$file_output" : ".*$file_magic_regex"` -ne 0 ; then
+                       newdeplibs="$newdeplibs $a_deplib"
+                       a_deplib=""
+                       break 2
+                     fi
+                   done
+                 done
+                 ;;
+               file_regex)
+                 deplib_matches=`eval \\$echo \"$library_names_spec\"`
+                 set dummy $deplib_matches
+                 deplib_match=$2
+                 for i in $lib_search_path; do
+                   potential_libs=`ls $i/$deplib_match* 2>/dev/null`
+                   if test "$potential_libs" != "" ; then
+                     newdeplibs="$newdeplibs $a_deplib"
+                     a_deplib=""
+                     break
+                   fi
+                 done
+                 ;;
+             esac
+             if test "$a_deplib" != "" ; then
+               echo
+               echo "*** Warning: This library needs some functionality provided by $a_deplib."
+               echo "*** I have the capability to make that library automatically link in when"
+               echo "*** you link to this library.  But I can only do this if you have a"
+               echo "*** shared version of the library, which you do not appear to have."
+             fi
+           else
+             # Add a -L argument.
+             newdeplibs="$newdeplibs $a_deplib"
+           fi
+         done # Gone through all deplibs.
+         ;;
+       none | *)  deplibs="" ;;
+       esac
+       versuffix=$versuffix_save
+       major=$major_save
+       release=$release_save
+       libname=$libname_save
+       name=$name_save
+       deplibs=$newdeplibs
+       # Done checking deplibs!
  
        # Get the real and link names of the library.
        eval library_names=\"$library_names_spec\"
@@ -1607,43 +1607,43 @@ EOF
 
     *.lo | *.o | *.obj)
       if test -n "$link_against_libtool_libs"; then
-        $echo "$modename: error: cannot link libtool libraries into objects" 1>&2
-        exit 1
+       $echo "$modename: error: cannot link libtool libraries into objects" 1>&2
+       exit 1
       fi
 
       if test -n "$deplibs"; then
-        $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
+       $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
       fi
 
       if test -n "$dlfiles$dlprefiles"; then
-        $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
+       $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
       fi
 
       if test -n "$rpath"; then
-        $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
+       $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2
       fi
 
       if test -n "$vinfo"; then
-        $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
+       $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2
       fi
 
       if test -n "$release"; then
-        $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
+       $echo "$modename: warning: \`-release' is ignored for objects" 1>&2
       fi
 
       case "$output" in
       *.lo)
-        if test -n "$objs"; then
-          $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
-          exit 1
-        fi
-        libobj="$output"
-        obj=`$echo "X$output" | $Xsed -e "$lo2o"`
-        ;;
+       if test -n "$objs"; then
+         $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2
+         exit 1
+       fi
+       libobj="$output"
+       obj=`$echo "X$output" | $Xsed -e "$lo2o"`
+       ;;
       *)
-        libobj=
-        obj="$output"
-        ;;
+       libobj=
+       obj="$output"
+       ;;
       esac
 
       # Delete the old objects.
@@ -1656,9 +1656,9 @@ EOF
       eval cmds=\"$reload_cmds\"
       IFS="${IFS=      }"; save_ifs="$IFS"; IFS='~'
       for cmd in $cmds; do
-        IFS="$save_ifs"
-        $show "$cmd"
-        $run eval "$cmd" || exit $?
+       IFS="$save_ifs"
+       $show "$cmd"
+       $run eval "$cmd" || exit $?
       done
       IFS="$save_ifs"
 
@@ -1666,29 +1666,29 @@ EOF
       test -z "$libobj" && exit 0
 
       if test "$build_libtool_libs" != yes; then
-        # Create an invalid libtool object if no PIC, so that we don't
-        # accidentally link it into a program.
-        $show "echo timestamp > $libobj"
-        $run eval "echo timestamp > $libobj" || exit $?
-        exit 0
+       # Create an invalid libtool object if no PIC, so that we don't
+       # accidentally link it into a program.
+       $show "echo timestamp > $libobj"
+       $run eval "echo timestamp > $libobj" || exit $?
+       exit 0
       fi
 
       if test -n "$pic_flag"; then
-        # Only do commands if we really have different PIC objects.
-        reload_objs="$libobjs"
-        output="$libobj"
-        eval cmds=\"$reload_cmds\"
-        IFS="${IFS=    }"; save_ifs="$IFS"; IFS='~'
-        for cmd in $cmds; do
-          IFS="$save_ifs"
-          $show "$cmd"
-          $run eval "$cmd" || exit $?
-        done
-        IFS="$save_ifs"
+       # Only do commands if we really have different PIC objects.
+       reload_objs="$libobjs"
+       output="$libobj"
+       eval cmds=\"$reload_cmds\"
+       IFS="${IFS=     }"; save_ifs="$IFS"; IFS='~'
+       for cmd in $cmds; do
+         IFS="$save_ifs"
+         $show "$cmd"
+         $run eval "$cmd" || exit $?
+       done
+       IFS="$save_ifs"
       else
-        # Just create a symlink.
-        $show "$LN_S $obj $libobj"
-        $run $LN_S $obj $libobj || exit $?
+       # Just create a symlink.
+       $show "$LN_S $obj $libobj"
+       $run $LN_S $obj $libobj || exit $?
       fi
 
       exit 0
@@ -1697,24 +1697,24 @@ EOF
     # Anything else should be a program.
     *)
       if test -n "$vinfo"; then
-        $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
+       $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2
       fi
 
       if test -n "$release"; then
-        $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
+       $echo "$modename: warning: \`-release' is ignored for programs" 1>&2
       fi
 
       if test -n "$rpath"; then
        # If the user specified any rpath flags, then add them.
        for libdir in $rpath; do
-          if test -n "$hardcode_libdir_flag_spec"; then
-            if test -n "$hardcode_libdir_separator"; then
-              if test -z "$hardcode_libdirs"; then
-                # Put the magic libdir with the hardcode flag.
-                hardcode_libdirs="$libdir"
-                libdir="@HARDCODE_LIBDIRS@"
-              else
-                # Just accumulate the unique libdirs.
+         if test -n "$hardcode_libdir_flag_spec"; then
+           if test -n "$hardcode_libdir_separator"; then
+             if test -z "$hardcode_libdirs"; then
+               # Put the magic libdir with the hardcode flag.
+               hardcode_libdirs="$libdir"
+               libdir="@HARDCODE_LIBDIRS@"
+             else
+               # Just accumulate the unique libdirs.
                case "$hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator" in
                *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*)
                  ;;
@@ -1722,22 +1722,22 @@ EOF
                  hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir"
                  ;;
                esac
-                libdir=
-              fi
-            fi
-
-            if test -n "$libdir"; then
-              eval flag=\"$hardcode_libdir_flag_spec\"
-
-              compile_command="$compile_command $flag"
-              finalize_command="$finalize_command $flag"
-            fi
-          elif test -n "$runpath_var"; then
-            case "$perm_rpath " in
-            *" $libdir "*) ;;
-            *) perm_rpath="$perm_rpath $libdir" ;;
-            esac
-          fi
+               libdir=
+             fi
+           fi
+
+           if test -n "$libdir"; then
+             eval flag=\"$hardcode_libdir_flag_spec\"
+
+             compile_command="$compile_command $flag"
+             finalize_command="$finalize_command $flag"
+           fi
+         elif test -n "$runpath_var"; then
+           case "$perm_rpath " in
+           *" $libdir "*) ;;
+           *) perm_rpath="$perm_rpath $libdir" ;;
+           esac
+         fi
        done
       fi
 
@@ -1749,34 +1749,34 @@ EOF
 
       output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'`
       if test "X$output_objdir" = "X$output"; then
-        output_objdir="$objdir"
+       output_objdir="$objdir"
       else
-        output_objdir="$output_objdir/$objdir"
+       output_objdir="$output_objdir/$objdir"
       fi
 
       if test -n "$libobjs" && test "$build_old_libs" = yes; then
-        # Transform all the library objects into standard objects.
-        compile_command=`$echo "X$compile_command " | $Xsed -e "$los2o" -e 's/ $//'`
-        finalize_command=`$echo "X$finalize_command " | $Xsed -e "$los2o" -e 's/ $//'`
+       # Transform all the library objects into standard objects.
+       compile_command=`$echo "X$compile_command " | $Xsed -e "$los2o" -e 's/ $//'`
+       finalize_command=`$echo "X$finalize_command " | $Xsed -e "$los2o" -e 's/ $//'`
       fi
 
       if test "$export_dynamic" = yes && test -n "$NM" && test -n "$global_symbol_pipe"; then
-        dlsyms="${outputname}S.c"
+       dlsyms="${outputname}S.c"
       else
-        dlsyms=
+       dlsyms=
       fi
 
       if test -n "$dlsyms"; then
-        case "$dlsyms" in
-        "") ;;
-        *.c)
-          if test -z "$export_symbols"; then
-            # Add our own program objects to the preloaded list.
-            dlprefiles=`$echo "X$objs$dlprefiles " | $Xsed -e "$los2o" -e 's/ $//'`
-          fi
+       case "$dlsyms" in
+       "") ;;
+       *.c)
+         if test -z "$export_symbols"; then
+           # Add our own program objects to the preloaded list.
+           dlprefiles=`$echo "X$objs$dlprefiles " | $Xsed -e "$los2o" -e 's/ $//'`
+         fi
 
-          # Discover the nlist of each of the dlfiles.
-          nlist="$objdir/${output}.nm"
+         # Discover the nlist of each of the dlfiles.
+         nlist="$objdir/${output}.nm"
 
          if test -d $objdir; then
            $show "$rm $nlist ${nlist}T"
@@ -1790,10 +1790,10 @@ EOF
            fi
          fi
 
-          # Parse the name list into a source file.
-          $show "creating $objdir/$dlsyms"
+         # Parse the name list into a source file.
+         $show "creating $objdir/$dlsyms"
 
-          $echo > "$objdir/$dlsyms" "\
+         $echo > "$objdir/$dlsyms" "\
 /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */
 /* Generated by $PROGRAM - GNU $PACKAGE $VERSION */
 
@@ -1807,16 +1807,16 @@ extern \"C\" {
 /* External symbol declarations for the compiler. */\
 "
 
-          if test -n "$export_symbols"; then
+         if test -n "$export_symbols"; then
            sed -e 's/^\(.*\)/\1 \1/' < "$export_symbols" > "$nlist"
-          fi
+         fi
 
-          for arg in $dlprefiles; do
+         for arg in $dlprefiles; do
            $show "extracting global C symbols from \`$arg'"
            $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'"
-          done
+         done
 
-          if test -z "$run"; then
+         if test -z "$run"; then
            # Make sure we at least have an empty file.
            test -f "$nlist" || : > "$nlist"
 
@@ -1829,9 +1829,9 @@ extern \"C\" {
 
            if test -f "$nlist"; then
              sed -e 's/^.* \(.*\)$/extern char \1;/' < "$nlist" >> "$output_objdir/$dlsyms"
-           else
+           else
              echo '/* NONE */' >> "$output_objdir/$dlsyms"
-           fi
+           fi
 
            $echo >> "$output_objdir/$dlsyms" "\
 
@@ -1852,24 +1852,24 @@ dld_preloaded_symbols[] =
 {\
 "
 
-            if test -n "$export_symbols"; then
-              echo >> "$output_objdir/$dlsyms" "\
+           if test -n "$export_symbols"; then
+             echo >> "$output_objdir/$dlsyms" "\
   {\"${output}\", (lt_ptr_t) 0},"
              sed 's/^\(.*\)/  {"\1", (lt_ptr_t) \&\1},/' < "$export_symbols" >> "$output_objdir/$dlsyms"
-            fi
+           fi
 
-            for arg in $dlprefiles; do
+           for arg in $dlprefiles; do
              name=`echo "$arg" | sed -e 's%^.*/%%'`
-              echo >> "$output_objdir/$dlsyms" "\
+             echo >> "$output_objdir/$dlsyms" "\
   {\"$name\", (lt_ptr_t) 0},"
              eval "$NM $arg | $global_symbol_pipe > '$nlist'"
 
              if test -f "$nlist"; then
-               sed 's/^\(.*\) \(.*\)$/  {"\1", (lt_ptr_t) \&\2},/' < "$nlist" >> "$output_objdir/$dlsyms"
+               sed 's/^\(.*\) \(.*\)$/  {"\1", (lt_ptr_t) \&\2},/' < "$nlist" >> "$output_objdir/$dlsyms"
              else
                echo '/* NONE */' >> "$output_objdir/$dlsyms"
              fi
-            done
+           done
 
            $echo >> "$output_objdir/$dlsyms" "\
   {0, (lt_ptr_t) 0}
@@ -1879,43 +1879,43 @@ dld_preloaded_symbols[] =
 }
 #endif\
 "
-          fi
+         fi
 
-          # Now compile the dynamic symbol file.
-          $show "(cd $objdir && $C_compiler -c$no_builtin_flag \"$dlsyms\")"
-          $run eval '(cd $objdir && $C_compiler -c$no_builtin_flag "$dlsyms")' || exit $?
+         # Now compile the dynamic symbol file.
+         $show "(cd $objdir && $C_compiler -c$no_builtin_flag \"$dlsyms\")"
+         $run eval '(cd $objdir && $C_compiler -c$no_builtin_flag "$dlsyms")' || exit $?
 
-          # Transform the symbol file into the correct name.
-          compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$objdir/${output}S.${objext}%"`
-          finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$objdir/${output}S.${objext}%"`
+         # Transform the symbol file into the correct name.
+         compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$objdir/${output}S.${objext}%"`
+         finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$objdir/${output}S.${objext}%"`
+         ;;
+       *)
+         $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
+         exit 1
          ;;
-        *)
-          $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2
-          exit 1
-          ;;
-        esac
+       esac
       elif test "$export_dynamic" != yes; then
-        test -n "$dlfiles$dlprefiles" && $echo "$modename: warning: \`-dlopen' and \`-dlpreopen' are ignored without \`-export-dynamic'" 1>&2
+       test -n "$dlfiles$dlprefiles" && $echo "$modename: warning: \`-dlopen' and \`-dlpreopen' are ignored without \`-export-dynamic'" 1>&2
       else
-        # We keep going just in case the user didn't refer to
-        # dld_preloaded_symbols.  The linker will fail if global_symbol_pipe
-        # really was required.
-        $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
+       # We keep going just in case the user didn't refer to
+       # dld_preloaded_symbols.  The linker will fail if global_symbol_pipe
+       # really was required.
+       $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2
 
-        # Nullify the symbol file.
-        compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
-        finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
+       # Nullify the symbol file.
+       compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
+       finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
       fi
 
       if test -z "$link_against_libtool_libs" || test "$build_libtool_libs" != yes; then
-        # Replace the output file specification.
-        compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
-        finalize_command=`$echo "X$finalize_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+       # Replace the output file specification.
+       compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
+       finalize_command=`$echo "X$finalize_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
 
-        # We have no uninstalled library dependencies, so finalize right now.
-        $show "$compile_command"
-        $run eval "$compile_command"
-        exit $?
+       # We have no uninstalled library dependencies, so finalize right now.
+       $show "$compile_command"
+       $run eval "$compile_command"
+       exit $?
       fi
 
       # Replace the output file specification.
@@ -1924,7 +1924,7 @@ dld_preloaded_symbols[] =
 
       # Create the binary in the object directory, then wrap it.
       if test ! -d $output_objdir; then
-        $show "$mkdir $output_objdir"
+       $show "$mkdir $output_objdir"
        $run $mkdir $output_objdir
        status=$?
        if test $status -ne 0 && test ! -d $objdir; then
@@ -1933,47 +1933,47 @@ dld_preloaded_symbols[] =
       fi
 
       if test -n "$shlibpath_var"; then
-        # We should set the shlibpath_var
-        rpath=
-        for dir in $temp_rpath; do
-          case "$dir" in
-          /* | [A-Za-z]:[/\\]*)
-            # Absolute path.
-            rpath="$rpath$dir:"
-            ;;
-          *)
-            # Relative path: add a thisdir entry.
-            rpath="$rpath\$thisdir/$dir:"
-            ;;
-          esac
-        done
-        temp_rpath="$rpath"
+       # We should set the shlibpath_var
+       rpath=
+       for dir in $temp_rpath; do
+         case "$dir" in
+         /* | [A-Za-z]:[/\\]*)
+           # Absolute path.
+           rpath="$rpath$dir:"
+           ;;
+         *)
+           # Relative path: add a thisdir entry.
+           rpath="$rpath\$thisdir/$dir:"
+           ;;
+         esac
+       done
+       temp_rpath="$rpath"
       fi
 
       # Delete the old output file.
       $run $rm $output
 
       if test -n "$compile_shlibpath"; then
-        compile_command="$shlibpath_var=\"$compile_shlibpath\$$shlibpath_var\" $compile_command"
+       compile_command="$shlibpath_var=\"$compile_shlibpath\$$shlibpath_var\" $compile_command"
       fi
       if test -n "$finalize_shlibpath"; then
-        finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
+       finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command"
       fi
 
       if test -n "$runpath_var" && test -n "$perm_rpath"; then
-        # We should set the runpath_var.
-        rpath=
-        for dir in $perm_rpath; do
-          rpath="$rpath$dir:"
-        done
-        compile_command="$runpath_var=\"$rpath\$$runpath_var\" $compile_command"
-        finalize_command="$runpath_var=\"$rpath\$$runpath_var\" $finalize_command"
+       # We should set the runpath_var.
+       rpath=
+       for dir in $perm_rpath; do
+         rpath="$rpath$dir:"
+       done
+       compile_command="$runpath_var=\"$rpath\$$runpath_var\" $compile_command"
+       finalize_command="$runpath_var=\"$rpath\$$runpath_var\" $finalize_command"
       fi
 
       if test "$hardcode_action" = relink; then
-        # AGH! Flame the AIX and HP-UX people for me, will ya?
-        $echo "$modename: warning: this platform doesn\'t like uninstalled shared libraries" 1>&2
-        $echo "$modename: \`$output' will be relinked during installation" 1>&2
+       # AGH! Flame the AIX and HP-UX people for me, will ya?
+       $echo "$modename: warning: this platform doesn\'t like uninstalled shared libraries" 1>&2
+       $echo "$modename: \`$output' will be relinked during installation" 1>&2
       fi
 
       $show "$compile_command"
@@ -1993,15 +1993,15 @@ dld_preloaded_symbols[] =
        esac
        qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"`
       else
-        qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
+       qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"`
       fi
 
       # Only actually do things if our run command is non-null.
       if test -z "$run"; then
-        $rm $output
-        trap "$rm $output; exit 1" 1 2 15
+       $rm $output
+       trap "$rm $output; exit 1" 1 2 15
 
-        $echo > $output "\
+       $echo > $output "\
 #! $SHELL
 
 # $output - temporary wrapper script for $objdir/$outputname
@@ -2045,7 +2045,7 @@ else
     fi
   fi\
 "
-        $echo >> $output "\
+       $echo >> $output "\
 
   # Find the directory that this script lives in.
   thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
@@ -2077,9 +2077,9 @@ else
 
   if test -f \"\$progdir/\$program\"; then"
 
-        # Export our shlibpath_var if we have one.
-        if test -n "$shlibpath_var" && test -n "$temp_rpath"; then
-          $echo >> $output "\
+       # Export our shlibpath_var if we have one.
+       if test -n "$shlibpath_var" && test -n "$temp_rpath"; then
+         $echo >> $output "\
     # Add our own library path to $shlibpath_var
     $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
 
@@ -2088,9 +2088,9 @@ else
 
     export $shlibpath_var
 "
-        fi
+       fi
 
-        $echo >> $output "\
+       $echo >> $output "\
     if test \"\$libtool_execute_magic\" != \"$magic\"; then
       # Run the actual program with our arguments.
 
@@ -2112,7 +2112,7 @@ else
   fi
 fi\
 "
-        chmod +x $output
+       chmod +x $output
       fi
       exit 0
       ;;
@@ -2159,9 +2159,9 @@ fi\
       fi
       IFS="${IFS=      }"; save_ifs="$IFS"; IFS='~'
       for cmd in $cmds; do
-        IFS="$save_ifs"
-        $show "$cmd"
-        $run eval "$cmd" || exit $?
+       IFS="$save_ifs"
+       $show "$cmd"
+       $run eval "$cmd" || exit $?
       done
       IFS="$save_ifs"
     done
@@ -2180,7 +2180,7 @@ fi\
 
       # Only create the output if not a dry run.
       if test -z "$run"; then
-        $echo > $output "\
+       $echo > $output "\
 # $output - a libtool library file
 # Generated by $PROGRAM - GNU $PACKAGE $VERSION
 
@@ -2261,9 +2261,9 @@ libdir='$install_libdir'\
     for arg
     do
       if test -n "$dest"; then
-        files="$files $dest"
-        dest="$arg"
-        continue
+       files="$files $dest"
+       dest="$arg"
+       continue
       fi
 
       case "$arg" in
@@ -2273,20 +2273,20 @@ libdir='$install_libdir'\
       -m) prev="-m" ;;
       -o) prev="-o" ;;
       -s)
-        stripme=" -s"
-        continue
-        ;;
+       stripme=" -s"
+       continue
+       ;;
       -*) ;;
 
       *)
-        # If the previous option needed an argument, then skip it.
-        if test -n "$prev"; then
-          prev=
-        else
-          dest="$arg"
-          continue
-        fi
-        ;;
+       # If the previous option needed an argument, then skip it.
+       if test -n "$prev"; then
+         prev=
+       else
+         dest="$arg"
+         continue
+       fi
+       ;;
       esac
 
       # Aesthetically quote the argument.
@@ -2313,9 +2313,9 @@ libdir='$install_libdir'\
 
     if test -z "$files"; then
       if test -z "$dest"; then
-        $echo "$modename: no file or destination specified" 1>&2
+       $echo "$modename: no file or destination specified" 1>&2
       else
-        $echo "$modename: you must specify a destination" 1>&2
+       $echo "$modename: you must specify a destination" 1>&2
       fi
       $echo "$help" 1>&2
       exit 1
@@ -2337,23 +2337,23 @@ libdir='$install_libdir'\
       # Not a directory, so check to see that there is only one file specified.
       set dummy $files
       if test $# -gt 2; then
-        $echo "$modename: \`$dest' is not a directory" 1>&2
-        $echo "$help" 1>&2
-        exit 1
+       $echo "$modename: \`$dest' is not a directory" 1>&2
+       $echo "$help" 1>&2
+       exit 1
       fi
     fi
     case "$destdir" in
     /* | [A-Za-z]:[/\\]*) ;;
     *)
       for file in $files; do
-        case "$file" in
-        *.lo) ;;
-        *)
-          $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
-          $echo "$help" 1>&2
-          exit 1
-          ;;
-        esac
+       case "$file" in
+       *.lo) ;;
+       *)
+         $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2
+         $echo "$help" 1>&2
+         exit 1
+         ;;
+       esac
       done
       ;;
     esac
@@ -2370,212 +2370,212 @@ libdir='$install_libdir'\
       # Do each installation.
       case "$file" in
       *.a | *.lib)
-        # Do the static libraries later.
-        staticlibs="$staticlibs $file"
-        ;;
+       # Do the static libraries later.
+       staticlibs="$staticlibs $file"
+       ;;
 
       *.la)
-        # Check to see that this really is a libtool archive.
-        if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
-        else
-          $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
-          $echo "$help" 1>&2
-          exit 1
-        fi
-
-        library_names=
-        old_library=
-        # If there is no directory component, then add one.
-        case "$file" in
-        */* | *\\*) . $file ;;
-        *) . ./$file ;;
-        esac
-
-        # Add the libdir to current_libdirs if it is the destination.
-        if test "X$destdir" = "X$libdir"; then
-          case "$current_libdirs " in
-          *" $libdir "*) ;;
-          *) current_libdirs="$current_libdirs $libdir" ;;
-          esac
-        else
-          # Note the libdir as a future libdir.
-          case "$future_libdirs " in
-          *" $libdir "*) ;;
-          *) future_libdirs="$future_libdirs $libdir" ;;
-          esac
-        fi
-
-        dir="`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/"
-        test "X$dir" = "X$file/" && dir=
-        dir="$dir$objdir"
-
-        # See the names of the shared library.
-        set dummy $library_names
-        if test -n "$2"; then
-          realname="$2"
-          shift
-          shift
-
-          # Install the shared library and build the symlinks.
-          $show "$install_prog $dir/$realname $destdir/$realname"
-          $run eval "$install_prog $dir/$realname $destdir/$realname" || exit $?
-          test "X$dlname" = "X$realname" && dlname=
-
-          if test $# -gt 0; then
-            # Delete the old symlinks, and create new ones.
-            for linkname
-            do
-              test "X$dlname" = "X$linkname" && dlname=
+       # Check to see that this really is a libtool archive.
+       if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+       else
+         $echo "$modename: \`$file' is not a valid libtool archive" 1>&2
+         $echo "$help" 1>&2
+         exit 1
+       fi
+
+       library_names=
+       old_library=
+       # If there is no directory component, then add one.
+       case "$file" in
+       */* | *\\*) . $file ;;
+       *) . ./$file ;;
+       esac
+
+       # Add the libdir to current_libdirs if it is the destination.
+       if test "X$destdir" = "X$libdir"; then
+         case "$current_libdirs " in
+         *" $libdir "*) ;;
+         *) current_libdirs="$current_libdirs $libdir" ;;
+         esac
+       else
+         # Note the libdir as a future libdir.
+         case "$future_libdirs " in
+         *" $libdir "*) ;;
+         *) future_libdirs="$future_libdirs $libdir" ;;
+         esac
+       fi
+
+       dir="`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/"
+       test "X$dir" = "X$file/" && dir=
+       dir="$dir$objdir"
+
+       # See the names of the shared library.
+       set dummy $library_names
+       if test -n "$2"; then
+         realname="$2"
+         shift
+         shift
+
+         # Install the shared library and build the symlinks.
+         $show "$install_prog $dir/$realname $destdir/$realname"
+         $run eval "$install_prog $dir/$realname $destdir/$realname" || exit $?
+         test "X$dlname" = "X$realname" && dlname=
+
+         if test $# -gt 0; then
+           # Delete the old symlinks, and create new ones.
+           for linkname
+           do
+             test "X$dlname" = "X$linkname" && dlname=
              if test "$linkname" != "$realname"; then
                $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
                $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
              fi
-            done
-          fi
-
-          if test -n "$dlname"; then
-            # Install the dynamically-loadable library.
-            $show "$install_prog $dir/$dlname $destdir/$dlname"
-            $run eval "$install_prog $dir/$dlname $destdir/$dlname" || exit $?
-          fi
-
-          # Do each command in the postinstall commands.
-          lib="$destdir/$realname"
-          eval cmds=\"$postinstall_cmds\"
-          IFS="${IFS=  }"; save_ifs="$IFS"; IFS='~'
-          for cmd in $cmds; do
-            IFS="$save_ifs"
-            $show "$cmd"
-            $run eval "$cmd" || exit $?
-          done
-          IFS="$save_ifs"
-        fi
-
-        # Install the pseudo-library for information purposes.
-        name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+           done
+         fi
+
+         if test -n "$dlname"; then
+           # Install the dynamically-loadable library.
+           $show "$install_prog $dir/$dlname $destdir/$dlname"
+           $run eval "$install_prog $dir/$dlname $destdir/$dlname" || exit $?
+         fi
+
+         # Do each command in the postinstall commands.
+         lib="$destdir/$realname"
+         eval cmds=\"$postinstall_cmds\"
+         IFS="${IFS=   }"; save_ifs="$IFS"; IFS='~'
+         for cmd in $cmds; do
+           IFS="$save_ifs"
+           $show "$cmd"
+           $run eval "$cmd" || exit $?
+         done
+         IFS="$save_ifs"
+       fi
+
+       # Install the pseudo-library for information purposes.
+       name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
        instname="$dir/$name"i
        $show "Creating $instname"
        $rm "$instname"
        sed 's/^installed=no$/installed=yes/' "$file" > "$instname"
-        $show "$install_prog $instname $destdir/$name"
-        $run eval "$install_prog $instname $destdir/$name" || exit $?
+       $show "$install_prog $instname $destdir/$name"
+       $run eval "$install_prog $instname $destdir/$name" || exit $?
        $show "$rm $instname"
        $rm "$instname"
 
-        # Maybe install the static library, too.
-        test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
-        ;;
+       # Maybe install the static library, too.
+       test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
+       ;;
 
       *.lo)
-        # Install (i.e. copy) a libtool object.
-
-        # Figure out destination file name, if it wasn't already specified.
-        if test -n "$destname"; then
-          destfile="$destdir/$destname"
-        else
-          destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
-          destfile="$destdir/$destfile"
-        fi
-
-        # Deduce the name of the destination old-style object file.
-        case "$destfile" in
-        *.lo)
-          staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
-          ;;
-        *.o | *.obj)
-          staticdest="$destfile"
-          destfile=
-          ;;
-        *)
-          $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
-          $echo "$help" 1>&2
-          exit 1
-          ;;
-        esac
-
-        # Install the libtool object if requested.
-        if test -n "$destfile"; then
-          $show "$install_prog $file $destfile"
-          $run eval "$install_prog $file $destfile" || exit $?
-        fi
-
-        # Install the old object if enabled.
-        if test "$build_old_libs" = yes; then
-          # Deduce the name of the old-style object file.
-          staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
-
-          $show "$install_prog $staticobj $staticdest"
-          $run eval "$install_prog \$staticobj \$staticdest" || exit $?
-        fi
-        exit 0
-        ;;
+       # Install (i.e. copy) a libtool object.
+
+       # Figure out destination file name, if it wasn't already specified.
+       if test -n "$destname"; then
+         destfile="$destdir/$destname"
+       else
+         destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+         destfile="$destdir/$destfile"
+       fi
+
+       # Deduce the name of the destination old-style object file.
+       case "$destfile" in
+       *.lo)
+         staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"`
+         ;;
+       *.o | *.obj)
+         staticdest="$destfile"
+         destfile=
+         ;;
+       *)
+         $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2
+         $echo "$help" 1>&2
+         exit 1
+         ;;
+       esac
+
+       # Install the libtool object if requested.
+       if test -n "$destfile"; then
+         $show "$install_prog $file $destfile"
+         $run eval "$install_prog $file $destfile" || exit $?
+       fi
+
+       # Install the old object if enabled.
+       if test "$build_old_libs" = yes; then
+         # Deduce the name of the old-style object file.
+         staticobj=`$echo "X$file" | $Xsed -e "$lo2o"`
+
+         $show "$install_prog $staticobj $staticdest"
+         $run eval "$install_prog \$staticobj \$staticdest" || exit $?
+       fi
+       exit 0
+       ;;
 
       *)
-        # Figure out destination file name, if it wasn't already specified.
-        if test -n "$destname"; then
-          destfile="$destdir/$destname"
-        else
-          destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
-          destfile="$destdir/$destfile"
-        fi
-
-        # Do a test to see if this is really a libtool program.
-        if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
-          link_against_libtool_libs=
-          finalize_command=
-
-          # If there is no directory component, then add one.
-          case "$file" in
-          */* | *\\*) . $file ;;
-          *) . ./$file ;;
-          esac
-
-          # Check the variables that should have been set.
-          if test -z "$link_against_libtool_libs" || test -z "$finalize_command"; then
-            $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
-            exit 1
-          fi
-
-          finalize=yes
-          for lib in $link_against_libtool_libs; do
-            # Check to see that each library is installed.
-            libdir=
-            if test -f "$lib"; then
-              # If there is no directory component, then add one.
-              case "$lib" in
-              */* | *\\*) . $lib ;;
-              *) . ./$lib ;;
-              esac
-            fi
-            libfile="$libdir/`$echo "X$lib" | $Xsed -e 's%^.*/%%g'`"
-            if test -n "$libdir" && test ! -f "$libfile"; then
-              $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
-              finalize=no
-            fi
-          done
-
-          if test "$hardcode_action" = relink; then
-            if test "$finalize" = yes; then
-              $echo "$modename: warning: relinking \`$file' on behalf of your buggy system linker" 1>&2
-              $show "$finalize_command"
-              if $run eval "$finalize_command"; then :
-              else
-                $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
-                continue
-              fi
-              file="$objdir/$file"T
-            else
-              $echo "$modename: warning: cannot relink \`$file' on behalf of your buggy system linker" 1>&2
-            fi
-          else
-            # Install the binary that we compiled earlier.
+       # Figure out destination file name, if it wasn't already specified.
+       if test -n "$destname"; then
+         destfile="$destdir/$destname"
+       else
+         destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+         destfile="$destdir/$destfile"
+       fi
+
+       # Do a test to see if this is really a libtool program.
+       if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+         link_against_libtool_libs=
+         finalize_command=
+
+         # If there is no directory component, then add one.
+         case "$file" in
+         */* | *\\*) . $file ;;
+         *) . ./$file ;;
+         esac
+
+         # Check the variables that should have been set.
+         if test -z "$link_against_libtool_libs" || test -z "$finalize_command"; then
+           $echo "$modename: invalid libtool wrapper script \`$file'" 1>&2
+           exit 1
+         fi
+
+         finalize=yes
+         for lib in $link_against_libtool_libs; do
+           # Check to see that each library is installed.
+           libdir=
+           if test -f "$lib"; then
+             # If there is no directory component, then add one.
+             case "$lib" in
+             */* | *\\*) . $lib ;;
+             *) . ./$lib ;;
+             esac
+           fi
+           libfile="$libdir/`$echo "X$lib" | $Xsed -e 's%^.*/%%g'`"
+           if test -n "$libdir" && test ! -f "$libfile"; then
+             $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2
+             finalize=no
+           fi
+         done
+
+         if test "$hardcode_action" = relink; then
+           if test "$finalize" = yes; then
+             $echo "$modename: warning: relinking \`$file' on behalf of your buggy system linker" 1>&2
+             $show "$finalize_command"
+             if $run eval "$finalize_command"; then :
+             else
+               $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2
+               continue
+             fi
+             file="$objdir/$file"T
+           else
+             $echo "$modename: warning: cannot relink \`$file' on behalf of your buggy system linker" 1>&2
+           fi
+         else
+           # Install the binary that we compiled earlier.
            file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
-          fi
-        fi
+         fi
+       fi
 
-        $show "$install_prog$stripme $file $destfile"
-        $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
-        ;;
+       $show "$install_prog$stripme $file $destfile"
+       $run eval "$install_prog\$stripme \$file \$destfile" || exit $?
+       ;;
       esac
     done
 
@@ -2592,9 +2592,9 @@ libdir='$install_libdir'\
       eval cmds=\"$old_postinstall_cmds\"
       IFS="${IFS=      }"; save_ifs="$IFS"; IFS='~'
       for cmd in $cmds; do
-        IFS="$save_ifs"
-        $show "$cmd"
-        $run eval "$cmd" || exit $?
+       IFS="$save_ifs"
+       $show "$cmd"
+       $run eval "$cmd" || exit $?
       done
       IFS="$save_ifs"
     done
@@ -2622,21 +2622,21 @@ libdir='$install_libdir'\
     if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
       for dir
       do
-        libdirs="$libdirs $dir"
+       libdirs="$libdirs $dir"
       done
 
       for libdir in $libdirs; do
        if test -n "$finish_cmds"; then
          # Do each command in the finish commands.
          eval cmds=\"$finish_cmds\"
-          IFS="${IFS=  }"; save_ifs="$IFS"; IFS='~'
-          for cmd in $cmds; do
-            IFS="$save_ifs"
-            $show "$cmd"
-            $run eval "$cmd" || admincmds="$admincmds
+         IFS="${IFS=   }"; save_ifs="$IFS"; IFS='~'
+         for cmd in $cmds; do
+           IFS="$save_ifs"
+           $show "$cmd"
+           $run eval "$cmd" || admincmds="$admincmds
        $cmd"
-          done
-          IFS="$save_ifs"
+         done
+         IFS="$save_ifs"
        fi
        if test -n "$finish_eval"; then
          # Do the single finish_eval.
@@ -2710,22 +2710,22 @@ libdir='$install_libdir'\
       dir=
       case "$file" in
       *.la)
-        # Check to see that this really is a libtool archive.
-        if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
-        else
-          $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
-          $echo "$help" 1>&2
-          exit 1
-        fi
+       # Check to see that this really is a libtool archive.
+       if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then :
+       else
+         $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2
+         $echo "$help" 1>&2
+         exit 1
+       fi
 
        # Read the libtool library.
        dlname=
        library_names=
 
-        # If there is no directory component, then add one.
+       # If there is no directory component, then add one.
        case "$file" in
        */* | *\\*) . $file ;;
-        *) . ./$file ;;
+       *) . ./$file ;;
        esac
 
        # Skip this library if it cannot be dlopened.
@@ -2754,7 +2754,7 @@ libdir='$install_libdir'\
 
       *)
        $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2
-        continue
+       continue
        ;;
       esac
 
@@ -2781,8 +2781,8 @@ libdir='$install_libdir'\
       case "$file" in
       -*) ;;
       *)
-        # Do a test to see if this is really a libtool program.
-        if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+       # Do a test to see if this is really a libtool program.
+       if (sed -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
          # If there is no directory component, then add one.
          case "$file" in
          */* | *\\*) . $file ;;
@@ -2792,7 +2792,7 @@ libdir='$install_libdir'\
          # Transform arg to wrapped name.
          file="$progdir/$program"
        fi
-        ;;
+       ;;
       esac
       # Quote arguments (to preserve shell metacharacters).
       file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"`
@@ -2805,10 +2805,10 @@ libdir='$install_libdir'\
 
       # Restore saved enviroment variables
       if test "${save_LC_ALL+set}" = set; then
-        LC_ALL="$save_LC_ALL"; export LC_ALL
+       LC_ALL="$save_LC_ALL"; export LC_ALL
       fi
       if test "${save_LANG+set}" = set; then
-        LANG="$save_LANG"; export LANG
+       LANG="$save_LANG"; export LANG
       fi
 
       # Now actually exec the command.
@@ -2854,17 +2854,17 @@ libdir='$install_libdir'\
 
       case "$name" in
       *.la)
-        # Possibly a libtool archive, so verify it.
-        if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
-          . $dir/$name
-
-          # Delete the libtool libraries and symlinks.
-          for n in $library_names; do
-            rmfiles="$rmfiles $dir/$n"
-            test "X$n" = "X$dlname" && dlname=
-          done
-          test -n "$dlname" && rmfiles="$rmfiles $dir/$dlname"
-          test -n "$old_library" && rmfiles="$rmfiles $dir/$old_library"
+       # Possibly a libtool archive, so verify it.
+       if (sed -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then
+         . $dir/$name
+
+         # Delete the libtool libraries and symlinks.
+         for n in $library_names; do
+           rmfiles="$rmfiles $dir/$n"
+           test "X$n" = "X$dlname" && dlname=
+         done
+         test -n "$dlname" && rmfiles="$rmfiles $dir/$dlname"
+         test -n "$old_library" && rmfiles="$rmfiles $dir/$old_library"
 
          $show "$rm $rmfiles"
          $run $rm $rmfiles
@@ -2881,7 +2881,7 @@ libdir='$install_libdir'\
            IFS="$save_ifs"
          fi
 
-          if test -n "$old_library"; then
+         if test -n "$old_library"; then
            # Do each command in the old_postuninstall commands.
            eval cmds=\"$old_postuninstall_cmds\"
            IFS="${IFS=         }"; save_ifs="$IFS"; IFS='~'
@@ -2893,21 +2893,21 @@ libdir='$install_libdir'\
            IFS="$save_ifs"
          fi
 
-          # FIXME: should reinstall the best remaining shared library.
-        fi
-        ;;
+         # FIXME: should reinstall the best remaining shared library.
+       fi
+       ;;
 
       *.lo)
-        if test "$build_old_libs" = yes; then
-          oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
-          rmfiles="$rmfiles $dir/$oldobj"
-        fi
+       if test "$build_old_libs" = yes; then
+         oldobj=`$echo "X$name" | $Xsed -e "$lo2o"`
+         rmfiles="$rmfiles $dir/$oldobj"
+       fi
        $show "$rm $rmfiles"
        $run $rm $rmfiles
-        ;;
+       ;;
 
       *)
-       $show "$rm $rmfiles"
+       $show "$rm $rmfiles"
        $run $rm $rmfiles
        ;;
       esac
@@ -3046,7 +3046,7 @@ The following components of LINK-COMMAND are treated specially:
   -rpath LIBDIR     the created library will eventually be installed in LIBDIR
   -static           do not do any dynamic linking of libtool libraries
   -version-info CURRENT[:REVISION[:AGE]]
-                    specify library version info [each variable defaults to 0]
+                   specify library version info [each variable defaults to 0]
 
 All other options (arguments beginning with \`-') are ignored.
 
index b005d40ed25d997e5778028b31dc80e0b0f516d5..a31007c64702cda219a1fee8f14382e51cc8ef8a 100644 (file)
@@ -7,5 +7,7 @@ configure
 config.*
 conftest*
 libtool
-hell
-hell.debug
+*.lo
+*.la
+mdemo
+mdemo.debug