]> sigrok.org Git - libsigrok.git/commitdiff
configure.ac: glibmm check, add quotes to version string
authorGerhard Sittig <redacted>
Sat, 18 Mar 2023 16:10:11 +0000 (17:10 +0100)
committerGerhard Sittig <redacted>
Sat, 18 Mar 2023 17:09:49 +0000 (18:09 +0100)
Add quotes where glibmm version requirements are concatenated while the
strings contain ">=" relational operators. Avoid processing incomplete
text, and the creation of undesired files in the build output. Amends
commit ee9e086f1d6c.

configure.ac

index c8c51eb9486a345a1e3fa9db656d01a492e9fd66..d57cc84dcf75418ae667c4f29bdb92c7a8eb59f6 100644 (file)
@@ -428,12 +428,12 @@ sr_have_glibmm=no
 AS_IF([test "x$sr_have_glibmm" != xyes],
        [SR_PKG_CHECK([glibmm24], [SR_PKGLIBS_CXX], [glibmm-2.4 >= 2.32.0])])
 AS_IF([test "x$sr_have_glibmm24" = xyes],
-       [SR_APPEND([SR_GLIBMM_REQUIRES], [glibmm-2.4>=2.32.0])
+       [SR_APPEND([SR_GLIBMM_REQUIRES], ['glibmm-2.4>=2.32.0'])
        sr_have_glibmm=yes])
 AS_IF([test "x$sr_have_glibmm" != xyes],
        [SR_PKG_CHECK([glibmm268], [SR_PKGLIBS_CXX], [glibmm-2.68 >= 2.68.0])])
 AS_IF([test "x$sr_have_glibmm268" = xyes],
-       [SR_APPEND([SR_GLIBMM_REQUIRES], [glibmm-2.68>=2.68.0])
+       [SR_APPEND([SR_GLIBMM_REQUIRES], ['glibmm-2.68>=2.68.0'])
        sr_have_glibmm=yes])
 AS_IF([test "x$sr_have_glibmm" = xyes],
        [AC_SUBST(SR_GLIBMM_REQUIRES)],