[vim/vim] configure: skip X11 dependency checks for GTK4 builds (PR #20289)

2 views
Skip to first unread message

mattn

unread,
May 21, 2026, 9:45:00 PM (12 hours ago) May 21
to vim/vim, Subscribed

GTK4 does not use X11 APIs directly; its X11 backend is loaded at runtime. Force with_x=no when --enable-gui=gtk4 so configure does not probe for libICE/libSM/libX11/libXt/libXdmcp/libXpm, avoiding packagers pulling those into build dependencies. Also skip the XSMP X11/SM/SMlib.h header check when X11 is disabled, since USE_XSMP itself requires HAVE_X11.

Closes #20268


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20289

Commit Summary

  • edcab8e configure: skip X11 dependency checks for GTK4 builds

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20289@github.com>

Reply all
Reply to author
Forward
0 new messages