From: Gerhard Sittig Date: Sat, 18 Mar 2023 16:10:11 +0000 (+0100) Subject: configure.ac: glibmm check, add quotes to version string X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=b0b139d914b93ef914c1cefe2b840328b0d8fbf1 configure.ac: glibmm check, add quotes to version string 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. --- diff --git a/configure.ac b/configure.ac index c8c51eb9..d57cc84d 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)],