configure.ac 608 Bytes
Newer Older
cypherpunk's avatar
cypherpunk committed
1
2
3
4
5
6
7
8
9
dnl Process this file with autoconf to produce configure.

dnl XXX Check for headers, etc.

dnl Not yet used.
AC_INIT(otr-plugin.c)

AM_CONFIG_HEADER(config.h)

cypherpunk's avatar
   
cypherpunk committed
10
AM_INIT_AUTOMAKE(gaim-otr, 3.0.0)
cypherpunk's avatar
cypherpunk committed
11
12
13
14
15
16
17
18
19

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
20
AM_PATH_LIBOTR(3.0.0,,AC_MSG_ERROR(libotr 3.0.0 or newer is required.))
cypherpunk's avatar
cypherpunk committed
21
22
23
24

PKG_CHECK_MODULES(EXTRA, glib-2.0 >= 2.4 gtk+-2.0 >= 2.4 gaim >= 1.0, , AC_MSG_ERROR(glib, gtk and gaim required))

AC_OUTPUT([Makefile])