sync
[gitlive] / configure.ac
1
2 dnl Process this file with autoconf to produce a configure script.
3 AC_PREREQ([2.68])
4
5 AC_INIT([gitlive], [4.0.0])
6
7 AC_CONFIG_HEADERS([config.h])
8
9 AM_INIT_AUTOMAKE([1.11 subdir-objects])
10 AM_MAINTAINER_MODE([enable])
11
12 AM_SILENT_RULES([yes])
13
14 AC_PROG_CC
15
16 AM_PROG_VALAC([0.22.0])
17
18
19 AC_CHECK_LIB([m],[cos])
20
21 dnl we need to check these exist, then it will generate a compile string for them.
22
23 PKG_CHECK_MODULES(GITLIVE, [
24                  gee-0.8
25          gio-2.0
26                  glib-2.0 >= 2.24.1
27                  gobject-2.0 >= 2.24.1
28                  gtk+-3.0 >= 3.11.3
29                  libnotify
30          libwnck-3.0
31          libcanberra
32         libsoup-2.4 >= 2.56.0     
33                 json-glib-1.0    
34 ])
35
36 PKG_CHECK_MODULES([XSCRNSAVER], xscrnsaver)
37 AC_SUBST(XSCRNSAVER_LIBS)
38
39
40
41
42 AC_CONFIG_FILES([
43         Makefile
44 ])
45
46   
47 AC_SUBST(GITLIVE_CFLAGS)
48 AC_SUBST(GITLIVE_LIBS)
49
50
51 AC_OUTPUT