[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quagga-dev
Subject:    [quagga-dev 14790] Re: [PATCH 10/10] build: goodbye, gawk
From:       Paul Jakma <paul () jakma ! org>
Date:       2016-02-26 9:44:54
Message-ID: alpine.LFD.2.20.1602260938200.21587 () stoner ! jakma ! org
[Download RAW message or body]

TBH, I'd rather nuke perl, and go back to AWK script for the 
route-types. There was something I wanted to extent or fix to that 
but... Perl.

AWK is a lot more easier to pick up from scratch or just dive into for a 
C programmer - the syntax is more compact, and it's C-like. It's also 
just one binary.

Perl has a plethora of different "line-noise" operators and actually 
prides itself on "there's more than one way to do it", which I find a 
barrier to casual use.

regards,

Paul

On Fri, 26 Feb 2016, David Lamparter wrote:

> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
> Acked-by: Vincent JARDIN <vincent.jardin@6wind.com>
> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
> ---
> INSTALL.quagga.txt | 1 -
> configure.ac       | 6 ------
> 2 files changed, 7 deletions(-)
>
> diff --git a/INSTALL.quagga.txt b/INSTALL.quagga.txt
> index 11c85b1..b414d94 100644
> --- a/INSTALL.quagga.txt
> +++ b/INSTALL.quagga.txt
> @@ -69,7 +69,6 @@ deficient is made.
> 	autoconf:	2.59 (2.60 on 2006-06-26 is too recent to require)
> 	libtool:	1.5.22 (released 2005-12-18)
> 	texinfo:	4.7 (released 2004-04-10; 4.8 is not yet common)
> -	GNU AWK:	3.1.5 (released 2005-08-12)
>
> For running tests, one also needs:
>
> diff --git a/configure.ac b/configure.ac
> index 0fc9c09..5624c3c 100755
> --- a/configure.ac
> +++ b/configure.ac
> @@ -25,12 +25,6 @@ AM_SILENT_RULES([yes])
> AC_CONFIG_HEADERS(config.h)
>
> AC_PATH_PROG(PERL, perl)
> -AC_CHECK_PROG([GAWK],[gawk],[gawk],[not-in-PATH])
> -if test "x$GAWK" = "xnot-in-PATH" ; then
> -	AC_MSG_ERROR([GNU awk is required for lib/memtype.h made by memtypes.awk.
> -BSD awk complains: awk: gensub doesn't support backreferences (subst "\1") ])
> -fi
> -AC_ARG_VAR([GAWK],[GNU AWK])
>
> dnl default is to match previous behavior
> exampledir=${sysconfdir}
>

-- 
Paul Jakma	paul@jakma.org	@pjakma	Key ID: 64A2FF6A
Fortune:
And now for something completely different.

_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic