aboutsummaryrefslogtreecommitdiffstats
path: root/config/user-libexec.m4
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2021-01-02 16:55:55 -0800
committerBrian Behlendorf <[email protected]>2021-01-05 10:33:55 -0800
commitfb7aa3c9b20ab2591c7063df036c0f07f3f76b1a (patch)
treeea88b56ee1c71f3fc9907f2eac0c59faedf7bc75 /config/user-libexec.m4
parent4016ad705bb45d4bc8b5884ac626e4b1c433e06a (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #11413 Closes #11419
Diffstat (limited to 'config/user-libexec.m4')
-rw-r--r--config/user-libexec.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/user-libexec.m4 b/config/user-libexec.m4
index 31bcea3fc..5379c25b4 100644
--- a/config/user-libexec.m4
+++ b/config/user-libexec.m4
@@ -1,6 +1,6 @@
AC_DEFUN([ZFS_AC_CONFIG_USER_ZFSEXEC], [
AC_ARG_WITH(zfsexecdir,
- AC_HELP_STRING([--with-zfsexecdir=DIR],
+ AS_HELP_STRING([--with-zfsexecdir=DIR],
[install scripts [[@<:@libexecdir@:>@/zfs]]]),
[zfsexecdir=$withval],
[zfsexecdir="${libexecdir}/zfs"])