[Libreoffice-commits] online.git: configure.ac
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Jan 8 17:51:13 UTC 2019
configure.ac | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 4691d2b18a1e20e286672083eb9a57443c6f8ce3
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Tue Jan 8 18:49:12 2019 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Tue Jan 8 18:49:12 2019 +0100
Add some messages whether we are building with support key
Change-Id: If41767c549e9e46b7f0a6f23fa5d819a946f9bdb
diff --git a/configure.ac b/configure.ac
index f8b12322d..d5e3c1726 100644
--- a/configure.ac
+++ b/configure.ac
@@ -474,6 +474,7 @@ AC_CHECK_HEADERS([security/pam_appl.h],
[AC_MSG_ERROR([header security/pam_appl.h not found, install PAM development package])])
AC_CHECK_LIB(pam, pam_start, [], [AC_MSG_ERROR([No. Install PAM development package])])
+AC_MSG_CHECKING([whether to build with support public key])
if test "x$with_support_public_key" != "x"; then
AC_DEFINE([ENABLE_SUPPORT_KEY],1,[Whether to enable support key])
@@ -481,9 +482,11 @@ if test "x$with_support_public_key" != "x"; then
echo -e "#ifndef INCLUDED_SUPPORT_PUBLIC_KEY_HPP\n#define INCLUDED_SUPPORT_PUBLIC_KEY_HPP\n#include <string>\nconst static std::string SUPPORT_PUBLIC_KEY(" > "${srcdir}/common/support-public-key.hpp"
sed 's/\(.*\)/"\1\\n"/' "$with_support_public_key" >> "${srcdir}/common/support-public-key.hpp"
echo -e ");\n#endif" >> "${srcdir}/common/support-public-key.hpp"
+ AC_MSG_RESULT([yes])
else
AC_DEFINE([ENABLE_SUPPORT_KEY],0,[Whether to enable support key])
rm -f "${srcdir}/common/support-public-key.hpp"
+ AC_MSG_RESULT([no])
fi
AC_SUBST(ENABLE_SUPPORT_KEY)
More information about the Libreoffice-commits
mailing list