(MU_LIBSOURCE,MU_LIBSOURCES): Construct the list
of EXTRA_DIST sources. (MU_FINISH): New defun
Showing
1 changed file
with
9 additions
and
2 deletions
... | @@ -19,8 +19,15 @@ dnl | ... | @@ -19,8 +19,15 @@ dnl |
19 | AC_SUBST(MU_LIBOBJS) | 19 | AC_SUBST(MU_LIBOBJS) |
20 | AC_SUBST(MU_EXTRA_DIST) | 20 | AC_SUBST(MU_EXTRA_DIST) |
21 | 21 | ||
22 | AC_DEFUN([MU_LIBSOURCES],[]) | 22 | AC_SUBST(MU_EXTRA_DIST) |
23 | AC_DEFUN([MU_LIBSOURCE],[]) | 23 | m4_define([mu_extra_dist],[]) |
24 | AC_DEFUN([MU_LIBSOURCES],[ | ||
25 | m4_foreach(source, [$1], [m4_define([mu_extra_dist], mu_extra_dist source)])]) | ||
26 | AC_DEFUN([MU_LIBSOURCE],[m4_define([mu_extra_dist], mu_extra_dist [$1])]) | ||
27 | |||
28 | AC_DEFUN([MU_FINISH],[ | ||
29 | [MU_EXTRA_DIST]="mu_extra_dist" | ||
30 | ]) | ||
24 | 31 | ||
25 | AC_DEFUN([MU_LIBOBJ],[ | 32 | AC_DEFUN([MU_LIBOBJ],[ |
26 | MU_LIBOBJS="$MU_LIBOBJS $1.o"]) | 33 | MU_LIBOBJS="$MU_LIBOBJS $1.o"]) | ... | ... |
-
Please register or sign in to post a comment