autotools: improve configure summary regarding libgpiod

We cannot print the exact version we detected, but we
can give a hint about the "version class" at least.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
Michael Heimpold
2024-04-27 22:56:51 +02:00
parent ca65e84fb1
commit b6c15d783c

View File

@@ -758,11 +758,11 @@ fi
if test "x$enabled_linuxgpio" = xyes; then
echo "ENABLED linuxgpio"
if test "x$have_libgpiodv2" = xyes; then
echo "DO HAVE libgpiod (>=2.0)"
echo "DO HAVE libgpiod (>= 2.0)"
elif test "x$have_libgpiodv1_6" = xyes; then
echo "DO HAVE libgpiod (>=1.6)"
echo "DO HAVE libgpiod (>= 1.6 < 2.0)"
elif test "x$have_libgpiod" = xyes; then
echo "DO HAVE libgpiod"
echo "DO HAVE libgpiod (< 1.6)"
else
echo "DON'T HAVE libgpiod"
fi