]> git.ipfire.org Git - thirdparty/gettext.git/commit
color: Make color.c package-neutral.
authorBruno Haible <bruno@clisp.org>
Fri, 8 Feb 2019 19:29:07 +0000 (20:29 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 8 Feb 2019 19:29:07 +0000 (20:29 +0100)
commitc32906f11dae76442c21beeca330e80fb9999f97
tree33677acfce584a4ada0bc9022900bd52894ff5b3
parent8fd340b9873d6bc88911b34807374afe558e0315
color: Make color.c package-neutral.

* gettext-tools/src/color.h (style_file_prepare): Add arguments.
* gettext-tools/src/color.c: Don't include relocatable.h.
(style_file_lookup): Add stylesdir_after_install argument.
(style_file_prepare): Add arguments.
* gettext-tools/src/write-catalog.c: Include relocatable.h.
(GETTEXTSTYLESDIR): New macro.
(msgdomain_list_print): Update style_file_prepare calls.
* gettext-tools/tests/init-env.in (GETTEXTSTYLESDIR): New environment variable.
gettext-tools/src/color.c
gettext-tools/src/color.h
gettext-tools/src/write-catalog.c
gettext-tools/tests/init-env.in