1b1afe2d37
Changes include: - The artwork files XPM/*.art are now created during build time and therefore have been removed from the repository. - The script which creates them is now installed alongside the art files in case users would like to design their own artwork. - The "makeall" script, whose function has been replaced by the Makefile, has been removed. - The default artwork can now be chosen at compile time by the --with-art option to ./configure. - Changes have been documented in ARTWORK. Inspired in part by the Debian patch [1]. [1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/install_art_scripts.patch/
24 lines
654 B
Plaintext
24 lines
654 B
Plaintext
AC_INIT([wmcdplay], [1.0beta1])
|
|
AM_INIT_AUTOMAKE([foreign])
|
|
AC_CONFIG_SRCDIR([configure.ac])
|
|
AC_PROG_CXX
|
|
|
|
define([artlist], esyscmd([cd XPM && ls -d */ | sed 's/\///g']))
|
|
AC_ARG_WITH([art],
|
|
AS_HELP_STRING([--with-art],
|
|
[Choose art style. Defaults to 'newstyle'. Choices are: ]
|
|
artlist),
|
|
[],
|
|
[with_art=newstyle])
|
|
if test ! -d "XPM/${with_art}"; then
|
|
AC_MSG_ERROR([cannot find art directory '${with_art}'.])
|
|
fi
|
|
AC_MSG_NOTICE([setting art style to '${with_art}'...])
|
|
AC_SUBST([defaultart], [$with_art])
|
|
|
|
PKG_CHECK_MODULES([x11], [x11])
|
|
PKG_CHECK_MODULES([xpm], [xpm])
|
|
PKG_CHECK_MODULES([xext], [xext])
|
|
AC_CONFIG_FILES([Makefile])
|
|
AC_OUTPUT
|