summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 21:14:25 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 21:14:25 +0000
commite340db64991a06761aa6395ffe760b53e4c1dfbc (patch)
tree6c7137ac6641083cc11376ed9605babda181521b /configure.in.in
parent7047c45c2613a9c44ca795dcaf5c08e72d20b6ca (diff)
downloadkpilot-e340db64991a06761aa6395ffe760b53e4c1dfbc.tar.gz
kpilot-e340db64991a06761aa6395ffe760b53e4c1dfbc.zip
Fix kpilot build system
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1238887 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/configure.in.in b/configure.in.in
index 863e3e4..2678141 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -1,3 +1,34 @@
+#MIN_CONFIG(3.3)
+AC_HEADER_DIRENT
+AC_HEADER_STDC
+AC_CHECK_HEADERS(fcntl.h sys/sysctl.h sys/param.h sys/time.h sys/types.h unistd.h values.h sys/limits.h err.h sys/cdefs.h)
+
+AC_CHECK_SETENV
+AC_CHECK_UNSETENV
+
+KDE_NEED_FLEX
+
+if test "$x_includes" != "NONE"; then
+ AC_DEFINE(HAVE_X11_HEADERS,1,Define if you have X11 header files)
+fi
+AC_CHECK_LIB(Xtst, XTestFakeKeyEvent, [LIBXTST=-lXtst],, -lX11)
+AC_SUBST(LIBXTST)
+if test "$LIBXTST" != ""; then
+ AC_CHECK_HEADER([X11/extensions/XTest.h],
+ [AC_DEFINE(HAVE_XTEST, 1, [Define if you have X11 Xtest header files])])
+fi
+
+KDE_INIT_DOXYGEN([KDE PIM API Reference], [Version $VERSION])
+
+KDE_CHECK_THREADING
+
+dnl For apps that NEED threads
+if test -z "$LIBPTHREAD" && test -z "$USE_THREADS"; then
+ DO_NOT_COMPILE="$DO_NOT_COMPILE knode"
+fi
+
+CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
+
dnl Configure.in.in for KPilot.
dnl
dnl Copyright (C) 2000,2001 Adriaan de Groot