diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-10 22:32:34 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-03-10 22:32:34 +0900 |
| commit | e71333fd8a4a363ec26f21dfac6667805a737fd1 (patch) | |
| tree | b04b842fb74640f5758bcf6070c19c8d45f90e4d /admin | |
| parent | c8a9dd20a52b50f0a6db801db7267f8eb5f65c31 (diff) | |
| download | kvirc-fix/compile-without-tde.tar.gz kvirc-fix/compile-without-tde.zip | |
Fix FTBFS when TDE support is not requestedfix/compile-without-tde
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/acinclude.m4.in | 10 |
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" |
