(MU_LIBSOURCES,MU_REPLACE_FUNCS): New defun.
(MU_CHECK_FUNCS): Removed.
Showing
1 changed file
with
8 additions
and
6 deletions
... | @@ -17,6 +17,10 @@ dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ... | @@ -17,6 +17,10 @@ dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
17 | dnl | 17 | dnl |
18 | 18 | ||
19 | AC_SUBST(MU_LIBOBJS) | 19 | AC_SUBST(MU_LIBOBJS) |
20 | AC_SUBST(MU_EXTRA_DIST) | ||
21 | |||
22 | AC_DEFUN([MU_LIBSOURCES],[]) | ||
23 | |||
20 | AC_DEFUN([MU_LIBOBJ],[ | 24 | AC_DEFUN([MU_LIBOBJ],[ |
21 | MU_LIBOBJS="$MU_LIBOBJS $1.o"]) | 25 | MU_LIBOBJS="$MU_LIBOBJS $1.o"]) |
22 | 26 | ||
... | @@ -24,11 +28,9 @@ AC_DEFUN([MU_CHECK_FUNC],[ | ... | @@ -24,11 +28,9 @@ AC_DEFUN([MU_CHECK_FUNC],[ |
24 | AC_CHECK_FUNC($1,, | 28 | AC_CHECK_FUNC($1,, |
25 | [MU_LIBOBJ($1)])]) | 29 | [MU_LIBOBJ($1)])]) |
26 | 30 | ||
27 | AC_DEFUN([MU_CHECK_FUNCS],[ | 31 | AC_DEFUN([MU_REPLACE_FUNCS], |
28 | for mu_func in $1 | 32 | [AC_CHECK_FUNCS([$1], , [MU_LIBOBJ($ac_func)]) |
29 | do | 33 | ]) |
30 | MU_CHECK_FUNC($mu_func) | ||
31 | done]) | ||
32 | 34 | ||
33 | AC_SUBST(GNU_INCLS) | 35 | AC_SUBST(GNU_INCLS) |
34 | AC_DEFUN([MU_HEADER],[ | 36 | AC_DEFUN([MU_HEADER],[ |
... | @@ -36,7 +38,7 @@ AC_DEFUN([MU_HEADER],[ | ... | @@ -36,7 +38,7 @@ AC_DEFUN([MU_HEADER],[ |
36 | pushdef([mu_cache_var],[mu_cv_header_]translit($1,[-./],[___])) | 38 | pushdef([mu_cache_var],[mu_cv_header_]translit($1,[-./],[___])) |
37 | 39 | ||
38 | if test x"[$]mu_cache_var" != xyes; then | 40 | if test x"[$]mu_cache_var" != xyes; then |
39 | AC_CONFIG_LINKS(include/mailutils/gnu/$1:headers/$1) | 41 | AC_CONFIG_LINKS(include/mailutils/gnu/$1:mailbox/ifelse($2,,$1,$2)) |
40 | GNU_INCLS="$GNU_INCLS $1" | 42 | GNU_INCLS="$GNU_INCLS $1" |
41 | mu_cache_var=yes | 43 | mu_cache_var=yes |
42 | fi | 44 | fi | ... | ... |
-
Please register or sign in to post a comment