From: Peter O'Gorman Date: Mon, 18 Jun 2007 02:07:22 +0000 (+0000) Subject: * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): add quotes to X-Git-Tag: release-2-1b~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b91bf57ce1dbb2a64bfe303a1383f52666248e38;p=thirdparty%2Flibtool.git * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): add quotes to the test -n. --- diff --git a/ChangeLog b/ChangeLog index cddfae984..42c6acb9d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-17 Peter O'Gorman + + * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): add quotes to + the test -n. + 2007-06-17 Charles Wilson * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): ensure stderr diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index 9845585a9..aa38c75df 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -1438,7 +1438,7 @@ 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"; 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