Whamcloud - gitweb
configure: add --without-libarchive option
authorTheodore Ts'o <tytso@mit.edu>
Mon, 29 Apr 2024 05:23:29 +0000 (01:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 29 Apr 2024 05:23:29 +0000 (01:23 -0400)
commit7272a9724468622129978507c70efc68769aaf9f
treedb89af79e7206cbd5d8804750fdd6548f292d220
parent1da249a125cb2ae138a6dd1d262754e2b4d45175
configure: add --without-libarchive option

Teach configure the --without-libarchive option, which forcibly
disables use of the libarchive library.

The option --with-libarchive=direct will disable the use of dlopen,
and will link mke2fs with -larchive directly.  This doesn't work when
building mke2f.static, since -larchive has a large number of
depedencies, and even "pkgconf --libs --static libarchive" doesn't
provide all of the appropriate library dependencies.  :-(

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
configure
configure.ac
lib/config.h.in
misc/Makefile.in
misc/create_inode_libarchive.c