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          gio-2.0
25                  glib-2.0 >= 2.24.1
26                  gobject-2.0 >= 2.24.1
27                  gtk+-3.0 >= 3.11.3
28                  libnotify
29          libwnck-3.0
30 ])
31
32 PKG_CHECK_MODULES([XSCRNSAVER], xscrnsaver)
33 AC_SUBST(XSCRNSAVER_LIBS)
34
35
36
37
38 AC_CONFIG_FILES([
39         Makefile
40 ])
41
42   
43 AC_SUBST(GITLIVE_CFLAGS)
44 AC_SUBST(GITLIVE_LIBS)
45
46
47 AC_OUTPUT