From 7a5e6196a8c5fbb8f52c2ccc0d73a5842818b5c1 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 5 Nov 2024 02:55:37 +0100 Subject: Fix conditional compile for libreadline --- tools/irecovery.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tools/irecovery.c') diff --git a/tools/irecovery.c b/tools/irecovery.c index f527c44..b41573c 100644 --- a/tools/irecovery.c +++ b/tools/irecovery.c @@ -595,7 +595,11 @@ int main(int argc, char* argv[]) return 0; case 'V': - printf("%s %s\n", TOOL_NAME, PACKAGE_VERSION); + printf("%s %s", TOOL_NAME, PACKAGE_VERSION); +#ifdef HAVE_READLINE + printf(" (readline)"); +#endif + printf("\n"); return 0; default: -- cgit v1.1-32-gdbae