# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
-echo=echo
-if test "X`$echo '\t'`" = 'X\t'; then :
-else
- # The Solaris and AIX default echo program unquotes backslashes.
- # This makes it impossible to quote backslashes using
- # echo "$something" | sed 's/\\/\\\\/g'
- # So, we emulate echo with printf '%s\n'
- echo='printf %s\n'
- if test "X`$echo '\t'`" = 'X\t'; then :
- else
- # Oops. We have no working printf. Try to find a not-so-buggy echo.
- echo=echo
- IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}:"
- save_PATH="$PATH"
- PATH="$PATH":/usr/ucb
- for dir in $PATH; do
- if test -f $dir/echo && test "X`$dir/echo '\t'`" = 'X\t'; then
- echo="$dir/echo"
- break
- fi
- done
- IFS="$save_ifs"
- PATH="$save_PATH"
- fi
-fi
-
# The name of this program.
progname=`$echo "$0" | sed 's%^.*/%%'`
modename="$progname"
IFS="$save_ifs"
# Create links to the real library.
- for link in $linknames; do
+ for linkname in $linknames; do
$show "(cd $objdir && $LN_S $realname $link)"
$run eval '(cd $objdir && $LN_S $realname $link)' || exit $?
done
modename="$modename: finish"
libdirs="$nonopt"
- if test -n "$finish_cmds" && test -n "$libdirs"; then
+ if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
for dir
do
libdirs="$libdirs $dir"
done
for libdir in $libdirs; do
- # Do each command in the finish commands.
- cmds=`eval \\$echo \"$finish_cmds\"`
- IFS="${IFS= }"; save_ifs="$IFS"; IFS=';'
- for cmd in $cmds; do
+ if test -n "$finish_cmds"; then
+ # Do each command in the finish commands.
+ cmds=`eval \\$echo \"$finish_cmds\"`
+ IFS="${IFS= }"; save_ifs="$IFS"; IFS=';'
+ for cmd in $cmds; do
+ IFS="$save_ifs"
+ $show "$cmd"
+ $run eval "$cmd"
+ done
IFS="$save_ifs"
- $show "$cmd"
- $run eval "$cmd"
- done
- IFS="$save_ifs"
+ fi
+ if test -n "$finish_eval"; then
+ # Do the single finish_eval.
+ cmds=`eval \\$echo \"$finish_eval\"`
+ $run eval "$cmds"
+ fi
done
fi