#914742: remove support for eAccelerator configurations.

From: Damien Tournoud <damien@commerceguys.com>


---
 system/system.install |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git modules/system/system.install modules/system/system.install
index 44f30c5..c5c945c 100644
--- modules/system/system.install
+++ modules/system/system.install
@@ -78,6 +78,16 @@ function system_requirements($phase) {
     return $requirements;
   }
 
+  // Test for eAccelerator.
+  if (function_exists('eaccelerator_info')) {
+    $requirements['php_eaccelerator'] = array(
+      'title' => $t('eAccelerator'),
+      'value' => $t('Unsupported'),
+      'description' => $t('eAccelerator is known to modify PHP language behavior in unexpected and undocumented ways. Drupal cannot be installed with eAccelerator enabled.'),
+      'severity' => REQUIREMENT_ERROR,
+    );
+  }
+
   // Test PHP register_globals setting.
   $requirements['php_register_globals'] = array(
     'title' => $t('PHP register globals'),
