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