diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-09-16 02:45:00 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-09-16 03:58:21 -0400 |
commit | 88a3998a1d7e251e77ca9f39071866142cb50aa9 (patch) | |
tree | eb3a476ef4e68dc819945416210773ee5500aa84 /build/aclocal.makefile.m4 | |
parent | 8151c506700ad286f683797c6c0767f35edaa2de (diff) |
[aclocal] Fix pkgconfig file collection
Diffstat (limited to 'build/aclocal.makefile.m4')
-rw-r--r-- | build/aclocal.makefile.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build/aclocal.makefile.m4 b/build/aclocal.makefile.m4 index 88d679fb..b526b857 100644 --- a/build/aclocal.makefile.m4 +++ b/build/aclocal.makefile.m4 @@ -146,12 +146,13 @@ dnl AC_DEFUN([CAIRO_MAKEFILE_ACCUMULATE_FEATURE], [dnl m4_if([$1],[*],,[_CAIRO_MAKEFILE_CHECK([$1])])dnl - m4_pushdef([cr_make_acc_contents],[$5])dnl + m4_append([cr_make_acc_counter],[1],[])dnl + m4_define([cr_make_acc_contents]m4_len(cr_make_acc_counter), [$5])dnl CAIRO_FEATURE_HOOK_REGISTER(*,[$3],[$4], [dnl m4_foreach_w([cr_makefile], m4_if([$1],[*],_CAIRO_MAKEFILES,[$1]), [dnl - cr_make_tmp=_CAIRO_SH_ESCAPE(]]cr_make_acc_contents([[[[]]]]cr_makefile(),[$][1],[$][2],[$][3],[$][4])[[) + cr_make_tmp=_CAIRO_SH_ESCAPE(cr_make_acc_contents]]m4_len(cr_make_acc_counter)([[cr_makefile,]][$][1],[$][2],[$][3],[$][4])[[) _CAIRO_MAKEFILE_ACCUMULATE_FEATURE( [MAKEFILE_]cr_makefile[_AMAKE], [$2], @@ -164,6 +165,6 @@ AC_DEFUN([CAIRO_MAKEFILE_ACCUMULATE_FEATURE], [$cr_make_tmp])dnl ])dnl ])dnl - m4_popdef([cr_make_acc_contents])dnl ])dnl +m4_define([cr_make_acc_counter])dnl |