2017-08-27 18:56:43 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
2017-08-27 18:58:44 +00:00
|
|
|
AC_INIT([wmressel], [0.8], [wmaker-dev@lists.windowmaker.org])
|
|
|
|
AC_CONFIG_SRCDIR([src/wmressel.c])
|
|
|
|
AM_INIT_AUTOMAKE([foreign subdir-objects])
|
2017-08-27 18:56:43 +00:00
|
|
|
|
|
|
|
dnl Checks for programs.
|
|
|
|
AC_PROG_CC
|
|
|
|
|
|
|
|
dnl Checks for libraries.
|
2017-08-27 18:58:43 +00:00
|
|
|
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)
|
2017-08-27 18:56:43 +00:00
|
|
|
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
|
|
AC_TYPE_PID_T
|
|
|
|
|
2017-08-27 18:58:44 +00:00
|
|
|
AC_OUTPUT([Makefile])
|