]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Got one of these last time I tried to commit:
authorGary V. Vaughan <gary@gnu.org>
Sat, 9 Sep 2000 12:24:56 +0000 (12:24 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 9 Sep 2000 12:24:56 +0000 (12:24 +0000)
  cvs [server aborted]: out of memory; can not reallocate 206092 bytes
trying again...

libtool.m4

index ea44c8c46b84ae1b5ab6f7a0c17d4ef1b8e836dc..25c68179cba50b3b3060b8f2e1c1ba524c45377e 100644 (file)
@@ -2048,7 +2048,8 @@ if test "$enable_shared" = yes && test "$ac_cv_prog_gcc" = yes; then
       libname=conftest
       save_allow_undefined_flag=$allow_undefined_flag
       allow_undefined_flag=
-      if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \"); then
+      if AC_TRY_EVAL(archive_cmds 2\>\&1 \| grep \" -lc \" >/dev/null 2>&1)
+      then
        ac_cv_archive_cmds_need_lc=no
       else
        ac_cv_archive_cmds_need_lc=yes