This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8185

-- gerrit

commit 51640bb1c2bebf6b8d775575d8c4f33a539d0d0e
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Sun Mar 24 15:53:33 2024 +0100

    configure: prevent build of linuxgpiod with libgpiod v2
    
    The API in libgpiod v2 have changed, and current driver code for
    linuxgpiod does not build anymore.
    
    Prevent building the current driver linuxgpiod with the new
    library.
    
    Change-Id: Ie673db786dc50ae18a263d2c0a2b46b106866450
    Signed-off-by: Antonio Borneo <borneo.anto...@gmail.com>

diff --git a/configure.ac b/configure.ac
index c9cf0214e3..fd7b64d150 100644
--- a/configure.ac
+++ b/configure.ac
@@ -669,7 +669,7 @@ PKG_CHECK_MODULES([LIBFTDI], [libftdi1], [
        PKG_CHECK_MODULES([LIBFTDI], [libftdi], [use_libftdi=yes], 
[use_libftdi=no])
 ])
 
-PKG_CHECK_MODULES([LIBGPIOD], [libgpiod], [use_libgpiod=yes], 
[use_libgpiod=no])
+PKG_CHECK_MODULES([LIBGPIOD], [libgpiod < 2.0], [use_libgpiod=yes], 
[use_libgpiod=no])
 
 PKG_CHECK_MODULES([LIBJAYLINK], [libjaylink >= 0.2],
        [use_libjaylink=yes], [use_libjaylink=no])

-- 

Reply via email to