]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 (LT_CMD_MAX_LEN): ensure stderr
authorCharles Wilson <libtool@cwilson.fastmail.fm>
Sun, 17 Jun 2007 20:09:46 +0000 (20:09 +0000)
committerCharles Wilson <libtool@cwilson.fastmail.fm>
Sun, 17 Jun 2007 20:09:46 +0000 (20:09 +0000)
is redirected even when getconf does not exist.

ChangeLog
libtool.m4

index 9b5cbc65afa40dab750e30d9744a04ef42ca076e..40eeaf18b76895fd17cf42bf46f8f52cbb58af26 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-17  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+       * libtool.m4 (LT_CMD_MAX_LEN): ensure stderr
+       is redirected even when getconf does not exist.
+
 2007-06-03  Peter O'Gorman  <peter@pogma.com>
 
        * libtool.m4 (old_archive_cmds): Remove old_deplibs.
index d106fcaa3fc8e3f7c685f5fc773786d113bc8cdc..14cef9e4dc970cf0aaad27b0cd55b664e28721ec 100644 (file)
@@ -794,7 +794,7 @@ AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
     fi
     ;;
   *)
-    lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
+    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
     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`