1From 413ed55672043ff3d2a21722872be4676c91c9a3 Mon Sep 17 00:00:00 2001
2From: hovercats <hovercatswithlasereyes@protonmail.com>
3Date: Sun, 17 May 2026 13:57:56 +0200
4Subject: [PATCH] remove checks for X11 and keysymdef.h
5
6---
7 configure | 72 -------------------------------------------------------
8 1 file changed, 72 deletions(-)
9
10diff --git a/configure b/configure
11index 5a8a614..e581ccf 100755
12--- a/configure
13+++ b/configure
14@@ -23431,38 +23431,6 @@ printf "%s\n" "#define USE_POLL 1" >>confdefs.h
15 fi
16
17
18-#
19-# Find keysymdef.h
20-#
21-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
22-printf %s "checking keysym definitions... " >&6; }
23-
24-# Check whether --with-keysymdefdir was given.
25-if test ${with_keysymdefdir+y}
26-then :
27- withval=$with_keysymdefdir; KEYSYMDEFDIR=$withval
28-else case e in #(
29- e) KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11 ;;
30-esac
31-fi
32-
33-
34-if test ! -d "$KEYSYMDEFDIR"; then
35- as_fn_error $? "$KEYSYMDEFDIR doesn't exist or isn't a directory" "$LINENO" 5
36-fi
37-
38-FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
39-for i in $FILES; do
40- if test -f "$KEYSYMDEFDIR/$i"; then
41- KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
42- elif test "x$i" = "xkeysymdef.h"; then
43- as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
44- fi
45-done
46-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
47-printf "%s\n" "$KEYSYMDEFS" >&6; }
48-
49-
50 # Check whether --enable-xcms was given.
51 if test ${enable_xcms+y}
52 then :
53@@ -24041,46 +24009,6 @@ printf "%s\n" "#define X11_LIBDIR \"$ax_define_dir\"" >>confdefs.h
54
55
56 pkg_failed=no
57-{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
58-printf %s "checking for X11... " >&6; }
59-
60-if test -n "$X11_CFLAGS"; then
61- pkg_cv_X11_CFLAGS="$X11_CFLAGS"
62- elif test -n "$PKG_CONFIG"; then
63- if test -n "$PKG_CONFIG" && \
64- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
65- ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
66- ac_status=$?
67- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
68- test $ac_status = 0; }; then
69- pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "$X11_REQUIRES" 2>/dev/null`
70- test "x$?" != "x0" && pkg_failed=yes
71-else
72- pkg_failed=yes
73-fi
74- else
75- pkg_failed=untried
76-fi
77-if test -n "$X11_LIBS"; then
78- pkg_cv_X11_LIBS="$X11_LIBS"
79- elif test -n "$PKG_CONFIG"; then
80- if test -n "$PKG_CONFIG" && \
81- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_REQUIRES\""; } >&5
82- ($PKG_CONFIG --exists --print-errors "$X11_REQUIRES") 2>&5
83- ac_status=$?
84- printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
85- test $ac_status = 0; }; then
86- pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "$X11_REQUIRES" 2>/dev/null`
87- test "x$?" != "x0" && pkg_failed=yes
88-else
89- pkg_failed=yes
90-fi
91- else
92- pkg_failed=untried
93-fi
94-
95-
96-
97 if test $pkg_failed = yes; then
98 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
99 printf "%s\n" "no" >&6; }
100--
1012.54.0
102