]> Savannah Git Hosting - gnulib.git/commit
strerror_r-posix: port better to Android
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Sep 2021 16:45:46 +0000 (09:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 8 Sep 2021 16:46:43 +0000 (09:46 -0700)
commitd99c9622d55cd37084af00843e1feffc0a71fc62
treee136d018030125c814e4712100e121bbf5167001
parent48cfbe8a9e11681a36b53a1304b3ab554de4b350
strerror_r-posix: port better to Android

* m4/strerror_r.m4 (gl_FUNC_STRERROR_R): Move requirement of
gl_USE_SYSTEM_EXTENSIONS from here ...
(gl_FUNC_STRERROR_R_WORKS): ... to here, which is the macro that
actually needs it.  This avoids a bug where 'configure' tests
whether strerror_r has the POSIX API before enabling GNU
extensions.  On Android, enabling GNU extensions switches from the
POSIX to the GNU API.  Problem reported by Lucy Phipps in:
https://lists.gnu.org/r/bug-gnulib/2021-09/msg00026.html
ChangeLog
m4/strerror_r.m4