[PATCH 0/3] sed and grep changes for BSD-like systems (branch yem/configure)

Fabian Freyer fabian.freyer@physik.tu-berlin.de
Wed Aug 27 02:03:00 GMT 2014


Yann, All,

On 27/08/14 01:27, Yann E. MORIN wrote:
> Hello All!
> 
> This little series is a response to Fabian's initial patch:
>     http://patchwork.ozlabs.org/patch/376843/
> 
> and aims at making it even more easy to build on BSD-like systems, by
> consistently using ${grep} and ${sed} instead of directly calling to sed
> or grep.
> 
> Also, it adds a ./configure --with-grep flag, for those with a GNU grep
> in a non-standard location.
> 
> Regards,
> Yann E. MORIN.
> 
> 
> The following changes since commit 2a275f6cc89fc80a573a35de8300483e45fa5b73:
> 
>   debug/gdb: add GDB_HAS_PYTHON (2014-08-26 23:46:55 +0200)
> 
> are available in the git repository at:
> 
>   git://ymorin.is-a-geek.org/crosstool-ng yem/configure
> 
> for you to fetch changes up to 70a665929fe0568d767f79b8f98b5619493c90c9:
> 
>   scripts/crosstool-NG: use ${grep} instead of 'grep' (2014-08-27 01:01:28 +0200)
> 
> ----------------------------------------------------------------
> Yann E. MORIN (3):
>       scripts/functions: use ${sed} instead of 'sed'
>       configure: add option to specify grep
>       scripts/crosstool-NG: use ${grep} instead of 'grep'
> 
>  configure.ac               |  5 +++++
>  scripts/crosstool-NG.sh.in |  6 +++---
>  scripts/functions          | 20 +++++++++++---------
>  3 files changed, 19 insertions(+), 12 deletions(-)
> 

I have tested on OS X and FreeBSD and can confirm this works.

Regards,
Fabian Freyer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 882 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20140827/48e206fe/attachment.sig>


More information about the crossgcc mailing list