Index: configure.in
===================================================================
--- configure.in	(revision 1597)
+++ configure.in	(working copy)
@@ -84,7 +84,7 @@ AC_ARG_ENABLE(gpg-check, 
 	
 if test	"$DO_CHECK" = "yes"; then
   accepted_versions="1.2 1.4 2.0"
-  AC_PATH_PROG(GNUPG, gpg, no)
+  AC_PATH_PROG(GNUPG, gpg, [AC_PATH_PROG(GNUPG, gpg2, no)])
   ok="no"
   if test "$GNUPG" != "no"; then
     AC_MSG_CHECKING(for appropriate GnuPG version)
