]> Savannah Git Hosting - gnulib.git/commit
dup2, fcntl: cross-compiler better for Android
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Feb 2015 07:20:55 +0000 (23:20 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Feb 2015 07:21:18 +0000 (23:21 -0800)
commitf9fa7159134175033aa9fd52488de9f12ef1f6ff
treecf643bab55a9c30719d922aa8e245a5741ebdfed
parent4ad02492559a3b95e0ab86d79dd0e0e611c0ac1d
dup2, fcntl: cross-compiler better for Android

Problem reported by Kevin Cernekee in:
http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00109.html
* m4/dup2.m4 (gl_FUNC_DUP2): Don't guess no when cross-compiling
for a Linux kernel.  That kernel bug was fixed on 2009-05-11, and
there's little need to cross-compile for older kernels nowadays.
* m4/fcntl.m4 (gl_FUNC_FCNTL): When cross-compiling, guess no only
for systems where the bug is known to occur (AIX, Cygwin, Haiku).
ChangeLog
m4/dup2.m4
m4/fcntl.m4