Commit 3b7700de 3b7700de751459cf5df12619d8a46cf80ccabecd by Sergey Poznyakoff

Define MU_LIB_.* variables

(MU_AUTHLIBS): Initialize to empty value.
(AC_CONFIG_FILES): Add libproto Makefiles
1 parent 60d53af9
...@@ -27,12 +27,23 @@ gl_USE_SYSTEM_EXTENSIONS ...@@ -27,12 +27,23 @@ gl_USE_SYSTEM_EXTENSIONS
27 AC_PREREQ(2.59) 27 AC_PREREQ(2.59)
28 28
29 dnl Library versioning 29 dnl Library versioning
30 VI_CURRENT=1 30 AC_SUBST(VI_CURRENT, 1)
31 VI_REVISION=0 31 AC_SUBST(VI_REVISION, 0)
32 VI_AGE=0 32 AC_SUBST(VI_AGE, 0)
33 AC_SUBST(VI_CURRENT) 33
34 AC_SUBST(VI_REVISION) 34 dnl Library paths
35 AC_SUBST(VI_AGE) 35 AC_SUBST(MU_LIB_AUTH,'${top_builddir}/auth/libmuauth.la')
36 AC_SUBST(MU_LIB_MAILUTILS,'${top_builddir}/mailbox/libmailutils.la')
37 AC_SUBST(MU_LIB_SQL,'${top_builddir}/sql/libsql.la')
38 AC_SUBST(MU_LIB_IMAP,'${top_builddir}/libproto/imap/libmu_imap.la')
39 AC_SUBST(MU_LIB_MAILDIR,'${top_builddir}/libproto/maildir/libmu_maildir.la')
40 AC_SUBST(MU_LIB_MBOX,'${top_builddir}/libproto/mbox/libmu_mbox.la')
41 AC_SUBST(MU_LIB_MH,'${top_builddir}/libproto/mh/libmu_mh.la')
42 AC_SUBST(MU_LIB_NNTP,'${top_builddir}/libproto/nntp/libmu_nntp.la')
43 AC_SUBST(MU_LIB_POP,'${top_builddir}/libproto/pop/libmu_pop.la')
44 AC_SUBST(MU_LIB_SIEVE,'${top_builddir}/libsieve/libsieve.la')
45 AC_SUBST(MU_LIB_SCM,'${top_builddir}/libmu_scm/libmu_scm.la')
46 AC_SUBST(MU_LIB_CPP,'${top_builddir}/libmu_cpp/libmu_cpp.la')
36 47
37 dnl Check for programs 48 dnl Check for programs
38 AC_PROG_CC 49 AC_PROG_CC
...@@ -104,8 +115,8 @@ AC_SUBST(MU_AUTHLIBS) ...@@ -104,8 +115,8 @@ AC_SUBST(MU_AUTHLIBS)
104 AC_SUBST(MU_AUTHLIBS_DEPENDENCY) 115 AC_SUBST(MU_AUTHLIBS_DEPENDENCY)
105 AC_SUBST(MU_AUTHINCS) 116 AC_SUBST(MU_AUTHINCS)
106 117
107 MU_AUTHLIBS=../auth/libmuauth.la 118 MU_AUTHLIBS=
108 MU_AUTHLIBS_DEPENDENCY=$MU_AUTHLIBS 119 MU_AUTHLIBS_DEPENDENCY=../auth/libmuauth.la
109 120
110 dnl Check for arguments 121 dnl Check for arguments
111 AC_ARG_ENABLE([pam], 122 AC_ARG_ENABLE([pam],
...@@ -167,8 +178,8 @@ MU_CHECK_GSASL(0.2.3, [ ...@@ -167,8 +178,8 @@ MU_CHECK_GSASL(0.2.3, [
167 IMAP_AUTHOBJS="$IMAP_AUTHOBJS auth_gsasl.o" 178 IMAP_AUTHOBJS="$IMAP_AUTHOBJS auth_gsasl.o"
168 status_gsasl=yes]) 179 status_gsasl=yes])
169 180
170 AC_SUBST(SITE_CRAM_MD5_PWD) 181 AC_SUBST(SITE_CRAM_MD5_PWD,"\$(sysconfdir)/cram-md5.pwd")
171 SITE_CRAM_MD5_PWD="\$(sysconfdir)/cram-md5.pwd" 182
172 AC_ARG_WITH(cram-passwd, 183 AC_ARG_WITH(cram-passwd,
173 AC_HELP_STRING([--with-cram-passwd=FILE], 184 AC_HELP_STRING([--with-cram-passwd=FILE],
174 [use keep passwords for CRAM-MD5 authentication method in FILE (default $SITE_CRAM_MD5_PWD)]), 185 [use keep passwords for CRAM-MD5 authentication method in FILE (default $SITE_CRAM_MD5_PWD)]),
...@@ -902,7 +913,7 @@ if test x"$useguile" = x"yes"; then ...@@ -902,7 +913,7 @@ if test x"$useguile" = x"yes"; then
902 GUIMB='guimb$(EXEEXT)' 913 GUIMB='guimb$(EXEEXT)'
903 MU_SCM=libmu_scm.la 914 MU_SCM=libmu_scm.la
904 LIBMU_SCM=../libmu_scm/libmu_scm.la 915 LIBMU_SCM=../libmu_scm/libmu_scm.la
905 LIBMU_SCM_DEPS="../mailbox/mbox/libmu_mbox.la ../mailbox/imap/libmu_imap.la ../mailbox/pop/libmu_pop.la ../mailbox/mh/libmu_mh.la ../mailbox/maildir/libmu_maildir.la" 916 LIBMU_SCM_DEPS='${MU_LIB_MBOX} ${MU_LIB_IMAP} ${MU_LIB_POP} ${MU_LIB_MH} ${MU_LIB_MAILDIR}'
906 GUILE_PKGDATA="guile-procedures.txt mailutils.scm" 917 GUILE_PKGDATA="guile-procedures.txt mailutils.scm"
907 GUILE_BUILT_SOURCES='$(DOT_X_FILES) $(DOT_DOC_FILES)' 918 GUILE_BUILT_SOURCES='$(DOT_X_FILES) $(DOT_DOC_FILES)'
908 case "$GUILE_VERSION" in 919 case "$GUILE_VERSION" in
...@@ -1069,6 +1080,14 @@ AC_CONFIG_FILES([Makefile ...@@ -1069,6 +1080,14 @@ AC_CONFIG_FILES([Makefile
1069 intl/Makefile 1080 intl/Makefile
1070 lib/Makefile 1081 lib/Makefile
1071 libmu_scm/Makefile 1082 libmu_scm/Makefile
1083 libproto/Makefile
1084 libproto/mbox/Makefile
1085 libproto/mh/Makefile
1086 libproto/maildir/Makefile
1087 libproto/pop/Makefile
1088 libproto/nntp/Makefile
1089 libproto/imap/Makefile
1090 libproto/include/Makefile
1072 libsieve/Makefile 1091 libsieve/Makefile
1073 libsieve/extensions/Makefile 1092 libsieve/extensions/Makefile
1074 mail/Makefile 1093 mail/Makefile
...@@ -1078,13 +1097,6 @@ AC_CONFIG_FILES([Makefile ...@@ -1078,13 +1097,6 @@ AC_CONFIG_FILES([Makefile
1078 mail.remote/Makefile 1097 mail.remote/Makefile
1079 mail.remote/testsuite/Makefile 1098 mail.remote/testsuite/Makefile
1080 mailbox/Makefile 1099 mailbox/Makefile
1081 mailbox/mbox/Makefile
1082 mailbox/mh/Makefile
1083 mailbox/maildir/Makefile
1084 mailbox/pop/Makefile
1085 mailbox/nntp/Makefile
1086 mailbox/imap/Makefile
1087 mailbox/include/Makefile
1088 mailbox/testsuite/Makefile 1100 mailbox/testsuite/Makefile
1089 messages/Makefile 1101 messages/Makefile
1090 messages/testsuite/Makefile 1102 messages/testsuite/Makefile
......