From: Simon Marchi Date: Mon, 27 May 2019 15:52:46 +0000 (-0400) Subject: configure.ac: Remove duplicated CMD_DESCR_ROTATE definition X-Git-Tag: v2.12.0-rc1~212 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d72963e683945bd47ced966f3f46108f3f33bf26;p=lttng-tools.git configure.ac: Remove duplicated CMD_DESCR_ROTATE definition CMD_DESCR_ROTATE is defined twice by configure. This breaks configuring with "-Werror -Wall", as some test programs don't compile due to: configure:16990: gcc -o conftest -Wall -Werror conftest.c >&5 conftest.c:163: error: "CONFIG_CMD_DESCR_ROTATE" redefined [-Werror] #define CONFIG_CMD_DESCR_ROTATE "Archive a tracing session’s current trace chunk" conftest.c:154: note: this is the location of the previous definition #define CONFIG_CMD_DESCR_ROTATE "Archive a tracing session's current trace chunk" cc1: all warnings being treated as errors Signed-off-by: Simon Marchi Signed-off-by: Jérémie Galarneau --- diff --git a/configure.ac b/configure.ac index 217d47893..7517dd62e 100644 --- a/configure.ac +++ b/configure.ac @@ -409,7 +409,6 @@ _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_STATUS], [Get the status of the current t _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_STOP], [Stop tracing]) _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_DISABLE_ROTATION], [Unset a rotation schedule]) _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_ENABLE_ROTATION], [Set a rotation schedule]) -_AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_ROTATE], [Archive a tracing session’s current trace chunk]) _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_TRACK], [Track specific system resources]) _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_UNTRACK], [Untrack specific system resources]) _AC_DEFINE_QUOTED_AND_SUBST([CMD_DESCR_VERSION], [Show version information])