wmcapshare: Include glib header.
[dockapps.git] / wmcdplay / configure.ac
blob18210e217259c2e7a84e9ca052a0a73b6459fdf1
1 AC_INIT([wmcdplay], [1.1], [wmaker-dev@lists.windowmaker.org])
2 AM_INIT_AUTOMAKE([foreign])
3 AC_CONFIG_SRCDIR([configure.ac])
4 AC_PROG_CXX
6 define([artlist], esyscmd([cd XPM && ls -d */ | sed 's/\///g']))
7 AC_ARG_WITH([art],
8         AS_HELP_STRING([--with-art],
9         [Choose art style.  Defaults to 'newstyle'.  Choices are: ]
10         artlist),
11         [],
12         [with_art=newstyle])
13 if test ! -d "XPM/${with_art}"; then
14    AC_MSG_ERROR([cannot find art directory '${with_art}'.])
16 AC_MSG_NOTICE([setting art style to '${with_art}'...])
17 AC_SUBST([defaultart], [$with_art])
19 PKG_CHECK_MODULES([x11], [x11])
20 PKG_CHECK_MODULES([xpm], [xpm])
21 PKG_CHECK_MODULES([xext], [xext])
22 AC_CONFIG_FILES([Makefile])
23 AC_OUTPUT