From b905a0a686e12e30801255b62accb573a8ced687 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 22 Feb 2026 20:41:12 +0900 Subject: Convert to cmake build system Signed-off-by: Michele Calgaro --- admin/acinclude.m4.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'admin') 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" -- cgit v1.2.3