]> git.ipfire.org Git - thirdparty/gettext.git/commit
libgettextpo: Don't rely on the undocumented variable libgettextpo_program_name.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2019 09:00:35 +0000 (11:00 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2019 09:00:35 +0000 (11:00 +0200)
commitfea6866673ff5892e49c25c1140656ec1531d05d
tree375de6c000208aaa42f3afe060e4309a4314fb85
parentddb31119021d763cf884d591e50adc7cd48a2cfd
libgettextpo: Don't rely on the undocumented variable libgettextpo_program_name.

* gnulib-local/lib/xerror.c: If IN_LIBGETTEXTPO is defined, include
getprogname.h instead of progname.h and define program_name as a macro.
* gnulib-local/lib/error-progname.c: Likewise.
* gettext-tools/src/po-xerror.c: Likewise.
* autogen.sh (GNULIB_MODULES_LIBGETTEXTPO): Remove progname.
Pass --avoid=progname to gnulib-tool invocation for libgettextpo.
autogen.sh
gettext-tools/src/po-xerror.c
gnulib-local/lib/error-progname.c
gnulib-local/lib/xerror.c