If xtrans is installed in a weird location, libXst fails to build:

 ConnDis.c:43:31: fatal error: X11/Xtrans/Xtrans.h: No such file or directory

Fix this by including $(XT_CFLAGS) to pick up the path to Xtrans.h.

Signed-off-by: Aaron Plattner <aplatt...@nvidia.com>
---
 xts5/src/libproto/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xts5/src/libproto/Makefile.am b/xts5/src/libproto/Makefile.am
index 40bd91f..594680c 100644
--- a/xts5/src/libproto/Makefile.am
+++ b/xts5/src/libproto/Makefile.am
@@ -32,7 +32,7 @@ XP_OPEN_DIS=XlibXtst.c
 AM_CFLAGS = -I$(top_srcdir)/include \
        -I$(top_srcdir)/src/tet3/inc \
        -I$(top_srcdir)/xts5/include \
-       $(XTS_CFLAGS)
+       $(XTS_CFLAGS) $(XT_CFLAGS)
 noinst_LTLIBRARIES = libXst.la
 libXst_la_SOURCES =\
        XstlibInt.h\
-- 
1.8.1

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to