Skip to content
This repository
Newer
Older
100644 404 lines (338 sloc) 14.632 kb
16a7b485 » djcb
2012-01-22 * configure.ac: small improvements
1 ## Copyright (C) 2008-2012 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
2 ##
3 ## This program is free software; you can redistribute it and/or modify
4 ## it under the terms of the GNU General Public License as published by
5 ## the Free Software Foundation; either version 3 of the License, or
6 ## (at your option) any later version.
b669feb6 »
2011-08-29 * configure.ac: check for readline
7 ##
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
8 ## This program is distributed in the hope that it will be useful,
9 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 ## GNU General Public License for more details.
b669feb6 »
2011-08-29 * configure.ac: check for readline
12 ##
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
13 ## You should have received a copy of the GNU General Public License
14 ## along with this program; if not, write to the Free Software Foundation,
b669feb6 »
2011-08-29 * configure.ac: check for readline
15 ## Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
16
615cf476 »
2012-09-27 * configure.ac: bump version to 0.9.9-dev7
17 AC_INIT([mu],[0.9.9-dev7],[http://code.google.com/p/mu0/issues/list],[mu])
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
18 AC_CONFIG_HEADERS([config.h])
46f10cfd »
2012-05-20 * refactoring: split src/ into mu/ and lib/
19 AC_CONFIG_SRCDIR([mu/mu.cc])
6d2cc60a »
2010-12-17 * Makefile.am/configure.ac: some changes to make Solaris a bit happier
20 # libtoolize wants to put some stuff in here; if you have an old
21 # autotools/libtool setup. you can try to comment this out
a53f549d »
2010-12-07 * configure.ac/Makfile.am: add m4 as a macro dir, require stdc
22 AC_CONFIG_MACRO_DIR([m4])
d6a53ebe »
2012-02-28 * update configure.ac: bump version to 0.8.2; don't use AM_INIT_AUTOM…
23 AM_INIT_AUTOMAKE
2c24a432 »
2011-05-23 * cosmetics
24
5fb788d5 »
2011-01-02 * configure.ac: make silent-rules stuff optional
25 # silent build if we have a new enough automake
26 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
f5370162 »
2010-02-27 * configure.ac: use AM_SILENT_RULES to make the build less noisy
27
43bb99a7 » djcb
2011-12-30 * minor
28 AS_IF([test x$prefix = xNONE],[prefix=/usr/local])
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
29 AC_SUBST(prefix)
30
98ebd7cd »
2012-08-28 * configure.ac: tighten checks for f17; bump version to 0.9.9-dev4
31 # AC_PROG_CXX *before* AC_PROG_CC, otherwise configure won't error out
32 # when a c++ compiler is not found. Weird, huh?
33 AC_PROG_CXX
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
34 AC_PROG_CC
a53f549d »
2010-12-07 * configure.ac/Makfile.am: add m4 as a macro dir, require stdc
35 AC_PROG_CC_STDC
2c24a432 »
2011-05-23 * cosmetics
36 AC_PROG_INSTALL
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
37 AC_HEADER_STDC
38
98ebd7cd »
2012-08-28 * configure.ac: tighten checks for f17; bump version to 0.9.9-dev4
39 # for now, use AM_PROG_LIBTOOL, as we don't want to require
40 # a too new setup for autotools/libtool
41 AM_PROG_LIBTOOL
42 #LT_INIT([disable-shared])
43
1c2a87a8 »
2012-07-20 * help: generate help texts from text file / awk
44 AC_PROG_AWK
45
267d7ada »
2012-09-16 * configure.ac: minor
46 AC_CHECK_HEADERS([locale.h langinfo.h wordexp.h])
2c81d65e »
2012-03-08 * configure.ac: check for langinfo.h, locale.h
47
2c24a432 »
2011-05-23 * cosmetics
48 # use the 64-bit versions
49 AC_SYS_LARGEFILE
50
9d6ef76f »
2012-09-01 * crypto: improve signature checking code
51
159d26ee »
2012-03-19 * configure.ac: add warning if makeinfo is missing
52 # check for makeinfo
53 AC_CHECK_PROG(have_makeinfo,makeinfo,yes,no)
54 AM_CONDITIONAL(HAVE_MAKEINFO,test "x$have_makeinfo" = "xyes")
55
edda59bf »
2012-04-09 * mu4e: restructure code a bit and enable byte-compilation
56 # we need emacs for byte-compiling mu4e
74ce4897 »
2012-06-16 * configure.ac/Makefile.am: require specific emacs version (23+)
57
58 build_mu4e=no
59 AC_ARG_ENABLE([mu4e],
60 AS_HELP_STRING([--disable-mu4e],[Disable building mu4e]))
61 AS_IF([test "x$enable_mu4e" != "xno"], [
62 AM_PATH_LISPDIR
63 AS_IF([test "x$lispdir" != "xno"], [emacs_version="`$EMACS --version | head -1`"])
64 AS_CASE([$emacs_version],[*23*|*24*|*25*],[build_mu4e=yes],
65 [AC_WARN([emacs is too old to build mu4e (need emacs >= 23.x)])])
93c46dda »
2012-07-12 * prepare for guile/tests
66 ])
74ce4897 »
2012-06-16 * configure.ac/Makefile.am: require specific emacs version (23+)
67 AM_CONDITIONAL(BUILD_MU4E, test "x$build_mu4e" = "xyes")
2c24a432 »
2011-05-23 * cosmetics
68
d14727c7 »
2010-12-11 * dont't require direntry->d_type; this should help the Solaris build.
69 # we need some special tricks for filesystems that don't have d_type;
70 # e.g. Solaris. See mu-maildir.c. Explicitly disabling it is for
71 # testing purposes only
72 AC_ARG_ENABLE([dirent-d-type],
73 AC_HELP_STRING([--disable-dirent-d-type],
74 [Don't use dirent->d_type, even if you have it]),
75 [], [AC_STRUCT_DIRENT_D_TYPE]
76 )
77 AS_IF([test "x$ac_cv_member_struct_dirent_d_type" != "xyes"],
78 [use_dirent_d_type="no"], [use_dirent_d_type="yes"])
6f48dbed »
2010-01-16 * configure.ac, mu-maildir.c: some compatibility updates
79
d14727c7 »
2010-12-11 * dont't require direntry->d_type; this should help the Solaris build.
80
81 # support for d_ino (inode) in struct dirent is optional; if it's
82 # available we can sort direntries by inode and access them in that
83 # order; this is much faster on some file systems (such as extfs3).
84 # Explicity disabling it is for testing purposes only.
85 AC_ARG_ENABLE([dirent-d-ino],
86 AC_HELP_STRING([--disable-dirent-d-ino],
87 [Don't use dirent->d_ino, even if you have it]),
88 [], [AC_STRUCT_DIRENT_D_INO]
89 )
90 AS_IF([test "x$ac_cv_member_struct_dirent_d_ino" != "xyes"],
91 [use_dirent_d_ino="no"], [use_dirent_d_ino="yes"])
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
92
148db5af »
2010-12-05 * configure.ac: cleanups
93
d14727c7 »
2010-12-11 * dont't require direntry->d_type; this should help the Solaris build.
94 # we need these
3ae4fb96 »
2012-09-14 * configure.ac: check for getpass
95 AC_CHECK_FUNCS([memset memcpy realpath setlocale strerror getpass])
d14727c7 »
2010-12-11 * dont't require direntry->d_type; this should help the Solaris build.
96
148db5af »
2010-12-05 * configure.ac: cleanups
97 # require pkg-config
98 AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no])
99 AS_IF([test "x$PKG_CONFIG" = "xno"],[
100 AC_MSG_ERROR([
101 *** The pkg-config script could not be found. Make sure it is
102 *** in your path, or set the PKG_CONFIG environment variable
103 *** to the full path to pkg-config.])
104 ])
105
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
106 # glib2?
f14f8f45 »
2011-03-05 * set dependency to glib >= 2.14, as we are using GRegex now
107 # we need 2.14 at least, because we use GRegex
38a2ee78 »
2012-08-11 * bump glib version to 2.24, make gtest stuff non-optional
108 PKG_CHECK_MODULES(GLIB,glib-2.0 >= 2.24 gobject-2.0)
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
109 AC_SUBST(GLIB_CFLAGS)
110 AC_SUBST(GLIB_LIBS)
16a7b485 » djcb
2012-01-22 * configure.ac: small improvements
111 glib_version="`$PKG_CONFIG --modversion glib-2.0`"
b669feb6 »
2011-08-29 * configure.ac: check for readline
112
28c6f2d8 »
2012-03-11 * mu-msg-part: g_mime_data_wrapper_write_to_stream returns ssize_t, not
113 # gmime 2.4 or 2.6?
9e776cd7 »
2011-08-20 * configure.ac: prefer gmime-2.6 if both 2.4, 2.6 are present
114 PKG_CHECK_MODULES(GMIME,gmime-2.6,[have_gmime_26=yes],[have_gmime_26=no])
115 AS_IF([test "x$have_gmime_26" = "xno"],[
116 PKG_CHECK_MODULES(GMIME,gmime-2.4,[have_gmime_24=yes],[have_gmime_24=no])
b669feb6 »
2011-08-29 * configure.ac: check for readline
117 AS_IF([test "x$have_gmime_24" = "xno"],[
0f9bd7c4 »
2010-12-04 * update configure.ac for gmime-2.6 support
118 AC_MSG_ERROR([
9e776cd7 »
2011-08-20 * configure.ac: prefer gmime-2.6 if both 2.4, 2.6 are present
119 *** neither gmime-2.4 nor gmime-2.6 could be found; please install it
0f9bd7c4 »
2010-12-04 * update configure.ac for gmime-2.6 support
120 *** e.g., in debian/ubuntu the package would be 'libgmime-2.4-dev'
121 *** If you compiled it yourself, you should ensure that the pkgconfig
122 *** installation dir (e.g., /usr/local/lib/pkgconfig) is in your
123 *** PKG_CONFIG_PATH.
6d2cc60a »
2010-12-17 * Makefile.am/configure.ac: some changes to make Solaris a bit happier
124 ])],[
16a7b485 » djcb
2012-01-22 * configure.ac: small improvements
125 gmime_version="`$PKG_CONFIG --modversion gmime-2.4`"
6d2cc60a »
2010-12-17 * Makefile.am/configure.ac: some changes to make Solaris a bit happier
126 ])],[
16a7b485 » djcb
2012-01-22 * configure.ac: small improvements
127 gmime_version="`$PKG_CONFIG --modversion gmime-2.6`"
6d2cc60a »
2010-12-17 * Makefile.am/configure.ac: some changes to make Solaris a bit happier
128 ])
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
129 AC_SUBST(GMIME_CFLAGS)
130 AC_SUBST(GMIME_LIBS)
b669feb6 »
2011-08-29 * configure.ac: check for readline
131
3ae4fb96 »
2012-09-14 * configure.ac: check for getpass
132 # we need gmime 2.6 for the crypto stuff
2be6b041 »
2012-07-17 * mu: build crypto support maybe (depends on gmime 2.6)
133 AM_CONDITIONAL(BUILD_CRYPTO,[test "x$have_gmime_26" = "xyes"])
134 AS_IF([test "x$have_gmime_26" = "xyes"],
135 AC_DEFINE_UNQUOTED([BUILD_CRYPTO],1,[Whether to build crypto; reqs gmime 2.6]))
148db5af »
2010-12-05 * configure.ac: cleanups
136
5f9aed0c »
2012-02-23 * configure.ac: add specific version 1.2.x check for xapian
137 # xapian checking - we need 1.2.x at least
138 AC_CHECK_PROG(XAPIAN_CONFIG,xapian-config,xapian-config,no)
139 AM_CONDITIONAL(HAVE_XAPIAN,test "x$XAPIAN_CONFIG" != "xno")
140 AS_IF([test "x$XAPIAN_CONFIG" = "xno"],[
148db5af »
2010-12-05 * configure.ac: cleanups
141 AC_MSG_ERROR([
142 *** xapian could not be found; please install it
143 *** e.g., in debian/ubuntu the package would be 'libxapian-dev'
144 *** If you compiled it yourself, you should ensure that xapian-config
5f9aed0c »
2012-02-23 * configure.ac: add specific version 1.2.x check for xapian
145 *** is in your PATH.])],
146 [xapian_version=$($XAPIAN_CONFIG --version | sed -e 's/.* //')])
147 AS_CASE([$xapian_version],
1dc44228 »
2012-05-12 * configure.ac: fix the xapian version-check regexp for macos
148 [1.[[2-9]].[[0-9]]*], [],
ea67fcf0 »
2012-08-05 * configure.ac: bump version to 0.9.9-dev3
149 [AC_MSG_ERROR([*** xapian version >= 1.2 needed,
150 but version $xapian_version found.])])
5f9aed0c »
2012-02-23 * configure.ac: add specific version 1.2.x check for xapian
151
152 XAPIAN_CXXFLAGS="`$XAPIAN_CONFIG --cxxflags`"
153 XAPIAN_LIBS="`$XAPIAN_CONFIG --libs`"
154 have_xapian="yes"
155
148db5af »
2010-12-05 * configure.ac: cleanups
156 AC_SUBST(XAPIAN_CXXFLAGS)
157 AC_SUBST(XAPIAN_LIBS)
158
0446ec3d »
2011-12-14 * add some documentation infrastructure
159 ###############################################################################
b375199b »
2011-08-30 * configure.ac: bump database version to 0.9.8
160 # we set the set the version of the MuStore (Xapian database) layout
161 # here; it will become part of the db name, so we can automatically
162 # recreate the database when we incompatible have changes.
a53f549d »
2010-12-07 * configure.ac/Makfile.am: add m4 as a macro dir, require stdc
163 #
b375199b »
2011-08-30 * configure.ac: bump database version to 0.9.8
164 # note that MU_STORE_SCHEMA_VERSION does not necessarily follow MU
a53f549d »
2010-12-07 * configure.ac/Makfile.am: add m4 as a macro dir, require stdc
165 # versioning, as we hopefully don't have updates for each version;
166 # also, this has nothing to do with Xapian's software version
b375199b »
2011-08-30 * configure.ac: bump database version to 0.9.8
167 AC_DEFINE(MU_STORE_SCHEMA_VERSION,["9.8"], ['Schema' version of the database])
0446ec3d »
2011-12-14 * add some documentation infrastructure
168 ###############################################################################
148db5af »
2010-12-05 * configure.ac: cleanups
169
543a4400 »
2011-07-06 * configure.ac: don't error-out when there's not gtk+ and --with-gui=…
170
0446ec3d »
2011-12-14 * add some documentation infrastructure
171 ###############################################################################
543a4400 »
2011-07-06 * configure.ac: don't error-out when there's not gtk+ and --with-gui=…
172 # we need gtk (2 or 3) for some of the graphical tools
173 #
f6944f45 »
2011-01-29 * configure.ac: make gui configurable, --with-gui=(gtk2|gtk3|none|auto),
174 AC_ARG_WITH([gui],
175 [AS_HELP_STRING([--with-gui=gtk2|gtk3|none])],
176 [gui=$withval],[gui=auto])
177
79eb1aff »
2011-07-18 * make muile work for mu 1.8 (and before?) to some extent...
178 AS_IF([test "x$gui" != "xgtk2" -a "x$gui" != "xgtk3" -a "x$gui" != "xnone" \
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
179 -a "x$gui" != "xauto"],
79eb1aff »
2011-07-18 * make muile work for mu 1.8 (and before?) to some extent...
180 AC_MSG_ERROR([the argument for --with-gui= must be either \
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
181 gtk2|gtk3|auto|no ($gui)]))
182 AS_IF([test "x$gui" != "xnone"],[
183 # check for gtk3
184 AS_IF([test "x$gui" = "xgtk3"],[
185 PKG_CHECK_MODULES(GTK,gtk+-3.0,[have_gtk3=yes],[have_gtk3=no])
186 AC_SUBST(GTK_CFLAGS)
187 AC_SUBST(GTK_LIBS)
188 gtk_version="`$PKG_CONFIG --modversion gtk+-3.0`"
189 ])
190 AS_IF([test "x$gui"="gtk3" -a "x$have_gtk3" = "xno"],
191 AC_MSG_ERROR([GTK+ 3.x not found]))
192
193 # check for gtk2 if we did not find gtk3 already
194 # (gtk3 is only sought if asked for it explicitly)
195 AS_IF([test "x$gui" != "xno" -a "x$have_gtk3" != "xyes"],[
196 PKG_CHECK_MODULES(GTK,gtk+-2.0,[have_gtk2=yes],[have_gtk2=no])
197 AC_SUBST(GTK_CFLAGS)
198 AC_SUBST(GTK_LIBS)
199 gtk_version="`$PKG_CONFIG --modversion gtk+-2.0`"
200 ])
201 # only an error if we explicitly asked for it
202 AS_IF([test "x$have_gtk2" = "xno" -a "x$gui" != "xauto"],
203 AC_MSG_ERROR([GTK+ 2.x not found]))
70648b8b »
2010-11-02 * merge start of simple gtk+ ui for mu: 'mug'
204 ])
f2f56780 »
2010-11-08 * try gtk+3 first, then gtk+2; mug works with both
205
40c70940 »
2011-01-29 * configure.ac: improve --with-gui= handling
206 AM_CONDITIONAL(HAVE_GTK,[test "x$have_gtk2" = "xyes" -o "x$have_gtk3" = "xyes" ])
79eb1aff »
2011-07-18 * make muile work for mu 1.8 (and before?) to some extent...
207 AS_IF([test "x$have_gtk2" = "xyes" -o "x$have_gtk3" = "xyes"],[buildgui=yes],
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
208 [buildgui=no])
3fb7e5d6 »
2012-03-22 * WIP: fixes for gtk3.2 (prevent warnings for deprecated widgets)
209 AS_IF([test "x$have_gtk3" = "xyes"],
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
210 [AC_DEFINE_UNQUOTED([HAVE_GTK3],1,[Whether we have GTK+ 3.x])])
3fb7e5d6 »
2012-03-22 * WIP: fixes for gtk3.2 (prevent warnings for deprecated widgets)
211
40c70940 »
2011-01-29 * configure.ac: improve --with-gui= handling
212 # webkit? needed for the fancy web widget
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
213 # use --disable-webkit to disable it, even if you have it
bd7a5d69 »
2012-04-21 * add little msg2pdf toy, to convert messages to pdfs, uses webkit (WIP)
214 # note; gtk2 and gtk3 imply different webkit versions
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
215 build_webkit=no
216 AC_ARG_ENABLE([webkit],
217 AS_HELP_STRING([--disable-webkit],[Disable webkit]))
218 AS_IF([test "x$enable_webkit" != "xno"], [
219 AS_IF([test "x$have_gtk2" = "xyes"],[
220 PKG_CHECK_MODULES(WEBKIT,webkit-1.0 >= 1.0.3,[build_webkit=yes],[build_webkit=no])
221 AS_IF([test "x$build_webkit" = "xyes"],[
16a7b485 » djcb
2012-01-22 * configure.ac: small improvements
222 webkit_version="`$PKG_CONFIG --modversion webkit-1.0`"])
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
223 AC_SUBST(WEBKIT_CFLAGS)
224 AC_SUBST(WEBKIT_LIBS)])
bd7a5d69 »
2012-04-21 * add little msg2pdf toy, to convert messages to pdfs, uses webkit (WIP)
225
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
226 AS_IF([test "x$have_gtk3" = "xyes"],[
227 PKG_CHECK_MODULES(WEBKIT,webkitgtk-3.0 >= 1.8.0, [build_webkit=yes],[build_webkit=no])
228 AS_IF([test "x$build_webkit" = "xyes"],[
bd7a5d69 »
2012-04-21 * add little msg2pdf toy, to convert messages to pdfs, uses webkit (WIP)
229 webkit_version="`$PKG_CONFIG --modversion webkitgtk-3.0`"])
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
230 AC_SUBST(WEBKIT_CFLAGS)
231 AC_SUBST(WEBKIT_LIBS)])
bd7a5d69 »
2012-04-21 * add little msg2pdf toy, to convert messages to pdfs, uses webkit (WIP)
232 ])
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
233 AM_CONDITIONAL(BUILD_WEBKIT, [test "x$build_webkit" = "xyes"])
234
623ec34a »
2011-01-09 * improvements in attachment / mime-part handling:
235
40c70940 »
2011-01-29 * configure.ac: improve --with-gui= handling
236 # gio is needed for some widget/ things
fa23a298 »
2011-04-16 * configure.ac: warn user that mug2 won't work with gtk3
237 AS_IF([test "x$buildgui"="xyes"],[
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
238 PKG_CHECK_MODULES(GIO,gio-2.0,[have_gio=yes],[have_gio=no])
239 AS_IF([test "x$have_gio" = "xyes"],[
16a7b485 » djcb
2012-01-22 * configure.ac: small improvements
240 gio_version="`$PKG_CONFIG --modversion gio-2.0`"])
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
241 AC_SUBST(GIO_CFLAGS)
242 AC_SUBST(GIO_LIBS)
40c70940 »
2011-01-29 * configure.ac: improve --with-gui= handling
243 ])
244 AM_CONDITIONAL(HAVE_GIO, [test "x$have_gio" = "xyes"])
245
2fcdcafe »
2012-08-03 * move widgets/ -> toys/mug2; remove toys/mug; rename toys/mug2 -> to…
246 # should we build the gui toys?
247 AM_CONDITIONAL(BUILD_GUI, [test "x$build_webkit" = "xyes" -a "x$have_gio" = "xyes"])
0446ec3d »
2011-12-14 * add some documentation infrastructure
248 ###############################################################################
249
250
251
79eb1aff »
2011-07-18 * make muile work for mu 1.8 (and before?) to some extent...
252 ###############################################################################
9d6d33be » djcb
2011-12-30 * fix 'make distcheck' for guile/, require guile version 2.0
253 # check for guile 2.0 & guile-snarf
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
254 build_guile=no
255 AC_ARG_ENABLE([guile],
256 AS_HELP_STRING([--disable-guile],[Disable guile]))
257
258 AS_IF([test "x$enable_guile" != "xno"], [
259 PKG_CHECK_MODULES(GUILE,guile-2.0,[build_guile=yes],[build_guile=no])
260 AC_SUBST(GUILE_CFLAGS)
261 AC_SUBST(GUILE_LIBS)
262
9bddf2f0 »
2012-07-12 * guile: beginnings of some unit tests
263 GUILE_EXECDIR="`${PKG_CONFIG} guile-2.0 --variable=exec_prefix`/bin"
264
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
265 AS_IF([test "x$build_guile" = "xyes"],[
9bddf2f0 »
2012-07-12 * guile: beginnings of some unit tests
266 AC_PATH_PROG(GUILE_BINARY, [guile], [], [$GUILE_EXECDIR])
267 AS_IF([test "x$GUILE_BINARY" != "x"],
268 [AC_DEFINE_UNQUOTED([GUILE_BINARY],["$GUILE_BINARY"],[Path to the guile binary])],
269 [AC_MSG_WARN([cannot find guile-snarf])])])
270
271 AS_IF([test "x$build_guile" = "xyes"],[
272 AC_PATH_PROG(GUILE_SNARF, [guile-snarf], [], [$GUILE_EXECDIR])
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
273 AS_IF([test "x$GUILE_SNARF" != "x"],
9bddf2f0 »
2012-07-12 * guile: beginnings of some unit tests
274 [AC_DEFINE_UNQUOTED([GUILE_SNARF],["$GUILE_SNARF"],[Path to guile-snarf])
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
275 GUILE_SITEDIR="`${PKG_CONFIG} guile-2.0 --variable=sitedir`"],
276 [AC_MSG_WARN([cannot find guile-snarf])])])
277 AC_SUBST(GUILE_SITEDIR)])
278
279 AS_IF([test "x$build_guile" = "xyes" -a "x$GUILE_SNARF" != "x"],
280 [guile_version="`${PKG_CONFIG} --modversion guile-2.0`"
2be6b041 »
2012-07-17 * mu: build crypto support maybe (depends on gmime 2.6)
281 AC_DEFINE_UNQUOTED([BUILD_GUILE],1,[Whether we build with guile 2.0 support])])
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
282 AM_CONDITIONAL(BUILD_GUILE, [test "x$build_guile" = "xyes"])
9d6d33be » djcb
2011-12-30 * fix 'make distcheck' for guile/, require guile version 2.0
283 ###############################################################################
0446ec3d »
2011-12-14 * add some documentation infrastructure
284
285
286
287 ###############################################################################
288 # check for makeinfo
9d6d33be » djcb
2011-12-30 * fix 'make distcheck' for guile/, require guile version 2.0
289 AC_CHECK_PROG(have_makeinfo,makeinfo,yes,no)
290 AM_CONDITIONAL(HAVE_MAKEINFO, [test "x$have_makeinfo" = "xyes"])
79eb1aff »
2011-07-18 * make muile work for mu 1.8 (and before?) to some extent...
291 ###############################################################################
3b7f2ab2 »
2011-07-18 * small updates for guile 1.x compatibility (WIP)
292
43bb99a7 » djcb
2011-12-30 * minor
293
79eb1aff »
2011-07-18 * make muile work for mu 1.8 (and before?) to some extent...
294
0446ec3d »
2011-12-14 * add some documentation infrastructure
295 ###############################################################################
8b70e6ba »
2010-12-05 * configure.ac: unbreak McCabe tool checking
296 # check for pmccabe
297 AC_PATH_PROG([PMCCABE],[pmccabe],[pmccabe],[no])
298 AS_IF([test "x$PMCCABE" = "xno"],[
b669feb6 »
2011-08-29 * configure.ac: check for readline
299 have_pmccabe="no"
148db5af »
2010-12-05 * configure.ac: cleanups
300 AC_MSG_WARN([
815d5ad8 »
2011-07-17 * don't try to use guile if it's pre-2.x; but add some beginning compat
301 *** Developers: you do not seem to have the pmccabe tool installed.
148db5af »
2010-12-05 * configure.ac: cleanups
302 *** Please install it if you want to run the automated code checks])
815d5ad8 »
2011-07-17 * don't try to use guile if it's pre-2.x; but add some beginning compat
303 ],[have_pmccabe="yes"])
0446ec3d »
2011-12-14 * add some documentation infrastructure
304 ###############################################################################
8c372f98 »
2010-12-04 * configure.ac: use gtk+ 2.x unless there is an explicit --with-gtk3.…
305
628d154a »
2011-09-12 * minor / cosmetic changes
306
696f0863 »
2010-01-26 * update configure.ac (using autoupdate)
307 AC_CONFIG_FILES([
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
308 Makefile
46f10cfd »
2012-05-20 * refactoring: split src/ into mu/ and lib/
309 mu/Makefile
310 mu/tests/Makefile
311 lib/Makefile
312 lib/tests/Makefile
dc62bd6c »
2012-07-10 * rename emacs/ => mu4e/
313 mu4e/Makefile
314 mu4e/mu4e-meta.el
315 mu4e/version.texi
8b39c69c »
2011-12-13 * some code re-arrangement: src/guile-> guile, toys/mm -> emacs
316 guile/Makefile
317 guile/mu/Makefile
0446ec3d »
2011-12-14 * add some documentation infrastructure
318 guile/examples/Makefile
93c46dda »
2012-07-12 * prepare for guile/tests
319 guile/tests/Makefile
45c95b06 »
2010-11-15 * move mug/ to toys/mug
320 toys/Makefile
321 toys/mug/Makefile
bd7a5d69 »
2012-04-21 * add little msg2pdf toy, to convert messages to pdfs, uses webkit (WIP)
322 toys/msg2pdf/Makefile
90c9b61d »
2010-01-16 * update configuration files
323 man/Makefile
cbeb229d »
2010-12-08 * configure.ac: add missing m4/Makefile
324 m4/Makefile
37b0ea3b »
2010-08-21 * small updates
325 contrib/Makefile
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
326 ])
696f0863 »
2010-01-26 * update configure.ac (using autoupdate)
327 AC_OUTPUT
2b0aca1b »
2009-11-25 * initial import of mu - the next generation
328
b669feb6 »
2011-08-29 * configure.ac: check for readline
329 echo
826aeb68 »
2010-02-04 * Makefile.am, configure.ac: clear up the pmccabe stuff a bit
330 echo "mu configuration is complete."
aa8c86ab »
2012-06-10 * configure.ac: report on whether we are building mug2
331 echo "------------------------------------------------"
826aeb68 »
2010-02-04 * Makefile.am, configure.ac: clear up the pmccabe stuff a bit
332
148db5af »
2010-12-05 * configure.ac: cleanups
333 if test -e ~/.mu/xapian-0.6; then
334 echo "Note: since version 0.7, the Xapian database is no longer stored as "
335 echo "~/.mu/xapian-0.6 but instead simply as ~/.mu/xapian. You can "
336 echo "remove the old <muhome>/xapian-0.6 directory to save some disk space"
337 fi
338
daa4e016 »
2012-07-10 * bump version to 0.9.9-dev1
339 echo "mu version : $VERSION"
340 echo
148db5af »
2010-12-05 * configure.ac: cleanups
341 echo "Xapian version : $xapian_version"
b669feb6 »
2011-08-29 * configure.ac: check for readline
342 echo "GLib version : $glib_version"
6d2cc60a »
2010-12-17 * Makefile.am/configure.ac: some changes to make Solaris a bit happier
343 echo "GMime version : $gmime_version"
3115443b »
2011-01-07 * configure.ac: check for webkit
344
fa23a298 »
2011-04-16 * configure.ac: warn user that mug2 won't work with gtk3
345 if test "x$buildgui" = "xyes"; then
6d2cc60a »
2010-12-17 * Makefile.am/configure.ac: some changes to make Solaris a bit happier
346 echo "GTK+ version : $gtk_version"
347 fi
348
623ec34a »
2011-01-09 * improvements in attachment / mime-part handling:
349 if test "x$have_gio" = "xyes"; then
350 echo "GIO version : $gio_version"
351 fi
352
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
353 if test "x$build_webkit" = "xyes"; then
3115443b »
2011-01-07 * configure.ac: check for webkit
354 echo "Webkit version : $webkit_version"
355 fi
356
245de14b »
2012-06-13 * make guile/gtk/webkit dep optional (i.e., --disable-guile, --disabl…
357 if test "x$build_guile" = "xyes"; then
9d6d33be » djcb
2011-12-30 * fix 'make distcheck' for guile/, require guile version 2.0
358 echo "Guile version : $guile_version"
0b7693d0 »
2011-07-05 * guilify mu; first steps, and a new toy called 'muile'
359 fi
360
74ce4897 »
2012-06-16 * configure.ac/Makefile.am: require specific emacs version (23+)
361 if test "x$build_mu4e" = "xyes"; then
362 echo "Emacs version : $emacs_version"
363 fi
364
6d2cc60a »
2010-12-17 * Makefile.am/configure.ac: some changes to make Solaris a bit happier
365 echo
74ce4897 »
2012-06-16 * configure.ac/Makefile.am: require specific emacs version (23+)
366 echo "Build mu4e emacs frontend : $build_mu4e"
2be6b041 »
2012-07-17 * mu: build crypto support maybe (depends on gmime 2.6)
367 echo "Build crypto support (gmime >= 2.6) : $have_gmime_26"
2fcdcafe »
2012-08-03 * move widgets/ -> toys/mug2; remove toys/mug; rename toys/mug2 -> to…
368 echo "Build 'mug' toy-ui (gtk+/webkit) : $buildgui"
8b70e6ba »
2010-12-05 * configure.ac: unbreak McCabe tool checking
369 echo "McCabe's Cyclomatic Complexity tool : $have_pmccabe"
d14727c7 »
2010-12-11 * dont't require direntry->d_type; this should help the Solaris build.
370 echo
371
b669feb6 »
2011-08-29 * configure.ac: check for readline
372 echo "Have direntry->d_ino : $use_dirent_d_ino"
373 echo "Have direntry->d_type : $use_dirent_d_type"
aa8c86ab »
2012-06-10 * configure.ac: report on whether we are building mug2
374 echo "------------------------------------------------"
fa23a298 »
2011-04-16 * configure.ac: warn user that mug2 won't work with gtk3
375 echo
376
159d26ee »
2012-03-19 * configure.ac: add warning if makeinfo is missing
377 if test "x$have_makeinfo" != "xyes"; then
378 echo "You do not seem to have the makeinfo program; if you are building from git"
379 echo "you need that to create documentation for guile and emacs. It is in the"
380 echo "texinfo package in debian/ubuntu (ie., apt-get install texinfo)"
381 fi
382
383
fa23a298 »
2011-04-16 * configure.ac: warn user that mug2 won't work with gtk3
384 if test "x$buildgui" = "xyes"; then
159d26ee »
2012-03-19 * configure.ac: add warning if makeinfo is missing
385 echo "The demo UIs are in toys/mug and toys/mug2"
fa23a298 »
2011-04-16 * configure.ac: warn user that mug2 won't work with gtk3
386 if test "x$gui" = "xgtk3"; then
387 echo "Note that mug2 will *not* work with gtk+3, because it depends"
388 echo "on libraries that use gtk+2, and the two can't be in one process"
389 fi
390 fi
391
79eb1aff »
2011-07-18 * make muile work for mu 1.8 (and before?) to some extent...
392 if test "x$GUILE_MAJOR_VERSION" = "x1"; then
393 echo
394 echo "NOTE: If you have troubles with linking the guile-related stuff, it"
395 echo "might help to move .la-files out of the way"
396 echo
397 echo "See e.g: http://blog.flameeyes.eu/2008/04/14/what-about-those-la-files"
398 fi
6f48dbed »
2010-01-16 * configure.ac, mu-maildir.c: some compatibility updates
399
525b99f6 »
2010-01-06 * configure.ac: configuration fixes; set database layout version
400 echo
74ce4897 »
2012-06-16 * configure.ac/Makefile.am: require specific emacs version (23+)
401 echo "Now, type 'make' to build mu."
402 echo
403 echo "If unit tests are built (see above), you can run 'make check'"
404 echo "for some basic testing of mu functionality."
Something went wrong with that request. Please try again.