This is an automated email from Gerrit.

"R. Diez <rdiez-2...@rd10.de>" just uploaded a new patch set to Gerrit, which 
you can find at https://review.openocd.org/c/openocd/+/9004

-- gerrit

commit d241863384afc85927505fa28a31506e55dd7522
Author: R. Diez <rdiez-2...@rd10.de>
Date:   Sun Jul 20 12:12:36 2025 +0200

    configure.ac: Turn parpoart-ppdev/-giveio warnings into errors.
    
    Otherwise, it is easy to miss configuration errors.
    
    Change-Id: I889d2c1cc0150f4d7f178daf4509f7943ebfd4de
    Signed-off-by: R. Diez <rdiez-2...@rd10.de>

diff --git a/configure.ac b/configure.ac
index 7ce412f57c..a1b18f4bc1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -410,9 +410,8 @@ AS_CASE(["${host_cpu}"],
   [i?86|x86*], [],
   [
     AS_IF([test "x$parport_use_ppdev" = "xno"], [
-      AC_MSG_WARN([--disable-parport-ppdev is not supported by the host CPU])
+      AC_MSG_ERROR([--disable-parport-ppdev is not supported by the host CPU])
     ])
-    parport_use_ppdev=yes
 ])
 
 can_build_buspirate=yes
@@ -426,9 +425,8 @@ AS_CASE([$host_os],
       [is_mingw=yes],[is_mingw=no])
     AS_IF([test "x$is_mingw" = "xyes"], [
       AS_IF([test "x$parport_use_giveio" = "xno"], [
-        AC_MSG_WARN([--disable-parport-giveio is not supported by MinGW32 
hosts])
+        AC_MSG_ERROR([--disable-parport-giveio is not supported by MinGW32 
hosts])
       ])
-      parport_use_giveio=yes
       is_cygwin=no
     ], [
       is_cygwin=yes
@@ -444,9 +442,8 @@ AS_CASE([$host_os],
     parport_use_ppdev=no
 
     AS_IF([test "x$parport_use_giveio" = "xno"], [
-      AC_MSG_WARN([--disable-parport-giveio is not supported by MinGW32 hosts])
+      AC_MSG_ERROR([--disable-parport-giveio is not supported by MinGW32 
hosts])
     ])
-    parport_use_giveio=yes
 
     AS_IF([test "x$ADAPTER_VAR([buspirate])" = "xyes"], [
       AC_MSG_ERROR([The Bus Pirate adapter is currently not supported by 
MinGW32 hosts.])
@@ -461,15 +458,13 @@ AS_CASE([$host_os],
     is_darwin=yes
 
     AS_IF([test "x$parport_use_giveio" = "xyes"], [
-      AC_MSG_WARN([--enable-parport-giveio cannot be used by Darwin hosts])
+      AC_MSG_ERROR([--enable-parport-giveio cannot be used by Darwin hosts])
     ])
-    parport_use_giveio=no
   ],
   [
     AS_IF([test "x$parport_use_giveio" = "xyes"], [
-      AC_MSG_WARN([--enable-parport-giveio cannot be used by ]$host[ hosts])
+      AC_MSG_ERROR([--enable-parport-giveio cannot be used by ]$host[ hosts])
     ])
-    parport_use_giveio=no
 ])
 
 AS_IF([test "x$is_cygwin" = "xyes"], [

-- 

Reply via email to