Skip to content

Commit

Permalink
Move messages for linuxspi
Browse files Browse the repository at this point in the history
  • Loading branch information
ndim committed Nov 27, 2024
1 parent 6d1006e commit eb6737e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -484,9 +484,9 @@ else()
endif()

if(HAVE_LINUXSPI)
message(STATUS "ENABLED linuxspi")
buildinfo_item("linuxspi" "ENABLED")
else()
message(STATUS "DISABLED linuxspi")
buildinfo_item("linuxspi" "DISABLED")
endif()

if(HAVE_SWIG)
Expand Down
13 changes: 6 additions & 7 deletions src/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,12 @@ else
confsubst="$confsubst -e /^@HAVE_LINUXSPI_BEGIN@/,/^@HAVE_LINUXSPI_END@/d"
fi

AS_VAR_IF([enabled_linuxspi], [yes], [dnl
BUILDINFO_ITEM([linuxspi], [ENABLED])
], [dnl
BUILDINFO_ITEM([linuxspi], [DISABLED])
])


# If we are compiling with gcc, enable all warnings and make warnings errors.
ENABLE_WARNINGS=""
Expand Down Expand Up @@ -828,10 +834,3 @@ if test "x$enabled_linuxgpio" = xyes; then
else
echo "DISABLED linuxgpio"
fi

if test "x$enabled_linuxspi" = xyes; then
echo "ENABLED linuxspi"
else
echo "DISABLED linuxspi"
fi

0 comments on commit eb6737e

Please sign in to comment.