summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-lib/libx11-1.3.4/include_fix.patch
blob: c8aa08595d3e4282c99b8f5cbde868dcb2eed19e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
 configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- libX11-1.3.4.orig/configure.ac
+++ libX11-1.3.4/configure.ac
@@ -353,9 +353,9 @@
 #
 # Find keysymdef.h
 #
-AC_MSG_CHECKING([keysymdef.h])
-dir=`$PKG_CONFIG --variable=includedir xproto`
-KEYSYMDEF="$dir/X11/keysymdef.h"
+AC_ARG_WITH(keysymdef,
+	AC_HELP_STRING([--with-keysymdef=DIR/keysymdef.h], [The location of keysymdef.h]),
+	KEYSYMDEF=$withval, KEYSYMDEF="")
 if test -f "$KEYSYMDEF"; then
         AC_MSG_RESULT([$KEYSYMDEF])
 else