File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -484,9 +484,9 @@ else()
484484endif ()
485485
486486if (HAVE_LINUXSPI)
487- message ( STATUS "ENABLED linuxspi " )
487+ buildinfo_item( "linuxspi" "ENABLED" )
488488else ()
489- message ( STATUS "DISABLED linuxspi " )
489+ buildinfo_item( "linuxspi" "DISABLED" )
490490endif ()
491491
492492if (HAVE_SWIG)
Original file line number Diff line number Diff line change @@ -645,6 +645,12 @@ else
645645 confsubst="$confsubst -e /^@HAVE_LINUXSPI_BEGIN@/,/^@HAVE_LINUXSPI_END@/d"
646646fi
647647
648+ AS_VAR_IF ( [ enabled_linuxspi] , [ yes] , [ dnl
649+ BUILDINFO_ITEM([ linuxspi] , [ ENABLED] )
650+ ] , [ dnl
651+ BUILDINFO_ITEM([ linuxspi] , [ DISABLED] )
652+ ] )
653+
648654
649655# If we are compiling with gcc, enable all warnings and make warnings errors.
650656ENABLE_WARNINGS=""
@@ -828,10 +834,3 @@ if test "x$enabled_linuxgpio" = xyes; then
828834else
829835 echo "DISABLED linuxgpio"
830836fi
831-
832- if test "x$enabled_linuxspi" = xyes; then
833- echo "ENABLED linuxspi"
834- else
835- echo "DISABLED linuxspi"
836- fi
837-
You can’t perform that action at this time.
0 commit comments