[cairo-commit] build/configure.ac.enable
Behdad Esfahbod
behdad at kemper.freedesktop.org
Wed Sep 10 22:16:41 PDT 2008
build/configure.ac.enable | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
New commits:
commit 1efb5e0810025d560addbbf690fd4d65f9405b8f
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Thu Sep 11 01:12:48 2008 -0400
[configure.ac.enable] Don't collect .pc files for builtin features
diff --git a/build/configure.ac.enable b/build/configure.ac.enable
index 3c1dae6..3486052 100644
--- a/build/configure.ac.enable
+++ b/build/configure.ac.enable
@@ -440,12 +440,10 @@ dnl Collect list of source files for all/enabled public features
CAIRO_FEATURE_HOOK_REGISTER(*,*,!,
[
CAIRO_CONFIG_AMAKE=$CAIRO_CONFIG_AMAKE'
-all_cairo_pkgconf += cr_feature_pc
all_cairo_headers += $(cairo_$1_headers)
all_cairo_private += $(cairo_$1_private)
all_cairo_sources += $(cairo_$1_sources)
if cr_feature_tag
-enabled_cairo_pkgconf += cr_feature_pc
enabled_cairo_headers += $(cairo_$1_headers)
enabled_cairo_private += $(cairo_$1_private)
enabled_cairo_sources += $(cairo_$1_sources)
@@ -546,6 +544,17 @@ CAIRO_FEATURE_HOOK_REGISTER(yes,!always,!,
])
])
+dnl Collect list of .pc files for all/enabled non-builtin public features
+CAIRO_FEATURE_HOOK_REGISTER(*,!always,!,
+[
+ CAIRO_CONFIG_AMAKE=$CAIRO_CONFIG_AMAKE'
+all_cairo_pkgconf += cr_feature_pc
+if cr_feature_tag
+enabled_cairo_pkgconf += cr_feature_pc
+endif
+'
+])
+
dnl ===========================================================================
dnl
More information about the cairo-commit
mailing list