From cd353ca268d9108cc2a02a121e557d244a7d7c83 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Tue, 5 Oct 2021 17:01:02 -0400 Subject: [PATCH] Revert "plugin/core: autotools: make awk crlf agnostic when generating ps.h" This reverts commit 50e7d9768b9c02287a0d68e64233c7f713d1f4b8. In standard awk, only the first character in RS is used, so regular expressions don't work. This means the resulting ps.h in plugins/core contains an illegal C string constant. --- plugin/core/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/core/Makefile.am b/plugin/core/Makefile.am index 3e72fc8ef..3cad8cc4f 100644 --- a/plugin/core/Makefile.am +++ b/plugin/core/Makefile.am @@ -44,7 +44,7 @@ libgvplugin_core_la_LIBADD = $(top_builddir)/lib/gvc/libgvc.la \ gvrender_core_ps.o gvrender_core_ps.lo: ps.h ps.h : $(srcdir)/ps.txt - $(AWK) -v RS="\r*\n" -f $(top_srcdir)/awk/stringize.awk $(srcdir)/ps.txt > ps.h + $(AWK) -f $(top_srcdir)/awk/stringize.awk $(srcdir)/ps.txt > ps.h if WITH_WIN32 libgvplugin_core_la_LDFLAGS += -no-undefined -- 2.40.0