From: Eli Zaretskii Date: Thu, 31 Mar 2022 16:15:45 +0000 (+0300) Subject: Fix a bug in configure.ac that failed the --without-x build X-Git-Tag: emacs-29.0.90~1931^2~848 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c5af19cba5924de89a38e7a177c07f42fd3cd543;p=emacs.git Fix a bug in configure.ac that failed the --without-x build * configure.ac (USE_TOOLKIT_SCROLL_BARS): Fix test for unsupported scroll-bars configuration. (Bug#54629) --- diff --git a/configure.ac b/configure.ac index 93c821eda08..254f15bef3e 100644 --- a/configure.ac +++ b/configure.ac @@ -3357,7 +3357,7 @@ 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 +elif test "${window_system}" != "x11" && "${window_system}" != "none"; then AC_MSG_ERROR(Non-toolkit scroll bars are not implemented for your system) fi