Skip to content

Remove obsolete AC_HEADER_STDC autoconf macro

Vadim Zeitlin requested to merge _VZ_/libxslt:autoconf-remove-header_stdc into master

It does nothing useful since a long time any more and just triggers warnings from autoconf 2.71 and later.


Just a trivial change to avoid warnings like this from autogen.sh:

configure.ac:123: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:123: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:123: the top level

Note that there are still

libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

remaining, but I'm not sure if the maintainers really want to add m4 directory (I suspect that if they did, they would have already done it?), so I didn't follow this advice.

Merge request reports