wmclockmon: update change-log
[dockapps.git] / wmcdplay / configure.ac
bloba9a7d7ae9a48faee2dc819575e7280fc72497c63
1 AC_INIT([wmcdplay], [1.1], [wmaker-dev@googlegroups.com])
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