summaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/acinclude.m4.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/admin/acinclude.m4.in b/admin/acinclude.m4.in
index abc25a3..b51fa27 100644
--- a/admin/acinclude.m4.in
+++ b/admin/acinclude.m4.in
@@ -2125,8 +2125,8 @@ AC_DEFUN([AC_SS_FINAL_CONFIG],
AC_DEFINE_UNQUOTED([TDE_LIBDIR], "$SS_KDE_LIBDIR", [contain path to TDE libs if compiled with the TDE support])
SS_BUILD_FLAGS="k$SS_BUILD_FLAGS"
else
- AC_DEFINE_UNQUOTED([TDE_DIR], "", [contain path to TDE if compiled with the TDE support])
- AC_DEFINE_UNQUOTED([TDE_LIBDIR], "", [contain path to TDE libs if compiled with the TDE support])
+ AC_DEFINE_UNQUOTED([TDE_DIR], "${prefix}", [contain path to TDE if compiled with the TDE support])
+ AC_DEFINE_UNQUOTED([TDE_LIBDIR], "${prefix}/lib", [contain path to TDE libs if compiled with the TDE support])
fi
if test -n "$SS_OTHER_LIBLINK"; then
@@ -2271,7 +2271,11 @@ AC_DEFUN([AC_SS_FINAL_CONFIG],
AC_SUBST(xdg_apps)
AC_SUBST(mimelnkdir)
- localedir="\${datadir}/locale"
+ if test "$SS_KDE_REQUESTED" = "yes"; then
+ localedir="\${datadir}/locale"
+ else
+ localedir="\${globalkvircdir}/locale"
+ fi
AC_SUBST(localedir)
headersdir="\${exec_prefix}/include/kvirc"