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

3
AC_INIT(pidgin-otr, 4.0.0-beta2)
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
AM_PATH_LIBOTR(4.0.0,,AC_MSG_ERROR(libotr 4.0.0 or newer is required.))
cypherpunk's avatar
cypherpunk committed
18

cypherpunk's avatar
   
cypherpunk committed
19
PKG_CHECK_MODULES([EXTRA], [glib-2.0 >= 2.6 gtk+-2.0 >= 2.6 pidgin >= 2.0 purple >= 2.0])
cypherpunk's avatar
cypherpunk committed
20
21
22
23
24
25

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

27
ALL_LINGUAS="ar de el es fa fr hu it pl nl nn ru sk sv vi zh_CN"
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])