FreeBSD capsicum / timezones
Tim Rice
tim at multitalents.net
Wed May 25 03:40:01 AEST 2022
On Tue, 24 May 2022, Ed Maste wrote:
> On Mon, 23 May 2022 at 13:29, Bryan Drewery <bdrewery at freebsd.org> 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 at multitalents.net
More information about the openssh-unix-dev
mailing list