[Rt-commit] r12720 - in rt/branches/3.8-TESTING: .

sartak at bestpractical.com sartak at bestpractical.com
Wed May 28 16:57:48 EDT 2008


Author: sartak
Date: Wed May 28 16:57:47 2008
New Revision: 12720

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/configure.ac
   rt/branches/3.8-TESTING/sbin/rt-test-dependencies.in

Log:
 r61202 at onn:  sartak | 2008-05-28 16:56:45 -0400
 Add --with-forking and its dependencies


Modified: rt/branches/3.8-TESTING/configure.ac
==============================================================================
--- rt/branches/3.8-TESTING/configure.ac	(original)
+++ rt/branches/3.8-TESTING/configure.ac	Wed May 28 16:57:47 2008
@@ -293,6 +293,19 @@
 fi
 AC_SUBST(RT_GPG)
 
+dnl RT's forking server support
+AC_CHECK_PROG([RT_FORKING], [forking], "yes", "no")
+AC_ARG_ENABLE(forking,
+            AC_HELP_STRING([--enable-forking],
+                           [Turns on forking-server support]),
+            RT_FORKING=$enableval)
+if test "$RT_FORKING" = yes; then
+        RT_FORKING="1"
+elif test "$RT_FORKING" = no; then
+        RT_FORKING="0"
+fi
+AC_SUBST(RT_FORKING)
+
 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/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 May 28 16:57:47 2008
@@ -63,7 +63,7 @@
     'with-ORACLE',                        'with-FASTCGI',
     'with-SPEEDYCGI',                     'with-MODPERL1',
     'with-MODPERL2',                      'with-DEV',
-    'with-STANDALONE',
+    'with-STANDALONE',                    'with-FORKING',
 
     'with-GPG',
     'with-ICAL',
@@ -92,6 +92,7 @@
     'with-ICAL' => 1,
     'with-SMTP' => 1,
     'with-GRAPHVIZ' => @RT_GRAPHVIZ@,
+    'with-FORKING' => @RT_FORKING@,
 );
 $args{$_} = $default{$_} foreach grep !exists $args{$_}, keys %default;
 
@@ -158,22 +159,23 @@
 By default, testdeps determine whether you have 
 installed all the perl modules RT needs to run.
 
-	--install		Install missing modules
+    --install           Install missing modules
 
 The following switches will tell the tool to check for specific dependencies
 
-	--with-mysql		Database interface for MySQL
-	--with-postgresql	Database interface for PostgreSQL 
-	--with-sqlite		Database interface and driver for SQLite (unsupported)
-	--with-oracle		Database interface for oracle (unsupported)
-
-	--with-standalone	Libraries needed to support the standalone simple pure perl server
-	--with-fastcgi		Libraries needed to support the fastcgi handler
-	--with-speedycgi	Libraries needed to support the speedycgi handler
-	--with-modperl1		Libraries needed to support the modperl 1 handler
-	--with-modperl2		Libraries needed to support the modperl 2 handler
+    --with-mysql        Database interface for MySQL
+    --with-postgresql   Database interface for PostgreSQL 
+    --with-sqlite       Database interface and driver for SQLite (unsupported)
+    --with-oracle       Database interface for oracle (unsupported)
+
+    --with-standalone   Libraries needed to support the standalone simple pure perl server
+    --with-forking      Libraries needed to support the standalone forking pure perl server
+    --with-fastcgi      Libraries needed to support the fastcgi handler
+    --with-speedycgi    Libraries needed to support the speedycgi handler
+    --with-modperl1     Libraries needed to support the modperl 1 handler
+    --with-modperl2     Libraries needed to support the modperl 2 handler
 
-	--with-dev		Tools needed for RT development
+    --with-dev          Tools needed for RT development
 
 You can also specify -v or --verbose to list the status of all dependencies,
 rather than just the missing ones.
@@ -253,6 +255,11 @@
 HTTP::Server::Simple::Mason 0.09
 .
 
+$deps{'FORKING'} = [ text_to_hash( << '.') ];
+Net::Server
+Net::Server::PreForking
+.
+
 $deps{'MAILGATE'} = [ text_to_hash( << '.') ];
 HTML::TreeBuilder
 HTML::FormatText


More information about the Rt-commit mailing list