]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Autoconf 2.70 compatibility
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 3 Jan 2021 00:55:55 +0000 (16:55 -0800)
committerGitHub <noreply@github.com>
Sun, 3 Jan 2021 00:55:55 +0000 (16:55 -0800)
commit06346cc5b50bef7327f7c901b92cbadab7fd7265
treed18e50babb1779061d8df8f507e5b87aa17b1600
parent4ba8c6b584dc23b2f2e11682ff06ed664f41107e
Autoconf 2.70 compatibility

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.

Reviewed-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #11413
Closes #11419
12 files changed:
config/always-python.m4
config/always-pyzfs.m4
config/kernel.m4
config/mount-helper.m4
config/user-dracut.m4
config/user-libexec.m4
config/user-makedev.m4
config/user-systemd.m4
config/user-sysvinit.m4
config/user-udev.m4
config/zfs-build.m4
configure.ac