[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Avoid using grep in func_lalib_p

From: Olly Betts
Subject: Avoid using grep in func_lalib_p
Date: Thu, 24 Apr 2008 07:04:03 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

I noticed that the sed and grep combination in func_lalib_p can be
folded into a single use of sed.  I don't think this is likely to
be a hot spot, but it's an easy fix.

I'm not an expert on sed portability but it doesn't seem to fall afoul
of anything in the autoconf manual.

The patch is against HEAD.

HEAD still passes "make check" on x86-64 Ubuntu hardy with the patch

* libltdl/config/ltmain.m4sh (func_lalib_p): Avoid using grep to save a


Attachment: libtool-avoid-a-grep.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]