summaryrefslogtreecommitdiffstats
path: root/m4
AgeCommit message (Collapse)Author
2021-02-18Update gettext to version 0.21.Kevin McCarthy
Run 'gettextize -f --no-changelog' to update to 0.21. This removes the entire intl directory, and relies on an external libintl only. $(INTLLIBS) should now be referred to as $(LIBINTL), so change all references. Unfortunately, some of the gettext m4 files were modified and "mutt customized" in the past. I'm trying to keep them in a pristine state after this upgrade. glibc21.m4, lcmessage.m4, codeset.m4 have also been removed. Manually call AM_ICONV in configure.ac. This was previously called in the modified "MUTT_AM_GNU_GETTEXT" but the result $am_cv_func_iconv is tested just below. locale.h is a standard library defined by C99. The gpgme and pgp code wrapped those includes in HAVE_LOCALE_H checks, but that check was performed inside of gettext.m4. Remove the check inside those files (locale.h is already included unconditionally elsewhere in Mutt). Copy the sample gettext.h file and include that instead, as suggested by the gettext documentation. unistd.h is also a standard posix header, so remove HAVE_UNISTD_H checks inside mutt too. Create po/LINGUAS file listing available languages. Create po/Makevars from the template and customize for Mutt. Set PO_DEPENDS_ON_POT to no to prevent po file rebuilds. According to the gettext manual, with this set, "PO files can be accidentally updated even if a POT file is not updated" when using git.
2021-01-14Remove configure test for va_copy.Kevin McCarthy
Its presence is also dictated by the C99 specification.
2021-01-03Add configure checks for gssapi library and functions.Kevin McCarthy
rkta on irc reported a build failure because the gss headers were not present. Add explicit checks for the required headers. Also add a check for gss_init_sec_context() when using the output of krb-config to configure flags. Abort configure if the library/header checks don't pass. It would previously continue on, setting USE_GSS and need_gss, which would just result in a build error.
2021-01-03Remove obsolete AC_HEADER_STDC and STDC_HEADERS checks.Kevin McCarthy
The autoconf macro is obsolete in 2.70. Also, we now assume at least C99 so there is no point in checking for ANSI C89 header files. Fix up code to assume STDC_HEADERS is always true, removing the reference to it at the same time.
2021-01-03Replace AC_OUTPUT_COMMANDS with AC_CONFIG_COMMANDS.Kevin McCarthy
2021-01-03Convert AC_TRY_LINK to AC_LINK_IFELSE.Kevin McCarthy
2021-01-03Convert AC_TRY_COMPILE to AC_COMPILE_IFELSE.Kevin McCarthy
2021-01-03Remove obsolete AC_ISC_POSIX call.Kevin McCarthy
2021-01-03Replace AC_HELP_STRING with AS_HELP_STRING.Kevin McCarthy
2021-01-03Replace AC_ERROR with AC_MSG_ERROR.Kevin McCarthy
2019-05-19Update gpgme and gpg-error automake checks.Kevin McCarthy
Pull updated autoconf files from the GPGME 1.13.0 release and use those new macros. Add a call to AM_PATH_GPG_ERROR() and include $(GPG_ERROR_LIBS) in the libraries. Thanks to Eike Rathke for finding the build problem, and for his patch fixing the issue. I opted for just grabbing the newest autoconf files from gpgme instead, but his fixed worked great too.
2017-06-06Restore setenv function.Kevin McCarthy
Partially revert fa1192803257, restoring setenv. It turns out we still need the function.
2017-04-30Convert all exec calls to use mutt_envlist(), remove setenv function.Vincent Lefevre
The documentation implies that all children processes will be affected by the setenv command, so convert all the exec calls to use mutt_envlist(). The setenv("GPG_TTY") call is no longer needed so remove it. With that removed, there are no other setenv calls in mutt, so remove the autoconf check and replacement function.
2016-06-29Fix cppflags and muttlibs duplication with --with-gss.Kevin McCarthy
When krb5-config was found, MUTT_AM_PATH_GSSAPI included CFLAGS in GSSAPI_CFLAGS and MUTTLIBS in GSSAPI_LIBS. However, configure.ac afterwards sets: CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS" MUTTLIBS="$MUTTLIBS $GSSAPI_LIBS" This caused the flags and libs to be duplicated.
2015-07-02Convert from using mkinstalldirs to $(MKDIR_P).Kevin McCarthy
The automake mkinstalldirs script is now deprecated. "install-sh -d" can be used in place. Configure.ac already includes AC_PROG_INSTALL, which will ensure install-sh is bundled. Add AC_PROG_MKDIR_P, which will set $(MKDIR_P) to either a thread-safe "mkdir -p" or will fall back to using install-sh.
2009-06-08Test for libgnutls by hand rather than relying on deprecated ↵Brendan Cully
libgnutls-config script. Closes #3239.
2008-07-24Fix m4 serial numbers to avoid aclocal 1.10 warningsBrendan Cully
2008-05-28Cosmetic fix to configure --help. Closes #3060.Vladimir Marek
2008-05-22Use C99 macros "PRId64"/"PRId32" to format file sizes/offsets if available.Rocco Rutte
This fixes warning about mismatching int argument sizes on amd64.
2007-03-15Remove .cvsignoresBrendan Cully
2007-02-26Add gpgme.m4 to distribution to avoid an error running autoconf on systemsBrendan Cully
that do not have gpgme installed.
2006-07-19Clean up some debugging code in the build system update.Matthias Andree
2006-07-18Long-overdue build system overhaul.Matthias Andree
2005-12-15Add mutt_buffer_printf function, with autoconf test for va_copy.Brendan Cully
2005-02-13Use AC_HELP_STRING to pretty print configure --help screen, with mixed results.Brendan Cully
2005-02-11autoconf support for gnutls using a slightly modified version of gnutls' own ↵Brendan Cully
libgnutls.m4
2005-01-31Begin removing deprecated autoconf 2.13 backward compatibility code.Brendan Cully
Add AC_CHECK_TYPES macros for uin32/64 types, use uint64_t instead of long long in hcache code.
2003-12-29A while ago I posted a similar patch which is necessary as when muttPatrick Welche
tries to connect to an imap server over ipv6 it stores the address in a sockaddr which may not be large enough to hold the ipv6 address.
2002-12-06autoconf cleanup.Brendan Cully
2002-06-18Okay, two bugs here. One's an oversight of mine in my previous patch,David Champion
where I tried to use "[hH]" as Bourne code while m4 had quoting set to ([, ]) -- this probably makes mutt mis-detect Heimdal after all. The other is not mine (i.e., it's in cvs now) and it makes mutt overstrike $LIBS if Heimdal or MIT Kerberos is detected. This is a problem for anyone who needs -lnsl -lsocket, in particular. I was fixing this by hand during late 1.3.x releases, as I didn't have time to track it down.... Here's a patch against the current (unpatched) 1.5 cvs copy of m4/gssapi.m4. It probably should go into both branches. Sorry for the repeats.
2001-12-18Updating to gettext-0.10.40.Thomas Roessler
2001-07-03Iconv-related cleanup. From Brendan Cully.Thomas Roessler
2001-06-13Avoid more m4 macro collisions.Thomas Roessler
2001-06-12gettext-related fixes. Most of this may just be temporary if weThomas Roessler
decide to get rid of our own gettext.m4.
2001-06-12Fix comments.Thomas Roessler
2001-06-07More from the gettext munster patch from E.G.E.Thomas Roessler
2001-06-07Gettext update. (From E.G.E., of course.)Thomas Roessler
2001-05-29GSSAPI fixes, tunnel driver. From Brendan Cully.Thomas Roessler
2000-07-31Brendan Cully's SASL patch. I hope I didn't miss any files.Thomas Roessler
2000-06-13New file, contains Tom Dickey's CF_CURSES_LIBS macro from lynx.Thomas Roessler
2000-04-25New macros CF_CHECK_FUNCDECL, CF_CHECK_FUNCDECLS, CF_UPPER. TheseThomas Roessler
are slightly modified versions of T. E. Dickey's macros from the lynx distribution. (From Lars Hecking.)
2000-01-24Patch from Lars Hecking in order to build mutt cleanly under SolarisThomas Roessler
2.6.
1999-10-31From Brendan Cully: IMAP updates should work properly again.Thomas Roessler
1999-01-19HP/UX portability patch from Lars Hecking.Thomas Roessler
1998-12-21Here is a small patch to simplify m4/Makefile.am.in. This came outThomas Roessler
of a suggestion I made to Jim Meyering (maintainer of GNU fileutils, where I snarfed the code from :). (From: Lars Hecking <lhecking@nmrc.ucc.ie>)
1998-11-17Configuration fixes from Lars Hecking, with some more fixes andThomas Roessler
modifications from myself. With some luck, you don't need a gettext installation any more.