From a150c361cf1be980aafb9cf18837068fc66a8ce2 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 16 Jan 2017 17:34:34 -0500 Subject: [PATCH] Fix: prepend to $program_transform_name instead overriding it MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This makes the configure options program-prefix and program-suffix work as well as the renaming of babeltrace.bin to babeltrace at install time. Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 4adacc0b..75d330b7 100644 --- a/configure.ac +++ b/configure.ac @@ -349,8 +349,8 @@ AC_SUBST(babeltracectfirincludedir) babeltracepluginincludedir="${includedir}/babeltrace/plugin" AC_SUBST(babeltracepluginincludedir) -program_transform_name='s/babeltrace[\].bin/babeltrace/g' -AC_SUBST(program_transform_name) +# Add a rule to $program_transform_name to rename babeltrace.bin to babeltrace on installation +program_transform_name="s&babeltrace\.bin&babeltrace&;$program_transform_name" # check for Doxygen AC_ARG_ENABLE( -- 2.34.1