summaryrefslogtreecommitdiffstats
path: root/configure.in.in
blob: 0d07cb2fecc48963c23dea2fd3fc3bb72ca2522b (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
#MIN_CONFIG(3.2.0)

AM_INIT_AUTOMAKE(kopete_otr, 0.1)
AC_C_BIGENDIAN


AC_CHECK_KDEMAXPATHLEN
# Make sure that kde includes, etc. are part of the CPPFLAGS ...
CPPFLAGS="$CPPFLAGS $all_includes -I$kde_includes/kopete"


# check for libkopete headers and library
AC_CHECK_HEADER(kopeteversion.h,,
                AC_MSG_ERROR([libkopete header files missing]))

#AC_CHECK_LIB([kopete], [_ZN6Kopete7AccountD0Ev],,
#             AC_MSG_ERROR([libkopete library missing]))



#Check for libotr
AC_CHECK_HEADERS([libotr/version.h],,
                AC_MSG_ERROR([Could not find OTR header files!]))

m4_pattern_allow([AM_PATH_LIBOTR])

AM_PATH_LIBOTR(3.1.0,,AC_MSG_ERROR(libotr 3.1.0 or newer is required.))