]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a bug in configure.ac that failed the --without-x build
authorEli Zaretskii <eliz@gnu.org>
Thu, 31 Mar 2022 16:15:45 +0000 (19:15 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 31 Mar 2022 16:15:45 +0000 (19:15 +0300)
* configure.ac (USE_TOOLKIT_SCROLL_BARS): Fix test for unsupported
scroll-bars configuration.  (Bug#54629)

configure.ac

index 93c821eda08cb41acda87c324954192367e16d27..254f15bef3e8562eac116c3d50519dfc4c6362de 100644 (file)
@@ -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