aboutsummaryrefslogtreecommitdiff
path: root/libarchive/config_freebsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/config_freebsd.h')
-rw-r--r--libarchive/config_freebsd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libarchive/config_freebsd.h b/libarchive/config_freebsd.h
index ac651f00e7ef..758621c4b68f 100644
--- a/libarchive/config_freebsd.h
+++ b/libarchive/config_freebsd.h
@@ -236,6 +236,14 @@
#define HAVE_ZLIB_H 1
#define TIME_WITH_SYS_TIME 1
+#if __FreeBSD_version >= 800505
+#define HAVE_LIBLZMA 1
+#define HAVE_LZMA_H 1
+#if __FreeBSD_version >= 1002504
+#define HAVE_LZMA_STREAM_ENCODER_MT 1
+#endif
+#endif
+
#if __FreeBSD_version >= 1100056
#define HAVE_FUTIMENS 1
#define HAVE_UTIMENSAT 1