Remove printf's
[gmpc-lyrdb.git] / configure.ac
blob0f3893b5e8b467410407c096f1cb4fa936c70ea2
1 m4_define([package_major_version], [0])
2 m4_define([package_minor_version], [0])
3 m4_define([package_micro_version], [1])
4 m4_define([package_version],[package_major_version.package_minor_version.package_micro_version])
6 AC_PREREQ(2.58)
7 AC_INIT(src)
8 AM_CONFIG_HEADER([config.h])
9 AM_INIT_AUTOMAKE([gmpc-lyrdb], [package_version],qball@qballcow.nl)
11 AC_DEFINE(PLUGIN_MAJOR_VERSION, package_major_version, ["Major version of plugin"])
12 AC_DEFINE(PLUGIN_MINOR_VERSION, package_minor_version, ["Minor version of plugin"])
13 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([gmpclyrdb],[ 
21     glib-2.0 >= 2.16
22         gobject-2.0 >= 2.4
23         gtk+-2.0 >= 2.12
24         gmodule-2.0
25         libxml-2.0
26         gthread-2.0
27     gio-2.0
28         libmpd >= 0.15.98
29         gmpc    >= 0.16.2
32 AC_SUBST(gmpclyrdb_LIBS)
33 AC_SUBST(gmpclyrdb_CFLAGS)
36 AC_OUTPUT([Makefile src/Makefile])