diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-17 05:31:54 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-04-17 05:31:54 +0200 |
commit | 66a6c153d5db95eb0f35861269a7f5459f387e55 (patch) | |
tree | b525180b82d1edd3ff72a84f4e9c70498115e1d9 /mk | |
parent | c2fc0a3b9adbf657f7afce0f3f653c48dee84add (diff) |
add basic locale support to OpenADK
Diffstat (limited to 'mk')
-rw-r--r-- | mk/pkg-bottom.mk | 2 | ||||
-rw-r--r-- | mk/vars.mk | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk index 0735a8c14..954539764 100644 --- a/mk/pkg-bottom.mk +++ b/mk/pkg-bottom.mk @@ -82,11 +82,11 @@ else ifeq ($(strip ${CONFIG_STYLE}),) --libexecdir=/usr/libexec \ --localstatedir=/var \ --sysconfdir=/etc \ - --disable-nls \ --enable-shared \ --enable-static \ --disable-dependency-tracking \ --disable-libtool-lock \ + $(NLS) \ ${CONFIGURE_ARGS} $(MAKE_TRACE) else @echo "Invalid CONFIG_STYLE '${CONFIG_STYLE}'" >&2 diff --git a/mk/vars.mk b/mk/vars.mk index bb66a5e32..5dc08a7a9 100644 --- a/mk/vars.mk +++ b/mk/vars.mk @@ -209,4 +209,10 @@ ifeq ($(ADK_HOST_CYGWIN),y) EXEEXT:= .exe endif +ifeq ($(ADK_LOCALES),y) +NLS:= --enable-nls +else +NLS:= --disable-nls +endif + include $(TOPDIR)/mk/mirrors.mk |