Skip to content

Commit

Permalink
Merge pull request #1184 from mcuee/cmake_print_readline
Browse files Browse the repository at this point in the history
Print HAVE_LIBREADLINE status
  • Loading branch information
stefanrueger committed Nov 22, 2022
2 parents 9c30ccc + df4dcca commit ef824d4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 6 additions & 0 deletions src/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef824d4

Please sign in to comment.