From 1634db85896b5ec15022b08b15247359fb6bbefd Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Mon, 2 Mar 2026 16:53:03 +0000 Subject: [PATCH] configure: deprecate enable-sixel This moves --enable-sixel to --enable-sixel-images --- configure.ac | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 8371a987..ad6bf614 100644 --- a/configure.ac +++ b/configure.ac @@ -463,13 +463,23 @@ fi # Enable sixel support. AC_ARG_ENABLE( - sixel, - AS_HELP_STRING(--enable-sixel, enable sixel images) + sixel-images, + AS_HELP_STRING(--enable-sixel-images, enable sixel images) ) -if test "x$enable_sixel" = xyes; then + +AC_ARG_ENABLE( + sixel, + AS_HELP_STRING(--enable-sixel, deprecated; use --enable-sixel-images), + [ + AC_MSG_WARN([--enable-sixel is deprecated; use --enable-sixel-images]) + enable_sixel_images="$enableval" + ] +) + +if test "x$enable_sixel_images" = xyes; then AC_DEFINE(ENABLE_SIXEL) fi -AM_CONDITIONAL(ENABLE_SIXEL, [test "x$enable_sixel" = xyes]) +AM_CONDITIONAL(ENABLE_SIXEL, [test "x$enable_sixel_images" = xyes]) # Enable kitty graphics protocol support. AC_ARG_ENABLE(