From: Peter O'Gorman Date: Mon, 18 Jun 2007 02:07:45 +0000 (+0000) Subject: * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): add quotes to X-Git-Tag: release-1-5-24~3 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=90f30e75cb639a7302ad1f1a3f66ce30a6b9c00f;p=thirdparty%2Flibtool.git * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): add quotes to the test -n. --- diff --git a/ChangeLog b/ChangeLog index 40eeaf18b..18f4e3634 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-06-17 Peter O'Gorman + + * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): add quotes to + the test -n. + 2007-06-17 Charles Wilson * libtool.m4 (LT_CMD_MAX_LEN): ensure stderr diff --git a/libtool.m4 b/libtool.m4 index 14cef9e4d..7b41fef7b 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -795,7 +795,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