[Rt-commit] r11848 - in rt/branches/3.8-TESTING: . etc
alexmv at bestpractical.com
alexmv at bestpractical.com
Wed Apr 23 15:57:00 EDT 2008
Author: alexmv
Date: Wed Apr 23 15:56:59 2008
New Revision: 11848
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/configure.ac
rt/branches/3.8-TESTING/etc/RT_Config.pm.in
rt/branches/3.8-TESTING/sbin/rt-test-dependencies.in
Log:
r30112 at kohr-ah: chmrr | 2008-04-23 15:56:50 -0400
* Configure option for GPG
Modified: rt/branches/3.8-TESTING/configure.ac
==============================================================================
--- rt/branches/3.8-TESTING/configure.ac (original)
+++ rt/branches/3.8-TESTING/configure.ac Wed Apr 23 15:56:59 2008
@@ -280,6 +280,19 @@
fi
AC_SUBST(RT_GRAPHVIZ)
+dnl RT's GPG support
+AC_CHECK_PROG([RT_GPG], [gpg], "yes", "no")
+AC_ARG_ENABLE(gpg,
+ AC_HELP_STRING([--enable-gpg],
+ [Turns on GPG support]),
+ RT_GPG=$enableval)
+if test "$RT_GPG" = yes; then
+ RT_GPG="1"
+elif test "$RT_GPG" = no; then
+ RT_GPG="0"
+fi
+AC_SUBST(RT_GPG)
+
dnl This section maps the variable names this script 'natively' generates
dnl to their existing names. They should be removed from here as the .in
dnl files are changed to use the new names.
Modified: rt/branches/3.8-TESTING/etc/RT_Config.pm.in
==============================================================================
--- rt/branches/3.8-TESTING/etc/RT_Config.pm.in (original)
+++ rt/branches/3.8-TESTING/etc/RT_Config.pm.in Wed Apr 23 15:56:59 2008
@@ -311,7 +311,7 @@
Set( %GnuPG,
- Enable => 0,
+ Enable => @RT_GPG@,
# Set OutgoingMessagesFormat to 'inline' to use inline encryption and
# signatures instead of 'RFC' (GPG/MIME: RFC3156 and RFC1847) format.
Modified: rt/branches/3.8-TESTING/sbin/rt-test-dependencies.in
==============================================================================
--- rt/branches/3.8-TESTING/sbin/rt-test-dependencies.in (original)
+++ rt/branches/3.8-TESTING/sbin/rt-test-dependencies.in Wed Apr 23 15:56:59 2008
@@ -88,7 +88,7 @@
'with-MAILGATE' => 1,
'with-DEV' => @RT_DEVEL_MODE@,
'with-STANDALONE' => 0,
- 'with-GPG' => 1,
+ 'with-GPG' => @RT_GPG@,
'with-ICAL' => 1,
'with-SMTP' => 1,
'with-GRAPHVIZ' => @RT_GRAPHVIZ@,
More information about the Rt-commit
mailing list