[hyena] [build] Make pkg-config bits optional



commit e3198fc8dfe306ff2ec4fee00ce2abb43b319889
Author: Gabriel Burt <gabriel burt gmail com>
Date:   Tue Jul 13 10:41:38 2010 -0700

    [build] Make pkg-config bits optional

 build/pkg-config/Makefile.am |    2 ++
 configure.ac                 |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/build/pkg-config/Makefile.am b/build/pkg-config/Makefile.am
index 51ac2cd..9ac7dab 100644
--- a/build/pkg-config/Makefile.am
+++ b/build/pkg-config/Makefile.am
@@ -1,3 +1,4 @@
+if HYENA_PKG_CONFIG
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_in_files = $(wildcard hyena*.pc.in)
 pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc)
@@ -9,3 +10,4 @@ EXTRA_DIST = $(pkgconfig_in_files)
 
 CLEANFILES = $(pkgconfig_DATA)
 MAINTAINERCLEANFILES = Makefile.in
+endif
diff --git a/configure.ac b/configure.ac
index 35b9c2e..7a7946f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,7 @@ PKG_CHECK_MODULES(GTKSHARP_A11Y, gtk-sharp-2.0 >= 2.12.10, gtksharp_with_a11y=ye
 AM_CONDITIONAL(ENABLE_ATK, test "x$gtksharp_with_a11y" = "xyes")
 
 AM_CONDITIONAL(GCONF_SCHEMAS_INSTALL, false)
+AM_CONDITIONAL(HYENA_PKG_CONFIG, true)
 
 dnl Check for nunit
 NUNIT_REQUIRED=2.4.7



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]