[grilo/fremantle] [core] Deoptified pkg_config_path installation
- From: Xabier Rodriguez Calvar <xrcalvar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo/fremantle] [core] Deoptified pkg_config_path installation
- Date: Mon, 26 Apr 2010 15:05:11 +0000 (UTC)
commit 4b521e677b750ed227a749ffebd9854c8fbd5b89
Author: Xabier Rodriguez Calvar <xrcalvar igalia com>
Date: Mon Apr 26 16:31:46 2010 +0200
[core] Deoptified pkg_config_path installation
Makefile.am | 2 +-
configure.ac | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0e28213..23fa90e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,7 +11,7 @@ if ENABLE_GTK_DOC
SUBDIRS += doc
endif
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = @PKG_CONFIG_LIBDIR@/pkgconfig
pkgconfig_DATA = grilo-0.1.pc
MAINTAINERCLEANFILES = \
diff --git a/configure.ac b/configure.ac
index c7ff42e..bd39ab0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,6 +52,9 @@ if test $prefix = "NONE" ; then
prefix="/usr/local"
fi
+PKG_CONFIG_LIBDIR="${prefix}/lib"
+AC_SUBST(PKG_CONFIG_LIBDIR)
+
if test $libdir = "\${exec_prefix}/lib" ; then
libdir="/opt/usr/lib"
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]