0002-fix-autoreconf.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. Remove use of AM_C_PROTOTYPES to fix autoreconf
  2. The AM_C_PROTOTYPES macro no longer exists since automake 1.12. It
  3. existed to support de-ANSI-fication of code using ansi2knr. It was
  4. simply removed from coreutils m4/jm-macros.m4 in commit
  5. 88873501cff9ed937edf969cedd693517ab0a293, but this change was not
  6. propagated to dc3dd, causing an autoreconf failure:
  7. configure.ac:45: error: automatic de-ANSI-fication support has been removed
  8. /home/peko/autobuild/instance-0/output/host/usr/share/aclocal-1.15/obsolete.m4:26: AM_C_PROTOTYPES is expanded from...
  9. m4/jm-macros.m4:124: gl_CHECK_ALL_TYPES is expanded from...
  10. m4/jm-macros.m4:22: coreutils_MACROS is expanded from...
  11. configure.ac:45: the top level
  12. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  13. Index: b/m4/jm-macros.m4
  14. ===================================================================
  15. --- a/m4/jm-macros.m4
  16. +++ b/m4/jm-macros.m4
  17. @@ -128,11 +128,6 @@
  18. dnl whether functions and headers are available, whether they work, etc.
  19. AC_REQUIRE([AC_SYS_LARGEFILE])
  20. - dnl This test must precede tests of compiler characteristics like
  21. - dnl that for the inline keyword, since it may change the degree to
  22. - dnl which the compiler supports such features.
  23. - AC_REQUIRE([AM_C_PROTOTYPES])
  24. -
  25. dnl Checks for typedefs, structures, and compiler characteristics.
  26. AC_REQUIRE([AC_C_BIGENDIAN])
  27. AC_REQUIRE([AC_C_VOLATILE])