]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0504: configure: requires X11 libraries for GTK4 build v9.2.0504
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Wed, 20 May 2026 18:01:52 +0000 (18:01 +0000)
committerChristian Brabandt <cb@256bit.org>
Wed, 20 May 2026 18:01:52 +0000 (18:01 +0000)
commitf7a58aee36d7fe17657b6eea6f30806050e0571d
tree33fc32024513b9df709a9adb3a391005c5375813
parent129486193c16bb5c0208eff5501f9e665b7c4803
patch 9.2.0504: configure: requires X11 libraries for GTK4 build

Problem:  configure: requires X11 libraries for GTK4 build
          (after v9.2.0501)
Solution: Allow to build GTK4 even when no X11 libraries are present
          (Yasuhiro Matsumoto)

GTK4 does not use X11 APIs directly; the X11 backend is loaded by
GTK4 at runtime. Skip the X11 dependency enforcement when the user
explicitly passes --enable-gui=gtk4 so the build can succeed on
systems without X11 development headers.

closes: #20265

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/auto/configure
src/configure.ac
src/version.c