From ee54270cba91ec73e398234c02a62192d542c403 Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Thu, 19 Feb 2015 10:11:19 -0800 Subject: [PATCH] fcntl: Fix cross compiling * m4/fcntl.m4 (gl_FUNC_FCNTL): Assign the guessed result to the correct variable name (gl_cv_func_fcntl_f_dupfd_works). --- ChangeLog | 6 ++++++ m4/fcntl.m4 | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 53468afae26c..61bd393c5648 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-02-19 Kevin Cernekee + + fcntl: Fix cross compiling + * m4/fcntl.m4 (gl_FUNC_FCNTL): Assign the guessed result to the + correct variable name (gl_cv_func_fcntl_f_dupfd_works). + 2015-02-18 Paul Eggert dup2, fcntl: cross-compiler better for Android diff --git a/m4/fcntl.m4 b/m4/fcntl.m4 index 046ac5f7e966..218e78628ba0 100644 --- a/m4/fcntl.m4 +++ b/m4/fcntl.m4 @@ -53,8 +53,8 @@ AC_DEFUN([gl_FUNC_FCNTL], [gl_cv_func_fcntl_f_dupfd_works=no], [case $host_os in aix* | cygwin* | haiku*) - gl_cv_func_dup2_works="guessing no" ;; - *) gl_cv_func_dup2_works="guessing yes" ;; + gl_cv_func_fcntl_f_dupfd_works="guessing no" ;; + *) gl_cv_func_fcntl_f_dupfd_works="guessing yes" ;; esac])]) case $gl_cv_func_fcntl_f_dupfd_works in *yes) ;; -- 2.2.0.rc0.207.ga3a616c