]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): add quotes to
authorPeter O'Gorman <peter@pogma.com>
Mon, 18 Jun 2007 02:07:45 +0000 (02:07 +0000)
committerPeter O'Gorman <peter@pogma.com>
Mon, 18 Jun 2007 02:07:45 +0000 (02:07 +0000)
the test -n.

ChangeLog
libtool.m4

index 40eeaf18b76895fd17cf42bf46f8f52cbb58af26..18f4e36347f902297494ca6b4dc5958d46c33b9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-17  Peter O'Gorman  <peter@pogma.com>
+
+       * libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): add quotes to
+       the test -n.
+
 2007-06-17  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
        * libtool.m4 (LT_CMD_MAX_LEN): ensure stderr
index 14cef9e4dc970cf0aaad27b0cd55b664e28721ec..7b41fef7b03e46cff9024c0a32656718c29b3bdb 100644 (file)
@@ -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