forked from megabajt/telepathy-gadugadu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
52 lines (39 loc) · 1.14 KB
/
configure.ac
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT([telepathy-gadugadu], [0.1.1], [marcin.banasiak@gmail.com])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz])
AM_SILENT_RULES([yes])
# Checks for programs.
AC_PROG_CC
AC_HEADER_STDC
AM_PROG_CC_C_O
if test "$GCC" = "yes"; then
WARNINGFLAGS="$WARNINGFLAGS -Wall"
WARNINGFLAGS="$WARNINGFLAGS -Wformat-security"
fi
AC_SUBST(WARNINGFLAGS)
# Checks for libraries.
PKG_CHECK_MODULES(GLIB, [glib-2.0 gobject-2.0 gio-2.0])
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
PKG_CHECK_MODULES(TP_GLIB, [telepathy-glib >= 0.20.0])
AC_SUBST(TP_GLIB_CFLAGS)
AC_SUBST(TP_GLIB_LIBS)
PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.1.0 dbus-glib-1 >= 0.82])
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
PKG_CHECK_MODULES(LIBGADU, [libgadu >= 0.11.2])
AC_SUBST(LIBGADU_CFLAGS)
AC_SUBST(LIBGADU_LIBS)
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([
Makefile
data/Makefile
src/Makefile
])
AC_OUTPUT