* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Set correctly for SCO.

This commit is contained in:
Kean Johnston 2005-10-31 18:53:39 +00:00 committed by Ralf Wildenhues
parent 4a312c762f
commit 2fa760964e
2 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2005-10-31 Kean Johnston <jkj@sco.com>
* libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): Set correctly for SCO.
* libltdl/m4/libtool.m4 (_LT_CMD_GLOBAL_SYMBOLS): Set correct
symcode values for the native nm on SCO platforms.

11
libltdl/m4/libtool.m4 vendored
View File

@ -1378,6 +1378,17 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
esac
fi
;;
sco3.2v5*)
lt_cv_sys_max_cmd_len=102400
;;
sysv5* | sco5v6* | sysv4.2uw2*)
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
if test -n "$kargmax"; then
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'`
else
lt_cv_sys_max_cmd_len=32768
fi
;;
*)
# Make teststring a little bigger before we do anything with it.
# a 1K string should be a reasonable start.