Modify version string to post-release version 0.18.99
[gmpc-shout.git] / configure.ac
blob273ee449ac22eb4827a2c1b3c8a0c9ab4ec63c82
1 AC_INIT([gmpc-shout], [0.18.99], [qball@sarine.nl])
2 m4_define([package_major_version], [0])
3 m4_define([package_minor_version], [18])
4 m4_define([package_micro_version], [99])
5 m4_define([package_version],[package_major_version.package_minor_version.package_micro_version])
7 AM_CONFIG_HEADER([config.h])
8 AM_INIT_AUTOMAKE
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 #intltool, libtool. Check for CC compiler
20 AC_PROG_INTLTOOL([0.21])
22 # i18n support
23 dnl please keep them in alphabetical order
24 ALL_LINGUAS="bs de es fr nb nl pl ro ru zh_CN"
26 GETTEXT_PACKAGE=gmpc-shout
27 AC_SUBST(GETTEXT_PACKAGE)
28 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[GMPC_SHOUT gettext package])
29 AM_GLIB_GNU_GETTEXT
32 if test "x${prefix}" = "xNONE"; then
33         PACKAGE_PREFIX="${ac_default_prefix}"
34 else
35         PACKAGE_PREFIX="${prefix}"
37 AC_MSG_RESULT($PACKAGE_PREFIX)
38 PACKAGE_LOCALE_DIR="${PACKAGE_PREFIX}/${DATADIRNAME}/locale"
39 AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR,"$PACKAGE_LOCALE_DIR",[The package's locale path for gettext])
42 PKG_CHECK_MODULES([gmpcshout],
44         glib-2.0 >= 2.10
45         gobject-2.0 >= 2.4
46         gtk+-2.0 >= 2.8
47         gmodule-2.0
48         cairo
49         libxml-2.0
50         libmpd >= 0.15.98
51         gmpc >= 0.15.98
53 AC_SUBST(gmpcshout_LIBS)
54 AC_SUBST(gmpcshout_CFLAGS)
57 AC_OUTPUT([Makefile src/Makefile po/Makefile.in])