dnl Process this file with autoconf to produce a configure script.
AC_INIT([wmressel], [0.9], [wmaker-dev@googlegroups.com])
AC_CONFIG_SRCDIR([src/wmressel.c])
AM_INIT_AUTOMAKE([foreign subdir-objects])

dnl Checks for programs.
AC_PROG_CC

dnl Checks for libraries.
PKG_CHECK_MODULES(Xlib, x11)
PKG_CHECK_MODULES(libXpm, xpm)
PKG_CHECK_MODULES(Xext, xext)
PKG_CHECK_MODULES(Xxf86vm, xxf86vm)
PKG_CHECK_MODULES(Xinerama, xinerama,
        [AC_DEFINE(HAVE_LIBXINERAMA)],
	[AC_MSG_NOTICE(compiling without Xinerama support)])
PKG_CHECK_MODULES(GTK,gtk+-3.0)
PKG_CHECK_MODULES(libdockapp, dockapp)

AC_OUTPUT([Makefile])
