summaryrefslogtreecommitdiffstats
path: root/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in.in')
-rw-r--r--configure.in.in45
1 files changed, 40 insertions, 5 deletions
diff --git a/configure.in.in b/configure.in.in
index 8283d0d..c9fa660 100644
--- a/configure.in.in
+++ b/configure.in.in
@@ -2,7 +2,7 @@
KDE_ENABLE_HIDDEN_VISIBILITY
-AM_INIT_AUTOMAKE(tellico,1.3.2.1)
+AM_INIT_AUTOMAKE(tellico,1.3.6)
dnl AM_KDE_MIN_VERSION(MIN-VERSION-MAJOR, MIN-VERSION-MINOR, MIN-VERSION-MICRO)
dnl (taken from KMyMoney2)
@@ -428,7 +428,8 @@ AC_ARG_WITH([ooo-dir],
AC_HELP_STRING([--with-ooo-dir=DIR],
[where the OpenOffice.org program files are installed]),
[ac_ooo_libdir="${withval}/program"
- ac_ooo_datadir="${withval}/program"])
+ ac_ooo_datadir="${withval}/program"
+ ac_ooo_basisdir="${withval}/basis3.0"])
AC_ARG_WITH([ooo-libdir],
AC_HELP_STRING([--with-ooo-libdir=DIR],
[where the OpenOffice.org program libraries are installed (<ooo-dir>/program)]),
@@ -479,6 +480,13 @@ AC_CHECK_FILE([$ac_ooo_datadir/types.rdb],
[OFFICE_registry="$ac_ooo_datadir"/types.rdb],
AC_MSG_ERROR([[types.rdb not found, try '--with-ooo-dir=OpenOffice.org_installation_path']]))
+AC_FIND_FILE([offapi.rdb],
+ [$ac_ooo_basisdir/program $ac_ooo_libdir $ac_ooo_datadir],
+ offapi_dir)
+if test "$offapi_dir" != "NO"; then
+ OFFICE_registry="$OFFICE_registry $offapi_dir/offapi.rdb"
+fi
+
dnl Substitute the values
AC_SUBST(OFFICE_SDK_includes)
AC_SUBST(OFFICE_libadd)
@@ -499,7 +507,7 @@ AC_ARG_ENABLE(exempi,
)
if test x$enable_libexempi = xyes; then
- KDE_PKG_CHECK_MODULES(EXEMPI,
+ KDE_PKG_CHECK_MODULES(EXEMPI,
[exempi-2.0 >= 1.99.0],
[have_exempi=yes],
[have_exempi=no])
@@ -523,8 +531,8 @@ AC_ARG_ENABLE(poppler,
)
if test x$enable_libpoppler = xyes; then
- KDE_PKG_CHECK_MODULES(POPPLER,
- [poppler-qt >= 0.5],
+ KDE_PKG_CHECK_MODULES(POPPLER,
+ [poppler-tqt >= 0.5],
[have_poppler=yes],
[have_poppler=no])
AC_SUBST(POPPLER_LIBS)
@@ -546,9 +554,36 @@ AC_ARG_ENABLE(webcam,
[enable_webcam=no]
)
+if test x$enable_webcam = xyes; then
+ KDE_CHECK_HEADERS([linux/videodev.h],
+ [],
+ [enable_webcam="no"])
+fi
+
AM_CONDITIONAL(ENABLE_WEBCAM, test $enable_webcam = yes)
if test x$enable_webcam = xyes; then
AC_DEFINE(ENABLE_WEBCAM, 1, [Define to 1 if webcam support is enabled])
fi
dnl ---------- END WEBCAM CHECK ----------
+
+dnl ---------- SAX CHECK ----------
+
+AC_ARG_ENABLE(sax,
+ AC_HELP_STRING([--enable-sax], [enable SAX document loading (experimental), default=disable]),
+ [enable_sax=$enableval],
+ [enable_sax=no]
+)
+
+if test x$enable_sax = xyes; then
+ AC_DEFINE(SAX_SUPPORT, 1, [Define to 1 if the XML loader should use SAX])
+fi
+
+dnl ---------- END SAX CHECK ----------
+
+dnl -------- fix TQTDCOPIDLNG ---------
+if test "$kde_cv_tqt" = "no"; then
+ if test -z "$TQTDCOPIDLNG"; then
+ KDE_FIND_PATH(dcopidlng, TQTDCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)])
+ fi
+fi