Modify version string to post-release version 0.20.95
[gmpc-awn.git] / configure.ac
blob1fb34d9e512097b993bd227f90f7da913734b04f
1 AC_PREREQ(2.58)
3 m4_define([package_name], [gmpc-awn])
4 #Define the version
5 m4_define([package_major_version], [0])
6 m4_define([package_minor_version], [20])
7 m4_define([package_micro_version], [95])
8 m4_define([package_version], [package_major_version.package_minor_version.package_micro_version])
10 AC_INIT([gmpc-awn], [0.20.95], [qball@sarine.nl])
11 AM_CONFIG_HEADER([config.h])
12 AM_INIT_AUTOMAKE
14 AC_DEFINE(MAJOR_VERSION, package_major_version, [Major version number.])
15 AC_DEFINE(MINOR_VERSION, package_minor_version, [Minor version number.])
16 AC_DEFINE(MICRO_VERSION, package_micro_version, [Micro version number.])
18 AC_PROG_INTLTOOL([0.21])
20 # i18n support
21 dnl please keep them in alphabetical order
22 ALL_LINGUAS=""
24 GETTEXT_PACKAGE=package_name
25 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[gettext package name.])
26 AM_GLIB_GNU_GETTEXT
28 if test "x${prefix}" = "xNONE"; then
29     PACKAGE_PREFIX="${ac_default_prefix}"
30 else
31     PACKAGE_PREFIX="${prefix}"
33 PACKAGE_LOCALE_DIR="${PACKAGE_PREFIX}/${DATADIRNAME}/locale"
34 AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR,"$PACKAGE_LOCALE_DIR",[The package's locale path for gettext])
36 AC_PROG_CC
37 AM_DISABLE_STATIC
38 AC_LIBTOOL_DLOPEN
39 AC_PROG_LIBTOOL
41 PKG_CHECK_MODULES([gmpcawn],
43     gmpc >= 0.15.4.96
44     dbus-glib-1
47 AC_SUBST(gmpcawn_LIBS)
48 AC_SUBST(gmpcawn_CFLAGS)
50 AC_OUTPUT([Makefile src/Makefile po/Makefile.in])