1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Fix "make check" error on Mac OS X.

This commit is contained in:
Bruno Haible
2016-11-25 19:36:11 +01:00
parent d041a56f54
commit 9c36a76c66
2 changed files with 10 additions and 2 deletions

View File

@@ -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.

View File

@@ -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