Index: sites/pressflow-development.robin.com/modules/contrib/media_mover/contrib/mm_s3/mm_s3.install
===================================================================
--- sites/pressflow-development.robin.com/modules/contrib/media_mover/contrib/mm_s3/mm_s3.install	(revision 6)
+++ sites/pressflow-development.robin.com/modules/contrib/media_mover/contrib/mm_s3/mm_s3.install	(working copy)
@@ -4,12 +4,16 @@
  * Check that the FTP extension exists for PHP.
  */
 function mm_s3_requirements($phase) {
+  // frobinrobin 20/10/10: According to API (http://api.drupal.org/api/function/hook_requirements/6) this hook shouldn't use
+  // t() directly as it may not be available during install.
+  $t = get_t();
   // Check for CURL
-  if (extension_loaded('curl') && !@dl(PHP_SHLIB_SUFFIX == 'so' ? 'curl.so' : 'php_curl.dll')) { $has_curl = true; }  
+  // frobinrobin 20/10/10: dl() is deprecated in PHP5.3, using  code provided by Mark Trapp (http://drupal.org/node/863896)
+  $has_curl = extension_loaded('curl');
   $requirements['mm_s3'] = array(
-    'title' => t('PHP Curl Support'),
-    'description' => t('Media Mover S3 requires PHP to have the Curl libraries. If your version of PHP does not have it, check with your system administrator.'),
-    'value' => $has_curl ? t('Enabled') : t('Not found'),
+    'title' => $t('PHP Curl Support'),
+    'description' => $t('Media Mover S3 requires PHP to have the Curl libraries. If your version of PHP does not have it, check with your system administrator.'),
+    'value' => $has_curl ? $t('Enabled') : $t('Not found'),
     'severity' => $has_curl ? REQUIREMENT_OK : REQUIREMENT_ERROR,
   );
   return $requirements;
