[openssh-commits] [openssh] 01/01: configure.ac: Add missing AC_DEFINE for caph_cache_tzdata test causing HAVE_CAPH_CACHE_TZDATA to be missing from config.h.in. Spotted by Bryan Drewery

git+noreply at mindrot.org git+noreply at mindrot.org
Wed May 25 03:30:05 AEST 2022


This is an automated email from the git hooks/post-receive script.

tim pushed a commit to branch master
in repository openssh.

commit 2487163630f28be28b7e2396b4bd6511b98f1d3e
Author: Tim Rice <tim at multitalents.net>
Date:   Tue May 24 10:21:25 2022 -0700

    configure.ac: Add missing AC_DEFINE for caph_cache_tzdata test causing
    HAVE_CAPH_CACHE_TZDATA to be missing from config.h.in.
    Spotted by Bryan Drewery
---
 configure.ac | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index f25a638e..e7459ee1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -514,7 +514,11 @@ AC_MSG_CHECKING([for caph_cache_tzdata])
 AC_LINK_IFELSE(
     [AC_LANG_PROGRAM([[ #include <capsicum_helpers.h> ]],
 	[[caph_cache_tzdata();]])],
-    [ AC_MSG_RESULT([yes]) ],
+    [
+	AC_MSG_RESULT([yes])
+	AC_DEFINE([HAVE_CAPH_CACHE_TZDATA], [1],
+	    [Define if you have caph_cache_tzdata])
+    ],
     [ AC_MSG_RESULT([no]) ]
 )
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list