configure.ac 818 Bytes
Newer Older
cypherpunk's avatar
cypherpunk committed
1
2
dnl Process this file with autoconf to produce configure.

cypherpunk's avatar
cypherpunk committed
3
AC_INIT(pidgin-otr, 3.1.0)
cypherpunk's avatar
cypherpunk committed
4
5
6

AM_CONFIG_HEADER(config.h)

cypherpunk's avatar
cypherpunk committed
7
AM_INIT_AUTOMAKE([-Wall -Werror])
cypherpunk's avatar
cypherpunk committed
8
9
10
11
12
13
14
15
16

AC_PROG_CC

dnl We do not want to create a .a for the plugin, so disable by default.
AM_DISABLE_STATIC
AM_PROG_LIBTOOL

AM_PATH_LIBGCRYPT(1:1.2.0,,AC_MSG_ERROR(libgcrypt 1.2.0 or newer is required.))

cypherpunk's avatar
cypherpunk committed
17
18
19
20
21
22
23
24
25
AM_PATH_LIBOTR(3.1.0,,AC_MSG_ERROR(libotr 3.1.0 or newer is required.))

PKG_CHECK_MODULES(EXTRA, glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0, , AC_MSG_ERROR(glib, gtk, pidgin and purple required))

AC_PROG_INTLTOOL

GETTEXT_PACKAGE=pidgin-otr
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, ["$GETTEXT_PACKAGE"], [Define the gettext package to be used])
cypherpunk's avatar
cypherpunk committed
26

cypherpunk's avatar
cypherpunk committed
27
ALL_LINGUAS="es fr nl"
cypherpunk's avatar
cypherpunk committed
28
AM_GLIB_GNU_GETTEXT
cypherpunk's avatar
cypherpunk committed
29

cypherpunk's avatar
cypherpunk committed
30
AC_OUTPUT([Makefile po/Makefile.in])