Re: FreeBSD capsicum / timezones

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Tue, 24 May 2022, Ed Maste wrote:

> On Mon, 23 May 2022 at 13:29, Bryan Drewery <bdrewery@xxxxxxxxxxx> wrote:
> >
> > > +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([no]) ]
> > > +)
> > > +
> >
> > I think something is missing here. There is no HAVE_CAPH_CACHE_TZDATA in
> > config.h.in.

I've commited this to master.

--- configure.ac.old	2022-05-23 11:03:38.055760761 -0700
+++ configure.ac	2022-05-24 10:12:14.310483685 -0700
@@ -514,7 +514,11 @@
 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]) ]
 )
 
> 
> Indeed, it works for me locally if I add
> "AC_DEFINE([HAVE_CAPH_CACHE_TZDATA], ..." to the "yes" case.


-- 
Tim Rice				Multitalents
tim@xxxxxxxxxxxxxxxx


_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux