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

ChangeLog
libltdl/m4/libtool.m4

index cddfae984a6064d526644fce3dfdd1167832314e..42c6acb9da9663c6f9ccfccc91030e52819f1db1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-17  Peter O'Gorman  <peter@pogma.com>
+
+       * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): add quotes to
+       the test -n.
+
 2007-06-17  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
        * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): ensure stderr
index 9845585a97398fd9e12edd0895825243e1ad84e4..aa38c75df9586726228f9c36e25e2e867021d9e7 100644 (file)
@@ -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