1
0

001-compile.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --- a/src/auto/configure
  2. +++ b/src/auto/configure
  3. @@ -12294,37 +12294,8 @@ _ACEOF
  4. { $as_echo "$as_me:${as_lineno-$LINENO}: checking uint32_t is 32 bits" >&5
  5. $as_echo_n "checking uint32_t is 32 bits... " >&6; }
  6. -if test "$cross_compiling" = yes; then :
  7. - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot check uint32_t when cross-compiling." >&5
  8. -$as_echo "$as_me: WARNING: cannot check uint32_t when cross-compiling." >&2;}
  9. -else
  10. - cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11. -/* end confdefs.h. */
  12. -
  13. -#ifdef HAVE_STDINT_H
  14. -# include <stdint.h>
  15. -#endif
  16. -#ifdef HAVE_INTTYPES_H
  17. -# include <inttypes.h>
  18. -#endif
  19. -main() {
  20. - uint32_t nr1 = (uint32_t)-1;
  21. - uint32_t nr2 = (uint32_t)0xffffffffUL;
  22. - if (sizeof(uint32_t) != 4 || nr1 != 0xffffffffUL || nr2 + 1 != 0) exit(1);
  23. - exit(0);
  24. -}
  25. -_ACEOF
  26. -if ac_fn_c_try_run "$LINENO"; then :
  27. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  28. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming ok" >&5
  29. $as_echo "ok" >&6; }
  30. -else
  31. - as_fn_error "WRONG! uint32_t not defined correctly." "$LINENO" 5
  32. -fi
  33. -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  34. - conftest.$ac_objext conftest.beam conftest.$ac_ext
  35. -fi
  36. -
  37. -
  38. bcopy_test_prog='
  39. #include "confdefs.h"