intl: always picify
authorNick Alcock <nick.alcock@oracle.com>
Tue, 2 Feb 2021 15:39:26 +0000 (15:39 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 10 Feb 2021 15:26:57 +0000 (15:26 +0000)
commit53d4244ec0ac70438d75abf3326cb3392bb9c828
tree4d9cbb3622894ee2f0419c74af424f0131363122
parentadda0248ed0f7a2245f53a79ef6dbc2093a1be22
intl: always picify

libintl is included in several shared libraries (at least
libinproctrace.so and libctf.so): unconditionally picify with code
borrowed from libiberty configure.  (It's not performance-critical, so
don't bother making separate PIC and non-PIC libraries like libiberty
does.)

intl/ChangeLog
2021-02-02  Nick Alcock  <nick.alcock@oracle.com>

* aclocal.m4: include picflag.m4.
* configure.ac (PICFLAG): Add and substitute.
* Makefile.in (PICFLAG): New.
(COMPILE): Use it.
* configure: Regenerate.
intl/ChangeLog
intl/Makefile.in
intl/aclocal.m4
intl/configure
intl/configure.ac