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 |
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 |
|
|
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 |
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 |
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" |
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" |
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 |
|
|
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" |
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" |
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" |
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" |
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" |
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" |
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" |
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" |
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" |
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" |