]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blobdiff - configure.ac
mke2fs: the -d option can now handle tarball input
[thirdparty/e2fsprogs.git] / configure.ac
index 371e2bf1cfdc87a9e974dc0680693788c2dd631e..6ccbfc45aebf3100fd9fca158411519dc3d13a80 100644 (file)
@@ -1298,6 +1298,15 @@ if test "$ac_cv_func_dlopen" = yes ; then
 fi
 AC_SUBST(MAGIC_LIB)
 dnl
+dnl libarchive
+dnl
+AC_CHECK_LIB(archive, archive_read_new, [ARCHIVE_LIB=-larchive
+AC_CHECK_HEADERS([archive.h])])
+if test "$ac_cv_func_dlopen" = yes ; then
+   ARCHIVE_LIB=$DLOPEN_LIB
+fi
+AC_SUBST(ARCHIVE_LIB)
+dnl
 dnl Check to see if librt is required for clock_gettime() (glibc < 2.17)
 dnl
 AC_CHECK_LIB(rt, clock_gettime, [CLOCK_GETTIME_LIB=-lrt])