1 dnl Process this file with autoconf to produce a configure script.
3 dnl !!! WHEN ADDING NEW CONFIGURE TESTS, PLEASE ADD CODE TO MAIN.C !!!
4 dnl !!! TO DUMP THEIR RESULTS WHEN MUTT -V IS CALLED !!!
8 AM_CONFIG_HEADER([config.h])
10 mutt_cv_version=`cat $srcdir/VERSION`
11 AM_INIT_AUTOMAKE(mutt, $mutt_cv_version)
12 AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/VERSION'])
16 ALL_LINGUAS="de eu ru it es uk fr pl nl cs id sk ko el zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca bg ga"
20 AC_MSG_CHECKING([for prefix])
21 if test x$prefix = xNONE; then
22 mutt_cv_prefix=$ac_default_prefix
24 mutt_cv_prefix=$prefix
26 AC_MSG_RESULT($mutt_cv_prefix)
31 if test "x$U" != "x"; then
32 AC_MSG_ERROR(Compiler not ANSI compliant)
38 AC_CHECK_TOOL(AR, ar, ar)
46 AC_CHECK_SIZEOF(off_t)
48 AC_PATH_PROG(DBX, dbx, no)
49 AC_PATH_PROG(GDB, gdb, no)
50 AC_PATH_PROG(SDB, sdb, no)
52 if test $GDB != no ; then
54 elif test $DBX != no ; then
56 elif test $SDB != no ; then
64 AH_TEMPLATE([sig_atomic_t],
65 [/* Define to `int' if <signal.h> doesn't define.])
66 AH_TEMPLATE([HAVE_START_COLOR],
67 [Define if you have start_color, as a function or macro.])
68 AH_TEMPLATE([HAVE_TYPEAHEAD],
69 [Define if you have typeahead, as a function or macro.])
70 AH_TEMPLATE([HAVE_BKGDSET],
71 [Define if you have bkgdset, as a function or macro.])
72 AH_TEMPLATE([HAVE_CURS_SET],
73 [Define if you have curs_set, as a function or macro.])
74 AH_TEMPLATE([HAVE_META],
75 [Define if you have meta, as a function or macro.])
76 AH_TEMPLATE([HAVE_USE_DEFAULT_COLORS],
77 [Define if you have use_default_colors, as a function or macro.])
78 AH_TEMPLATE([HAVE_RESIZETERM],
79 [Define if you have resizeterm, as a function or macro.])
80 AH_TEMPLATE([SIG_ATOMIC_VOLATILE_T],
81 [Some systems declare sig_atomic_t as volatile, some others -- no.
82 This define will have value `sig_atomic_t' or
83 `volatile sig_atomic_t' accordingly.])
84 AH_TEMPLATE([ICONV_NONTRANS],
85 [Define as 1 if iconv() only converts exactly and we should treat
86 all return values other than (size_t)(-1) as equivalent.])
88 AH_BOTTOM([/* fseeko portability defines */
91 # if HAVE_C99_INTTYPES && HAVE_INTTYPES_H
92 # if SIZEOF_OFF_T == 8
93 # define OFF_T_FMT "%" PRId64
95 # define OFF_T_FMT "%" PRId32
98 # if (SIZEOF_OFF_T == 8) && (SIZEOF_LONG == 4)
99 # define OFF_T_FMT "%lld"
101 # define OFF_T_FMT "%ld"
106 # define fseeko fseek
107 # define ftello ftell
108 # define OFF_T_FMT "%ld"
113 ac_aux_path_sendmail=/usr/sbin:/usr/lib
114 AC_PATH_PROG(SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$ac_aux_path_sendmail)
115 AC_DEFINE_UNQUOTED(SENDMAIL,"$ac_cv_path_SENDMAIL", [Where to find sendmail on your system.])
119 AC_MSG_CHECKING([whether to build with GPGME support])
120 AC_ARG_ENABLE(gpgme, AC_HELP_STRING([--enable-gpgme], [Enable GPGME support]),
121 [ if test x$enableval = xyes; then
126 if test x"$enable_gpgme" = xyes; then
128 AM_PATH_GPGME(1.0.0, AC_DEFINE(CRYPT_BACKEND_GPGME, 1,
129 [Defined, if GPGME support is enabled]),
131 if test x"$gpgme_found" = xno; then
132 AC_MSG_ERROR([*** GPGME not found ***])
134 AM_PATH_GPGME(1.1.1, AC_DEFINE(HAVE_GPGME_PKA_TRUST, 1,
135 [Define if GPGME supports PKA]))
136 #needed to get GPGME_LIBS and al correctly
137 AM_PATH_GPGME(1.0.0, AC_DEFINE(CRYPT_BACKEND_GPGME, 1,
138 [Define if you use GPGME to support OpenPGP]))
139 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS crypt-gpgme.o crypt-mod-pgp-gpgme.o crypt-mod-smime-gpgme.o"
145 AC_ARG_ENABLE(pgp, AC_HELP_STRING([--disable-pgp], [Disable PGP support]),
146 [ if test x$enableval = xno ; then
151 if test x$have_pgp != xno ; then
152 AC_DEFINE(CRYPT_BACKEND_CLASSIC_PGP,1, [Define if you want classic PGP support.])
153 PGPAUX_TARGET="pgpring\$(EXEEXT) pgpewrap\$(EXEEXT)"
154 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS pgp.o pgpinvoke.o pgpkey.o pgplib.o gnupgparse.o pgpmicalg.o pgppacket.o crypt-mod-pgp-classic.o"
157 AC_ARG_ENABLE(smime, AC_HELP_STRING([--disable-smime], [Disable SMIME support]),
158 [ if test x$enableval = xno ; then
163 if test x$have_smime != xno ; then
164 AC_DEFINE(CRYPT_BACKEND_CLASSIC_SMIME, 1, [Define if you want clasic S/MIME support.])
165 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS smime.o crypt-mod-smime-classic.o"
166 SMIMEAUX_TARGET="smime_keys"
169 AC_ARG_WITH(mixmaster, AC_HELP_STRING([--with-mixmaster@<:@=PATH@:>@], [Include Mixmaster support]),
170 [if test "$withval" != no
172 if test -x "$withval"
176 MIXMASTER="mixmaster"
178 OPS="$OPS \$(srcdir)/OPS.MIX"
179 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS remailer.o"
180 AC_DEFINE_UNQUOTED(MIXMASTER,"$MIXMASTER", [Where to find mixmaster on your system.])
183 # We now require all OPS
184 OPS="$OPS \$(srcdir)/OPS.PGP \$(srcdir)/OPS.SMIME \$(srcdir)/OPS.CRYPT "
187 AC_SUBST(PGPAUX_TARGET)
188 AC_SUBST(SMIMEAUX_TARGET)
190 AC_PATH_PROG(ISPELL, ispell, no)
191 if test $ISPELL != no; then
192 AC_DEFINE_UNQUOTED(ISPELL,"$ISPELL",[ Where to find ispell on your system. ])
195 AC_ARG_WITH(slang, AC_HELP_STRING([--with-slang@<:@=DIR@:>@], [Use S-Lang instead of ncurses]),
196 [AC_CACHE_CHECK([if this is a BSD system], mutt_cv_bsdish,
197 [AC_TRY_RUN([#include <sys/param.h>
212 AC_MSG_CHECKING(for S-Lang)
213 if test $withval = yes; then
214 if test -d $srcdir/../slang; then
215 mutt_cv_slang=$srcdir/../slang/src
216 CPPFLAGS="$CPPFLAGS -I${mutt_cv_slang}"
217 LDFLAGS="$LDFLAGS -L${mutt_cv_slang}/objs"
219 if test -d $mutt_cv_prefix/include/slang; then
220 CPPFLAGS="$CPPFLAGS -I$mutt_cv_prefix/include/slang"
221 elif test -d /usr/include/slang; then
222 CPPFLAGS="$CPPFLAGS -I/usr/include/slang"
227 dnl ---Check to see if $withval is a source directory
228 if test -f $withval/src/slang.h; then
229 mutt_cv_slang=$withval/src
230 CPPFLAGS="$CPPFLAGS -I${mutt_cv_slang}"
231 LDFLAGS="$LDFLAGS -L${mutt_cv_slang}/objs"
233 dnl ---Must be installed somewhere
234 mutt_cv_slang=$withval
235 if test -d $withval/include/slang; then
236 CPPFLAGS="$CPPFLAGS -I${withval}/include/slang"
237 elif test -d $withval/include; then
238 CPPFLAGS="$CPPFLAGS -I${withval}/include"
240 LDFLAGS="$LDFLAGS -L${withval}/lib"
243 AC_MSG_RESULT($mutt_cv_slang)
244 if test $mutt_cv_bsdish = yes; then
245 AC_CHECK_LIB(termlib, main)
247 AC_DEFINE(USE_SLANG_CURSES,1,
248 [ Define if you compile with SLang instead of curses/ncurses. ])
249 AC_DEFINE(HAVE_COLOR,1,[ Define if your curses library supports color. ])
250 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS resize.o"
252 dnl --- now that we've found it, check the link
254 AC_CHECK_LIB(slang, SLtt_get_terminfo,
255 [MUTTLIBS="$MUTTLIBS -lslang -lm"],
256 [AC_MSG_ERROR(unable to compile. check config.log)], -lm)
261 AC_ARG_WITH(curses, AC_HELP_STRING([--with-curses=DIR], [Where ncurses is installed]),
262 [if test $withval != yes; then
263 mutt_cv_curses=$withval
265 if test x$mutt_cv_curses != x/usr; then
266 LDFLAGS="$LDFLAGS -L${mutt_cv_curses}/lib"
267 CPPFLAGS="$CPPFLAGS -I${mutt_cv_curses}/include"
270 AC_CHECK_FUNC(initscr,,[
272 for lib in ncurses ncursesw
274 AC_CHECK_LIB($lib, waddnwstr, [cf_ncurses="$lib"; break])
276 AC_CHECK_LIB($cf_ncurses, initscr,
277 [MUTTLIBS="$MUTTLIBS -l$cf_ncurses"
279 if test "$cf_ncurses" = ncursesw; then
280 AC_CHECK_HEADERS(ncursesw/ncurses.h,[cf_cv_ncurses_header="ncursesw/ncurses.h"])
282 AC_CHECK_HEADERS(ncurses/ncurses.h,[cf_cv_ncurses_header="ncurses/ncurses.h"],
283 [AC_CHECK_HEADERS(ncurses.h,[cf_cv_ncurses_header="ncurses.h"])])
290 LIBS="$LIBS $MUTTLIBS"
291 CF_CHECK_FUNCDECLS([#include <${cf_cv_ncurses_header-curses.h}>],
292 [start_color typeahead bkgdset curs_set meta use_default_colors resizeterm])
293 if test "$ac_cv_func_decl_start_color" = yes; then
294 AC_DEFINE(HAVE_COLOR,1,[ Define if your curses library supports color. ])
296 if test "$ac_cv_func_decl_resizeterm" = yes; then
297 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS resize.o"
304 AC_CHECK_HEADERS(stdarg.h sys/ioctl.h ioctl.h sysexits.h)
305 AC_CHECK_HEADERS(sys/time.h sys/resource.h)
306 AC_CHECK_HEADERS(unix.h)
308 AC_CHECK_FUNCS(setrlimit getsid)
312 AC_MSG_CHECKING(for sig_atomic_t in signal.h)
313 AC_EGREP_HEADER(sig_atomic_t,signal.h,
315 ac_cv_type_sig_atomic_t=yes;
316 AC_EGREP_HEADER(volatile.*sig_atomic_t,
319 is_sig_atomic_t_volatile=yes;
320 AC_MSG_RESULT([yes, volatile])
323 is_sig_atomic_t_volatile=no;
324 AC_MSG_RESULT([yes, non volatile])
329 AC_CHECK_TYPE(sig_atomic_t, int)
330 is_sig_atomic_t_volatile=no
332 if test $is_sig_atomic_t_volatile = 'yes'
334 AC_DEFINE(SIG_ATOMIC_VOLATILE_T, sig_atomic_t)
336 AC_DEFINE(SIG_ATOMIC_VOLATILE_T, [volatile sig_atomic_t])
342 AC_CHECK_TYPE(ssize_t, int)
344 AC_CHECK_FUNCS(fgetpos memmove setegid srand48 strerror)
346 AC_REPLACE_FUNCS([setenv strcasecmp strdup strsep strtok_r])
348 AC_CHECK_FUNC(getopt)
349 if test $ac_cv_func_getopt = yes; then
350 AC_CHECK_HEADERS(getopt.h)
354 AC_CHECK_FUNC(snprintf, [mutt_cv_func_snprintf=yes], [mutt_cv_func_snprintf=no])
355 AC_CHECK_FUNC(vsnprintf, [mutt_cv_func_vsnprintf=yes], [mutt_cv_func_vsnprintf=no])
356 if test $mutt_cv_func_snprintf = yes; then
357 AC_CACHE_CHECK([whether your system's snprintf is C99 compliant],
358 [mutt_cv_c99_snprintf],
365 int len = snprintf(buf, 4, "1234567");
366 return (len != 7 || buf[3] != '\0');
369 ], mutt_cv_c99_snprintf=yes, mutt_cv_c99_snprintf=no, mutt_cv_c99_snprintf=no))
371 mutt_cv_c99_snprintf=no
373 if test $mutt_cv_func_vsnprintf = yes; then
374 AC_CACHE_CHECK([whether your system's vsnprintf is C99 compliant],
375 [mutt_cv_c99_vsnprintf],
379 int foo(const char *fmt, ...)
386 len = vsnprintf(buf, 4, fmt, ap);
388 return (len != 7 || buf[3] != '\0');
394 return foo("%s", "1234567");
396 ], mutt_cv_c99_vsnprintf=yes, mutt_cv_c99_vsnprintf=no, mutt_cv_c99_vsnprintf=no))
398 mutt_cv_c99_vsnprintf=no
400 if test $mutt_cv_c99_snprintf = yes; then
401 AC_DEFINE(HAVE_SNPRINTF, 1, [ Define to 1 if you have a C99 compliant snprintf function. ])
403 if test $mutt_cv_c99_vsnprintf = yes; then
404 AC_DEFINE(HAVE_VSNPRINTF, 1, [ Define to 1 if you have a C99 compliant vsnprintf function. ])
406 if test $mutt_cv_c99_snprintf = no -o $mutt_cv_c99_vsnprintf = no; then
412 dnl SCO uses chsize() instead of ftruncate()
413 AC_CHECK_FUNCS(ftruncate, , [AC_CHECK_LIB(x, chsize)])
415 dnl SCO has strftime() in libintl
416 AC_CHECK_FUNCS(strftime, , [AC_CHECK_LIB(intl, strftime)])
418 dnl AIX may not have fchdir()
419 AC_CHECK_FUNCS(fchdir, , [mutt_cv_fchdir=no])
421 AC_ARG_WITH(regex, AC_HELP_STRING([--with-regex], [Use the GNU regex library]),
423 [AC_CHECK_FUNCS(regcomp, mutt_cv_regex=no, mutt_cv_regex=yes)])
425 if test $mutt_cv_regex = no ; then
426 AC_CACHE_CHECK([whether your system's regexp library is completely broken],
427 [mutt_cv_regex_broken],
431 main() { regex_t blah ; regmatch_t p; p.rm_eo = p.rm_eo; return regcomp(&blah, "foo.*bar", REG_NOSUB) || regexec (&blah, "foobar", 0, NULL, 0); }],
432 mutt_cv_regex_broken=no, mutt_cv_regex_broken=yes, mutt_cv_regex_broken=yes))
433 if test $mutt_cv_regex_broken = yes ; then
434 echo "Using the included GNU regex instead." >&AC_FD_MSG
439 if test $mutt_cv_regex = yes; then
440 AC_DEFINE(USE_GNU_REGEX,1,[ Define if you want to use the included regex.c. ])
445 AC_ARG_WITH(homespool,
446 AC_HELP_STRING([--with-homespool@<:@=FILE@:>@], [File in user's directory where new mail is spooled]), with_homespool=${withval})
447 if test x$with_homespool != x; then
448 if test $with_homespool = yes; then
449 with_homespool=mailbox
451 AC_DEFINE_UNQUOTED(MAILPATH,"$with_homespool",[ Where new mail is spooled. ])
452 AC_DEFINE(HOMESPOOL,1,
453 [Is mail spooled to the user's home directory? If defined,
454 MAILPATH should be set to the filename of the spool mailbox
455 relative the the home directory.
456 use: configure --with-homespool=FILE])
457 AC_DEFINE(USE_DOTLOCK,1,[ Define to use dotlocking for mailboxes. ])
460 AC_ARG_WITH(mailpath, AC_HELP_STRING([--with-mailpath=DIR], [Directory where spool mailboxes are located]),
461 [mutt_cv_mailpath=$withval],
462 [ AC_CACHE_CHECK(where new mail is stored, mutt_cv_mailpath,
464 if test -d /var/mail; then
465 mutt_cv_mailpath=/var/mail
466 elif test -d /var/spool/mail; then
467 mutt_cv_mailpath=/var/spool/mail
468 elif test -d /usr/spool/mail; then
469 mutt_cv_mailpath=/usr/spool/mail
470 elif test -d /usr/mail; then
471 mutt_cv_mailpath=/usr/mail
474 if test "$mutt_cv_mailpath" = no; then
475 AC_MSG_ERROR("Could not determine where new mail is stored.")
477 AC_DEFINE_UNQUOTED(MAILPATH,"$mutt_cv_mailpath",[ Where new mail is spooled. ])
479 AC_CACHE_CHECK(if $mutt_cv_mailpath is world writable, mutt_cv_worldwrite, [AC_TRY_RUN([#include <sys/types.h>
480 #include <sys/stat.h>
483 int main (int argc, char **argv)
487 stat ("$mutt_cv_mailpath", &s);
488 if (s.st_mode & S_IWOTH) exit (0);
490 }], mutt_cv_worldwrite=yes, mutt_cv_worldwrite=no, mutt_cv_worldwrite=no)])
493 if test $mutt_cv_worldwrite = yes; then
494 AC_DEFINE(USE_DOTLOCK,1,[ Define to use dotlocking for mailboxes. ])
497 AC_CACHE_CHECK(if $mutt_cv_mailpath is group writable, mutt_cv_groupwrite, [AC_TRY_RUN([#include <sys/types.h>
498 #include <sys/stat.h>
501 int main (int argc, char **argv)
505 stat ("$mutt_cv_mailpath", &s);
506 if (s.st_mode & S_IWGRP) exit (0);
508 }], mutt_cv_groupwrite=yes, mutt_cv_groupwrite=no, mutt_cv_groupwrite=no)])
510 if test $mutt_cv_groupwrite = yes; then
511 AC_DEFINE(USE_DOTLOCK,1,[ Define to use dotlocking for mailboxes. ])
512 AC_DEFINE(USE_SETGID,1,[ Define if mutt should run setgid "mail". ])
518 AC_ARG_ENABLE(external_dotlock, AC_HELP_STRING([--enable-external-dotlock], [Force use of an external dotlock program]),
519 [mutt_cv_external_dotlock="$enableval"])
521 if test "x$mutt_cv_setgid" = "xyes" || test "x$mutt_cv_fchdir" = "xno" \
522 || test "x$mutt_cv_external_dotlock" = "xyes"
524 AC_DEFINE(DL_STANDALONE,1,[ Define if you want to use an external dotlocking program. ])
525 DOTLOCK_TARGET="mutt_dotlock\$(EXEEXT)"
527 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS dotlock.o"
530 AC_SUBST(DOTLOCK_TARGET)
532 dnl autoconf <2.60 compatibility
533 if test -z "$datarootdir"; then
534 datarootdir='${prefix}/share'
536 AC_SUBST([datarootdir])
538 AC_MSG_CHECKING(where to put the documentation)
539 AC_ARG_WITH(docdir, AC_HELP_STRING([--with-docdir=PATH], [Specify where to put the documentation]),
540 [mutt_cv_docdir=$withval],
541 [mutt_cv_docdir='${datarootdir}/doc/mutt'])
542 AC_MSG_RESULT($mutt_cv_docdir)
544 docdir=$mutt_cv_docdir
547 if test x$mutt_cv_setgid = xyes; then
549 DOTLOCK_PERMISSION=2755
552 DOTLOCK_PERMISSION=755
554 AC_SUBST(DOTLOCK_GROUP)
555 AC_SUBST(DOTLOCK_PERMISSION)
557 AC_ARG_WITH(domain, AC_HELP_STRING([--with-domain=DOMAIN], [Specify your DNS domain name]),
558 [if test $withval != yes; then
559 if test $withval != no; then
560 AC_DEFINE_UNQUOTED(DOMAIN,"$withval",[ Define your domain name. ])
566 dnl -- socket dependencies --
568 AC_ARG_ENABLE(pop, AC_HELP_STRING([--enable-pop], [Enable POP3 support]),
569 [ if test x$enableval = xyes ; then
570 AC_DEFINE(USE_POP,1,[ Define if you want support for the POP3 protocol. ])
571 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS pop.o pop_lib.o pop_auth.o"
578 AC_ARG_ENABLE(imap, AC_HELP_STRING([--enable-imap], [Enable IMAP support]),
579 [ if test x$enableval = xyes ; then
580 AC_DEFINE(USE_IMAP,1,[ Define if you want support for the IMAP protocol. ])
581 LIBIMAP="-Limap -limap"
582 LIBIMAPDEPS="\$(top_srcdir)/imap/imap.h imap/libimap.a"
588 AM_CONDITIONAL(BUILD_IMAP, test x$need_imap = xyes)
590 AC_ARG_ENABLE(smtp, AC_HELP_STRING([--enable-smtp], [include internal SMTP relay support]),
591 [if test $enableval = yes; then
592 AC_DEFINE(USE_SMTP, 1, [Include internal SMTP relay support])
593 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS smtp.o"
597 if test x"$need_imap" = xyes -o x"$need_pop" = xyes ; then
598 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS bcache.o"
601 dnl -- end socket dependencies --
603 if test "$need_socket" = "yes"
605 AC_CHECK_HEADERS([sys/select.h])
606 AC_MSG_CHECKING([for socklen_t])
607 AC_EGREP_HEADER(socklen_t, sys/socket.h, AC_MSG_RESULT([yes]),
609 AC_DEFINE(socklen_t,int,
610 [ Define to 'int' if <sys/socket.h> doesn't have it. ]))
611 AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent))
612 AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt))
613 AC_CHECK_FUNCS(getaddrinfo)
614 AC_DEFINE(USE_SOCKET,1,
615 [ Include code for socket support. Set automatically if you enable POP3 or IMAP ])
616 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS account.o mutt_socket.o mutt_tunnel.o"
619 dnl -- imap dependencies --
621 AC_ARG_WITH(gss, AC_HELP_STRING([--with-gss@<:@=PFX@:>@], [Compile in GSSAPI authentication for IMAP]),
622 gss_prefix="$withval", gss_prefix="no")
623 if test "$gss_prefix" != "no"
625 if test "$need_imap" = "yes"
627 MUTT_AM_PATH_GSSAPI(gss_prefix)
628 AC_MSG_CHECKING(GSSAPI implementation)
629 AC_MSG_RESULT($GSSAPI_IMPL)
630 if test "$GSSAPI_IMPL" = "none"
633 AC_MSG_RESULT([GSSAPI libraries not found])
635 if test "$GSSAPI_IMPL" = "Heimdal"
637 AC_DEFINE(HAVE_HEIMDAL,1,[ Define if your GSSAPI implementation is Heimdal ])
639 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
640 MUTTLIBS="$MUTTLIBS $GSSAPI_LIBS"
641 AC_DEFINE(USE_GSS,1,[ Define if you have GSSAPI libraries available ])
644 AC_MSG_WARN([GSS was requested but IMAP is not enabled])
647 AM_CONDITIONAL(USE_GSS, test x$need_gss = xyes)
649 dnl -- end imap dependencies --
651 AC_ARG_WITH(ssl, AC_HELP_STRING([--with-ssl@<:@=PFX@:>@], [Compile in SSL support for POP/IMAP/SMTP using OpenSSL]),
652 [ if test "$with_ssl" != "no"
654 if test "$need_socket" != "yes"; then
655 AC_MSG_WARN([SSL support is only useful with POP, IMAP or SMTP support])
657 if test "$with_ssl" != "yes"
659 LDFLAGS="$LDFLAGS -L$withval/lib"
660 CPPFLAGS="$CPPFLAGS -I$withval/include"
665 AC_CHECK_LIB(z, deflate, [crypto_libs=-lz])
666 AC_CHECK_LIB(crypto, X509_new,
667 [crypto_libs="-lcrypto $crypto_libs"],, [$crypto_libs])
668 AC_CHECK_LIB(ssl, SSL_new,,
669 AC_MSG_ERROR([Unable to find SSL library]), [$crypto_libs])
671 LIBS="$LIBS $crypto_libs"
672 AC_CHECK_FUNCS(RAND_status RAND_egd)
674 AC_DEFINE(USE_SSL,1,[ Define if you want support for SSL. ])
675 AC_DEFINE(USE_SSL_OPENSSL,1,[ Define if you want support for SSL via OpenSSL. ])
677 MUTTLIBS="$MUTTLIBS -lssl $crypto_libs"
678 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS mutt_ssl.o"
684 AC_ARG_WITH([gnutls], AC_HELP_STRING([--with-gnutls@<:@=PFX@:>@], [Compile in SSL support for POP/IMAP/SMTP using gnutls]),
685 [gnutls_prefix="$withval"], [gnutls_prefix="no"])
686 if test "$gnutls_prefix" != "no" && test x"$need_ssl" != xyes
688 if test "$need_socket" != "yes"
690 AC_MSG_WARN([SSL support is only useful with POP, IMAP or SMTP support])
692 MUTT_AM_PATH_GNUTLS([$gnutls_prefix],
694 CPPFLAGS="$CPPFLAGS $LIBGNUTLS_CFLAGS"
695 MUTTLIBS="$MUTTLIBS $LIBGNUTLS_LIBS"
697 AC_DEFINE(USE_SSL,1,[ Define if you want support for SSL. ])
698 AC_DEFINE(USE_SSL_GNUTLS,1,[ Define if you want support for SSL via GNUTLS. ])
700 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS mutt_ssl_gnutls.o"
702 [dnl GNUTLS not found
703 AC_MSG_ERROR([could not find libgnutls])
707 AM_CONDITIONAL(USE_SSL, test x$need_ssl = xyes)
709 AC_ARG_WITH(sasl, AC_HELP_STRING([--with-sasl@<:@=PFX@:>@], [Use Cyrus SASL 2 network security library]),
711 if test "$with_sasl" != "no"
713 if test "$need_socket" != "yes"
715 AC_MSG_ERROR([SASL support is only useful with POP or IMAP support])
718 if test "$with_sasl" != "yes"
720 CPPFLAGS="$CPPFLAGS -I$with_sasl/include"
721 LDFLAGS="$LDFLAGS -L$with_sasl/lib"
726 AC_CHECK_LIB(sasl2, sasl_client_init,,
727 AC_MSG_ERROR([could not find libsasl2]),)
729 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS mutt_sasl.o"
730 MUTTLIBS="$MUTTLIBS -lsasl2"
732 AC_DEFINE(USE_SASL,1,
733 [ Define if want to use the Cyrus SASL library for POP/IMAP authentication. ])
737 AM_CONDITIONAL(USE_SASL, test x$need_sasl = xyes)
741 AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [Enable debugging support]),
742 [ if test x$enableval = xyes ; then
743 AC_DEFINE(DEBUG,1,[ Define to enable debugging info. ])
747 AC_ARG_ENABLE(flock, AC_HELP_STRING([--enable-flock], [Use flock() to lock files]),
748 [if test $enableval = yes; then
749 AC_DEFINE(USE_FLOCK,1, [ Define to use flock() to lock mailboxes. ])
753 AC_ARG_ENABLE(fcntl, AC_HELP_STRING([--disable-fcntl], [Do NOT use fcntl() to lock files]),
754 [if test $enableval = no; then mutt_cv_fcntl=no; fi])
756 if test $mutt_cv_fcntl = yes; then
757 AC_DEFINE(USE_FCNTL,1, [ Define to use fcntl() to lock folders. ])
760 AC_MSG_CHECKING(whether struct dirent defines d_ino)
761 ac_cv_dirent_d_ino=no
762 AC_TRY_LINK([#include <dirent.h>],[struct dirent dp; (void)dp.d_ino],[ac_cv_dirent_d_ino=yes])
763 if test x$ac_cv_dirent_d_ino = xyes ; then
764 AC_DEFINE(HAVE_DIRENT_D_INO,1,
765 [Define to 1 if your system has the dirent::d_ino member])
767 AC_MSG_RESULT($ac_cv_dirent_d_ino)
770 AC_ARG_ENABLE(warnings, AC_HELP_STRING([--disable-warnings], [Turn off compiler warnings (not recommended)]),
771 [if test $enableval = no; then
775 if test x$GCC = xyes && test $mutt_cv_warnings = yes; then
776 CFLAGS="-Wall -pedantic -Wno-long-long $CFLAGS"
779 AC_ARG_ENABLE(nfs-fix, AC_HELP_STRING([--enable-nfs-fix], [Work around an NFS with broken attributes caching]),
780 [if test x$enableval = xyes; then
781 AC_DEFINE(NFS_ATTRIBUTE_HACK,1,
782 [Define if you have problems with mutt not detecting
783 new/old mailboxes over NFS. Some NFS implementations
784 incorrectly cache the attributes of small files.])
787 AC_ARG_ENABLE(mailtool, AC_HELP_STRING([--enable-mailtool], [Enable Sun mailtool attachments support]),
788 [if test x$enableval = xyes; then
789 AC_DEFINE(SUN_ATTACHMENT,1,[ Define to enable Sun mailtool attachments support. ])
792 AC_ARG_ENABLE(locales-fix, AC_HELP_STRING([--enable-locales-fix], [The result of isprint() is unreliable]),
793 [if test x$enableval = xyes; then
794 AC_DEFINE(LOCALES_HACK,1,[ Define if the result of isprint() is unreliable. ])
797 AC_ARG_WITH(exec-shell, AC_HELP_STRING([--with-exec-shell=SHELL], [Specify alternate shell (ONLY if /bin/sh is broken)]),
798 [if test $withval != yes; then
799 AC_DEFINE_UNQUOTED(EXECSHELL, "$withval",
800 [program to use for shell commands])
802 AC_DEFINE_UNQUOTED(EXECSHELL, "/bin/sh")
804 [AC_DEFINE_UNQUOTED(EXECSHELL, "/bin/sh")])
806 AC_ARG_ENABLE(exact-address, AC_HELP_STRING([--enable-exact-address], [Enable regeneration of email addresses]),
807 [if test $enableval = yes; then
808 AC_DEFINE(EXACT_ADDRESS,1,
809 [Enable exact regeneration of email addresses as parsed?
810 NOTE: this requires significant more memory when defined.])
814 dnl -- start cache --
817 AC_ARG_ENABLE(hcache, AC_HELP_STRING([--enable-hcache],
818 [Enable header caching]))
819 AC_ARG_WITH(tokyocabinet, AC_HELP_STRING([--without-tokyocabinet],
820 [Don't use tokyocabinet even if it is available]))
821 AC_ARG_WITH(qdbm, AC_HELP_STRING([--without-qdbm],
822 [Don't use qdbm even if it is available]))
823 AC_ARG_WITH(gdbm, AC_HELP_STRING([--without-gdbm],
824 [Don't use gdbm even if it is available]))
825 AC_ARG_WITH(bdb, AC_HELP_STRING([--with-bdb@<:@=DIR@:>@],
826 [Use BerkeleyDB4 if gdbm is not available]))
828 if test x$enable_hcache = xyes
830 AC_DEFINE(USE_HCACHE, 1, [Enable header caching])
831 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS hcache.o"
833 OLDCPPFLAGS="$CPPFLAGS"
834 OLDLDFLAGS="$LDFLAGS"
839 if test -n "$with_tokyocabinet" && test "$with_tokyocabinet" != "no"
843 if test -n "$with_qdbm" && test "$with_qdbm" != "no"
845 if test "$db_requested" != "auto"
847 AC_MSG_ERROR([more than one header cache engine requested.])
852 if test -n "$with_gdbm" && test "$with_gdbm" != "no"
854 if test "$db_requested" != "auto"
856 AC_MSG_ERROR([more than one header cache engine requested.])
861 if test -n "$with_bdb" && test "$with_bdb" != "no"
863 if test "$db_requested" != "auto"
865 AC_MSG_ERROR([more than one header cache engine requested.])
871 dnl -- Tokyo Cabinet --
872 if test "$with_tokyocabinet" != "no" \
873 && test "$db_requested" = auto -o "$db_requested" = tc
875 if test -n "$with_tokyocabinet" && test "$with_tokyocabinet" != "yes"
877 CPPFLAGS="$CPPFLAGS -I$with_tokyocabinet/include"
878 LDFLAGS="$LDFLAGS -L$with_tokyocabinet/lib"
881 AC_CHECK_HEADER(tcbdb.h,
882 AC_CHECK_LIB(tokyocabinet, tcbdbopen,
883 [MUTTLIBS="$MUTTLIBS -ltokyocabinet"
884 AC_DEFINE(HAVE_TC, 1, [Tokyo Cabinet Support])
886 [CPPFLAGS="$OLDCPPFLAGS"
887 LDFLAGS="$OLDLDFLAGS"]))
888 if test "$db_requested" != auto && test "$db_found" != "$db_requested"
890 AC_MSG_ERROR([Tokyo Cabinet could not be used. Check config.log for details.])
895 if test "$with_qdbm" != "no" && test $db_found = no \
896 && test "$db_requested" = auto -o "$db_requested" = qdbm
898 if test -n "$with_qdbm" && test "$with_qdbm" != "yes"
900 if test -d $with_qdbm/include/qdbm; then
901 CPPFLAGS="$CPPFLAGS -I$with_qdbm/include/qdbm"
903 CPPFLAGS="$CPPFLAGS -I$with_qdbm/include"
905 LDFLAGS="$LDFLAGS -L$with_qdbm/lib"
907 if test -d /usr/include/qdbm; then
908 CPPFLAGS="$CPPFLAGS -I/usr/include/qdbm"
913 AC_CHECK_HEADERS(villa.h)
914 AC_CHECK_LIB(qdbm, vlopen,
915 [MUTTLIBS="$MUTTLIBS -lqdbm"
916 AC_DEFINE(HAVE_QDBM, 1, [QDBM Support])
918 [CPPFLAGS="$OLDCPPFLAGS"
919 LDFLAGS="$OLDLDFLAGS"])
921 if test "$db_requested" != auto && test "$db_found" != "$db_requested"
923 AC_MSG_ERROR([QDBM could not be used. Check config.log for details.])
928 if test x$with_gdbm != xno && test $db_found = no \
929 && test "$db_requested" = auto -o "$db_requested" = gdbm
931 if test "$with_gdbm" != "yes"
933 CPPFLAGS="$CPPFLAGS -I$with_gdbm/include"
934 LDFLAGS="$LDFLAGS -L$with_gdbm/lib"
938 AC_CACHE_CHECK(for gdbm_open, ac_cv_gdbmopen,[
940 AC_TRY_LINK([#include <gdbm.h>],[gdbm_open(0,0,0,0,0);],[ac_cv_gdbmopen=yes])
943 if test "$ac_cv_gdbmopen" = yes
945 AC_DEFINE(HAVE_GDBM, 1, [GDBM Support])
946 MUTTLIBS="$MUTTLIBS -lgdbm"
949 if test "$db_requested" != auto && test "$db_found" != "$db_requested"
951 AC_MSG_ERROR([GDBM could not be used. Check config.log for details.])
956 ac_bdb_prefix="$with_bdb"
957 if test x$ac_bdb_prefix != xno && test $db_found = no
959 if test x$ac_bdb_prefix = xyes || test x$ac_bdb_prefix = x
961 ac_bdb_prefix="$mutt_cv_prefix /opt/csw/bdb4 /opt /usr/local /usr"
963 for d in $ac_bdb_prefix; do
965 for v in BerkeleyDB.4.3 BerkeleyDB.4.2 BerkeleyDB.4.1; do
966 bdbpfx="$bdbpfx $d/$v"
969 BDB_VERSIONS="db-4 db4 db-4.6 db4.6 db46 db-4.5 db4.5 db45 db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db ''"
970 AC_MSG_CHECKING([for BerkeleyDB > 4.0])
974 for v in / $BDB_VERSIONS; do
975 if test -r "$d/include/$v/db.h"; then
976 BDB_INCLUDE_DIR="$d/include/$v"
977 for bdblibdir in "$d/lib/$v" "$d/lib"; do
978 test -d "$bdblibdir" || continue
979 BDB_LIB_DIR="$bdblibdir"
980 for l in `echo $BDB_VERSIONS`; do
981 CPPFLAGS="$OLDCPPFLAGS -I$BDB_INCLUDE_DIR"
982 LIBS="$OLDLIBS -L$BDB_LIB_DIR -l$l"
988 db->open(db,NULL,NULL,NULL,0,0,0);
995 test x$ac_cv_dbcreate = xyes && break 2
999 test x$BDB_LIB != x && break
1001 if test x$ac_cv_dbcreate = xyes
1004 CPPFLAGS="$OLDCPPFLAGS -I$BDB_INCLUDE_DIR"
1005 LIBS="$OLDLIBS -L$BDB_LIB_DIR -l$BDB_LIB"
1006 AC_DEFINE(HAVE_DB4, 1, [Berkeley DB4 Support])
1013 if test $db_found = no
1015 AC_MSG_ERROR([You need Tokyo Cabinet, QDBM, GDBM or Berkeley DB4 for hcache])
1020 if test "$need_md5" = "yes"
1022 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS md5.o"
1028 AC_SUBST(MUTT_LIB_OBJECTS)
1030 AC_SUBST(LIBIMAPDEPS)
1032 dnl -- iconv/gettext --
1034 AC_ARG_ENABLE(iconv, AC_HELP_STRING([--disable-iconv], [Disable iconv support]),
1035 [if test x$enableval = xno ; then
1042 if test "$am_cv_func_iconv" != "yes"
1044 AC_MSG_WARN([Configuring without iconv support. See INSTALL for details])
1047 AC_CHECK_HEADERS(iconv.h,
1048 [AC_MSG_CHECKING(whether iconv.h defines iconv_t)
1049 AC_EGREP_HEADER([typedef.*iconv_t],iconv.h,
1051 AC_DEFINE(HAVE_ICONV_T_DEF, 1,
1052 [Define if <iconv.h> defines iconv_t.])],
1053 AC_MSG_RESULT(no))])
1055 dnl (1) Some implementations of iconv won't convert from UTF-8 to UTF-8.
1056 dnl (2) In glibc-2.1.2 and earlier there is a bug that messes up ob and
1057 dnl obl when args 2 and 3 are 0 (fixed in glibc-2.1.3).
1058 AC_CACHE_CHECK([whether this iconv is good enough], mutt_cv_iconv_good,
1059 mutt_save_LIBS="$LIBS"
1060 LIBS="$LIBS $LIBICONV"
1068 changequote([, ])dnl
1071 ob = buf, obl = sizeof(buf);
1072 return ((cd = iconv_open("UTF-8", "UTF-8")) != (iconv_t)(-1) &&
1073 (iconv(cd, 0, 0, &ob, &obl) ||
1074 !(ob == buf && obl == sizeof(buf)) ||
1078 mutt_cv_iconv_good=yes,
1079 mutt_cv_iconv_good=no,
1080 mutt_cv_iconv_good=yes)
1081 LIBS="$mutt_save_LIBS")
1082 if test "$mutt_cv_iconv_good" = no; then
1083 AC_MSG_ERROR(Try using libiconv instead)
1086 dnl This is to detect implementations such as the one in glibc-2.1,
1087 dnl which always convert exactly but return the number of characters
1088 dnl converted instead of the number converted inexactly.
1089 AC_CACHE_CHECK([whether iconv is non-transcribing], mutt_cv_iconv_nontrans,
1090 mutt_save_LIBS="$LIBS"
1091 LIBS="$LIBS $LIBICONV"
1101 const char *s = "\304\211";
1104 changequote([, ])dnl
1105 ib = s, ibl = 2, ob = t, obl = 3;
1106 return ((cd = iconv_open("UTF-8", "UTF-8")) == (iconv_t)(-1) ||
1107 iconv(cd, &ib, &ibl, &ob, &obl));
1110 mutt_cv_iconv_nontrans=no,
1111 mutt_cv_iconv_nontrans=yes,
1112 mutt_cv_iconv_nontrans=no)
1113 LIBS="$mutt_save_LIBS")
1114 if test "$mutt_cv_iconv_nontrans" = yes; then
1115 AC_DEFINE(ICONV_NONTRANS, 1)
1117 AC_DEFINE(ICONV_NONTRANS, 0)
1120 CPPFLAGS="$CPPFLAGS -I\$(top_srcdir)/intl"
1122 if test "$BUILD_INCLUDED_LIBINTL" = "yes"; then
1123 AC_DEFINE(HAVE_BIND_TEXTDOMAIN_CODESET,1,
1124 [ Define if your gettext has bind_textdomain_codeset. ])
1126 mutt_save_LIBS="$LIBS"
1127 LIBS="$LIBS $INTLLIBS"
1128 AC_CHECK_FUNCS(bind_textdomain_codeset)
1129 LIBS="$mutt_save_LIBS"
1134 dnl -- IDN depends on iconv
1136 AC_ARG_WITH(idn, AC_HELP_STRING([--with-idn=@<:@PFX@:>@], [Use GNU libidn for domain names]),
1138 if test "$with_idn" != "no" ; then
1139 if test "$with_idn" != "yes" ; then
1140 CPPFLAGS="$CPPFLAGS -I$with_idn/include"
1141 LDFLAGS="$LDFLAGS -L$with_idn/lib"
1147 if test "x$with_idn" != "xno"; then
1148 if test "$am_cv_func_iconv" != "yes"
1150 if test "x$with_idn" != "x"
1152 AC_MSG_ERROR([IDN requested but iconv is disabled or unavailable])
1155 AC_SEARCH_LIBS([stringprep_check_version], [idn], [
1156 AC_DEFINE([HAVE_LIBIDN], 1, [Define to 1 if you have the `idn' library])
1157 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS mutt_idna.o"
1159 AC_CHECK_FUNCS(idna_to_unicode_utf8_from_utf8 idna_to_unicode_8z8z)
1160 AC_CHECK_FUNCS(idna_to_ascii_from_utf8 idna_to_ascii_8z)
1161 AC_CHECK_FUNCS(idna_to_ascii_lz idna_to_ascii_from_locale)
1167 AC_CHECK_HEADERS(wchar.h)
1169 AC_CACHE_CHECK([for wchar_t], mutt_cv_wchar_t,
1177 [ wchar_t wc; return 0; ],
1178 mutt_cv_wchar_t=yes,
1179 mutt_cv_wchar_t=no))
1181 if test "$mutt_cv_wchar_t" = no; then
1182 AC_DEFINE(wchar_t,int,[ Define to 'int' if system headers don't define. ])
1185 AC_CACHE_CHECK([for wint_t], mutt_cv_wint_t,
1193 [ wint_t wc; return 0; ],
1197 if test "$mutt_cv_wint_t" = no; then
1198 AC_DEFINE(wint_t,int,[ Define to 'int' if system headers don't define. ])
1201 AC_CHECK_HEADERS(wctype.h)
1202 AC_CHECK_FUNCS(iswalnum iswalpha iswcntrl iswdigit)
1203 AC_CHECK_FUNCS(iswgraph iswlower iswprint iswpunct iswspace iswupper)
1204 AC_CHECK_FUNCS(iswxdigit towupper towlower)
1206 AC_CACHE_CHECK([for mbstate_t], mutt_cv_mbstate_t,
1214 [ mbstate_t s; return 0; ],
1215 mutt_cv_mbstate_t=yes,
1216 mutt_cv_mbstate_t=no))
1218 if test "$mutt_cv_mbstate_t" = no; then
1219 AC_DEFINE(mbstate_t,int,[ Define to 'int' if system headers don't define. ])
1223 AC_ARG_WITH(wc-funcs, AC_HELP_STRING([--without-wc-funcs], [Do not use the system's wchar_t functions]),
1226 if test "$wc_funcs" != yes && test "$wc_funcs" != no; then
1227 AC_CACHE_CHECK([for wchar_t functions], mutt_cv_wc_funcs,
1230 #define _XOPEN_SOURCE 1
1233 #ifdef HAVE_WCTYPE_H
1239 [mbrtowc(0, 0, 0, 0); wctomb(0, 0); wcwidth(0);
1240 iswprint(0); iswspace(0); towlower(0); towupper(0); iswalnum(0)],
1241 mutt_cv_wc_funcs=yes))
1242 wc_funcs=$mutt_cv_wc_funcs
1245 if test $wc_funcs = yes; then
1246 AC_DEFINE(HAVE_WC_FUNCS,1,[ Define if you are using the system's wchar_t functions. ])
1248 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS utf8.o wcwidth.o"
1251 AC_CACHE_CHECK([for nl_langinfo and CODESET], mutt_cv_langinfo_codeset,
1252 [AC_TRY_LINK([#include <langinfo.h>],
1253 [char* cs = nl_langinfo(CODESET);],
1254 mutt_cv_langinfo_codeset=yes,
1255 mutt_cv_langinfo_codeset=no)])
1256 if test $mutt_cv_langinfo_codeset = yes; then
1257 AC_DEFINE(HAVE_LANGINFO_CODESET,1,[ Define if you have <langinfo.h> and nl_langinfo(CODESET). ])
1260 AC_CACHE_CHECK([for nl_langinfo and YESEXPR], mutt_cv_langinfo_yesexpr,
1261 [AC_TRY_LINK([#include <langinfo.h>],
1262 [char* cs = nl_langinfo(YESEXPR);],
1263 mutt_cv_langinfo_yesexpr=yes,
1264 mutt_cv_langinfo_yesexpr=no)])
1265 if test $mutt_cv_langinfo_yesexpr = yes; then
1266 AC_DEFINE(HAVE_LANGINFO_YESEXPR,1,[ Define if you have <langinfo.h> and nl_langinfo(YESEXPR). ])
1269 dnl Documentation tools
1271 AC_PATH_PROG([OSPCAT], [ospcat], [none])
1272 if test "$OSPCAT" != "none"
1274 AC_MSG_CHECKING([for openjade docbook stylesheets])
1275 dslosfile=`ospcat --public-id="-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN"`
1276 DSLROOT=`echo $dslosfile | sed -n -e "s/.*SOIBASE='\(@<:@^'@:>@*\)\/catalog'.*/\1/p"`
1277 # ospcat may spit out an absolute path without an SOIBASE
1278 if test -z "$DSLROOT"
1280 DSLROOT=`echo $dslosfile | sed -e 's|<OSFILE>\(.*\)/print/docbook.dsl|\1|'`
1282 if test -f $DSLROOT/print/docbook.dsl
1284 AC_MSG_RESULT([in $DSLROOT])
1287 AC_MSG_RESULT([not found: PDF documentation will not be built.])
1292 AC_ARG_ENABLE(full_doc,
1293 AC_HELP_STRING([--disable-full-doc], [Omit disabled variables]),
1294 [ if test x$enableval = xno ; then
1298 if test x$full_doc != xno ; then
1299 AC_DEFINE(MAKEDOC_FULL,1, [Define if you want complete documentation.])
1302 AC_OUTPUT(Makefile contrib/Makefile doc/Makefile imap/Makefile
1303 intl/Makefile m4/Makefile po/Makefile.in
1304 hcachever.sh muttbug.sh doc/instdoc.sh)