configure.ac
[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 ])
33
34 PKG_CHECK_MODULES([XSCRNSAVER], xscrnsaver)
35 AC_SUBST(XSCRNSAVER_LIBS)
36
37
38
39
40 AC_CONFIG_FILES([
41         Makefile
42 ])
43
44   
45 AC_SUBST(GITLIVE_CFLAGS)
46 AC_SUBST(GITLIVE_LIBS)
47
48
49 AC_OUTPUT