blob: 61af98d95ea234308934fdd4d02b6ab414d286ad [file] [log] [blame]
Brad Bishop08902b02019-08-20 09:16:51 -04001From e1f9b0b531c6ddb11a85c0664051e2e4efc589fb Mon Sep 17 00:00:00 2001
2From: Ming Liu <ming.liu@toradex.com>
3Date: Sun, 5 May 2019 11:55:14 +0200
4Subject: [PATCH] Drop x11 dependencies
5
6Upstream-Status: Inappropriate [OE-Specific]
7
8Signed-off-by: Ming Liu <ming.liu@toradex.com>
Andrew Geissler517393d2023-01-13 08:55:19 -06009
10Rebase for version 1.8.3.
11
12Signed-off-by: Kai Kang <kai.kang@windriver.com>
Brad Bishop08902b02019-08-20 09:16:51 -040013---
14 configure.ac | 44 --------------------------------------------
15 1 file changed, 44 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
Andrew Geissler517393d2023-01-13 08:55:19 -060018index 33d0102..50e2d93 100644
Brad Bishop08902b02019-08-20 09:16:51 -040019--- a/configure.ac
20+++ b/configure.ac
21@@ -76,27 +76,8 @@ fi
22 AC_SUBST([EXEEXT_FOR_BUILD])
23
24 # Checks for pkg-config packages
25-
26-# Always required
Andrew Geissler517393d2023-01-13 08:55:19 -060027-X11_REQUIRES='xproto >= 7.0.25 xextproto xtrans xcb >= 1.11.1'
Brad Bishop08902b02019-08-20 09:16:51 -040028-X11_EXTRA_DEPS="xcb >= 1.11.1"
29-
30 PKG_PROG_PKG_CONFIG()
31
32-AC_SUBST(X11_EXTRA_DEPS)
33-
34-# Issue an error if xtrans.m4 was not found and XTRANS_CONNECTION_FLAGS macro
35-# was not expanded, since libX11 with no transport types is rather useless.
36-#
37-# If you're seeing an error here, be sure you installed the lib/xtrans module
38-# first and if it's not in the default location, that you set the ACLOCAL
39-# environment variable to find it, such as:
40-# ACLOCAL="aclocal -I ${PREFIX}/share/aclocal"
41-m4_pattern_forbid([^XTRANS_CONNECTION_FLAGS$])
42-
43-# Transport selection macro from xtrans.m4
44-XTRANS_CONNECTION_FLAGS
45-
46 # Check for dlopen
47 AC_MSG_CHECKING([if run-time linking is supported])
48 AC_SEARCH_LIBS(dlopen,[dl svld])
Andrew Geissler517393d2023-01-13 08:55:19 -060049@@ -255,30 +236,6 @@ AC_SUBST(USE_THREAD_LIBS)
Brad Bishop08902b02019-08-20 09:16:51 -040050
51 AC_CHECK_FUNC(poll, [AC_DEFINE(USE_POLL, 1, [poll() function is available])], )
52
53-#
54-# Find keysymdef.h
55-#
56-AC_MSG_CHECKING([keysym definitions])
57-AC_ARG_WITH([keysymdefdir],
58- [AC_HELP_STRING([--with-keysymdefdir=DIR], [The location of keysymdef.h (defaults to xproto include dir)])],
59- [KEYSYMDEFDIR=$withval],
60- [KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11])
61-
62-if test ! -d "$KEYSYMDEFDIR"; then
63- AC_MSG_ERROR([$KEYSYMDEFDIR doesn't exist or isn't a directory])
64-fi
65-
66-FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
67-for i in $FILES; do
68- if test -f "$KEYSYMDEFDIR/$i"; then
69- KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
70- elif test "x$i" = "xkeysymdef.h"; then
71- AC_MSG_ERROR([Cannot find keysymdef.h])
72- fi
73-done
74-AC_MSG_RESULT([$KEYSYMDEFS])
75-AC_SUBST(KEYSYMDEFS)
76-
77 AC_ARG_ENABLE(xcms,
78 AS_HELP_STRING([--disable-xcms],
79 [Disable Xlib support for CMS *EXPERIMENTAL*]),
Andrew Geissler517393d2023-01-13 08:55:19 -060080@@ -358,7 +315,6 @@ X11_LIBDIR="${libdir}/X11"
Brad Bishop08902b02019-08-20 09:16:51 -040081 AX_DEFINE_DIR(X11_LIBDIR, X11_LIBDIR, [Location of libX11 library data])
82 AC_SUBST(X11_LIBDIR)
83
84-PKG_CHECK_MODULES(X11, [$X11_REQUIRES])
85 X11_CFLAGS="$X11_CFLAGS $XTHREAD_CFLAGS"
86
87 #
88--
892.7.4
90