]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve portability of pkg-config tests.
authorPo Lu <luangruo@yahoo.com>
Tue, 25 Apr 2023 12:41:05 +0000 (20:41 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 25 Apr 2023 12:41:05 +0000 (20:41 +0800)
* configure.ac: Fix problems found after pkg-config was
installed on Solaris 10.

configure.ac

index 118f31fae96ad7730d8ed71661f2cd12e9b09ff5..dd247e144f4bab7cfd4736ca81dcb80c2260ced1 100644 (file)
@@ -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