From e6004ed30c10947366f4c0f0722ad053e2904d4c Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 25 Apr 2023 20:41:05 +0800 Subject: [PATCH] Improve portability of pkg-config tests. * configure.ac: Fix problems found after pkg-config was installed on Solaris 10. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 118f31fae96..dd247e144f4 100644 --- a/configure.ac +++ b/configure.ac @@ -3773,7 +3773,7 @@ if test "${HAVE_X11}" = "yes"; then AC_DEFINE([HAVE_OTF_GET_VARIATION_GLYPHS], [1], [Define to 1 if libotf has OTF_get_variation_glyphs.]) fi - if ! $PKG_CONFIG --atleast-version=0.9.16 libotf; then + if $PKG_CONFIG --atleast-version=0.9.16 libotf; then :; else AC_DEFINE([HAVE_OTF_KANNADA_BUG], [1], [Define to 1 if libotf is affected by https://debbugs.gnu.org/28110.]) fi @@ -3881,7 +3881,7 @@ if test "${HAVE_BE_APP}" = "yes"; then AC_DEFINE([HAVE_OTF_GET_VARIATION_GLYPHS], [1], [Define to 1 if libotf has OTF_get_variation_glyphs.]) fi - if ! $PKG_CONFIG --atleast-version=0.9.16 libotf; then + if $PKG_CONFIG --atleast-version=0.9.16 libotf; then :; else AC_DEFINE([HAVE_OTF_KANNADA_BUG], [1], [Define to 1 if libotf is affected by https://debbugs.gnu.org/28110.]) fi -- 2.39.2