[goobox] configure: use ${PKG_CONFIG} instead of pkg-config
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goobox] configure: use ${PKG_CONFIG} instead of pkg-config
- Date: Tue, 22 Sep 2015 15:28:24 +0000 (UTC)
commit 89ed11d4a248a96a7dc4758b78df9773ed1d079e
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Sep 22 17:26:35 2015 +0200
configure: use ${PKG_CONFIG} instead of pkg-config
configure.ac | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 09834bf..a3e06e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -122,9 +122,9 @@ LIBCOVERART_CFLAGS=""
if test x"$enable_libcoverart" = xyes; then
AC_MSG_CHECKING(for libcoverart support)
- if pkg-config --atleast-version=$LIBCOVERART_REQUIRED libcoverart; then
- LIBCOVERART_LIBS=`pkg-config --libs libcoverart`
- LIBCOVERART_CFLAGS=`pkg-config --cflags libcoverart`
+ if ${PKG_CONFIG} --atleast-version=$LIBCOVERART_REQUIRED libcoverart; then
+ LIBCOVERART_LIBS=`${PKG_CONFIG} --libs libcoverart`
+ LIBCOVERART_CFLAGS=`${PKG_CONFIG} --cflags libcoverart`
AC_DEFINE(HAVE_LIBCOVERART, 1, [Have libcoverart])
else
enable_libcoverart=no
@@ -146,9 +146,9 @@ LIBNOTIFY_CFLAGS=""
if test x"$enable_notification" = xyes; then
AC_MSG_CHECKING(for notification support)
- if pkg-config --atleast-version=$LIBNOTIFY_REQUIRED libnotify; then
- LIBNOTIFY_LIBS=`pkg-config --libs libnotify`
- LIBNOTIFY_CFLAGS=`pkg-config --cflags libnotify`
+ if ${PKG_CONFIG} --atleast-version=$LIBNOTIFY_REQUIRED libnotify; then
+ LIBNOTIFY_LIBS=`${PKG_CONFIG} --libs libnotify`
+ LIBNOTIFY_CFLAGS=`${PKG_CONFIG} --cflags libnotify`
AC_DEFINE(ENABLE_NOTIFICATION, 1, [Have libnotify])
else
enable_notification=no
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]