1 m4_define([plugin_major_version], [0])
2 m4_define([plugin_minor_version], [15])
3 m4_define([plugin_micro_version], [98])
4 m4_define([plugin_version],[plugin_major_version.plugin_minor_version.plugin_micro_version])
7 AM_CONFIG_HEADER([config.h])
8 AM_INIT_AUTOMAKE([gmpc-magnatune], [plugin_version],qball@sarine.nl)
10 AC_DEFINE(PLUGIN_MAJOR_VERSION, plugin_major_version, ["Major version of plugin"])
11 AC_DEFINE(PLUGIN_MINOR_VERSION, plugin_minor_version, ["Minor version of plugin"])
12 AC_DEFINE(PLUGIN_MICRO_VERSION, plugin_micro_version, ["Micro version of plugin"])
20 PKG_CHECK_MODULES([gmpcmagnatune],
30 AC_SUBST(gmpcmagnatune_LIBS)
31 AC_SUBST(gmpcmagnatune_CFLAGS)
33 PKG_CHECK_MODULES([gmpcmagnatune2],[ axl ],[ axl=yes],[ axl=no])
35 AM_CONDITIONAL(WITHOUTH_AXL, test $axl = no)
37 AC_SUBST(gmpcmagnatune2_LIBS)
38 AC_SUBST(gmpcmagnatune2_CFLAGS)
41 AC_OUTPUT([Makefile src/Makefile data/Makefile ])