Add an image viewer client
[profile/ivi/weston.git] / configure.ac
1 AC_INIT(wayland, 0.1)
2 AC_PROG_CC
3
4 PKG_PROG_PKG_CONFIG()
5 PKG_CHECK_MODULES(FFI, [libffi])
6
7 PKG_CHECK_MODULES(EGL_COMPOSITOR,
8                   [eagle libpng cairo gdk-pixbuf-2.0 libudev >= 136 libdrm])
9 PKG_CHECK_MODULES(EGL_CLIENT, [eagle cairo glib-2.0 libudev])
10 PKG_CHECK_MODULES(CAIRO_CLIENT, [cairo-drm glib-2.0])
11 PKG_CHECK_MODULES(GDK_PIXBUF, [gdk-pixbuf-2.0])
12
13 if test $CC = gcc; then
14         GCC_CFLAGS="-Wall -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden"
15 fi
16 AC_SUBST(GCC_CFLAGS)
17
18 AC_CONFIG_FILES([Makefile wayland-server.pc wayland.pc])
19 AC_OUTPUT