]> Savannah Git Hosting - gnulib.git/commitdiff
fcntl: Fix cross compiling
authorKevin Cernekee <cernekee@google.com>
Thu, 19 Feb 2015 18:11:19 +0000 (10:11 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Feb 2015 23:04:47 +0000 (15:04 -0800)
* m4/fcntl.m4 (gl_FUNC_FCNTL): Assign the guessed result to the
correct variable name (gl_cv_func_fcntl_f_dupfd_works).

ChangeLog
m4/fcntl.m4

index 53468afae26c3d5e199288e5e87ebe398c51dc05..61bd393c5648dfb121d0992852596d9ec8ce8822 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-19  Kevin Cernekee  <cernekee@google.com>
+
+       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  <eggert@cs.ucla.edu>
 
        dup2, fcntl: cross-compiler better for Android
index 046ac5f7e966702667a6955e52ff5114cf054590..218e78628ba059c91eb4969544c413ed7809f671 100644 (file)
@@ -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) ;;