summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-19 18:38:42 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-19 18:38:42 +0000
commit498ff4e365566b987d2c7a1e54065e0e126556f7 (patch)
treec283921daac735696d642ba121c9e14152e00215 /configure.in.in
downloadkopete-otr-498ff4e365566b987d2c7a1e54065e0e126556f7.tar.gz
kopete-otr-498ff4e365566b987d2c7a1e54065e0e126556f7.zip
Added abandoned KDE3 version of kopete-otr
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kopete-otr@1092925 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in27
1 files changed, 27 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
new file mode 100644
index 0000000..0d07cb2
--- /dev/null
+++ b/configure.in.in
@@ -0,0 +1,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.))