-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Description
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_005fL
INK_005fFUNC-2135
Original issue reported on code.google.com by vapier@gmail.com on 27 Sep 2011 at 2:06