]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blobdiff - configure.ac
xfsprogs: Release v4.17.0
[thirdparty/xfsprogs-dev.git] / configure.ac
index 686bf789bdffc1ad1646b5a65b184820f2147fb1..825d72454bfcf45a3546f4f0abc3e26d2216acbd 100644 (file)
@@ -1,4 +1,4 @@
-AC_INIT([xfsprogs], [4.15.1], [linux-xfs@vger.kernel.org])
+AC_INIT([xfsprogs], [4.17.0], [linux-xfs@vger.kernel.org])
 AC_PREREQ(2.50)
 AC_CONFIG_AUX_DIR([.])
 AC_CONFIG_MACRO_DIR([m4])
@@ -95,6 +95,11 @@ AC_ARG_ENABLE(lto,
        enable_lto=probe)
 AC_SUBST(enable_lto)
 
+# Enable libicu for xfs_scrubbing of malicious unicode sequences in names
+AC_ARG_ENABLE(libicu,
+[ --enable-libicu=[yes/no]   Enable Unicode name scanning (libicu) [default=probe]],,
+       enable_libicu=probe)
+
 #
 # If the user specified a libdir ending in lib64 do not append another
 # 64 to the library names.
@@ -173,8 +178,12 @@ AC_HAVE_DEVMAPPER
 AC_HAVE_MALLINFO
 AC_PACKAGE_WANT_ATTRIBUTES_H
 AC_HAVE_LIBATTR
-AC_PACKAGE_WANT_UNINORM_H
-AC_HAVE_U8NORMALIZE
+if test "$enable_libicu" = "yes" || test "$enable_libicu" = "probe"; then
+       AC_HAVE_LIBICU
+fi
+if test "$enable_libicu" = "yes" && test "$have_libicu" != "yes"; then
+        AC_MSG_ERROR([libicu not found.])
+fi
 AC_HAVE_OPENAT
 AC_HAVE_FSTATAT
 AC_HAVE_SG_IO