Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / spidermonkey / options.mk
blob703874a0d922983e61cb797df48d38b63582ebc2
1 # $NetBSD: options.mk,v 1.1 2010/12/23 12:36:01 fhajny Exp $
3 PKG_OPTIONS_VAR= PKG_OPTIONS.spidermonkey
4 PKG_SUPPORTED_OPTIONS= threads unicode
5 PKG_SUGGESTED_OPTIONS= # empty
7 .include "../../mk/bsd.options.mk"
9 ###
10 ### Threads support
11 ###
12 .if !empty(PKG_OPTIONS:Mthreads)
13 PTHREAD_AUTO_VARS= yes
14 CFLAGS+= -DJS_THREADSAFE
15 .include "../../devel/nspr/buildlink3.mk"
16 .include "../../mk/pthread.buildlink3.mk"
17 .endif
19 ###
20 ### UTF8 string support
21 ###
22 .if !empty(PKG_OPTIONS:Municode)
23 CFLAGS+= -DJS_C_STRINGS_ARE_UTF8
24 .endif