[gtksourceview] build: call PKG_PROG_PKG_CONFIG and PKG_INSTALLDIR
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] build: call PKG_PROG_PKG_CONFIG and PKG_INSTALLDIR
- Date: Sun, 30 Aug 2015 12:52:37 +0000 (UTC)
commit c26d9642fe9ad5322ed2e0bb2d9e12bb085317b6
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Aug 30 14:16:03 2015 +0200
build: call PKG_PROG_PKG_CONFIG and PKG_INSTALLDIR
The first macro checks if pkg-config is installed.
The second macro permits to install the .pc file elsewhere, and defines
the pkgconfigdir.
Makefile.am | 1 -
configure.ac | 4 +++-
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index bd09291..c7b9742 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,5 @@
SUBDIRS = gtksourceview po data docs tests
-pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gtksourceview-3.0.pc
EXTRA_DIST = \
diff --git a/configure.ac b/configure.ac
index d83dbd2..f818b38 100644
--- a/configure.ac
+++ b/configure.ac
@@ -54,8 +54,10 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
# Check for programs
AC_PROG_CC
AC_PROG_INSTALL
+PKG_PROG_PKG_CONFIG
+PKG_INSTALLDIR
-#Initialize libtool
+# Initialize libtool
LT_PREREQ([2.2.6])
LT_INIT([disable-static])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]