|
|
|
@ -602,11 +602,11 @@ AC_DEFUN([KDE_SUBST_PROGRAMS],
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test -n "$trinity2ornewer"; then
|
|
|
|
|
KDE_FIND_PATH(kconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kconfig_compiler)])
|
|
|
|
|
KDE_FIND_PATH(tdeconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(tdeconfig_compiler)])
|
|
|
|
|
KDE_FIND_PATH(dcopidlng, DCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)])
|
|
|
|
|
fi
|
|
|
|
|
if test -n "$trinity3ornewer"; then
|
|
|
|
|
KDE_FIND_PATH(makekdewidgets, MAKEKDEWIDGETS, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(makekdewidgets)])
|
|
|
|
|
KDE_FIND_PATH(maketdewidgets, MAKEKDEWIDGETS, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(maketdewidgets)])
|
|
|
|
|
AC_SUBST(MAKEKDEWIDGETS)
|
|
|
|
|
fi
|
|
|
|
|
KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""])
|
|
|
|
@ -1788,7 +1788,7 @@ if test "$kde_qtver" = 1; then
|
|
|
|
|
kde_check_lib="libtdecore.la"
|
|
|
|
|
else
|
|
|
|
|
kde_check_header="ksharedptr.h"
|
|
|
|
|
kde_check_lib="libkio.la"
|
|
|
|
|
kde_check_lib="libtdeio.la"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test -z "$1"; then
|
|
|
|
@ -1979,20 +1979,20 @@ cat > conftest.$ac_ext <<EOF
|
|
|
|
|
#include <kapp.h>
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data());
|
|
|
|
|
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data());
|
|
|
|
|
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data());
|
|
|
|
|
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data());
|
|
|
|
|
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data());
|
|
|
|
|
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data());
|
|
|
|
|
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data());
|
|
|
|
|
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data());
|
|
|
|
|
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data());
|
|
|
|
|
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data());
|
|
|
|
|
printf("kde_htmldir=\\"%s\\"\n", TDEApplication::kde_htmldir().data());
|
|
|
|
|
printf("kde_appsdir=\\"%s\\"\n", TDEApplication::kde_appsdir().data());
|
|
|
|
|
printf("kde_icondir=\\"%s\\"\n", TDEApplication::kde_icondir().data());
|
|
|
|
|
printf("kde_sounddir=\\"%s\\"\n", TDEApplication::kde_sounddir().data());
|
|
|
|
|
printf("kde_datadir=\\"%s\\"\n", TDEApplication::kde_datadir().data());
|
|
|
|
|
printf("kde_locale=\\"%s\\"\n", TDEApplication::kde_localedir().data());
|
|
|
|
|
printf("kde_cgidir=\\"%s\\"\n", TDEApplication::kde_cgidir().data());
|
|
|
|
|
printf("kde_confdir=\\"%s\\"\n", TDEApplication::kde_configdir().data());
|
|
|
|
|
printf("kde_mimedir=\\"%s\\"\n", TDEApplication::kde_mimedir().data());
|
|
|
|
|
printf("kde_toolbardir=\\"%s\\"\n", TDEApplication::kde_toolbardir().data());
|
|
|
|
|
printf("kde_wallpaperdir=\\"%s\\"\n",
|
|
|
|
|
KApplication::kde_wallpaperdir().data());
|
|
|
|
|
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data());
|
|
|
|
|
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data());
|
|
|
|
|
TDEApplication::kde_wallpaperdir().data());
|
|
|
|
|
printf("kde_bindir=\\"%s\\"\n", TDEApplication::kde_bindir().data());
|
|
|
|
|
printf("kde_partsdir=\\"%s\\"\n", TDEApplication::kde_partsdir().data());
|
|
|
|
|
printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
|
|
|
|
|
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
|
|
|
|
|
printf("kde_moduledir=\\"/tmp/dummy\\"\n");
|
|
|
|
@ -2070,41 +2070,41 @@ if test $kde_qtver = 3; then
|
|
|
|
|
AC_SUBST(LIB_KDED, $lib_kded)
|
|
|
|
|
AC_SUBST(LIB_TDECORE, "-ltdecore")
|
|
|
|
|
AC_SUBST(LIB_TDEUI, "-ltdeui")
|
|
|
|
|
AC_SUBST(LIB_KIO, "-lkio")
|
|
|
|
|
AC_SUBST(LIB_KIO, "-ltdeio")
|
|
|
|
|
AC_SUBST(LIB_KJS, "-lkjs")
|
|
|
|
|
AC_SUBST(LIB_SMB, "-lsmb")
|
|
|
|
|
AC_SUBST(LIB_KAB, "-lkab")
|
|
|
|
|
AC_SUBST(LIB_KABC, "-lkabc")
|
|
|
|
|
AC_SUBST(LIB_KHTML, "-lkhtml")
|
|
|
|
|
AC_SUBST(LIB_KSPELL, "-lkspell")
|
|
|
|
|
AC_SUBST(LIB_KPARTS, "-lkparts")
|
|
|
|
|
AC_SUBST(LIB_TDEABC, "-ltdeabc")
|
|
|
|
|
AC_SUBST(LIB_TDEHTML, "-ltdehtml")
|
|
|
|
|
AC_SUBST(LIB_KSPELL, "-ltdespell")
|
|
|
|
|
AC_SUBST(LIB_KPARTS, "-ltdeparts")
|
|
|
|
|
AC_SUBST(LIB_TDEPRINT, "-ltdeprint")
|
|
|
|
|
AC_SUBST(LIB_KUTILS, "-lkutils")
|
|
|
|
|
AC_SUBST(LIB_KUTILS, "-ltdeutils")
|
|
|
|
|
AC_SUBST(LIB_TDEPIM, "-ltdepim")
|
|
|
|
|
AC_SUBST(LIB_KIMPROXY, "-lkimproxy")
|
|
|
|
|
AC_SUBST(LIB_KIMPROXY, "-ltdeimproxy")
|
|
|
|
|
AC_SUBST(LIB_KNEWSTUFF, "-lknewstuff")
|
|
|
|
|
AC_SUBST(LIB_KDNSSD, "-lkdnssd")
|
|
|
|
|
AC_SUBST(LIB_KUNITTEST, "-lkunittest")
|
|
|
|
|
AC_SUBST(LIB_KDNSSD, "-ltdednssd")
|
|
|
|
|
AC_SUBST(LIB_KUNITTEST, "-ltdeunittest")
|
|
|
|
|
# these are for backward compatibility
|
|
|
|
|
AC_SUBST(LIB_KSYCOCA, "-lkio")
|
|
|
|
|
AC_SUBST(LIB_KFILE, "-lkio")
|
|
|
|
|
AC_SUBST(LIB_KSYCOCA, "-ltdeio")
|
|
|
|
|
AC_SUBST(LIB_TDEFILE, "-ltdeio")
|
|
|
|
|
elif test $kde_qtver = 2; then
|
|
|
|
|
AC_SUBST(LIB_TDECORE, "-ltdecore")
|
|
|
|
|
AC_SUBST(LIB_TDEUI, "-ltdeui")
|
|
|
|
|
AC_SUBST(LIB_KIO, "-lkio")
|
|
|
|
|
AC_SUBST(LIB_KSYCOCA, "-lksycoca")
|
|
|
|
|
AC_SUBST(LIB_KIO, "-ltdeio")
|
|
|
|
|
AC_SUBST(LIB_KSYCOCA, "-ltdesycoca")
|
|
|
|
|
AC_SUBST(LIB_SMB, "-lsmb")
|
|
|
|
|
AC_SUBST(LIB_KFILE, "-lkfile")
|
|
|
|
|
AC_SUBST(LIB_TDEFILE, "-ltdefile")
|
|
|
|
|
AC_SUBST(LIB_KAB, "-lkab")
|
|
|
|
|
AC_SUBST(LIB_KHTML, "-lkhtml")
|
|
|
|
|
AC_SUBST(LIB_KSPELL, "-lkspell")
|
|
|
|
|
AC_SUBST(LIB_KPARTS, "-lkparts")
|
|
|
|
|
AC_SUBST(LIB_TDEHTML, "-ltdehtml")
|
|
|
|
|
AC_SUBST(LIB_KSPELL, "-ltdespell")
|
|
|
|
|
AC_SUBST(LIB_KPARTS, "-ltdeparts")
|
|
|
|
|
AC_SUBST(LIB_TDEPRINT, "-ltdeprint")
|
|
|
|
|
else
|
|
|
|
|
AC_SUBST(LIB_TDECORE, "-ltdecore -lXext $(LIB_QT)")
|
|
|
|
|
AC_SUBST(LIB_TDEUI, "-ltdeui $(LIB_TDECORE)")
|
|
|
|
|
AC_SUBST(LIB_KFM, "-lkfm $(LIB_TDECORE)")
|
|
|
|
|
AC_SUBST(LIB_KFILE, "-lkfile $(LIB_KFM) $(LIB_TDEUI)")
|
|
|
|
|
AC_SUBST(LIB_TDEFILE, "-ltdefile $(LIB_KFM) $(LIB_TDEUI)")
|
|
|
|
|
AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_TDECORE)")
|
|
|
|
|
fi
|
|
|
|
|
])
|
|
|
|
@ -2547,7 +2547,7 @@ AC_FIND_FILE(jpeglib.h, $jpeg_incdirs, jpeg_incdir)
|
|
|
|
|
test "x$jpeg_incdir" = xNO && jpeg_incdir=
|
|
|
|
|
|
|
|
|
|
dnl if headers _and_ libraries are missing, this is no error, and we
|
|
|
|
|
dnl continue with a warning (the user will get no jpeg support in khtml)
|
|
|
|
|
dnl continue with a warning (the user will get no jpeg support in tdehtml)
|
|
|
|
|
dnl if only one is missing, it means a configuration error, but we still
|
|
|
|
|
dnl only warn
|
|
|
|
|
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
|
|
|
|
@ -3489,7 +3489,7 @@ LIBTOOL_SHELL="/bin/sh ./libtool"
|
|
|
|
|
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
|
|
|
|
|
AC_SUBST(KDE_PLUGIN)
|
|
|
|
|
|
|
|
|
|
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs.
|
|
|
|
|
# This hack ensures that libtool creates shared libs for tdeunittest plugins. By default check_LTLIBRARIES makes static libs.
|
|
|
|
|
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
|
|
|
|
|
AC_SUBST(KDE_CHECK_PLUGIN)
|
|
|
|
|
|
|
|
|
|