summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-12 06:30:28 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-01-13 11:38:27 +0100
commit6d680a93d1a2b1921d3b0b45e94f396d23a96f7b (patch)
treec945b72049f5b972bf16f39ab735ffb8b0f5b5ba /configure.ac
parent7e44447c4a4652c2238458c1e4d84162ee584d71 (diff)
Add readline based sqfsbrowse demo
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e5d0a5c..e3c0998 100644
--- a/configure.ac
+++ b/configure.ac
@@ -223,6 +223,10 @@ AM_COND_IF([WITH_XZ], [libsqfs_dep_mod="$libsqfs_dep_mod liblzma >= 5.0.0"], [])
AM_COND_IF([WITH_ZSTD], [libsqfs_dep_mod="$libsqfs_dep_mod libzstd"], [])
AC_SUBST([LIBSQFS_DEP_MOD], ["$libsqfs_dep_mod"])
+PKG_CHECK_MODULES(READLINE, [readline], [have_readline="yes"],
+ [have_readline="no"])
+AM_CONDITIONAL([WITH_READLINE], [test "x$have_readline" = "xyes"])
+
##### additional checks #####
AX_COMPILE_CHECK_SIZEOF(time_t)
AX_COMPILE_CHECK_SIZEOF(size_t)