summaryrefslogtreecommitdiff
path: root/configure.ac
blob: bd731acb22d63a07a0c84f0e944b6b5e06777d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
AC_INIT([telepathy-gruschler],[0.1],
        [http://live.gnome.org/telepathy-gruschler])

AM_INIT_AUTOMAKE([check-news dist-bzip2 subdir-objects -Wall -Werror])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
AC_CONFIG_MACRO_DIR([m4])

AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_LIBTOOL
AM_PATH_GLIB_2_0([2.20.3])

PKG_CHECK_MODULES([GRUSCHLER],
                  [gio-unix-2.0 >= 2.20
                   json-glib-1.0 >= 0.8.0
                   rest-extras-0.6 >= 0.6.1
                   rtcom-telepathy-glib >= 0.1.38
                   telepathy-glib >= 0.7.35])
PKG_CHECK_MODULES([LOGIN],
                  [gtk+-2.0 >= 2.14
                   hildon-1 >= 2.2])

LOGIN_CFLAGS="$LOGIN_CFLAGS -I/usr/lib/microb-engine-devel/include"
LOGIN_LIBS="$LOGIN_LIBS -lgtkembedmoz"
AC_SUBST([mozilla_libdir],[/usr/lib/microb-engine])

FACEBOOK_APPKEY([GRUSCHLER])

AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([Makefile])

AC_OUTPUT