Commit 6470d356 6470d3560b0572799ae67b09a453bde5a32539a8 by Sergey Poznyakoff

(MU_LIBSOURCE,MU_LIBSOURCES): Construct the list

of EXTRA_DIST sources.
(MU_FINISH): New defun
1 parent 85070ac0
...@@ -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"])
......