]> sigrok.org Git - libsigrok.git/commitdiff
configure.ac: put spaces around version operators in pkg-config requires
authorGerhard Sittig <redacted>
Sat, 18 Mar 2023 21:17:01 +0000 (22:17 +0100)
committerGerhard Sittig <redacted>
Sat, 18 Mar 2023 21:20:37 +0000 (22:20 +0100)
Putting a library name and its version as one bare word on the Requires:
line without spaces around the operators makes application builds fail
because the library isn't found. This amends commit b0b139d914b9.

configure.ac

index d57cc84dcf75418ae667c4f29bdb92c7a8eb59f6..ea386c0d3270b7d2946a471fb60a528ecf56fe98 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)],