[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/ [signed-commits]

From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/ [signed-commits]
Date: Sun, 16 Oct 2005 13:11:38 -0400

Index: ccvs/
diff -u ccvs/ ccvs/
--- ccvs/ Wed Oct 12 02:45:40 2005
+++ ccvs/   Sun Oct 16 17:11:36 2005
@@ -102,10 +102,28 @@
        AC_DEFINE_UNQUOTED([PR_PROGRAM], ["$PR"], [Path to the pr utility])
 # For src/gpg.c
-AC_PATH_PROG(GPG, gpg, no)
-if test x"$GPG" != xno; then
-       AC_DEFINE_UNQUOTED([GPG_PROGRAM], ["$GPG"], [Path to the gpg utility])
+AC_PATH_PROG(GPG, gpg, gpg)
+if test x"$GPG" != xgpg; then
+           [Define if an OpenPGP capable program is available (and, assumedly,
+            usable command line templates are in the DEFAULT_SIGN_TEMPLATE and
+            DEFAULT_VERIFY_TEMPLATE macros).])
+dnl These are defined by configure so that if the above is ever expanded to
+dnl look for OpenPGP capable programs other than `gpg', the default templates
+dnl can also be detected and substituted here.
+                  ["$GPG --detach-sign --output - %t %a -- %s"],
+                  [Define to a command line template that will write an
+                   OpenPGP signature for the file `%s' to its standard out.
+                   `%t' is substituted at run time with an option which flags
+                   files as text files, when necessary, and the empty string,
+                   otherwise.  `%a' is substituted with a list of arguments
+                   provided by the user.])
+         [Define to the option string that the OpenPGP program used in the
+          DEFAULT_SIGN_TEMPLATE would like to see for text files (substituted
+          at run time in place of `%t' in the DEFAULT_SIGN_TEMPLATE).])
 dnl FIXME This is truly gross.
 missing_dir=`cd $ac_aux_dir && pwd`

reply via email to

[Prev in Thread] Current Thread [Next in Thread]