From c81edc957e6659986f4bad3d8bb107a70638d737 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Sat, 9 Sep 2000 12:24:56 +0000 Subject: [PATCH] Got one of these last time I tried to commit: cvs [server aborted]: out of memory; can not reallocate 206092 bytes trying again... --- libtool.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libtool.m4 b/libtool.m4 index ea44c8c4..25c68179 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -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