[gcr/wip/smcv/cross-friendly-pkg-config: 2/2] configure: Run $PKG_CONFIG instead of hard-coding pkg-config



commit 9207548e8714591144b46e23c5128258b96a6da3
Author: Simon McVittie <smcv debian org>
Date:   Wed Sep 25 10:09:15 2019 +0100

    configure: Run $PKG_CONFIG instead of hard-coding pkg-config
    
    Signed-off-by: Simon McVittie <smcv debian org>

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index 17131ee..fb14215 100644
--- a/configure.ac
+++ b/configure.ac
@@ -312,7 +312,7 @@ if test "$enable_strict" = "yes"; then
        TEST_MODE="thorough"
        # HACK: Only set strict introspection if gir is greater than 1.39
        # https://bugzilla.gnome.org/show_bug.cgi?id=698367
-       case $(pkg-config --modversion gobject-introspection-1.0) in
+       case $($PKG_CONFIG --modversion gobject-introspection-1.0) in
        1.3[[45678]]*)
                INTROSPECTION_FLAGS=""
                ;;


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