summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kofficepart/tde-configure.in.in
blob: 3ba8fc32a93dfa3ed08cf5b006b638ada24e917e (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#MIN_CONFIG

AM_INIT_AUTOMAKE(kotest, 0.1)

AC_CHECK_HEADERS(unistd.h sys/param.h floatingpoint.h paths.h)
KDE_CHECK_KIMGIO
AC_C_BIGENDIAN
AC_CHECK_KDEMAXPATHLEN

dnl AC_DEFINE(USE_QFD, 1, [Define if you prefer the Qt provided file dialog])
KWMF_INCLUDES='-I$(TDEDIR)/lib/kwmf -I$(TDEDIR)/lib/kwmf'
AC_SUBST(KWMF_INCLUDES)

KSTORE_INCLUDES='-I$(TDEDIR)/include'
AC_SUBST(KSTORE_INCLUDES)

KOFFICECORE_INCLUDES='-I$(TDEDIR)/include'
AC_SUBST(KOFFICECORE_INCLUDES)

KOFFICEUI_INCLUDES='-I$(TDEDIR)/include'
AC_SUBST(KOFFICEUI_INCLUDES)

LIB_KOFFICEUI='$(TDEDIR)/lib/libkofficeui.la'
LIB_KOFFICECORE='$(TDEDIR)/lib/libkofficecore.la'
LIB_KSTORE='$(TDEDIR)/lib/libkstore.la'
LIB_KWMF='$(TDEDIR)/lib/libkwmf.la'
AC_SUBST(LIB_KOFFICEUI)
AC_SUBST(LIB_KOFFICECORE)
AC_SUBST(LIB_KSTORE)
AC_SUBST(LIB_KWMF)

KOFFICE_LIBS='$(LIB_KOFFICEUI) $(LIB_KOFFICECORE) $(LIB_KSTORE)'
AC_SUBST(KOFFICE_LIBS)

KOFFICE_INCLUDES='$(KOFFICEUI_INCLUDES) $(KOFFICECORE_INCLUDES) $(KSTORE_INCLUDES) $(KWMF_INCLUDES)'
AC_SUBST(KOFFICE_INCLUDES)

AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_CHECK_HEADERS(streambuf streambuf.h)
AC_LANG_RESTORE