]> sigrok.org Git - libsigrok.git/commitdiff
configure: quote argument to SR_APPEND
authorSven Wegener <redacted>
Sat, 31 Aug 2024 19:11:58 +0000 (21:11 +0200)
committerSoeren Apel <redacted>
Sat, 28 Sep 2024 21:17:09 +0000 (23:17 +0200)
./configure: line 19086: zlib: command not found

because of

sr_deps_avail=${sr_deps_avail}${sr_deps_avail:+' '}crc32 zlib

Signed-off-by: Sven Wegener <redacted>
configure.ac

index 5c30a8165f383484c07c0eab6210d085b7a376a7..096bcd69ee6b8db238e22e63fd9dfdc122bd0bdd 100644 (file)
@@ -99,7 +99,7 @@ SR_EXTRA_CXX_LIBS=
 SR_ARG_OPT_PKG([zlib], [ZLIB], , [zlib])
 AM_CONDITIONAL([HAVE_ZLIB], [test "x$sr_have_zlib" = xyes])
 AM_COND_IF([HAVE_ZLIB], [
-       SR_APPEND([sr_deps_avail], [crc32 zlib])
+       SR_APPEND([sr_deps_avail], ['crc32 zlib'])
        SR_PREPEND([SR_EXTRA_LIBS], [-lz])
 ])