On 11/09/2011 05:39 PM, Bruno Haible wrote:
Also, a minor nit: When I see configure output like

   checking whether fstatat (..., 0) works... cross-compiling

I wonder: does that count as a "yes" or as a "no"?

Here's a proposed followup patch:
@@ -36,16 +37,23 @@
              ]])],
           [gl_cv_func_fstatat_zero_flag=yes],
           [gl_cv_func_fstatat_zero_flag=no],
-         [gl_cv_func_fstatat_zero_flag=cross-compiling])])
+         [case "$host_os" in
+            linux*) gl_cv_func_fstatat_zero_flag="guessing yes";;
+            *)      gl_cv_func_fstatat_zero_flag="guessing no";;
+          esac

I like it, except that we also ought to guess yes on cygwin 1.7 and on Solaris 10 and newer, which we also know work.

--
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to