From: Brendan Cully Date: Wed, 16 Mar 2005 02:49:32 +0000 (+0000) Subject: Various cygwin portability fixes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b81136404a539fa4baab9a25586c42e4f724a514;p=neomutt Various cygwin portability fixes --- diff --git a/Makefile.am b/Makefile.am index 65443079d..dfc8aa155 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ ## Use aclocal -I m4; automake --foreign AUTOMAKE_OPTIONS = 1.6 foreign -EXTRA_PROGRAMS = mutt_dotlock pgpring makedoc +EXTRA_PROGRAMS = mutt_dotlock pgpring pgpewrap makedoc if BUILD_IMAP IMAP_SUBDIR = imap diff --git a/configure.in b/configure.in index 0f36bb57a..7b217ddd9 100644 --- a/configure.in +++ b/configure.in @@ -129,7 +129,7 @@ else if test x$have_pgp != xno ; then AC_DEFINE(CRYPT_BACKEND_CLASSIC_PGP,1, [ Define if you want classic PGP support. ]) - PGPAUX_TARGET="pgpring pgpewrap" + PGPAUX_TARGET="pgpring\$(EXEEXT) pgpewrap\$(EXEEXT)" 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" fi diff --git a/doc/Makefile.in b/doc/Makefile.in index f0edc739f..6a4034e7c 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -21,6 +21,7 @@ VPATH = @srcdir@ INSTALL = @INSTALL@ CC = @CC@ CPP = @CPP@ +EXEEXT = @EXEEXT@ XCPPFLAGS = -I. @CPPFLAGS@ CFLAGS = @CFLAGS@ $(XCPPFLAGS) LDFLAGS = @LDFLAGS@ @@ -150,7 +151,7 @@ dist distdir: Makefile $(DISTFILES) done ../makedoc: $(top_srcdir)/makedoc.c - (cd .. && $(MAKE) makedoc) + (cd .. && $(MAKE) makedoc$(EXEEXT)) # hack around autoconf mixing up patterns. at = @ diff --git a/hcache.c b/hcache.c index 2ae2d6331..38f44aa99 100644 --- a/hcache.c +++ b/hcache.c @@ -30,6 +30,9 @@ #include #include +#if HAVE_SYS_TIME_H +#include +#endif #include "mutt.h" #ifdef USE_IMAP #include "message.h"