tech-pkg archive

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

Re: How to find out whether built-in skey is used or not?



On Thu, 10 May 2012 04:28:22 +0900, Georg Schwarz 
<georg.schwarz%freenet.de@localhost> wrote:

So far, the following way of distinguishing whether or not the built-in skey is 
used worked fine:


. include "../../security/skey/buildlink3.mk"
. if (defined(IS_BUILTIN.skey) && ${IS_BUILTIN.skey} == no )
...[ code A]...
. else
...[ code B]...
. endif

like a followings:

CHECK_BUILTIN.skey:=yes
.include "../../security/skey/builtin.mk"
CHECK_BUILTIN.skey:=no
.if !empty(USE_BUILTIN.skey:M[yY][eE][sS])
...[ code A]...
.else
...[ code B]...
.endif

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index