diff options
author | Dan Winship <danw@src.gnome.org> | 2000-08-02 10:55:33 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-08-02 10:55:33 +0800 |
commit | fad59bb3a344526f343b8e28a8d28059e81a42a9 (patch) | |
tree | de2d7d8908ced77164386c1652028dabd77a49c5 /configure.in | |
parent | 4e5b1da82e7ada3667bfa47471defd5932afc405 (diff) | |
download | gsoc2013-evolution-fad59bb3a344526f343b8e28a8d28059e81a42a9.tar.gz gsoc2013-evolution-fad59bb3a344526f343b8e28a8d28059e81a42a9.tar.zst gsoc2013-evolution-fad59bb3a344526f343b8e28a8d28059e81a42a9.zip |
Add checks for GPG, PGP 5 and PGP 2. Only record the first one found.
* configure.in, acconfig.c: Add checks for GPG, PGP 5 and PGP 2.
Only record the first one found.
svn path=/trunk/; revision=4465
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 8a3fc77018..a428c67173 100644 --- a/configure.in +++ b/configure.in @@ -530,7 +530,27 @@ else ;; esac fi - + +dnl ********** +dnl GPGPGPGPGP +dnl ********** +AC_PATH_PROG(GPG, gpg) +if test -n "$GPG"; then + AC_DEFINE_UNQUOTED(GPG_PATH, "$GPG") + AC_DEFINE(PGP_PROGRAM, "GPG") +else + AC_PATH_PROG(PGP5, pgp5) + if test -n "$PGP5"; then + AC_DEFINE_UNQUOTED(PGP5_PATH, "$PGP5") + AC_DEFINE(PGP_PROGRAM, "PGP") + else + AC_PATH_PROG(PGP, pgp) + if test -n "$PGP"; then + AC_DEFINE_UNQUOTED(PGP_PATH, "$PGP") + AC_DEFINE(PGP_PROGRAM, "PGP") + fi + fi +fi dnl ****************************** dnl Makefiles |