]> sigrok.org Git - libsigrok.git/commitdiff
configure: Fix bashism in _SR_DRIVER
authorChris Mayo <redacted>
Tue, 13 May 2025 18:27:55 +0000 (19:27 +0100)
committerSoeren Apel <redacted>
Sat, 8 Nov 2025 22:20:24 +0000 (23:20 +0100)
configure.ac

index 194559ed97b04949129a2bace47afcca440380c1..d29865c77806b813ac0a847ccd60c813672d6301 100644 (file)
@@ -301,7 +301,7 @@ m4_define([_SR_DRIVER], [
        ])], [sr_hw_info='no (disabled)'])
        sr_driver_summary_append "$2" "$sr_hw_info"
 
-       AM_CONDITIONAL([$3], [test "x[$]$3" = xyes || test "x[$]$3" == xcheck])
+       AM_CONDITIONAL([$3], [test "x[$]$3" = xyes || test "x[$]$3" = xcheck])
        AM_COND_IF([$3], [AC_DEFINE([HAVE_$3], [1], [Whether to support $1 device.]) AC_DEFINE([HAVE_DRIVERS], [1], [Whether at least one driver is enabled.])])
 ])