From: Chris Mayo Date: Tue, 13 May 2025 18:27:55 +0000 (+0100) Subject: configure: Fix bashism in _SR_DRIVER X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a31c56108c72ecc6160e7d4e0812eec7b5cca481;p=libsigrok.git configure: Fix bashism in _SR_DRIVER --- diff --git a/configure.ac b/configure.ac index 194559ed..d29865c7 100644 --- a/configure.ac +++ b/configure.ac @@ -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.])]) ])