Merge pull request #1184 from mcuee/cmake_print_readline

Print HAVE_LIBREADLINE status
This commit is contained in:
Stefan Rueger 2022-11-22 01:18:56 +00:00 committed by GitHub
commit ef824d4d89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -361,6 +361,12 @@ else()
message(STATUS "DON'T HAVE libftdi1") message(STATUS "DON'T HAVE libftdi1")
endif() endif()
if(HAVE_LIBREADLINE)
message(STATUS "DO HAVE libreadline")
else()
message(STATUS "DON'T HAVE libreadline")
endif()
if(BUILD_DOC) if(BUILD_DOC)
message(STATUS "ENABLED doc") message(STATUS "ENABLED doc")
else() else()

View File

@ -577,6 +577,12 @@ else
echo "DON'T HAVE libhidapi" echo "DON'T HAVE libhidapi"
fi 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 if test x$have_pthread = xyes; then
echo "DO HAVE pthread" echo "DO HAVE pthread"
else else