From: Po Lu Date: Tue, 25 Apr 2023 12:41:05 +0000 (+0800) Subject: Improve portability of pkg-config tests. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6004ed30c10947366f4c0f0722ad053e2904d4c;p=emacs.git Improve portability of pkg-config tests. * configure.ac: Fix problems found after pkg-config was installed on Solaris 10. --- 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