/[libtool]/libtool/ltmain.in
ViewVC logotype

Diff of /libtool/ltmain.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.274 by gary, Mon Sep 10 22:34:40 2001 UTC revision 1.275 by gary, Mon Sep 10 23:33:26 2001 UTC
# Line 84  if test "${LANG+set}" = set; then Line 84  if test "${LANG+set}" = set; then
84    save_LANG="$LANG"; LANG=C; export LANG    save_LANG="$LANG"; LANG=C; export LANG
85  fi  fi
86    
87    # Make sure IFS has a sensible default
88    : ${IFS="       "}
89    
90  if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then  if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
91    echo "$modename: not configured to build any kind of library" 1>&2    echo "$modename: not configured to build any kind of library" 1>&2
92    echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2    echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
# Line 377  if test -z "$show_help"; then Line 380  if test -z "$show_help"; then
380        -Wc,*)        -Wc,*)
381          args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`          args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
382          lastarg=          lastarg=
383          IFS="${IFS=     }"; save_ifs="$IFS"; IFS=','          save_ifs="$IFS"; IFS=','
384          for arg in $args; do          for arg in $args; do
385            IFS="$save_ifs"            IFS="$save_ifs"
386    
# Line 1333  EOF Line 1336  EOF
1336        -Wc,*)        -Wc,*)
1337          args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`          args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
1338          arg=          arg=
1339          IFS="${IFS=     }"; save_ifs="$IFS"; IFS=','          save_ifs="$IFS"; IFS=','
1340          for flag in $args; do          for flag in $args; do
1341            IFS="$save_ifs"            IFS="$save_ifs"
1342            case $flag in            case $flag in
# Line 1351  EOF Line 1354  EOF
1354        -Wl,*)        -Wl,*)
1355          args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`          args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
1356          arg=          arg=
1357          IFS="${IFS=     }"; save_ifs="$IFS"; IFS=','          save_ifs="$IFS"; IFS=','
1358          for flag in $args; do          for flag in $args; do
1359            IFS="$save_ifs"            IFS="$save_ifs"
1360            case $flag in            case $flag in
# Line 2131  EOF Line 2134  EOF
2134              if test -f "$output_objdir/$soname-def"; then :              if test -f "$output_objdir/$soname-def"; then :
2135              else              else
2136                $show "extracting exported symbol list from \`$soname'"                $show "extracting exported symbol list from \`$soname'"
2137                IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'                save_ifs="$IFS"; IFS='~'
2138                eval cmds=\"$extract_expsyms_cmds\"                eval cmds=\"$extract_expsyms_cmds\"
2139                for cmd in $cmds; do                for cmd in $cmds; do
2140                  IFS="$save_ifs"                  IFS="$save_ifs"
# Line 2144  EOF Line 2147  EOF
2147              # Create $newlib              # Create $newlib
2148              if test -f "$output_objdir/$newlib"; then :; else              if test -f "$output_objdir/$newlib"; then :; else
2149                $show "generating import library for \`$soname'"                $show "generating import library for \`$soname'"
2150                IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'                save_ifs="$IFS"; IFS='~'
2151                eval cmds=\"$old_archive_from_expsyms_cmds\"                eval cmds=\"$old_archive_from_expsyms_cmds\"
2152                for cmd in $cmds; do                for cmd in $cmds; do
2153                  IFS="$save_ifs"                  IFS="$save_ifs"
# Line 2569  EOF Line 2572  EOF
2572        else        else
2573    
2574          # Parse the version information argument.          # Parse the version information argument.
2575          IFS="${IFS=     }"; save_ifs="$IFS"; IFS=':'          save_ifs="$IFS"; IFS=':'
2576          set dummy $vinfo 0 0 0          set dummy $vinfo 0 0 0
2577          IFS="$save_ifs"          IFS="$save_ifs"
2578    
# Line 3210  EOF Line 3213  EOF
3213              export_symbols="$output_objdir/$libname.exp"              export_symbols="$output_objdir/$libname.exp"
3214              $run $rm $export_symbols              $run $rm $export_symbols
3215              eval cmds=\"$export_symbols_cmds\"              eval cmds=\"$export_symbols_cmds\"
3216              IFS="${IFS=         }"; save_ifs="$IFS"; IFS='~'              save_ifs="$IFS"; IFS='~'
3217              for cmd in $cmds; do              for cmd in $cmds; do
3218                IFS="$save_ifs"                IFS="$save_ifs"
3219                $show "$cmd"                $show "$cmd"
# Line 3361  EOF Line 3364  EOF
3364            $echo "creating a temporary reloadable object file: $output"            $echo "creating a temporary reloadable object file: $output"
3365    
3366            # Loop through the commands generated above and execute them.            # Loop through the commands generated above and execute them.
3367            IFS="${IFS=   }"; save_ifs="$IFS"; IFS='~'            save_ifs="$IFS"; IFS='~'
3368            for cmd in $concat_cmds; do            for cmd in $concat_cmds; do
3369              IFS="$save_ifs"              IFS="$save_ifs"
3370              $show "$cmd"              $show "$cmd"
# Line 3390  EOF Line 3393  EOF
3393            # to the just-reset $cmds.            # to the just-reset $cmds.
3394            eval cmds=\"\$cmds~$rm $delfiles\"            eval cmds=\"\$cmds~$rm $delfiles\"
3395          fi          fi
3396          IFS="${IFS=     }"; save_ifs="$IFS"; IFS='~'          save_ifs="$IFS"; IFS='~'
3397          for cmd in $cmds; do          for cmd in $cmds; do
3398            IFS="$save_ifs"            IFS="$save_ifs"
3399            $show "$cmd"            $show "$cmd"
# Line 3518  EOF Line 3521  EOF
3521    
3522        output="$obj"        output="$obj"
3523        eval cmds=\"$reload_cmds\"        eval cmds=\"$reload_cmds\"
3524        IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'        save_ifs="$IFS"; IFS='~'
3525        for cmd in $cmds; do        for cmd in $cmds; do
3526          IFS="$save_ifs"          IFS="$save_ifs"
3527          $show "$cmd"          $show "$cmd"
# Line 3554  EOF Line 3557  EOF
3557          reload_objs="$libobjs $reload_conv_objs"          reload_objs="$libobjs $reload_conv_objs"
3558          output="$libobj"          output="$libobj"
3559          eval cmds=\"$reload_cmds\"          eval cmds=\"$reload_cmds\"
3560          IFS="${IFS=     }"; save_ifs="$IFS"; IFS='~'          save_ifs="$IFS"; IFS='~'
3561          for cmd in $cmds; do          for cmd in $cmds; do
3562            IFS="$save_ifs"            IFS="$save_ifs"
3563            $show "$cmd"            $show "$cmd"
# Line 4319  fi\ Line 4322  fi\
4322            eval cmds=\"\$concat_cmds~$old_archive_cmds\"            eval cmds=\"\$concat_cmds~$old_archive_cmds\"
4323          fi          fi
4324        fi        fi
4325        IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'        save_ifs="$IFS"; IFS='~'
4326        for cmd in $cmds; do        for cmd in $cmds; do
4327          IFS="$save_ifs"          IFS="$save_ifs"
4328          $show "$cmd"          $show "$cmd"
# Line 4694  relink_command=\"$relink_command\"" Line 4697  relink_command=\"$relink_command\""
4697            # Do each command in the postinstall commands.            # Do each command in the postinstall commands.
4698            lib="$destdir/$realname"            lib="$destdir/$realname"
4699            eval cmds=\"$postinstall_cmds\"            eval cmds=\"$postinstall_cmds\"
4700            IFS="${IFS=   }"; save_ifs="$IFS"; IFS='~'            save_ifs="$IFS"; IFS='~'
4701            for cmd in $cmds; do            for cmd in $cmds; do
4702              IFS="$save_ifs"              IFS="$save_ifs"
4703              $show "$cmd"              $show "$cmd"
# Line 4881  relink_command=\"$relink_command\"" Line 4884  relink_command=\"$relink_command\""
4884    
4885        # Do each command in the postinstall commands.        # Do each command in the postinstall commands.
4886        eval cmds=\"$old_postinstall_cmds\"        eval cmds=\"$old_postinstall_cmds\"
4887        IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'        save_ifs="$IFS"; IFS='~'
4888        for cmd in $cmds; do        for cmd in $cmds; do
4889          IFS="$save_ifs"          IFS="$save_ifs"
4890          $show "$cmd"          $show "$cmd"
# Line 4919  relink_command=\"$relink_command\"" Line 4922  relink_command=\"$relink_command\""
4922          if test -n "$finish_cmds"; then          if test -n "$finish_cmds"; then
4923            # Do each command in the finish commands.            # Do each command in the finish commands.
4924            eval cmds=\"$finish_cmds\"            eval cmds=\"$finish_cmds\"
4925            IFS="${IFS=   }"; save_ifs="$IFS"; IFS='~'            save_ifs="$IFS"; IFS='~'
4926            for cmd in $cmds; do            for cmd in $cmds; do
4927              IFS="$save_ifs"              IFS="$save_ifs"
4928              $show "$cmd"              $show "$cmd"
# Line 5195  relink_command=\"$relink_command\"" Line 5198  relink_command=\"$relink_command\""
5198              if test -n "$library_names"; then              if test -n "$library_names"; then
5199                # Do each command in the postuninstall commands.                # Do each command in the postuninstall commands.
5200                eval cmds=\"$postuninstall_cmds\"                eval cmds=\"$postuninstall_cmds\"
5201                IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'                save_ifs="$IFS"; IFS='~'
5202                for cmd in $cmds; do                for cmd in $cmds; do
5203                  IFS="$save_ifs"                  IFS="$save_ifs"
5204                  $show "$cmd"                  $show "$cmd"
# Line 5210  relink_command=\"$relink_command\"" Line 5213  relink_command=\"$relink_command\""
5213              if test -n "$old_library"; then              if test -n "$old_library"; then
5214                # Do each command in the old_postuninstall commands.                # Do each command in the old_postuninstall commands.
5215                eval cmds=\"$old_postuninstall_cmds\"                eval cmds=\"$old_postuninstall_cmds\"
5216                IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'                save_ifs="$IFS"; IFS='~'
5217                for cmd in $cmds; do                for cmd in $cmds; do
5218                  IFS="$save_ifs"                  IFS="$save_ifs"
5219                  $show "$cmd"                  $show "$cmd"

Legend:
Removed from v.1.274  
changed lines
  Added in v.1.275

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26