Makefile.am (xcoff_%.c): Use an actual newline instead of \n in sed pattern.
authorGerald Pfeifer <gerald@pfeifer.com>
Sat, 29 Dec 2018 23:22:50 +0000 (23:22 +0000)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Sat, 29 Dec 2018 23:22:50 +0000 (23:22 +0000)
* Makefile.am (xcoff_%.c): Use an actual newline instead of \n
in sed pattern.
* Makefile.in: Regenerate.

From-SVN: r267470

libbacktrace/ChangeLog
libbacktrace/Makefile.am
libbacktrace/Makefile.in

index c8ddf43c71f61cf7237bf30043e782b59a143c07..a7d55328b684368cdd102fc9c3550608da441203 100644 (file)
@@ -1,3 +1,9 @@
+2018-12-29  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * Makefile.am (xcoff_%.c): Use an actual newline instead of \n
+       in sed pattern.
+       * Makefile.in: Regenerate.
+
 2018-12-28  Tom de Vries  <tdevries@suse.de>
 
        * dwarf.c (build_address_map): Reuse unused units.
index 9d489f7b418dbf5a4bc97264c2011f2966497e24..dd2744dad3fed769b258de479d0c20469419932e 100644 (file)
@@ -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 \
                > $@
index 7b18b9834e03507240c476e4d22c5fd787eea7c6..c595a8b4a3e1473c73f167f21cc8fa2fab74b2cf 100644 (file)
@@ -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@          > $@