BUILT_SOURCES = keymap_defs.h version.h
-bin_PROGRAMS = muttng muttng_dotlock @PGPAUX_TARGET@ @SMIMEAUX_TARGET@
+bin_PROGRAMS = muttng muttng_dotlock pgpringng pgpewrapng @SMIMEAUX_TARGET@
muttng_SOURCES = $(BUILT_SOURCES) \
alias.c attach.c base64.c browser.c buffy.c \
charset.c color.c compress.c crypt.c cryptglue.c commands.c complete.c \
handler.c hcache.c hdrline.c headers.c help.c history.c hook.c \
init.c keymap.c lib.c \
main.c mbox.c mbyte.c menu.c mh.c muttlib.c mutt_idna.c mx.c \
- pager.c parse.c pattern.c postpone.c \
- query.c \
+ pager.c parse.c pattern.c postpone.c query.c \
recvattach.c recvcmd.c rfc1524.c rfc3676.c \
score.c send.c sendlib.c sidebar.c signal.c sort.c state.c status.c system.c \
- thread.c \
- url.c utf8.c \
- wcwidth.c
+ thread.c url.c utf8.c wcwidth.c \
+ \
+ pgp.c pgpinvoke.c pgpkey.c pgplib.c gnupgparse.c pgpmicalg.c pgppacket.c \
+ crypt-mod-pgp-classic.c
+
muttng_LDADD = @MUTT_LIB_OBJECTS@ @LIBOBJS@ $(LIBIMAP) $(LIBPOP) $(LIBNNTP) \
-Llib-lib -llib -Llib-mime -lmime -Llib-hash -lhash -Llib -lsane $(MUTTLIBS) $(INTLLIBS) $(LIBICONV)
dnl ---------------- pgp/smime ----------------
- AC_ARG_ENABLE(pgp, AC_HELP_STRING([--disable-pgp], [Disable PGP support]),
- [ if test x$enableval = xno ; then
- have_pgp=no
- fi
- ])
-
- if test x$have_pgp != xno ; then
- AC_DEFINE(CRYPT_BACKEND_CLASSIC_PGP,1,
- [ Define if you want classic PGP support. ])
- PGPAUX_TARGET="pgpringng\$(EXEEXT) pgpewrapng\$(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
-
AC_ARG_ENABLE(smime, AC_HELP_STRING([--disable-smime], [Disable SMIME support]),
[ if test x$enableval = xno ; then
have_smime=no
AC_SUBST([OPS])
-AC_SUBST(PGPAUX_TARGET)
AC_SUBST(SMIMEAUX_TARGET)
AC_PATH_PROG(ISPELL, ispell, no)
#ifdef HAVE_COLOR
"color",
#endif
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
- "classic_pgp",
-#endif
#ifdef CRYPT_BACKEND_CLASSIC_SMIME
"class_smime",
#endif
);
puts (
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
- " +CRYPT_BACKEND_CLASSIC_PGP "
-#else
- " -CRYPT_BACKEND_CLASSIC_PGP "
-#endif
#ifdef CRYPT_BACKEND_CLASSIC_SMIME
"+CRYPT_BACKEND_CLASSIC_SMIME "
#else
effectively as a conditional compile directive. It is set to false
if no crypto backend is configures or to a bit vector denoting the
configured backends. */
-#if (defined(CRYPT_BACKEND_CLASSIC_PGP) && defined(CRYPT_BACKEND_CLASSIC_SMIME)) || defined (CRYPT_BACKEND_GPGME)
+#if defined(CRYPT_BACKEND_CLASSIC_SMIME) || defined (CRYPT_BACKEND_GPGME)
# define WithCrypto (APPLICATION_PGP | APPLICATION_SMIME)
-#elif defined(CRYPT_BACKEND_CLASSIC_PGP)
-# define WithCrypto APPLICATION_PGP
-#elif defined(CRYPT_BACKEND_CLASSIC_SMIME)
-# define WithCrypto APPLICATION_SMIME
#else
-# define WithCrypto 0
+# define WithCrypto APPLICATION_PGP
#endif
# include <sys/resource.h>
#endif
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
-
#include "mutt_crypt.h"
#include "mutt_menu.h"
return (msg->security);
}
-
-
-#endif /* CRYPT_BACKEND_CLASSIC_PGP */
* please see the file GPL in the top level source directory.
*/
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
-
#include "mutt_crypt.h"
#include "pgplib.h"
BODY *pgp_sign_message (BODY *);
int pgp_send_menu (HEADER * msg, int *redraw);
-
-#endif /* CRYPT_BACKEND_CLASSIC_PGP */
#include <locale.h>
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
-
struct pgp_cache {
char *what;
char *dflt;
return NULL;
}
-
-
-#endif /* CRYPT_BACKEND_CLASSIC_PGP */
* please see the file GPL in the top level source directory.
*/
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
-
#include "mutt_crypt.h"
-
typedef struct pgp_signature {
struct pgp_signature *next;
unsigned char sigtype;
void pgp_free_key (pgp_key_t * kpp);
#define pgp_new_keyinfo() xmalloc(sizeof *((pgp_key_t)0))
-
-#endif /* CRYPT_BACKEND_CLASSIC_PGP */