Subject: Re: bug#54629: 29.0.50; Emacs crashes when I try to move scroll bar by grabbing it with mouse

From: Eli Zaretskii <[email-masked]>
Date: Wed, 30 Mar 2022 22:04:10 +0300

> From: Glenn Morris <[email-masked]>
> Date: Wed, 30 Mar 2022 14:54:28 -0400
> Cc: [email-masked]
> 
> 
> Since 62c779c, "--without-all --without-x" builds don't work.
> 
> Ref: https://hydra.nixos.org/build/171190052

Does the below help?

diff --git a/configure.ac b/configure.ac
index 93c821e..254f15b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3357,7 +3357,7 @@ AC_DEFUN
     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