wmail: handle allocation failures.
[dockapps.git] / wmtop / configure.ac
blob333410948600dea6f36fe1ede7d9647ff625acd3
1 AC_INIT([wmtop], [0.85], [wmaker-dev@googlegroups.com])
2 AM_INIT_AUTOMAKE([foreign subdir-objects])
3 AC_CONFIG_SRCDIR([configure.ac])
4 AC_CANONICAL_HOST
5 AS_CASE([$host_os],
6   [linux*],
7         [AC_DEFINE(LINUX)],
8   [*freebsd*],
9         [AC_DEFINE(FREEBSD)],
10   [AC_MSG_ERROR([unknown operating system "$host_os".])]
12 AC_PROG_CC
13 PKG_CHECK_MODULES([x11],[x11])
14 PKG_CHECK_MODULES([xext],[xext])
15 PKG_CHECK_MODULES([xpm],[xpm])
16 PKG_CHECK_MODULES([dockapp],[dockapp])
17 AC_CONFIG_FILES([Makefile])
18 AC_OUTPUT