]> git.ipfire.org Git - thirdparty/gettext.git/commit
Fix 'ar' invocation when cross-compiling and in 64-bit mode on AIX.
authorBruno Haible <bruno@clisp.org>
Tue, 2 Jan 2018 18:38:43 +0000 (19:38 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 2 Jan 2018 18:38:43 +0000 (19:38 +0100)
commitd527cb6e70d82d109c08c331238e63dfa9c36a77
tree04adb7dcd37a5acd277413c57811b359aa733720
parent7913e33dd19b1a3effeed58d6c83cf723def2113
Fix 'ar' invocation when cross-compiling and in 64-bit mode on AIX.

Reported by Benedikt Morbach <bmorbach@redhat.com>
at <https://savannah.gnu.org/bugs/?43037>.

* gettext-runtime/m4/intl.m4 (AM_INTL_SUBDIR): Require gl_PROG_AR_RANLIB if
available. Otherwise, use AC_PROG_RANLIB and set AR and ARFLAGS.
* gettext-runtime/intl/Makefile.in (AR): Use the value determined through
autoconf.
(ARFLAGS): New variable.
(libintl.a, libgnuintl.a): Use it.
* gettext-runtime/configure.ac: Invoke gl_PROG_AR_RANLIB.
* gettext-runtime/libasprintf/configure.ac: Likewise.
* gettext-tools/configure.ac: Likewise.
gettext-runtime/configure.ac
gettext-runtime/intl/Makefile.in
gettext-runtime/libasprintf/configure.ac
gettext-runtime/m4/intl.m4
gettext-tools/configure.ac