From 9c36a76c66c89fb9729808d931e1f7789eac298f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 25 Nov 2016 19:36:11 +0100 Subject: Fix "make check" error on Mac OS X. --- ChangeLog | 8 ++++++++ tests/Makefile.in | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e7b04e4..4c97337 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2016-11-25 Bruno Haible + + Fix "make check" error on Mac OS X. + * tests/Makefile.in (POSTPROCESS_FOR_MINGW): Run 'sed' in the C locale. + This fixes an error "sed: RE error: illegal byte sequence" on Mac OS X + when producing languages.out. + Reported at . + 2016-11-23 Bruno Haible Update installation instructions for Windows. diff --git a/tests/Makefile.in b/tests/Makefile.in index 00e911d..374cbb2 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -1,6 +1,6 @@ # Makefile for gperf/tests -# Copyright (C) 1989, 1992-1993, 1995, 1998, 2000, 2002-2004, 2007-2009, 2012 Free Software Foundation, Inc. +# Copyright (C) 1989, 1992-1993, 1995, 1998, 2000, 2002-2004, 2007-2009, 2012, 2016 Free Software Foundation, Inc. # Written by Douglas C. Schmidt # and Bruno Haible . # @@ -137,7 +137,7 @@ check-smtp: ./smtp # these next 5 are demos that show off the generated code -POSTPROCESS_FOR_MINGW = LC_ALL=C tr -d '\r' | sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|../src/gperf|' +POSTPROCESS_FOR_MINGW = LC_ALL=C tr -d '\r' | LC_ALL=C sed -e 's|[^ ]*[/\\][\\]*src[/\\][\\]*gperf[^ ]*|../src/gperf|' check-test: $(GPERF) -L C -F ', 0, 0' -j1 -i 1 -g -o -t -G -N is_reserved_word -k1,3,'$$' < $(srcdir)/c-parse.gperf | $(POSTPROCESS_FOR_MINGW) > c-parse.out diff $(srcdir)/c-parse.exp c-parse.out -- cgit v1.2.1