From 90f30e75cb639a7302ad1f1a3f66ce30a6b9c00f Mon Sep 17 00:00:00 2001 From: Peter O'Gorman Date: Mon, 18 Jun 2007 02:07:45 +0000 Subject: [PATCH] * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): add quotes to the test -n. --- ChangeLog | 5 +++++ libtool.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.47.2