From: Po Lu Date: Wed, 30 Mar 2022 03:25:50 +0000 (+0800) Subject: Disallow building with non-toolkit scroll bars on non-X systems X-Git-Tag: emacs-29.0.90~1931^2~865 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=62c779cbde658d29498c3f0b6ccc4f63ba9c5413;p=emacs.git 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) --- 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.