From: Gerhard Sittig Date: Sat, 18 Mar 2023 21:17:01 +0000 (+0100) Subject: configure.ac: put spaces around version operators in pkg-config requires X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=14bf3f27686cdda82f93386fae567e6672774c0e;p=libsigrok.git configure.ac: put spaces around version operators in pkg-config requires 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. --- diff --git a/configure.ac b/configure.ac index d57cc84d..ea386c0d 100644 --- a/configure.ac +++ b/configure.ac @@ -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)],