Add missing configure.ac
[gmpc-fullscreeninfo.git] / configure.ac
blob9d3044c4eff4d30cb29c76c69b0ddde26aa4fffd
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_INIT(src)
7 AM_CONFIG_HEADER([config.h])
8 AM_INIT_AUTOMAKE([gmpc-fullscreeninfo], [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"])
14 AC_PROG_CC
15 AM_DISABLE_STATIC
16 AC_LIBTOOL_DLOPEN
17 AC_PROG_LIBTOOL
19 PKG_CHECK_MODULES([gmpcfullscreeninfo],
21         glib-2.0 >= 2.10
22         gobject-2.0 >= 2.4
23         gtk+-2.0 >= 2.8
24         gmodule-2.0
25         cairo
26         libxml-2.0
27         libmpd >= 0.14.99
28         gmpc >= 0.15.4.102
30 AC_SUBST(gmpcfullscreeninfo_LIBS)
31 AC_SUBST(gmpcfullscreeninfo_CFLAGS)
34 AC_OUTPUT([Makefile src/Makefile])