[Libreoffice-commits] online.git: Branch 'distro/cib/libreoffice-6-2' - configure.ac

Samuel Mehrbrodt (via logerrit) logerrit at kemper.freedesktop.org
Fri Jun 21 13:55:45 UTC 2019


 configure.ac |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit c01fa39850a5f405691951ba36c0e13d5d00cec7
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: Fri Jun 21 15:54:29 2019 +0200

    Add some messages whether we are building with support key
    
    Change-Id: If41767c549e9e46b7f0a6f23fa5d819a946f9bdb
    (cherry picked from commit 4691d2b18a1e20e286672083eb9a57443c6f8ce3)

diff --git a/configure.ac b/configure.ac
index 381d88c47..7d70a3635 100644
--- a/configure.ac
+++ b/configure.ac
@@ -473,6 +473,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])
 
@@ -480,9 +481,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