[Libreoffice-commits] online.git: configure.ac

Rene Engelhard rene at debian.org
Sun Mar 4 18:14:24 UTC 2018


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

New commits:
commit 593c3b15f87107a958c0e7383ae7bb0826fc8620
Author: Rene Engelhard <rene at debian.org>
Date:   Sat Mar 3 13:33:15 2018 +0100

    actually check for pam header and lib
    
    Change-Id: Iaed84c3b72c2540176c8a0ed8e1f13d7c5cadc44
    Reviewed-on: https://gerrit.libreoffice.org/50674
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/configure.ac b/configure.ac
index ceff12d40..fee51a265 100644
--- a/configure.ac
+++ b/configure.ac
@@ -341,6 +341,11 @@ fi
 
 AC_SUBST(ENABLE_SSL)
 
+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])])
+
 if test "x$with_support_public_key" != "x"; then
     AC_DEFINE([ENABLE_SUPPORT_KEY],1,[Whether to enable support key])
 


More information about the Libreoffice-commits mailing list