]> git.eshelyaron.com Git - emacs.git/commitdiff
Disallow building with non-toolkit scroll bars on non-X systems
authorPo Lu <luangruo@yahoo.com>
Wed, 30 Mar 2022 03:25:50 +0000 (11:25 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 30 Mar 2022 03:25:50 +0000 (11:25 +0800)
* configure.ac: Prevent building without toolkit scroll bars on
non-X systems, where they're not implemented.  (bug#54629)

configure.ac

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