1 AC_INIT([wmcdplay], [1.1], [wmaker-dev@lists.windowmaker.org])
2 AM_INIT_AUTOMAKE([foreign])
3 AC_CONFIG_SRCDIR([configure.ac])
6 define([artlist], esyscmd([cd XPM && ls -d */ | sed 's/\///g']))
8 AS_HELP_STRING([--with-art],
9 [Choose art style. Defaults to 'newstyle'. Choices are: ]
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])