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

ChangeLog
libltdl/m4/libtool.m4

index a6fe39b0f45a4ca90c8b14cfdf49760d69c95311..cddfae984a6064d526644fce3dfdd1167832314e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
+2007-06-17  Charles Wilson  <libtool@cwilson.fastmail.fm>
+
+       * libltdl/m4/libtool.m4 (LT_CMD_MAX_LEN): ensure stderr
+       is redirected even when getconf does not exist.
+
 2007-06-09  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
-       * ltmain.m4sh (func_emit_libtool_wrapper_script):
+       * libltdl/config/ltmain.m4sh (func_emit_libtool_wrapper_script):
        Take an argument to specify value assigned to
        WRAPPER_SCRIPT_BELONGS_IN_OBJDIR in the emitted
        script.
 
 2007-06-07  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
-       * ltmain.m4sh (func_emit_libtool_cwrapperexe_source):
+       * libltdl/config/ltmain.m4sh (func_emit_libtool_cwrapperexe_source):
        ensure that generated source follows GCS as nearly as
        possible.
 
 2007-06-07  Charles Wilson  <libtool@cwilson.fastmail.fm>
 
-       * ltmain.m4sh (func_emit_libtool_wrapper_script): add
-       code block to handle cases when wrapper script is in $objdir.
+       * libltdl/config/ltmain.m4sh (func_emit_libtool_wrapper_script):
+       add code block to handle cases when wrapper script is in $objdir.
        (func_emit_libtool_cwrapperexe_source): replace DEBUG() macro
        with namespace-safe LTWRAPPER_DEBUGPRINTF(). Call
        func_emit_libtool_wrapper_script() with appropriate filters to
index c4ca757d6a3bed0a69f9bf9be1dd5df59c46b606..9845585a97398fd9e12edd0895825243e1ad84e4 100644 (file)
@@ -1437,7 +1437,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`