diff options
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 |