diff options
author | Anthony Green <green@moxielogic.com> | 2013-02-07 15:47:01 -0500 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2013-02-07 15:47:01 -0500 |
commit | ffef2e046aaec853be356f0b8770a335185ea9cf (patch) | |
tree | 082a353154607a6553f232a70c733f8d4881bac1 /m4 | |
parent | 95eecebb2858dc6f1495a61072ff36d0a8127144 (diff) | |
download | libffi-ffef2e046aaec853be356f0b8770a335185ea9cf.tar.gz |
x32 and libtool fixes
Diffstat (limited to 'm4')
-rw-r--r-- | m4/libtool.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 540e0b4..3318f27 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1695,7 +1695,8 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` - if test -n "$lt_cv_sys_max_cmd_len"; then + if test -n "$lt_cv_sys_max_cmd_len" && \ + test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else |