From 62c779cbde658d29498c3f0b6ccc4f63ba9c5413 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 30 Mar 2022 11:25:50 +0800 Subject: [PATCH] Disallow building with non-toolkit scroll bars on non-X systems * configure.ac: Prevent building without toolkit scroll bars on non-X systems, where they're not implemented. (bug#54629) --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 10358c2b645..93c821eda08 100644 --- a/configure.ac +++ b/configure.ac @@ -3357,6 +3357,8 @@ if test "${with_toolkit_scroll_bars}" != "no"; then AC_DEFINE(USE_TOOLKIT_SCROLL_BARS) USE_TOOLKIT_SCROLL_BARS=yes fi +elif test "${window_system}" != "x11"; then + AC_MSG_ERROR(Non-toolkit scroll bars are not implemented for your system) fi dnl See if XIM is available. -- 2.39.2