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                  glib-2.0 >= 2.24.1
25                  gobject-2.0 >= 2.24.1
26                  gtk+-3.0 >= 3.11.3
27                  libnotify
28          libwnck-3.0
29 ])
30
31 AC_CONFIG_FILES([
32         Makefile
33 ])
34
35   
36 AC_SUBST(GITLIVE_CFLAGS)
37 AC_SUBST(GITLIVE_LIBS)
38
39
40 AC_OUTPUT