[Bridge] [PATCH iproute2-next 2/2] treewide: use configured value as the default color output

2023-09-18 Thread Andrea Claudi
With Makefile providing -DCONF_COLOR, we can use its value as the default color output. This effectively allow users and packagers to define a default for the color output feature without using shell aliases, and with minimum code impact. Signed-off-by: Andrea Claudi --- bridge/bridge.c | 3

[Bridge] [PATCH iproute2-next 1/2] configure: add the --color option

2023-09-18 Thread Andrea Claudi
ent ip, tc, and bridge behaviour. Signed-off-by: Andrea Claudi --- Makefile | 3 ++- configure | 37 + 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d1819ce..a24844cf 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,

[Bridge] [PATCH iproute2-next 0/2] configure: add support for color

2023-09-18 Thread Andrea Claudi
). Patch 2 makes it possible for ip, tc and bridge to use the configured value for color as their default color output. Andrea Claudi (2): configure: add the --color option treewide: use configured value as the default color output Makefile| 3 ++- bridge/bridge.c | 3 ++- configure