24 |
# configuration script generated by Autoconf, you may include it under |
# configuration script generated by Autoconf, you may include it under |
25 |
# the same distribution terms that you use for the rest of that program. |
# the same distribution terms that you use for the rest of that program. |
26 |
|
|
27 |
|
# Backwards compatibility hacks for older versions of automake, etc |
28 |
|
if test "X$SED" = X ; then |
29 |
|
SED=sed |
30 |
|
fi |
31 |
|
if test "X$max_cmd_len" = X ; then |
32 |
|
max_cmd_len=-1 |
33 |
|
fi |
34 |
|
|
35 |
# Check that we have a working $echo. |
# Check that we have a working $echo. |
36 |
if test "X$1" = X--no-reexec; then |
if test "X$1" = X--no-reexec; then |
37 |
# Discard the --no-reexec flag, and continue. |
# Discard the --no-reexec flag, and continue. |
4977 |
else |
else |
4978 |
eval cmds=\"$old_archive_cmds\" |
eval cmds=\"$old_archive_cmds\" |
4979 |
|
|
4980 |
if len=`expr "X$cmds" : ".*"` && |
len=`expr "X$cmds" : ".*"` |
4981 |
test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then |
if test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then |
4982 |
: |
: |
4983 |
else |
else |
4984 |
# the command line is too long to link in one step, link in parts |
# the command line is too long to link in one step, link in parts |
4992 |
# encoded into archives. This makes 'ar r' malfunction in |
# encoded into archives. This makes 'ar r' malfunction in |
4993 |
# this piecewise linking case whenever conflicting object |
# this piecewise linking case whenever conflicting object |
4994 |
# names appear in distinct ar calls; check, warn and compensate. |
# names appear in distinct ar calls; check, warn and compensate. |
4995 |
if (for obj in $save_oldobjs |
if (for obj in $save_oldobjs |
4996 |
do |
do |
4997 |
$echo "X$obj" | $Xsed -e 's%^.*/%%' |
$echo "X$obj" | $Xsed -e 's%^.*/%%' |
4998 |
done | sort | sort -uc >/dev/null 2>&1); then |
done | sort | sort -uc >/dev/null 2>&1); then |