diff options
author | Bruno Haible <bruno@clisp.org> | 2016-11-25 19:36:11 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2016-11-25 19:36:11 +0100 |
commit | 9c36a76c66c89fb9729808d931e1f7789eac298f (patch) | |
tree | 587d13b3973db4304ca3363369872b76ec75a4c5 | |
parent | d041a56f5438c8a6d8d2f5aa0aebb4b67496e1ab (diff) | |
download | gperf-9c36a76c66c89fb9729808d931e1f7789eac298f.tar.gz |
Fix "make check" error on Mac OS X.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | tests/Makefile.in | 4 |
2 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2016-11-25 Bruno Haible <bruno@clisp.org> + + 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 <https://savannah.gnu.org/bugs/?45329>. + 2016-11-23 Bruno Haible <bruno@clisp.org> 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 <schmidt@ics.uci.edu> # and Bruno Haible <bruno@clisp.org>. # @@ -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 |