File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -423,9 +423,9 @@ else()
423423endif ()
424424
425425if (HAVE_LIBHIDAPI)
426- message ( STATUS "DO HAVE libhidapi " )
426+ buildinfo_item( "libhidapi" "DO HAVE" )
427427else ()
428- message ( STATUS "DON'T HAVE libhidapi " )
428+ buildinfo_item( "libhidapi" "DON'T HAVE" )
429429endif ()
430430
431431if (HAVE_LIBFTDI)
Original file line number Diff line number Diff line change @@ -321,6 +321,12 @@ if test "x$have_libhidapi" = xyes; then
321321fi
322322AC_SUBST ( [ LIBHIDAPI] )
323323
324+ AS_VAR_IF ( [ have_libhidapi] , [ yes] , [ dnl
325+ BUILDINFO_ITEM([ libhidapi] , [ DO HAVE] )
326+ ] , [ dnl
327+ BUILDINFO_ITEM([ libhidapi] , [ DON'THAVE] )
328+ ] )
329+
324330AH_TEMPLATE ( [ HAVE_LIBSERIALPORT] ,
325331 [ Define if libserialport is found] )
326332AC_CHECK_LIB ( [ serialport] , [ sp_open] ,
@@ -778,12 +784,6 @@ else
778784 echo "DON'T HAVE libhid"
779785fi
780786
781- if test "x$have_libhidapi" = xyes; then
782- echo "DO HAVE libhidapi"
783- else
784- echo "DON'T HAVE libhidapi"
785- fi
786-
787787if test "x$have_libreadline" = xyes; then
788788 echo "DO HAVE libreadline"
789789else
You can’t perform that action at this time.
0 commit comments