Update copyright notices
[gmpc-random-playlist.git] / configure.ac
blobffd8a421c4390b02fb2f6d74c13686d87de15956
1 m4_define([package_major_version], [0])
2 m4_define([package_minor_version], [15])
3 m4_define([package_micro_version], [5])
4 m4_define([package_version],[package_major_version.package_minor_version.package_micro_version])
6 AC_INIT(src)
7 AM_CONFIG_HEADER([config.h])
8 AM_INIT_AUTOMAKE([gmpc-random-playlist], [package_version],qball@qballcow.nl)
10 AC_DEFINE(PLUGIN_MAJOR_VERSION, package_major_version, ["Major version of plugin"])
11 AC_DEFINE(PLUGIN_MINOR_VERSION, package_minor_version, ["Minor version of plugin"])
12 AC_DEFINE(PLUGIN_MICRO_VERSION, package_micro_version, ["Micro version of plugin"])
15 AC_PROG_CC
16 AM_DISABLE_STATIC
17 AC_LIBTOOL_DLOPEN
18 AC_PROG_LIBTOOL
20 PKG_CHECK_MODULES([gmpcrandom_playlist],
22         glib-2.0 >= 2.4
23         gobject-2.0 >= 2.4
24         gtk+-2.0 >= 2.4
25         libglade-2.0
26         libxml-2.0
27         gmodule-2.0
28         libmpd >= 0.14.99
29         gmpc  >= 0.15.4.102
31 AC_SUBST(gmpcrandom_playlist_LIBS)
32 AC_SUBST(gmpcrandom_playlist_CFLAGS)
35 AC_OUTPUT([Makefile src/Makefile])