emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master e6004ed30c1: Improve portability of pkg-config tests.


From: Po Lu
Subject: master e6004ed30c1: Improve portability of pkg-config tests.
Date: Tue, 25 Apr 2023 08:42:12 -0400 (EDT)

branch: master
commit e6004ed30c10947366f4c0f0722ad053e2904d4c
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]