[gtksourceview/wip/ax-pkg-check: 2/2] build: call PKG_PROG_PKG_CONFIG and PKG_INSTALLDIR



commit 1e9285490f5fa9ba910bd0ed7ba2e996dd1c1286
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 fef1c27..c917262 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]