blob: 4f5bbd73de07cec9945ad7e214b0f8d6944fab10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
AC_PREREQ(2.57)
AC_INIT([xcb-util],0.1,[jamey@minilop.net])
AC_CONFIG_SRCDIR([Makefile.am])
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AC_CHECK_PROGS(M4, m4)
AC_CHECK_PROGS(GPERF, gperf, [no])
if test $GPERF = "no"; then
AC_MSG_ERROR([Can't find gperf, please install it and try again])
fi
AC_PROG_CC
AC_PROG_LIBTOOL
xcbincludedir='${includedir}/X11/XCB'
AC_SUBST(xcbincludedir)
pkgconfigdir='${libdir}/pkgconfig'
AC_SUBST(pkgconfigdir)
PKG_CHECK_MODULES(XCB, xcb)
AC_OUTPUT([Makefile
convenient/Makefile convenient/xcb-aux.pc
reply/Makefile reply/xcb-reply.pc
image/Makefile image/xcb-image.pc
atom/Makefile atom/xcb-atom.pc
event/Makefile event/xcb-event.pc
keysyms/Makefile keysyms/xcb-keysyms.pc
property/Makefile property/xcb-property.pc
icccm/Makefile icccm/xcb-icccm.pc
wm/Makefile wm/xcb-wm.pc
xcb_util_intro
])
|