]> sigrok.org Git - libsigrok.git/commitdiff
configure: Make dependency error message more explicit
authorSoeren Apel <redacted>
Sat, 19 Oct 2024 11:00:31 +0000 (13:00 +0200)
committerSoeren Apel <redacted>
Sat, 19 Oct 2024 11:01:14 +0000 (13:01 +0200)
configure.ac

index b282a5fb0c5d89e144a2d8aa8fd4faa266e2e998..f846fcdc12171bb487596bf92e398d197a6b74dc 100644 (file)
@@ -294,7 +294,7 @@ m4_define([_SR_DRIVER], [
                [sr_hw_info=yes[]m4_ifval([$4], [
                sr_check_driver_deps $4 \
                        || if test "x[$]$3" != xcheck; then
-                               AC_MSG_ERROR([driver $2 is enabled, but deps are missing: $sr_deps_missing])
+                               AC_MSG_ERROR([driver $2 is enabled, but these deps are missing: $sr_deps_missing. Either install the dependency or disable the driver with --disable-$2.])
                        else
                                $3=no sr_hw_info="no (missing: $sr_deps_missing)"
                        fi;