summaryrefslogtreecommitdiff
blob: 5707e4fc720632e44f2326f15168523616d48448 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure.in
+++ b/configure.in
@@ -14,7 +14,6 @@
 	echo
 	exit 1)
 
-LDFLAGS=`gtk-config --cflags`
+PKG_CHECK_MODULES(LIBX11, x11,[LIBS="$LIBS $LIBX11_LIBS";INCLUDES="$INCLUDES $LIBX11_CFLAGS"],[exit 1])
 
-AC_SUBST(LDFLAGS)
 AC_OUTPUT(Makefile)