configure.ac: Turn parpoart-ppdev warning into an error.

Otherwise, it is easy to miss that configuration error.

Change-Id: I889d2c1cc0150f4d7f178daf4509f7943ebfd4de
Signed-off-by: R. Diez <rdiez-2006@rd10.de>

Reviewed-on: https://review.openocd.org/c/openocd/+/9004
Tested-by: jenkins
Reviewed-by: zapb <dev@zapb.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
R. Diez
2025-07-20 12:12:36 +02:00
committed by Antonio Borneo
parent bf8590ea65
commit 0d42f6a1b4

View File

@@ -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