[PATCH] Fix rules for generation pkgconf

Shunichi Fuji palglowr at gmail.com
Tue Sep 9 21:15:04 PDT 2008


Signed-off-by: Shunichi Fuji <palglowr at gmail.com>
---
 build/configure.ac.enable |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/build/configure.ac.enable b/build/configure.ac.enable
index ba70303..614d227 100644
--- a/build/configure.ac.enable
+++ b/build/configure.ac.enable
@@ -408,24 +408,24 @@ dnl Collect list of all/enabled cairo source files
 CAIRO_FEATURE_HOOK_REGISTER(*,*,*,
 [
 	CAIRO_CONFIG_AMAKE=$CAIRO_CONFIG_AMAKE'
-all_cairo_pkgconf += $(cairo_$1_pkgconf)
+all_cairo_pkgconf += m4_bpatsubst(cairo-$1.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 += $(cairo_$1_pkgconf)
+enabled_cairo_pkgconf += m4_bpatsubst(cairo-$1.pc,_,-)
 enabled_cairo_headers += $(cairo_$1_headers)
 enabled_cairo_private += $(cairo_$1_private)
 enabled_cairo_sources += $(cairo_$1_sources)
 endif
 '
 	CAIRO_CONFIG_WIN32=$CAIRO_CONFIG_WIN32'
-all_cairo_pkgconf += $(cairo_$1_pkgconf)
+all_cairo_pkgconf += m4_bpatsubst(cairo-$1.pc,_,-)
 all_cairo_headers += $(cairo_$1_headers)
 all_cairo_private += $(cairo_$1_private)
 all_cairo_sources += $(cairo_$1_sources)
 ifeq ($(cr_feature_tag),1)
-enabled_cairo_pkgconf += $(cairo_$1_pkgconf)
+enabled_cairo_pkgconf += m4_bpatsubst(cairo-$1.pc,_,-)
 enabled_cairo_headers += $(cairo_$1_headers)
 enabled_cairo_private += $(cairo_$1_private)
 enabled_cairo_sources += $(cairo_$1_sources)
-- 
1.6.0.1


--Multipart=_Wed__10_Sep_2008_13_26_37_+0900_GFkfVSo4ziyorE=7--


More information about the cairo mailing list