diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-01-12 06:30:28 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-01-13 11:38:27 +0100 |
commit | 6d680a93d1a2b1921d3b0b45e94f396d23a96f7b (patch) | |
tree | c945b72049f5b972bf16f39ab735ffb8b0f5b5ba /configure.ac | |
parent | 7e44447c4a4652c2238458c1e4d84162ee584d71 (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.ac | 4 |
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) |