1
0
forked from aniani/vim

updated for version 7.3.378

Problem:    When cross-compiling the check for uint32_t fails.
Solution:   Only give a warning message. (Maksim Melnikau)
This commit is contained in:
Bram Moolenaar
2011-12-14 19:22:34 +01:00
parent d6e256c31a
commit 323cb95120
3 changed files with 5 additions and 2 deletions

3
src/auto/configure vendored
View File

@@ -11777,7 +11777,8 @@ _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. */

View File

@@ -3283,7 +3283,7 @@ main() {
}],
AC_MSG_RESULT(ok),
AC_MSG_ERROR([WRONG! uint32_t not defined correctly.]),
AC_MSG_ERROR([could not compile program using uint32_t.]))
AC_MSG_WARN([cannot check uint32_t when cross-compiling.]))
dnl Check for memmove() before bcopy(), makes memmove() be used when both are
dnl present, fixes problem with incompatibility between Solaris 2.4 and 2.5.

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
378,
/**/
377,
/**/