]> git.proxmox.com Git - mirror_zfs.git/blobdiff - configure.ac
ZTS events_002: Improve speed and reliability
[mirror_zfs.git] / configure.ac
index 8d75b2ec8eaed11b4254d90c7910853472edcb0b..07f590b390bd44de32958487f8e82d66a306cce7 100644 (file)
@@ -36,7 +36,7 @@ AC_LANG(C)
 ZFS_AC_META
 AC_CONFIG_AUX_DIR([config])
 AC_CONFIG_MACRO_DIR([config])
-AC_CANONICAL_SYSTEM
+AC_CANONICAL_TARGET
 AM_MAINTAINER_MODE
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 AM_INIT_AUTOMAKE([subdir-objects])
@@ -45,9 +45,9 @@ AC_CONFIG_HEADERS([zfs_config.h], [
        awk -f ${ac_srcdir}/config/config.awk zfs_config.h.tmp >zfs_config.h &&
        rm zfs_config.h.tmp) || exit 1])
 
+LT_INIT
 AC_PROG_INSTALL
 AC_PROG_CC
-AC_PROG_LIBTOOL
 PKG_PROG_PKG_CONFIG
 AM_PROG_AS
 AM_PROG_CC_C_O
@@ -55,105 +55,74 @@ AX_CODE_COVERAGE
 _AM_PROG_TAR(pax)
 
 ZFS_AC_LICENSE
-ZFS_AC_PACKAGE
 ZFS_AC_CONFIG
+ZFS_AC_PACKAGE
 ZFS_AC_DEBUG
 ZFS_AC_DEBUGINFO
 ZFS_AC_DEBUG_KMEM
 ZFS_AC_DEBUG_KMEM_TRACKING
+ZFS_AC_DEBUG_INVARIANTS
 
 AC_CONFIG_FILES([
        Makefile
-       udev/Makefile
-       udev/rules.d/Makefile
-       etc/Makefile
-       etc/init.d/Makefile
-       etc/zfs/Makefile
-       etc/systemd/Makefile
-       etc/systemd/system/Makefile
-       etc/systemd/system-generators/Makefile
-       etc/sudoers.d/Makefile
-       etc/modules-load.d/Makefile
-       man/Makefile
-       man/man1/Makefile
-       man/man5/Makefile
-       man/man8/Makefile
-       lib/Makefile
-       lib/libspl/Makefile
-       lib/libspl/asm-generic/Makefile
-       lib/libspl/asm-i386/Makefile
-       lib/libspl/asm-x86_64/Makefile
-       lib/libspl/include/Makefile
-       lib/libspl/include/ia32/Makefile
-       lib/libspl/include/ia32/sys/Makefile
-       lib/libspl/include/os/Makefile
-       lib/libspl/include/os/linux/Makefile
-       lib/libspl/include/os/linux/sys/Makefile
-       lib/libspl/include/rpc/Makefile
-       lib/libspl/include/sys/Makefile
-       lib/libspl/include/sys/dktp/Makefile
-       lib/libspl/include/util/Makefile
-       lib/libavl/Makefile
-       lib/libefi/Makefile
-       lib/libicp/Makefile
-       lib/libnvpair/Makefile
-       lib/libzutil/Makefile
-       lib/libtpool/Makefile
-       lib/libunicode/Makefile
-       lib/libuutil/Makefile
-       lib/libzpool/Makefile
-       lib/libzfs/libzfs.pc
-       lib/libzfs/libzfs_core.pc
-       lib/libzfs/Makefile
-       lib/libzfs_core/Makefile
-       lib/libshare/Makefile
        cmd/Makefile
+       cmd/arc_summary/Makefile
+       cmd/arcstat/Makefile
+       cmd/dbufstat/Makefile
+       cmd/fsck_zfs/Makefile
+       cmd/mount_zfs/Makefile
+       cmd/raidz_test/Makefile
+       cmd/vdev_id/Makefile
        cmd/zdb/Makefile
-       cmd/zhack/Makefile
+       cmd/zed/Makefile
+       cmd/zed/zed.d/Makefile
        cmd/zfs/Makefile
+       cmd/zfs_ids_to_path/Makefile
+       cmd/zgenhostid/Makefile
+       cmd/zhack/Makefile
        cmd/zinject/Makefile
        cmd/zpool/Makefile
+       cmd/zstream/Makefile
        cmd/zstreamdump/Makefile
        cmd/ztest/Makefile
-       cmd/mount_zfs/Makefile
-       cmd/fsck_zfs/Makefile
        cmd/zvol_id/Makefile
-       cmd/vdev_id/Makefile
-       cmd/arcstat/Makefile
-       cmd/dbufstat/Makefile
-       cmd/arc_summary/Makefile
-       cmd/zed/Makefile
-       cmd/zed/zed.d/Makefile
-       cmd/raidz_test/Makefile
-       cmd/zgenhostid/Makefile
        cmd/zvol_wait/Makefile
+       cmd/zpool_influxdb/Makefile
        contrib/Makefile
        contrib/bash_completion.d/Makefile
-       contrib/dracut/Makefile
+       contrib/bpftrace/Makefile
        contrib/dracut/02zfsexpandknowledge/Makefile
        contrib/dracut/90zfs/Makefile
+       contrib/dracut/Makefile
        contrib/initramfs/Makefile
+       contrib/initramfs/conf.d/Makefile
+       contrib/initramfs/conf-hooks.d/Makefile
        contrib/initramfs/hooks/Makefile
        contrib/initramfs/scripts/Makefile
        contrib/initramfs/scripts/local-top/Makefile
+       contrib/pam_zfs_key/Makefile
        contrib/pyzfs/Makefile
        contrib/pyzfs/setup.py
        contrib/zcp/Makefile
-       module/Makefile
-       module/avl/Makefile
-       module/nvpair/Makefile
-       module/os/Makefile
-       module/os/linux/Makefile
-       module/os/linux/spl/Makefile
-       module/os/linux/zfs/Makefile
-       module/spl/Makefile
-       module/unicode/Makefile
-       module/zcommon/Makefile
-       module/zfs/Makefile
-       module/lua/Makefile
-       module/icp/Makefile
+       etc/Makefile
+       etc/default/Makefile
+       etc/init.d/Makefile
+       etc/modules-load.d/Makefile
+       etc/sudoers.d/Makefile
+       etc/systemd/Makefile
+       etc/systemd/system-generators/Makefile
+       etc/systemd/system/Makefile
+       etc/zfs/Makefile
        include/Makefile
        include/os/Makefile
+       include/os/freebsd/Makefile
+       include/os/freebsd/linux/Makefile
+       include/os/freebsd/spl/Makefile
+       include/os/freebsd/spl/acl/Makefile
+       include/os/freebsd/spl/rpc/Makefile
+       include/os/freebsd/spl/sys/Makefile
+       include/os/freebsd/zfs/Makefile
+       include/os/freebsd/zfs/sys/Makefile
        include/os/linux/Makefile
        include/os/linux/kernel/Makefile
        include/os/linux/kernel/linux/Makefile
@@ -163,25 +132,85 @@ AC_CONFIG_FILES([
        include/os/linux/zfs/Makefile
        include/os/linux/zfs/sys/Makefile
        include/sys/Makefile
-       include/sys/fs/Makefile
+       include/sys/crypto/Makefile
        include/sys/fm/Makefile
        include/sys/fm/fs/Makefile
-       include/sys/crypto/Makefile
-       include/sys/sysevent/Makefile
+       include/sys/fs/Makefile
        include/sys/lua/Makefile
+       include/sys/sysevent/Makefile
+       include/sys/zstd/Makefile
+       lib/Makefile
+       lib/libavl/Makefile
+       lib/libefi/Makefile
+       lib/libicp/Makefile
+       lib/libnvpair/Makefile
+       lib/libshare/Makefile
+       lib/libspl/Makefile
+       lib/libspl/include/Makefile
+       lib/libspl/include/ia32/Makefile
+       lib/libspl/include/ia32/sys/Makefile
+       lib/libspl/include/os/Makefile
+       lib/libspl/include/os/freebsd/Makefile
+       lib/libspl/include/os/freebsd/sys/Makefile
+       lib/libspl/include/os/linux/Makefile
+       lib/libspl/include/os/linux/sys/Makefile
+       lib/libspl/include/rpc/Makefile
+       lib/libspl/include/sys/Makefile
+       lib/libspl/include/sys/dktp/Makefile
+       lib/libspl/include/util/Makefile
+       lib/libtpool/Makefile
+       lib/libunicode/Makefile
+       lib/libuutil/Makefile
+       lib/libzfs/Makefile
+       lib/libzfs/libzfs.pc
+       lib/libzfsbootenv/Makefile
+       lib/libzfsbootenv/libzfsbootenv.pc
+       lib/libzfs_core/Makefile
+       lib/libzfs_core/libzfs_core.pc
+       lib/libzpool/Makefile
+       lib/libzstd/Makefile
+       lib/libzutil/Makefile
+       man/Makefile
+       man/man1/Makefile
+       man/man5/Makefile
+       man/man8/Makefile
+       module/Kbuild
+       module/Makefile
+       module/avl/Makefile
+       module/icp/Makefile
+       module/lua/Makefile
+       module/nvpair/Makefile
+       module/os/linux/spl/Makefile
+       module/os/linux/zfs/Makefile
+       module/spl/Makefile
+       module/unicode/Makefile
+       module/zcommon/Makefile
+       module/zfs/Makefile
+       module/zstd/Makefile
+       rpm/Makefile
+       rpm/generic/Makefile
+       rpm/generic/zfs-dkms.spec
+       rpm/generic/zfs-kmod.spec
+       rpm/generic/zfs.spec
+       rpm/redhat/Makefile
+       rpm/redhat/zfs-dkms.spec
+       rpm/redhat/zfs-kmod.spec
+       rpm/redhat/zfs.spec
        scripts/Makefile
        tests/Makefile
+       tests/runfiles/Makefile
        tests/test-runner/Makefile
        tests/test-runner/bin/Makefile
        tests/test-runner/include/Makefile
        tests/test-runner/man/Makefile
-       tests/runfiles/Makefile
        tests/zfs-tests/Makefile
        tests/zfs-tests/callbacks/Makefile
        tests/zfs-tests/cmd/Makefile
+       tests/zfs-tests/cmd/badsend/Makefile
+       tests/zfs-tests/cmd/btree_test/Makefile
        tests/zfs-tests/cmd/chg_usr_exec/Makefile
-       tests/zfs-tests/cmd/user_ns_exec/Makefile
        tests/zfs-tests/cmd/devname2devid/Makefile
+       tests/zfs-tests/cmd/draid/Makefile
        tests/zfs-tests/cmd/dir_rd_update/Makefile
        tests/zfs-tests/cmd/file_check/Makefile
        tests/zfs-tests/cmd/file_trunc/Makefile
@@ -202,28 +231,34 @@ AC_CONFIG_FILES([
        tests/zfs-tests/cmd/readmmap/Makefile
        tests/zfs-tests/cmd/rename_dir/Makefile
        tests/zfs-tests/cmd/rm_lnkcnt_zero_file/Makefile
+       tests/zfs-tests/cmd/send_doall/Makefile
+       tests/zfs-tests/cmd/stride_dd/Makefile
        tests/zfs-tests/cmd/threadsappend/Makefile
+       tests/zfs-tests/cmd/user_ns_exec/Makefile
        tests/zfs-tests/cmd/xattrtest/Makefile
-       tests/zfs-tests/cmd/stride_dd/Makefile
        tests/zfs-tests/include/Makefile
        tests/zfs-tests/tests/Makefile
        tests/zfs-tests/tests/functional/Makefile
        tests/zfs-tests/tests/functional/acl/Makefile
        tests/zfs-tests/tests/functional/acl/posix/Makefile
+       tests/zfs-tests/tests/functional/acl/posix-sa/Makefile
+       tests/zfs-tests/tests/functional/alloc_class/Makefile
        tests/zfs-tests/tests/functional/arc/Makefile
        tests/zfs-tests/tests/functional/atime/Makefile
        tests/zfs-tests/tests/functional/bootfs/Makefile
+       tests/zfs-tests/tests/functional/btree/Makefile
        tests/zfs-tests/tests/functional/cache/Makefile
        tests/zfs-tests/tests/functional/cachefile/Makefile
        tests/zfs-tests/tests/functional/casenorm/Makefile
-       tests/zfs-tests/tests/functional/checksum/Makefile
        tests/zfs-tests/tests/functional/channel_program/Makefile
        tests/zfs-tests/tests/functional/channel_program/lua_core/Makefile
        tests/zfs-tests/tests/functional/channel_program/synctask_core/Makefile
        tests/zfs-tests/tests/functional/chattr/Makefile
+       tests/zfs-tests/tests/functional/checksum/Makefile
        tests/zfs-tests/tests/functional/clean_mirror/Makefile
        tests/zfs-tests/tests/functional/cli_root/Makefile
        tests/zfs-tests/tests/functional/cli_root/zdb/Makefile
+       tests/zfs-tests/tests/functional/cli_root/zfs/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_bookmark/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_change-key/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_clone/Makefile
@@ -232,9 +267,10 @@ AC_CONFIG_FILES([
        tests/zfs-tests/tests/functional/cli_root/zfs_destroy/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_diff/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_get/Makefile
+       tests/zfs-tests/tests/functional/cli_root/zfs_ids_to_path/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_inherit/Makefile
+       tests/zfs-tests/tests/functional/cli_root/zfs_jail/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_load-key/Makefile
-       tests/zfs-tests/tests/functional/cli_root/zfs/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_mount/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_program/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_promote/Makefile
@@ -252,6 +288,8 @@ AC_CONFIG_FILES([
        tests/zfs-tests/tests/functional/cli_root/zfs_unmount/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_unshare/Makefile
        tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/Makefile
+       tests/zfs-tests/tests/functional/cli_root/zfs_wait/Makefile
+       tests/zfs-tests/tests/functional/cli_root/zpool/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_add/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_attach/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_clear/Makefile
@@ -267,13 +305,12 @@ AC_CONFIG_FILES([
        tests/zfs-tests/tests/functional/cli_root/zpool_import/blockfiles/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_initialize/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_labelclear/Makefile
-       tests/zfs-tests/tests/functional/cli_root/zpool/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_offline/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_online/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_remove/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_reopen/Makefile
-       tests/zfs-tests/tests/functional/cli_root/zpool_resilver/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_replace/Makefile
+       tests/zfs-tests/tests/functional/cli_root/zpool_resilver/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_scrub/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_set/Makefile
        tests/zfs-tests/tests/functional/cli_root/zpool_split/Makefile
@@ -298,21 +335,23 @@ AC_CONFIG_FILES([
        tests/zfs-tests/tests/functional/devices/Makefile
        tests/zfs-tests/tests/functional/events/Makefile
        tests/zfs-tests/tests/functional/exec/Makefile
+       tests/zfs-tests/tests/functional/fallocate/Makefile
        tests/zfs-tests/tests/functional/fault/Makefile
+       tests/zfs-tests/tests/functional/features/Makefile
        tests/zfs-tests/tests/functional/features/async_destroy/Makefile
        tests/zfs-tests/tests/functional/features/large_dnode/Makefile
-       tests/zfs-tests/tests/functional/features/Makefile
        tests/zfs-tests/tests/functional/grow/Makefile
        tests/zfs-tests/tests/functional/history/Makefile
        tests/zfs-tests/tests/functional/hkdf/Makefile
        tests/zfs-tests/tests/functional/inheritance/Makefile
        tests/zfs-tests/tests/functional/inuse/Makefile
        tests/zfs-tests/tests/functional/io/Makefile
+       tests/zfs-tests/tests/functional/l2arc/Makefile
        tests/zfs-tests/tests/functional/large_files/Makefile
        tests/zfs-tests/tests/functional/largest_pool/Makefile
-       tests/zfs-tests/tests/functional/link_count/Makefile
        tests/zfs-tests/tests/functional/libzfs/Makefile
        tests/zfs-tests/tests/functional/limits/Makefile
+       tests/zfs-tests/tests/functional/link_count/Makefile
        tests/zfs-tests/tests/functional/log_spacemap/Makefile
        tests/zfs-tests/tests/functional/migration/Makefile
        tests/zfs-tests/tests/functional/mmap/Makefile
@@ -323,8 +362,9 @@ AC_CONFIG_FILES([
        tests/zfs-tests/tests/functional/no_space/Makefile
        tests/zfs-tests/tests/functional/nopwrite/Makefile
        tests/zfs-tests/tests/functional/online_offline/Makefile
-       tests/zfs-tests/tests/functional/pool_names/Makefile
+       tests/zfs-tests/tests/functional/pam/Makefile
        tests/zfs-tests/tests/functional/pool_checkpoint/Makefile
+       tests/zfs-tests/tests/functional/pool_names/Makefile
        tests/zfs-tests/tests/functional/poolversion/Makefile
        tests/zfs-tests/tests/functional/privilege/Makefile
        tests/zfs-tests/tests/functional/procfs/Makefile
@@ -348,20 +388,20 @@ AC_CONFIG_FILES([
        tests/zfs-tests/tests/functional/snapused/Makefile
        tests/zfs-tests/tests/functional/sparse/Makefile
        tests/zfs-tests/tests/functional/suid/Makefile
-       tests/zfs-tests/tests/functional/alloc_class/Makefile
        tests/zfs-tests/tests/functional/threadsappend/Makefile
        tests/zfs-tests/tests/functional/tmpfile/Makefile
        tests/zfs-tests/tests/functional/trim/Makefile
        tests/zfs-tests/tests/functional/truncate/Makefile
+       tests/zfs-tests/tests/functional/upgrade/Makefile
        tests/zfs-tests/tests/functional/user_namespace/Makefile
        tests/zfs-tests/tests/functional/userquota/Makefile
-       tests/zfs-tests/tests/functional/upgrade/Makefile
        tests/zfs-tests/tests/functional/vdev_zaps/Makefile
        tests/zfs-tests/tests/functional/write_dirs/Makefile
        tests/zfs-tests/tests/functional/xattr/Makefile
+       tests/zfs-tests/tests/functional/zpool_influxdb/Makefile
        tests/zfs-tests/tests/functional/zvol/Makefile
-       tests/zfs-tests/tests/functional/zvol/zvol_cli/Makefile
        tests/zfs-tests/tests/functional/zvol/zvol_ENOSPC/Makefile
+       tests/zfs-tests/tests/functional/zvol/zvol_cli/Makefile
        tests/zfs-tests/tests/functional/zvol/zvol_misc/Makefile
        tests/zfs-tests/tests/functional/zvol/zvol_swap/Makefile
        tests/zfs-tests/tests/perf/Makefile
@@ -369,15 +409,8 @@ AC_CONFIG_FILES([
        tests/zfs-tests/tests/perf/regression/Makefile
        tests/zfs-tests/tests/perf/scripts/Makefile
        tests/zfs-tests/tests/stress/Makefile
-       rpm/Makefile
-       rpm/redhat/Makefile
-       rpm/redhat/zfs.spec
-       rpm/redhat/zfs-kmod.spec
-       rpm/redhat/zfs-dkms.spec
-       rpm/generic/Makefile
-       rpm/generic/zfs.spec
-       rpm/generic/zfs-kmod.spec
-       rpm/generic/zfs-dkms.spec
+       udev/Makefile
+       udev/rules.d/Makefile
        zfs.release
 ])