Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation and Context
Issue #11413. Make the needed changes to support autoconf 2.70
which is now being rolled out to some distributions.
Description
Several m4 macros have been retired in autoconf 2.70. Update the
the build system to use the new macros provided to replace them.
Replaced AC_HELP_STRING with AS_HELP_STRING.
Replaced AC_TRY_COMPILE with AC_COMPILE_IFELSE/AC_LANG_PROGRAM.
Replaced AC_CANONICAL_SYSTEM with AC_CANONICAL_TARGET
Replaced AC_PROG_LIBTOOL with LT_INIT
$CPP is not defined in ZFS_AC_KERNEL and really shouldn't be
directly used like this. Replace it with an $AWK command
to extract the kernel source version.
How Has This Been Tested?
Installed
autoconf-2.70
on Fedora rawhide. Compiled successfully withthe patch applied.
Additionally verified the build using
autoconf-2.69-11
from CentOS 7 and Ubuntu 20.20.Types of changes
Checklist:
Signed-off-by
.