Age | Commit message (Collapse) | Author |
|
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.
|
|
Its presence is also dictated by the C99 specification.
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
Partially revert fa1192803257, restoring setenv. It turns out we
still need the function.
|
|
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.
|
|
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.
|
|
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.
|
|
libgnutls-config script.
Closes #3239.
|
|
|
|
|
|
This fixes warning about mismatching int argument sizes on amd64.
|
|
|
|
that do not have gpgme installed.
|
|
|
|
|
|
|
|
|
|
libgnutls.m4
|
|
Add AC_CHECK_TYPES macros for uin32/64 types, use uint64_t instead of long long
in hcache code.
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
decide to get rid of our own gettext.m4.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
are slightly modified versions of T. E. Dickey's macros from the
lynx distribution. (From Lars Hecking.)
|
|
2.6.
|
|
|
|
|
|
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>)
|
|
modifications from myself. With some luck, you don't need a gettext
installation any more.
|