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

Diff of /libtool/ltmain.in

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

revision 1.259.2.8 by gary, Mon Sep 10 22:37:44 2001 UTC revision 1.259.2.9 by gary, Tue Sep 11 00:05:33 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 334  if test -z "$show_help"; then Line 337  if test -z "$show_help"; then
337        -Wc,*)        -Wc,*)
338          args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`          args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"`
339          lastarg=          lastarg=
340          IFS="${IFS=     }"; save_ifs="$IFS"; IFS=','          save_ifs="$IFS"; IFS=','
341          for arg in $args; do          for arg in $args; do
342            IFS="$save_ifs"            IFS="$save_ifs"
343    
# Line 1142  compiler." Line 1145  compiler."
1145        -Wc,*)        -Wc,*)
1146          args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`          args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'`
1147          arg=          arg=
1148          IFS="${IFS=     }"; save_ifs="$IFS"; IFS=','          save_ifs="$IFS"; IFS=','
1149          for flag in $args; do          for flag in $args; do
1150            IFS="$save_ifs"            IFS="$save_ifs"
1151            case $flag in            case $flag in
# Line 1160  compiler." Line 1163  compiler."
1163        -Wl,*)        -Wl,*)
1164          args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`          args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'`
1165          arg=          arg=
1166          IFS="${IFS=     }"; save_ifs="$IFS"; IFS=','          save_ifs="$IFS"; IFS=','
1167          for flag in $args; do          for flag in $args; do
1168            IFS="$save_ifs"            IFS="$save_ifs"
1169            case $flag in            case $flag in
# Line 1770  compiler." Line 1773  compiler."
1773              if test -f "$output_objdir/$soname-def"; then :              if test -f "$output_objdir/$soname-def"; then :
1774              else              else
1775                $show "extracting exported symbol list from \`$soname'"                $show "extracting exported symbol list from \`$soname'"
1776                IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'                save_ifs="$IFS"; IFS='~'
1777                eval cmds=\"$extract_expsyms_cmds\"                eval cmds=\"$extract_expsyms_cmds\"
1778                for cmd in $cmds; do                for cmd in $cmds; do
1779                  IFS="$save_ifs"                  IFS="$save_ifs"
# Line 1783  compiler." Line 1786  compiler."
1786              # Create $newlib              # Create $newlib
1787              if test -f "$output_objdir/$newlib"; then :; else              if test -f "$output_objdir/$newlib"; then :; else
1788                $show "generating import library for \`$soname'"                $show "generating import library for \`$soname'"
1789                IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'                save_ifs="$IFS"; IFS='~'
1790                eval cmds=\"$old_archive_from_expsyms_cmds\"                eval cmds=\"$old_archive_from_expsyms_cmds\"
1791                for cmd in $cmds; do                for cmd in $cmds; do
1792                  IFS="$save_ifs"                  IFS="$save_ifs"
# Line 2195  compiler." Line 2198  compiler."
2198        else        else
2199    
2200          # Parse the version information argument.          # Parse the version information argument.
2201          IFS="${IFS=     }"; save_ifs="$IFS"; IFS=':'          save_ifs="$IFS"; IFS=':'
2202          set dummy $vinfo 0 0 0          set dummy $vinfo 0 0 0
2203          IFS="$save_ifs"          IFS="$save_ifs"
2204    
# Line 2817  EOF Line 2820  EOF
2820              export_symbols="$output_objdir/$libname.exp"              export_symbols="$output_objdir/$libname.exp"
2821              $run $rm $export_symbols              $run $rm $export_symbols
2822              eval cmds=\"$export_symbols_cmds\"              eval cmds=\"$export_symbols_cmds\"
2823              IFS="${IFS=         }"; save_ifs="$IFS"; IFS='~'              save_ifs="$IFS"; IFS='~'
2824              for cmd in $cmds; do              for cmd in $cmds; do
2825                IFS="$save_ifs"                IFS="$save_ifs"
2826                $show "$cmd"                $show "$cmd"
# Line 2893  EOF Line 2896  EOF
2896          else          else
2897            eval cmds=\"$archive_cmds\"            eval cmds=\"$archive_cmds\"
2898          fi          fi
2899          IFS="${IFS=     }"; save_ifs="$IFS"; IFS='~'          save_ifs="$IFS"; IFS='~'
2900          for cmd in $cmds; do          for cmd in $cmds; do
2901            IFS="$save_ifs"            IFS="$save_ifs"
2902            $show "$cmd"            $show "$cmd"
# Line 3021  EOF Line 3024  EOF
3024    
3025        output="$obj"        output="$obj"
3026        eval cmds=\"$reload_cmds\"        eval cmds=\"$reload_cmds\"
3027        IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'        save_ifs="$IFS"; IFS='~'
3028        for cmd in $cmds; do        for cmd in $cmds; do
3029          IFS="$save_ifs"          IFS="$save_ifs"
3030          $show "$cmd"          $show "$cmd"
# Line 3057  EOF Line 3060  EOF
3060          reload_objs="$libobjs $reload_conv_objs"          reload_objs="$libobjs $reload_conv_objs"
3061          output="$libobj"          output="$libobj"
3062          eval cmds=\"$reload_cmds\"          eval cmds=\"$reload_cmds\"
3063          IFS="${IFS=     }"; save_ifs="$IFS"; IFS='~'          save_ifs="$IFS"; IFS='~'
3064          for cmd in $cmds; do          for cmd in $cmds; do
3065            IFS="$save_ifs"            IFS="$save_ifs"
3066            $show "$cmd"            $show "$cmd"
# Line 3822  fi\ Line 3825  fi\
3825    
3826          eval cmds=\"$old_archive_cmds\"          eval cmds=\"$old_archive_cmds\"
3827        fi        fi
3828        IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'        save_ifs="$IFS"; IFS='~'
3829        for cmd in $cmds; do        for cmd in $cmds; do
3830          IFS="$save_ifs"          IFS="$save_ifs"
3831          $show "$cmd"          $show "$cmd"
# Line 4197  relink_command=\"$relink_command\"" Line 4200  relink_command=\"$relink_command\""
4200            # Do each command in the postinstall commands.            # Do each command in the postinstall commands.
4201            lib="$destdir/$realname"            lib="$destdir/$realname"
4202            eval cmds=\"$postinstall_cmds\"            eval cmds=\"$postinstall_cmds\"
4203            IFS="${IFS=   }"; save_ifs="$IFS"; IFS='~'            save_ifs="$IFS"; IFS='~'
4204            for cmd in $cmds; do            for cmd in $cmds; do
4205              IFS="$save_ifs"              IFS="$save_ifs"
4206              $show "$cmd"              $show "$cmd"
# Line 4384  relink_command=\"$relink_command\"" Line 4387  relink_command=\"$relink_command\""
4387    
4388        # Do each command in the postinstall commands.        # Do each command in the postinstall commands.
4389        eval cmds=\"$old_postinstall_cmds\"        eval cmds=\"$old_postinstall_cmds\"
4390        IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'        save_ifs="$IFS"; IFS='~'
4391        for cmd in $cmds; do        for cmd in $cmds; do
4392          IFS="$save_ifs"          IFS="$save_ifs"
4393          $show "$cmd"          $show "$cmd"
# Line 4422  relink_command=\"$relink_command\"" Line 4425  relink_command=\"$relink_command\""
4425          if test -n "$finish_cmds"; then          if test -n "$finish_cmds"; then
4426            # Do each command in the finish commands.            # Do each command in the finish commands.
4427            eval cmds=\"$finish_cmds\"            eval cmds=\"$finish_cmds\"
4428            IFS="${IFS=   }"; save_ifs="$IFS"; IFS='~'            save_ifs="$IFS"; IFS='~'
4429            for cmd in $cmds; do            for cmd in $cmds; do
4430              IFS="$save_ifs"              IFS="$save_ifs"
4431              $show "$cmd"              $show "$cmd"
# Line 4698  relink_command=\"$relink_command\"" Line 4701  relink_command=\"$relink_command\""
4701              if test -n "$library_names"; then              if test -n "$library_names"; then
4702                # Do each command in the postuninstall commands.                # Do each command in the postuninstall commands.
4703                eval cmds=\"$postuninstall_cmds\"                eval cmds=\"$postuninstall_cmds\"
4704                IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'                save_ifs="$IFS"; IFS='~'
4705                for cmd in $cmds; do                for cmd in $cmds; do
4706                  IFS="$save_ifs"                  IFS="$save_ifs"
4707                  $show "$cmd"                  $show "$cmd"
# Line 4713  relink_command=\"$relink_command\"" Line 4716  relink_command=\"$relink_command\""
4716              if test -n "$old_library"; then              if test -n "$old_library"; then
4717                # Do each command in the old_postuninstall commands.                # Do each command in the old_postuninstall commands.
4718                eval cmds=\"$old_postuninstall_cmds\"                eval cmds=\"$old_postuninstall_cmds\"
4719                IFS="${IFS=       }"; save_ifs="$IFS"; IFS='~'                save_ifs="$IFS"; IFS='~'
4720                for cmd in $cmds; do                for cmd in $cmds; do
4721                  IFS="$save_ifs"                  IFS="$save_ifs"
4722                  $show "$cmd"                  $show "$cmd"

Legend:
Removed from v.1.259.2.8  
changed lines
  Added in v.1.259.2.9

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