configure.ac | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 7530ef02827c7e62ce5313c99e84ce8ff15513ab
Author: Stephan Bergmann <[email protected]>
AuthorDate: Mon Dec 11 16:14:43 2023 +0100
Commit: Stephan Bergmann <[email protected]>
CommitDate: Mon Dec 11 21:29:22 2023 +0100
Fail when explicit --enable-ccache cannot be honored
Change-Id: I2b638dad3e3a1f3d7044997061a8597b44067a5e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160600
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <[email protected]>
diff --git a/configure.ac b/configure.ac
index 98068c7f7c08..455686cf20ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3364,6 +3364,9 @@ elif test -n "$enable_ccache" -o \( "$enable_ccache" = ""
-a "$enable_icecream"
fi
fi
fi
+ if test "$enable_ccache" = yes && test -z "$CCACHE"; then
+ AC_MSG_ERROR([No suitable ccache found])
+ fi
;;
esac
else