[Wine-patches] [eterwine] configure: Use PKG_CONFIG variable.

Alexander Morozov amorozov на etersoft.ru
Пт Апр 1 19:22:18 MSD 2011


----------- следующая часть -----------
From 5892d35702d2a11966a4b6d4f012726c70320a91 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Fri, 1 Apr 2011 19:20:59 +0400
Subject: [eterwine] configure: Use PKG_CONFIG variable.

---
 configure    |    2 +-
 configure.ac |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 0a8c75e..9fffbb2 100755
--- a/configure
+++ b/configure
@@ -11298,7 +11298,7 @@ fi
 
 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
 then
-    ac_fontconfig_libs=`pkg-config --libs fontconfig`
+    ac_fontconfig_libs="`$PKG_CONFIG --libs fontconfig`"
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
 $as_echo_n "checking for -lfontconfig... " >&6; }
 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
diff --git a/configure.ac b/configure.ac
index 4889a00..6633b26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1557,7 +1557,7 @@ fi
 dnl **** Check for fontconfig ****
 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
 then
-    ac_fontconfig_libs=`pkg-config --libs fontconfig`
+    ac_fontconfig_libs="`$PKG_CONFIG --libs fontconfig`"
     WINE_CHECK_SONAME(fontconfig,FcInit)
     AC_SUBST(FONTCONFIGLIBS,"$ac_fontconfig_libs")
 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
-- 
1.7.4.2



Подробная информация о списке рассылки Wine-patches