Some fixes to previous commit and add progress to genre loading.
[gmpc-shoutcast-browser.git] / configure.ac
blob88579e7564c531e5f75b47a392d878ee5349c5b1
1 AC_INIT([gmpc-shoutcast-browser], [0.0.1], [theli.ua@gmail.com])
3 #Define the version
4 m4_define([package_major_version], [0])
5 m4_define([package_minor_version], [0])
6 m4_define([package_micro_version], [1])
7 m4_define([package_version], [package_major_version.package_minor_version.package_micro_version])
9 AC_PREREQ(2.58)
10 # so in metapackage it builds standalone
11 AC_CONFIG_AUX_DIR([.])
12 AC_CONFIG_HEADER([config.h])
13 AM_INIT_AUTOMAKE
14 AM_MAINTAINER_MODE
16 AC_PROG_CC
17 AC_PROG_CC_C_O
18 AC_PROG_LIBTOOL
20 #intltool, libtool. Check for CC compiler
21 #AC_PROG_INTLTOOL([0.21])
22 #ALL_LINGUAS=""
23 #AM_GNU_GETTEXT_VERSION(0.11.5)
24 #AM_GLIB_GNU_GETTEXT
25 #GETTEXT_PACKAGE=gmpc-mmkeys
26 #AC_SUBST(GETTEXT_PACKAGE)
27 #AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GETTEXT Package name])
28 #AC_DEFINE_UNQUOTED(LOCALEDIR, "${prefix}/${DATADIRNAME}/locale", [Name of gettext locale directory])
32 AM_PROG_VALAC([0.7.0])
34 PKG_PROG_PKG_CONFIG
37 PKG_CHECK_MODULES([modules],[
38         gtk+-2.0  >= 2.12
39         glib-2.0  >= 2.16
40         libmpd
41         gmpc >= 0.18.1
42         libxml-2.0
43         ])
45 AC_OUTPUT([
46         Makefile