From 4b420b27d3da457431be40ebf10b83dc8571ceb7 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sat, 29 Dec 2018 23:22:50 +0000 Subject: [PATCH] Makefile.am (xcoff_%.c): Use an actual newline instead of \n in sed pattern. * Makefile.am (xcoff_%.c): Use an actual newline instead of \n in sed pattern. * Makefile.in: Regenerate. From-SVN: r267470 --- libbacktrace/ChangeLog | 6 ++++++ libbacktrace/Makefile.am | 3 ++- libbacktrace/Makefile.in | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index c8ddf43c71f..a7d55328b68 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,9 @@ +2018-12-29 Gerald Pfeifer + + * Makefile.am (xcoff_%.c): Use an actual newline instead of \n + in sed pattern. + * Makefile.in: Regenerate. + 2018-12-28 Tom de Vries * dwarf.c (build_address_map): Reuse unused units. diff --git a/libbacktrace/Makefile.am b/libbacktrace/Makefile.am index 9d489f7b418..dd2744dad3f 100644 --- a/libbacktrace/Makefile.am +++ b/libbacktrace/Makefile.am @@ -105,7 +105,8 @@ libbacktrace_noformat_la_DEPENDENCIES = $(libbacktrace_noformat_la_LIBADD) xcoff_%.c: xcoff.c SEARCH='#error "Unknown BACKTRACE_XCOFF_SIZE"'; \ - REPLACE='#undef BACKTRACE_XCOFF_SIZE\n#define BACKTRACE_XCOFF_SIZE'; \ + REPLACE='#undef BACKTRACE_XCOFF_SIZE\ + #define BACKTRACE_XCOFF_SIZE'; \ $(SED) "s/^$$SEARCH\$$/$$REPLACE $*/" \ $(srcdir)/xcoff.c \ > $@ diff --git a/libbacktrace/Makefile.in b/libbacktrace/Makefile.in index 7b18b9834e0..c595a8b4a3e 100644 --- a/libbacktrace/Makefile.in +++ b/libbacktrace/Makefile.in @@ -1733,7 +1733,8 @@ uninstall-am: @NATIVE_TRUE@xcoff_%.c: xcoff.c @NATIVE_TRUE@ SEARCH='#error "Unknown BACKTRACE_XCOFF_SIZE"'; \ -@NATIVE_TRUE@ REPLACE='#undef BACKTRACE_XCOFF_SIZE\n#define BACKTRACE_XCOFF_SIZE'; \ +@NATIVE_TRUE@ REPLACE='#undef BACKTRACE_XCOFF_SIZE\ +@NATIVE_TRUE@ #define BACKTRACE_XCOFF_SIZE'; \ @NATIVE_TRUE@ $(SED) "s/^$$SEARCH\$$/$$REPLACE $*/" \ @NATIVE_TRUE@ $(srcdir)/xcoff.c \ @NATIVE_TRUE@ > $@ -- 2.30.2