Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 25 by vapier: cross-compiling vim fails due to uint32_t check
http://code.google.com/p/vim/issues/detail?id=25

this bit of code in configure.in:
  AC_MSG_CHECKING([uint32_t is 32 bits])
  AC_TRY_RUN([...........],
  AC_MSG_RESULT(ok),
  AC_MSG_ERROR([WRONG!  uint32_t not defined correctly.]),
  AC_MSG_ERROR([could not compile program using uint32_t.]))

causes problems when cross-compiling in that it always fails. the fix is to change that last AC_MSG_ERROR() into an AC_MSG_WARN(). if you read the autoconf spec, you'll see that the last arg is for cross-compiling, not for when the compile fails.

a simple patch by Maksim Melnikau has been posted here:
https://bugs.gentoo.org/attachment.cgi?id=243615

http://www.gnu.org/software/autoconf/manual/autoconf.html#index-AC_005fTRY_005fLINK_005fFUNC-2135

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui