From c9357132fad3abdb2e2a0d2f34b8b4142b1b1838 Mon Sep 17 00:00:00 2001 From: mcuee Date: Sat, 19 Nov 2022 17:22:04 +0800 Subject: [PATCH 1/2] Print HAVE_LIBREADLINE status --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 400da29fe..1269650d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -361,6 +361,12 @@ else() message(STATUS "DON'T HAVE libftdi1") endif() +if(HAVE_LIBREADLINE) + message(STATUS "DO HAVE libreadline") +else() + message(STATUS "DON'T HAVE libreadline") +endif() + if(BUILD_DOC) message(STATUS "ENABLED doc") else() From df4dccabfc8d843d1fdb8d3d16b457498587f9eb Mon Sep 17 00:00:00 2001 From: mcuee Date: Sun, 20 Nov 2022 09:46:07 +0800 Subject: [PATCH 2/2] Update configure.ac to print libreadline status --- src/configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/configure.ac b/src/configure.ac index e6629c735..b06d568a8 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -577,6 +577,12 @@ else echo "DON'T HAVE libhidapi" fi +if test x$have_readline = xyes; then + echo "DO HAVE libreadline" +else + echo "DON'T HAVE libreadline" +fi + if test x$have_pthread = xyes; then echo "DO HAVE pthread" else