diff src/auto/configure @ 3216:a7517e84d9b8 v7.3.378

updated for version 7.3.378 Problem: When cross-compiling the check for uint32_t fails. Solution: Only give a warning message. (Maksim Melnikau)
author Bram Moolenaar <bram@vim.org>
date Wed, 14 Dec 2011 19:22:34 +0100
parents 4e9c5338f44c
children 6cc788692b2e
line wrap: on
line diff
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -11777,7 +11777,8 @@ cat >>confdefs.h <<_ACEOF
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking uint32_t is 32 bits" >&5
 $as_echo_n "checking uint32_t is 32 bits... " >&6; }
 if test "$cross_compiling" = yes; then :
-  as_fn_error "could not compile program using uint32_t." "$LINENO" 5
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot check uint32_t when cross-compiling." >&5
+$as_echo "$as_me: WARNING: cannot check uint32_t when cross-compiling." >&2;}
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */