From: Kevin Cernekee Date: Thu, 19 Feb 2015 18:11:19 +0000 (-0800) Subject: fcntl: Fix cross compiling X-Git-Tag: v1.0~7135 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=119aeef6c7a304936ee00542ea32332cfaa48722;p=gnulib.git 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). --- diff --git a/ChangeLog b/ChangeLog index 53468afae2..61bd393c56 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 046ac5f7e9..218e78628b 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) ;;