Re: 'syntax-check' minor portability issues

2015-01-08 Thread Jim Meyering
On Thu, Jan 8, 2015 at 4:43 AM, Pádraig Brady wrote: > On 08/01/15 06:25, Assaf Gordon wrote: >> Hello, >> >> two rules in 'syntax-check' fail with non-gnu tools: ... > pushed. Looks good. Thanks to both of you.

Re: 'syntax-check' minor portability issues

2015-01-08 Thread Pádraig Brady
On 08/01/15 06:25, Assaf Gordon wrote: > Hello, > > two rules in 'syntax-check' fail with non-gnu tools: > > sc_long_lines (cfg.mk): uses 'wc -L' and 'sed -r' - not supported on BSD's > wc/sed. They are supported on FreeBSD actually. wc -L since FreeBSD 7.2 and sed -r since 8.1. OS X's tools ar

'syntax-check' minor portability issues

2015-01-07 Thread Assaf Gordon
Hello, two rules in 'syntax-check' fail with non-gnu tools: sc_long_lines (cfg.mk): uses 'wc -L' and 'sed -r' - not supported on BSD's wc/sed. perhaps it should even use '$(SED)' instead of 'sed'? _gl_tight_scope (gnulib/top/maint.mk): uses 'nm -e', '-e' not supported with Apple Xcode's nm, an